From db89348f2a25282c0348de684e0a349af43a934f Mon Sep 17 00:00:00 2001 From: zmj <1493694146@qq.com> Date: Thu, 27 Jun 2024 17:39:25 +0800 Subject: [PATCH] add --- components/goodPopup.vue | 6 +- config/app.js | 9 +- pageQuota/vipUser/index.vue | 119 +++++++++++------- pages/cart/cart.vue | 2 +- pages/index/index.vue | 18 +-- pagesOrder/setPayPassword/index.vue | 2 +- pagesOrder/settle/settle.vue | 12 +- .../zy-passwordboard/zy-passwordboard.vue | 2 +- 8 files changed, 110 insertions(+), 60 deletions(-) diff --git a/components/goodPopup.vue b/components/goodPopup.vue index f542595..02dcb50 100644 --- a/components/goodPopup.vue +++ b/components/goodPopup.vue @@ -43,7 +43,7 @@ 购买数量* - + @@ -80,6 +80,10 @@ }, }) + const valChange = () => { + console.log(4545) + uni.vibrateShort(); + } let priceKey = ref({}) if (uni.getStorageSync('PRICE_KEY')) { diff --git a/config/app.js b/config/app.js index 02b82ad..a484fa4 100644 --- a/config/app.js +++ b/config/app.js @@ -4,17 +4,22 @@ import store from "@/store/user.js" // 环境 let env = "dev" // let env = "prod" -// let env = "liu"; +// let env = "release"; +// let env = "local"; switch (env) { case 'dev': BASE_URL = 'https://test-multi-store.lihaink.cn'; WSS_URL = 'wss://test-multi-store.lihaink.cn/pull' break; - case 'liu': + case 'release': BASE_URL = 'https://ceshi-multi-store.lihaink.cn'; WSS_URL = 'wss://ceshi-multi-store.lihaink.cn/pull' break; + case 'local': + BASE_URL = 'http://192.168.1.201:8545'; + WSS_URL = 'wss://ceshi-multi-store.lihaink.cn/pull' + break; default: BASE_URL = 'https://multi-store.lihaink.cn'; WSS_URL = 'wss://multi-store.lihaink.cn/pull' diff --git a/pageQuota/vipUser/index.vue b/pageQuota/vipUser/index.vue index 702ec73..f5baab2 100644 --- a/pageQuota/vipUser/index.vue +++ b/pageQuota/vipUser/index.vue @@ -1,15 +1,14 @@