You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
698 B
32 lines
698 B
<template>
|
|
<view>mall</view>
|
|
</template>
|
|
|
|
<script>
|
|
import { enterpriseType } from '@/enums/index.js'
|
|
export default {
|
|
created() {
|
|
// // 判断用户的角色
|
|
// let type = this.$store.state.companyInfo.enterpriseType
|
|
// if (type == enterpriseType.PERSONAL) {
|
|
// // 隐藏数字车间和推广
|
|
// this.changeTabbar(0, false)
|
|
// this.changeTabbar(1, false)
|
|
// } else {
|
|
// // 显示数字车间和推广
|
|
// this.changeTabbar(0, true)
|
|
// this.changeTabbar(1, true)
|
|
// }
|
|
},
|
|
methods: {
|
|
changeTabbar(index, isShow) {
|
|
uni.setTabBarItem({
|
|
index: index,
|
|
visible: isShow
|
|
})
|
|
}
|
|
}
|
|
}
|
|
</script>
|
|
|
|
<style></style>
|