| | |
| | | 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 |
| | |
| | | } |
| | | |
| | | } |
| | | |
| | | 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(); |