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