【模版目录】更新移动端源码

This commit is contained in:
吴昊天 2022-11-24 21:48:04 +08:00
parent d087191f0b
commit fec6722522
2 changed files with 3 additions and 15 deletions

View File

@ -92,25 +92,17 @@
this.activeRouter = '/' + curRoute
},
onShow() {
uni.hideTabBar()
getNavigation().then(res => {
uni.setStorageSync('pageFoot', res.data)
this.$store.commit('FOOT_UPLOAD', res.data)
this.newData = res.data
if (this.newData.status && this.newData.status.status) {
// uni.hideTabBar()
} else {
uni.showTabBar()
}
})
},
mounted() {
let that = this
uni.hideTabBar()
this.newData = this.$store.state.app.pageFooter
if (this.newData.status && this.newData.status.status) {
uni.hideTabBar()
} else {
uni.showTabBar()
}
console.log(this.newData)
if (this.isLogin) {
this.getCartNum()

View File

@ -53,11 +53,7 @@
},
methods: {
jumpIndex() {
if (this.is_diy) {
if (!uni.getStorageSync('FOOTER_BAR')) {
uni.showTabBar()
}
}
if (this.is_diy) {}
},
classStyle() {
colorChange('category').then(res => {