diff --git a/pages/coupon/detail/index.js b/pages/coupon/detail/index.js index 1502832..ff50a99 100644 --- a/pages/coupon/detail/index.js +++ b/pages/coupon/detail/index.js @@ -61,14 +61,13 @@ Page({ display:"none" }) }, - /** * gotopay */ gotopay:function(){ let that = this; - console.log(that.data.questions1) - if (that.data.questions1 == 'questions1' || that.data.questions2 == 'questions2'){ + console.log(that.data.questions1); + if (that.data.questions1 || that.data.questions2){ that.setData({ display: "none", }) @@ -101,8 +100,6 @@ Page({ }) } }, - - countdown(end_time) { let that = this; diff --git a/pages/coupon/detail/index.wxml b/pages/coupon/detail/index.wxml index 3bfb986..a297c86 100644 --- a/pages/coupon/detail/index.wxml +++ b/pages/coupon/detail/index.wxml @@ -90,4 +90,4 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/project.config.json b/project.config.json index e840d99..2ad7024 100644 --- a/project.config.json +++ b/project.config.json @@ -24,13 +24,24 @@ "current": -1, "list": [] }, + "plugin": { + "current": -1, + "list": [] + }, "game": { "currentL": -1, "list": [] }, "miniprogram": { - "current": -1, - "list": [] + "current": 0, + "list": [ + { + "id": 0, + "name": "fhrufhr", + "pathName": "pages/index/index", + "query": "scene=\"1111\"" + } + ] } } } \ No newline at end of file