From 23d26916ee1b2dad7fe8055b9201658c33c0d686 Mon Sep 17 00:00:00 2001 From: wangxiaowei <1121133807@qq.com> Date: Tue, 21 Jul 2026 18:45:11 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=84=E7=90=86=E5=9F=8E=E5=B8=82=E5=88=87?= =?UTF-8?q?=E6=8D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- App.vue | 8 +- components/privacy-popup/privacy-popup.vue | 7 +- pages/goods_cate/goods_cate.vue | 6 +- pages/goods_details/goods_details.vue | 3 +- pages/index/index copy.vue | 661 +++++++++++++++++++++ pages/index/index.vue | 275 +++++++-- utils/login.js | 6 +- 7 files changed, 891 insertions(+), 75 deletions(-) create mode 100644 pages/index/index copy.vue diff --git a/App.vue b/App.vue index 921e43a..92f4254 100644 --- a/App.vue +++ b/App.vue @@ -45,7 +45,7 @@ export default { ...mapGetters(['site_statistic']) }, methods: { - ...mapActions(['getSystemInfo', 'getUser', 'initLocationFunc']), + ...mapActions(['getSystemInfo', 'getUser']), ...mapMutations(['setConfig']), async getConfigFun() { const { code, data } = await getConfig() @@ -63,12 +63,6 @@ export default { document.head.appendChild(favicon) // #endif - // #ifndef MP - if (data.is_open_nearby) { - // 获取定位 - this.initLocationFunc() - } - // #endif } }, async bindCode(options) { diff --git a/components/privacy-popup/privacy-popup.vue b/components/privacy-popup/privacy-popup.vue index 8a9e310..4faf09f 100644 --- a/components/privacy-popup/privacy-popup.vue +++ b/components/privacy-popup/privacy-popup.vue @@ -38,7 +38,7 @@ + + diff --git a/pages/index/index.vue b/pages/index/index.vue index 5b65cd3..370d15e 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -90,17 +90,17 @@ - 茶址甄选茶仓 + 切换本地仓 - 切换当地店 + 切换甄选仓