diff --git a/pages/store/shopStreet/index.vue b/pages/store/shopStreet/index.vue
index 4448597..29f6938 100644
--- a/pages/store/shopStreet/index.vue
+++ b/pages/store/shopStreet/index.vue
@@ -172,6 +172,9 @@
+
+
+
@@ -185,12 +188,16 @@
import { HTTP_REQUEST_URL } from '@/config/app'
import easyLoadimage from '@/components/easy-loadimage/easy-loadimage.vue';
import spread from "../../../libs/spread";
+ import customTab from '@/components/customTab';
+ import { getNavigation } from "@/api/public";
+
const app = getApp();
export default {
components: {
recommend,
rightSlider,
- easyLoadimage
+ easyLoadimage,
+ customTab
},
data() {
return {
@@ -260,8 +267,18 @@
count: 0,
storeTypeArr: [], //店铺类型
merList: [], //商户分类
+
+ newData: {},
+ activeRouter: '',
};
},
+ onShow: function() {
+ let that = this
+ let routes = getCurrentPages();
+ let curRoute = routes[routes.length - 1].route
+ this.activeRouter = '/' + curRoute
+ this.getNav();
+ },
onLoad(options) {
this.sotreParam.type_id = options.type_id && options.type_id.split(',').toString() || ''
this.sotreParam.category_id= options.cate_id && options.cate_id.split(',').toString() || ''
@@ -278,7 +295,6 @@
},500)
this.getClassfication();
this.getStoreType();
-
// 关系处理
if(options.spread) spread(options.spread, this.isLogin)
},
@@ -527,6 +543,16 @@
delta: 1
})
},
+ getNav() {
+ getNavigation().then(res => {
+ this.newData = res.data
+ if (this.newData.status && this.newData.status.status) {
+ uni.hideTabBar()
+ } else {
+ uni.showTabBar()
+ }
+ })
+ },
},
//刷新
onPullDownRefresh() {},