diff --git a/pages/cardorder/index/index.js b/pages/cardorder/index/index.js index 4c8bc33..3f46878 100644 --- a/pages/cardorder/index/index.js +++ b/pages/cardorder/index/index.js @@ -133,6 +133,18 @@ Page({ }) } }, + + gotoConsumeDetailII: function (e) { + console.log(e, 'e'); + if (e.currentTarget.dataset.id) { + // wx.navigateTo({ + // url: `/pages/ConsumeDetail/ConsumeDetail?cardId=${e.currentTarget.dataset.id}`, + // }) + wx.navigateTo({ + url: `/pages/ConsumeDetail/ConsumeDetail?cardId=${e.currentTarget.dataset.id}`, + }) + } + }, //点击跳转到券详情页面 gotouse: function (e) { if (this.data.mystatus == '' || this.data.mystatus == 'undefined') { diff --git a/pages/cardorder/index/index.wxml b/pages/cardorder/index/index.wxml index 1a8d65c..e1e6a35 100644 --- a/pages/cardorder/index/index.wxml +++ b/pages/cardorder/index/index.wxml @@ -23,7 +23,7 @@ - + diff --git a/project.config.json b/project.config.json index 4e19d55..e4bfda1 100644 --- a/project.config.json +++ b/project.config.json @@ -30,7 +30,8 @@ "useApiHook": true, "useApiHostProcess": true, "useIsolateContext": true, - "ignoreUploadUnusedFiles": true + "ignoreUploadUnusedFiles": true, + "condition": false }, "compileType": "miniprogram", "libVersion": "2.11.2", diff --git a/project.private.config.json b/project.private.config.json index 7957dcc..92562bc 100644 --- a/project.private.config.json +++ b/project.private.config.json @@ -7,6 +7,6 @@ "preloadBackgroundData": false, "useIsolateContext": true }, - "libVersion": "2.29.1", + "libVersion": "2.11.2", "condition": {} } \ No newline at end of file