From dd6fdd9bcff3c2b3dcebdb0db3f80bc9dd469bc4 Mon Sep 17 00:00:00 2001
From: quanwei <419654421@qq.com>
Date: Thu, 25 Dec 2025 10:00:15 +0800
Subject: [PATCH] 1. 添加滚动效果 2. 修复供应方无法开通权限
---
mobile/main.js | 16 +++++++++++++++-
1 files changed, 15 insertions(+), 1 deletions(-)
diff --git a/mobile/main.js b/mobile/main.js
index f8c2a80..d1c67c6 100644
--- a/mobile/main.js
+++ b/mobile/main.js
@@ -35,6 +35,12 @@
active: 'home'
};
+/*底部数据*/
+import shopTabBar from "@/components/shoptabbar/footTabbar.vue"
+Vue.component('shopTabBar', shopTabBar)
+Vue.prototype.shopFootTabberData = {
+ active: 'home'
+};
Vue.prototype.$fire = new onfire()
Vue.config.productionTip = false
@@ -69,7 +75,15 @@
}
}
-
+Vue.prototype.consumption_name = function(e) {
+ if(!e){
+ return store.state.consumption_name;
+ }else{
+ let re = new RegExp("消费券","g");
+ return e.replace(re, store.state.consumption_name);
+ }
+
+}
//#ifdef H5
app.$router.afterEach((to, from) => {
const u = navigator.userAgent.toLowerCase();
--
Gitblit v1.9.2