From 73b874c72ad55eb9eef21c36160ac0de58f0189e Mon Sep 17 00:00:00 2001
From: quanwei <419654421@qq.com>
Date: Thu, 05 Feb 2026 10:30:43 +0800
Subject: [PATCH] 优化名片
---
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