From 63e136261a75e1373cbd325b64b22eae81b98801 Mon Sep 17 00:00:00 2001 From: lcc <805383944@qq.com> Date: Sat, 26 Jul 2025 13:22:51 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=BA=BF=E7=B4=A2=E8=A7=A3?= =?UTF-8?q?=E9=94=81=E5=BC=B9=E7=AA=97=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/customer/index.js | 21 +++++++++++++++------ pages/index/index.js | 3 ++- pages/index/index.wxml | 2 +- 3 files changed, 18 insertions(+), 8 deletions(-) diff --git a/pages/customer/index.js b/pages/customer/index.js index 2842fbd..7e91594 100644 --- a/pages/customer/index.js +++ b/pages/customer/index.js @@ -105,7 +105,8 @@ Page({ modelIndex: -1, //车系车型索引 isShowLock: false, cluesTabKey: 1000, //线索tabkey - cluesId: 0 //当前操作线索id + cluesId: 0, //当前操作线索id + needShowUnlockConfig: true }, onLoad(options) { for (let key in options) { @@ -135,7 +136,10 @@ Page({ //获取城市列表 this.getAppCityArea_city() - + this.setData({ + needShowUnlockConfig: app.getStorageByKey("needShowUnlockConfig") ? false : true, + }) + console.log("是否显示解锁弹窗:",this.data.needShowUnlockConfig); }, onShow() { @@ -1134,10 +1138,14 @@ Page({ }, //显示解锁 showUnlock(e) { - this.setData({ - isShowLock: true, - cluesId: e.currentTarget.dataset.id - }) + if(this.data.needShowUnlockConfig){ + this.setData({ + isShowLock: true, + cluesId: e.currentTarget.dataset.id + }) + }else{ + this.bindLock(); + } }, hideLock() { this.setData({ @@ -1156,6 +1164,7 @@ Page({ icon: 'success', duration: 2000 }) + app.setStorage("needShowUnlockConfig", 1); that.hideLock(); that.onPullDownRefresh(); }) diff --git a/pages/index/index.js b/pages/index/index.js index 60341e5..3ebe8f2 100644 --- a/pages/index/index.js +++ b/pages/index/index.js @@ -89,8 +89,9 @@ Page({ id: 2, name: '门店' }], - score_role_cur: 0 + score_role_cur: 0, //0924 end + biz_type_4s: 5 //门店类型4s店 }, onLoad(options) { diff --git a/pages/index/index.wxml b/pages/index/index.wxml index 47d306c..df4e610 100644 --- a/pages/index/index.wxml +++ b/pages/index/index.wxml @@ -181,7 +181,7 @@ - + 订单跟进