From ed48ff7640a23dd27857ddab5f1098d83339e5fb Mon Sep 17 00:00:00 2001 From: jiazhipeng Date: Thu, 27 Nov 2025 10:43:35 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8D=81=E5=85=A8=E5=8D=81=E7=BE=8E=E3=80=81?= =?UTF-8?q?=E6=96=87=E5=88=9B=E9=BB=98=E8=AE=A4=E3=80=81=E6=8A=BD=E5=A5=96?= =?UTF-8?q?=E8=AE=B0=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app.js | 2 +- pages/info/postProductInfo/index.js | 5 +- pages/list/six/index.wxml | 2 +- pages/order/pay/index.js | 4 +- pages/order/pay/index.wxml | 2 +- pages/user/user.wxml | 3 +- project.config.json | 192 ++++++++++---------- project.private.config.json | 11 +- subPackages/feiyiNew/index.js | 3 +- subPackages/password/overview/overview.wxml | 2 +- subPackages/password/setting/setting.js | 2 +- subPackages/postSearch/index.js | 7 +- subPackages/techanNew/index.js | 7 +- 13 files changed, 125 insertions(+), 117 deletions(-) diff --git a/app.js b/app.js index 7ecc533..53235e3 100644 --- a/app.js +++ b/app.js @@ -38,7 +38,7 @@ App({ // 获取前端配置文件 commonApi._post("pbservice/Other/getClientConfig", {unique_key: "wechatxcx"}).then(res => { let data = JSON.parse(res.data); - data.isTest = data.isTest152? true : false; + data.isTest = data.isTest154? true : false; data.indexSeason = null this.globalData.configJson = data }).then(() => { diff --git a/pages/info/postProductInfo/index.js b/pages/info/postProductInfo/index.js index 02155f1..e68235c 100644 --- a/pages/info/postProductInfo/index.js +++ b/pages/info/postProductInfo/index.js @@ -320,7 +320,8 @@ Page({ return; } this.setData({ - skuFlag: "cart" + skuFlag: "cart", + user_type: this.data.info.sku[this.data.skuIndex].use_type>1?null:this.data.info.sku[this.data.skuIndex].use_type }) let that = this wx.createSelectorQuery().select('#skuImg').boundingClientRect(function (res) { @@ -354,7 +355,7 @@ Page({ this.setData({ skuIndex: index, swiperCurrent: index+this.data.swiperRange.picture.max+1, - user_type: null, + user_type: this.data.info.sku[index].use_type>1?null:this.data.info.sku[index].use_type, }) }, diff --git a/pages/list/six/index.wxml b/pages/list/six/index.wxml index 74e84bb..15b06fc 100644 --- a/pages/list/six/index.wxml +++ b/pages/list/six/index.wxml @@ -1,6 +1,6 @@ - + diff --git a/pages/order/pay/index.js b/pages/order/pay/index.js index 387593c..57db0a2 100644 --- a/pages/order/pay/index.js +++ b/pages/order/pay/index.js @@ -441,11 +441,11 @@ Page({ title: '您的支付密码已过期', content: resCode, cancelText: '修改密码', - confirmText:'忘记密码', + confirmText:'重置密码', confirmColor:"#0E8790", success(res){ if (res.confirm) { - console.log('忘记密码') + console.log('重置密码') _this.goReset() } else if (res.cancel) { console.log('修改密码') diff --git a/pages/order/pay/index.wxml b/pages/order/pay/index.wxml index e943460..c7781e9 100644 --- a/pages/order/pay/index.wxml +++ b/pages/order/pay/index.wxml @@ -137,7 +137,7 @@ - 忘记密码 + 重置密码 diff --git a/pages/user/user.wxml b/pages/user/user.wxml index 7437bc7..6d1dc76 100644 --- a/pages/user/user.wxml +++ b/pages/user/user.wxml @@ -66,9 +66,10 @@ - + 中奖记录 + diff --git a/project.config.json b/project.config.json index 744f8a8..e04ed97 100644 --- a/project.config.json +++ b/project.config.json @@ -1,102 +1,102 @@ { - "description": "项目配置文件,详见文档:https://developers.weixin.qq.com/miniprogram/dev/devtools/projectconfig.html", - "packOptions": { - "ignore": [], - "include": [] - }, - "setting": { - "urlCheck": false, - "es6": true, - "enhance": true, - "postcss": true, - "preloadBackgroundData": false, - "minified": true, - "newFeature": true, - "coverView": true, - "nodeModules": false, - "autoAudits": false, - "showShadowRootInWxmlPanel": true, - "packNpmRelationList": [ - { - "packageJsonPath": "./package.json", - "miniprogramNpmDistDir": "./miniprogram/" - } - ], - "scopeDataCheck": false, - "uglifyFileName": false, - "checkInvalidKey": true, - "checkSiteMap": true, - "uploadWithSourceMap": true, - "compileHotReLoad": false, - "useMultiFrameRuntime": true, - "useApiHook": true, - "useApiHostProcess": true, - "babelSetting": { - "ignore": [], - "disablePlugins": [], - "outputPath": "" + "description": "项目配置文件,详见文档:https://developers.weixin.qq.com/miniprogram/dev/devtools/projectconfig.html", + "packOptions": { + "ignore": [], + "include": [] }, - "enableEngineNative": false, - "bundle": false, - "useIsolateContext": true, - "useCompilerModule": false, - "userConfirmedUseCompilerModuleSwitch": false, - "userConfirmedBundleSwitch": false, - "packNpmManually": false, - "minifyWXSS": true, - "lazyloadPlaceholderEnable": false, - "useStaticServer": true, - "showES6CompileOption": false, - "disableUseStrict": false, - "useCompilerPlugins": false, - "minifyWXML": true, - "condition": false, - "ignoreUploadUnusedFiles": true - }, - "compileType": "miniprogram", - "libVersion": "3.8.9", - "appid": "wx4bb7b6050831f585", - "projectname": "%E8%8B%8F%E5%B7%9E%E6%96%87%E6%97%85", - "simulatorType": "wechat", - "simulatorPluginLibVersion": {}, - "condition": { - "miniprogram": { - "list": [ - { - "name": "pages/user/bindtel/index", - "pathName": "pages/user/bindtel/index", - "query": "id=0000000000LINELINEINFO18082257199008", - "scene": null + "setting": { + "urlCheck": false, + "es6": true, + "enhance": true, + "postcss": true, + "preloadBackgroundData": false, + "minified": true, + "newFeature": true, + "coverView": true, + "nodeModules": false, + "autoAudits": false, + "showShadowRootInWxmlPanel": true, + "packNpmRelationList": [ + { + "packageJsonPath": "./package.json", + "miniprogramNpmDistDir": "./miniprogram/" + } + ], + "scopeDataCheck": false, + "uglifyFileName": false, + "checkInvalidKey": true, + "checkSiteMap": true, + "uploadWithSourceMap": true, + "compileHotReLoad": false, + "useMultiFrameRuntime": true, + "useApiHook": true, + "useApiHostProcess": true, + "babelSetting": { + "ignore": [], + "disablePlugins": [], + "outputPath": "" }, - { - "name": "好行", - "pathName": "pages/list/haoxing/index", - "query": "", - "scene": null - }, - { - "name": "pages/list/activitynew/index", - "pathName": "pages/list/activitynew/index", - "query": "id=0000000000LINELINEINFO18082257199008", - "scene": null - }, - { - "name": "微旅行", - "pathName": "pages/list/minitrip/index", - "query": "", - "scene": null - }, - { - "name": "一日游", - "pathName": "pages/list/oneday/index", - "query": "", - "scene": null + "enableEngineNative": false, + "bundle": false, + "useIsolateContext": true, + "useCompilerModule": false, + "userConfirmedUseCompilerModuleSwitch": false, + "userConfirmedBundleSwitch": false, + "packNpmManually": false, + "minifyWXSS": true, + "lazyloadPlaceholderEnable": false, + "useStaticServer": true, + "showES6CompileOption": false, + "disableUseStrict": false, + "useCompilerPlugins": false, + "minifyWXML": true, + "condition": false, + "ignoreUploadUnusedFiles": true + }, + "compileType": "miniprogram", + "libVersion": "3.8.9", + "appid": "wx4bb7b6050831f585", + "projectname": "%E8%8B%8F%E5%B7%9E%E6%96%87%E6%97%85", + "simulatorType": "wechat", + "simulatorPluginLibVersion": {}, + "condition": { + "miniprogram": { + "list": [ + { + "name": "pages/user/bindtel/index", + "pathName": "pages/user/bindtel/index", + "query": "id=0000000000LINELINEINFO18082257199008", + "scene": null + }, + { + "name": "好行", + "pathName": "pages/list/haoxing/index", + "query": "", + "scene": null + }, + { + "name": "pages/list/activitynew/index", + "pathName": "pages/list/activitynew/index", + "query": "id=0000000000LINELINEINFO18082257199008", + "scene": null + }, + { + "name": "微旅行", + "pathName": "pages/list/minitrip/index", + "query": "", + "scene": null + }, + { + "name": "一日游", + "pathName": "pages/list/oneday/index", + "query": "", + "scene": null + } + ] } - ] + }, + "editorSetting": { + "tabIndent": "insertSpaces", + "tabSize": 2 } - }, - "editorSetting": { - "tabIndent": "insertSpaces", - "tabSize": 2 - } } \ No newline at end of file diff --git a/project.private.config.json b/project.private.config.json index b7b65f7..a2d084f 100644 --- a/project.private.config.json +++ b/project.private.config.json @@ -6,12 +6,19 @@ "condition": { "miniprogram": { "list": [ + { + "name": "pages/info/roadInfo/index", + "pathName": "pages/info/roadInfo/index", + "query": "id=465058", + "scene": null, + "launchMode": "default" + }, { "name": "pages/pbService/web/index", "pathName": "pages/pbService/web/index", "query": "weburl=https://test.m.cloud.sz-trip.com/selectedHotels", - "scene": null, - "launchMode": "default" + "launchMode": "default", + "scene": null }, { "name": "pages/group/index", diff --git a/subPackages/feiyiNew/index.js b/subPackages/feiyiNew/index.js index 3114fec..eb5bb0d 100644 --- a/subPackages/feiyiNew/index.js +++ b/subPackages/feiyiNew/index.js @@ -623,6 +623,7 @@ Page({ this.setData({ info: res.data, // skuFlag: "cart" + user_type: res.data.sku[0].use_type>1?null:res.data.sku[0].use_type, }) this.showCart() this.BroswerRecord() @@ -667,7 +668,7 @@ Page({ let index = e.currentTarget.dataset.index; this.setData({ skuIndex: index, - user_type: null, + user_type: this.data.info.sku[index].use_type>1?null:this.data.info.sku[index].use_type, }) }, changeSelectSkuPost: function(e) { diff --git a/subPackages/password/overview/overview.wxml b/subPackages/password/overview/overview.wxml index 6f8d57c..8d587e0 100644 --- a/subPackages/password/overview/overview.wxml +++ b/subPackages/password/overview/overview.wxml @@ -14,7 +14,7 @@ - 忘记密码 + 重置密码 diff --git a/subPackages/password/setting/setting.js b/subPackages/password/setting/setting.js index f1a03b2..8ec34be 100644 --- a/subPackages/password/setting/setting.js +++ b/subPackages/password/setting/setting.js @@ -41,7 +41,7 @@ Page({ onLoad: function (options) { this.setData({ type: options.type||'add', - title: options.type=='reset'?'忘记密码':options.type=='edit'?'修改密码':'设置支付密码', + title: options.type=='reset'?'重置密码':options.type=='edit'?'修改密码':'设置支付密码', editConfrim: options.type == 'edit'?true:false }) }, diff --git a/subPackages/postSearch/index.js b/subPackages/postSearch/index.js index 9773beb..0ca1297 100644 --- a/subPackages/postSearch/index.js +++ b/subPackages/postSearch/index.js @@ -487,9 +487,6 @@ openPopup() { }, // 添加产品弹窗 1.首先获取到该产品下的规格 addBuyCart(e) { - this.setData({ - user_type: null - }) let item = e.currentTarget.dataset.item console.log(item); commonApi._post("product/get_product_detail", { @@ -503,6 +500,8 @@ openPopup() { this.setData({ info: res.data, // skuFlag: "cart" + skuIndex: 0, + user_type: res.data.sku[0].use_type>1?1:res.data.sku[0].use_type }) this.showCart() this.BroswerRecord() @@ -547,7 +546,7 @@ openPopup() { let index = e.currentTarget.dataset.index; this.setData({ skuIndex: index, - user_type: null, + user_type: this.data.info.sku[index].use_type>1?null:this.data.info.sku[index].use_type, }) }, changeSelectSkuPost: function(e) { diff --git a/subPackages/techanNew/index.js b/subPackages/techanNew/index.js index 48cdd2e..ffa6c76 100644 --- a/subPackages/techanNew/index.js +++ b/subPackages/techanNew/index.js @@ -630,9 +630,6 @@ Page({ }, // 添加产品弹窗 1.首先获取到该产品下的规格 addBuyCart(e) { - this.setData({ - user_type: null - }) let item = e.currentTarget.dataset.item console.log(item); @@ -646,6 +643,8 @@ Page({ res.data.flag = res.data.sku.find(item => item.flag == 'on') ? res.data.flag : 0 this.setData({ info: res.data, + skuIndex: 0, + user_type: res.data.sku[0].use_type>1?null:res.data.sku[0].use_type // skuFlag: "cart" }) this.showCart() @@ -691,7 +690,7 @@ Page({ let index = e.currentTarget.dataset.index; this.setData({ skuIndex: index, - user_type: null, + user_type: this.data.info.sku[index].use_type>1?null:this.data.info.sku[index].use_type, }) },