feat(clTabbar): 分享注册用户个人推广不可见

This commit is contained in:
woody 2025-10-29 09:48:38 +08:00
parent ff8c0fca2d
commit f740851091
1 changed files with 5 additions and 2 deletions

View File

@ -1,7 +1,6 @@
<template>
<view>
<u-tabbar
v-if="systemSkin === 0"
:value="current ? current : 0"
@change="tabbarChange"
:fixed="true"
@ -24,7 +23,7 @@
></image>
</u-tabbar-item>
<u-tabbar-item :text="'个人推广'">
<u-tabbar-item v-if="!newShareMember" :text="'个人推广'">
<image
class="u-page__item__slot-icon"
slot="active-icon"
@ -74,6 +73,7 @@ export default {
},
data() {
return {
newShareMember: false
list: [
{
text: '首页',
@ -102,6 +102,9 @@ export default {
return this.user?.skin || 0
},
},
mounted() {
this.newShareMember = uni.getStorageSync('User')?.loginType !== 0
},
methods: {
tabbarChange(e) {
uni.switchTab({