| @@ -24,11 +24,13 @@ Component({ | |||||
| */ | */ | ||||
| methods: { | methods: { | ||||
| gotobannerdetail: function(e) { | gotobannerdetail: function(e) { | ||||
| console.log(this.data.list) | |||||
| if (e.currentTarget.dataset.data.type == 3) { | if (e.currentTarget.dataset.data.type == 3) { | ||||
| // 小程序路径 | // 小程序路径 | ||||
| let indexOf = (e.currentTarget.dataset.data.pagePath).indexOf("="); | let indexOf = (e.currentTarget.dataset.data.pagePath).indexOf("="); | ||||
| console.log(indexOf, "123") | |||||
| let id = (e.currentTarget.dataset.data.pagePath).substring(indexOf); | let id = (e.currentTarget.dataset.data.pagePath).substring(indexOf); | ||||
| let type = (e.currentTarget.dataset.data.pagePath).substr(23,2) | |||||
| let type = (e.currentTarget.dataset.data.pagePath).substr(indexOf + 1, 2)// 2020/7/22 变量获取pagePath中的type | |||||
| console.log(indexOf, id, type); | console.log(indexOf, id, type); | ||||
| console.log(e.currentTarget.dataset.data.pagePath) | console.log(e.currentTarget.dataset.data.pagePath) | ||||
| if(type == 'cd' || type == 'sd'){ | if(type == 'cd' || type == 'sd'){ | ||||
| @@ -4,16 +4,18 @@ | |||||
| "ignore": [] | "ignore": [] | ||||
| }, | }, | ||||
| "setting": { | "setting": { | ||||
| "urlCheck": false, | |||||
| "urlCheck": true, | |||||
| "es6": true, | "es6": true, | ||||
| "enhance": false, | |||||
| "postcss": true, | "postcss": true, | ||||
| "preloadBackgroundData": false, | |||||
| "minified": true, | "minified": true, | ||||
| "newFeature": true, | "newFeature": true, | ||||
| "coverView": true, | "coverView": true, | ||||
| "nodeModules": false, | |||||
| "autoAudits": false, | "autoAudits": false, | ||||
| "showShadowRootInWxmlPanel": true, | "showShadowRootInWxmlPanel": true, | ||||
| "scopeDataCheck": false, | "scopeDataCheck": false, | ||||
| "uglifyFileName": false, | |||||
| "checkInvalidKey": true, | "checkInvalidKey": true, | ||||
| "checkSiteMap": true, | "checkSiteMap": true, | ||||
| "uploadWithSourceMap": true, | "uploadWithSourceMap": true, | ||||
| @@ -22,7 +24,10 @@ | |||||
| "disablePlugins": [], | "disablePlugins": [], | ||||
| "outputPath": "" | "outputPath": "" | ||||
| }, | }, | ||||
| "useCompilerModule": false, | |||||
| "preloadBackgroundData": false, | |||||
| "compileHotReLoad": false, | |||||
| "useIsolateContext": true, | |||||
| "useCompilerModule": true, | |||||
| "userConfirmedUseCompilerModuleSwitch": false | "userConfirmedUseCompilerModuleSwitch": false | ||||
| }, | }, | ||||
| "compileType": "miniprogram", | "compileType": "miniprogram", | ||||
| @@ -1,4 +1,4 @@ | |||||
| const baseUrl = 'https://s3.cn-northwest-1.amazonaws.com.cn/iformall-net/cimg/' | |||||
| const baseUrl = 'https://formall.oss-accelerate.aliyuncs.com/cimg/' | |||||
| module.exports = { | module.exports = { | ||||
| 'act': { | 'act': { | ||||
| 'url': baseUrl + 'act.png', | 'url': baseUrl + 'act.png', | ||||