3
0
Fork 0

feat(tabbar): 底部tabbar更改 移除会员专区

This commit is contained in:
woody 2025-09-02 16:34:45 +08:00
parent e8bedfa519
commit 3661ba9ad2
8 changed files with 23 additions and 31 deletions

View File

@ -1,23 +1,19 @@
<!--
* @Descripttion:
* @version:
* @Descripttion:
* @version:
* @Author: kBank
* @Date: 2022-11-21 16:46:09
-->
<template>
<view class="navBar"
@tap="toBack">
<u-icon name="arrow-left"
size="14"
color="#333"></u-icon>
<view class="navBar" @tap="toBack">
<u-icon name="arrow-left" size="14" color="#333"></u-icon>
</view>
</template>
<script>
export default {
name: 'navBar',
props:['diff'],
props: ['diff'],
data() {
return {}
},
@ -35,15 +31,15 @@ export default {
uni.switchTab({ url: '/pages/specialArea/index' })
} else if (this.diff == 1) {
uni.switchTab({ url: '/pages/index/index' })
}else if (this.diff == 2) {
} else if (this.diff == 2) {
uni.navigateBack()
} else {
if(pages[pages.length - 2]&&pages[pages.length - 2].route){
if (pages[pages.length - 2] && pages[pages.length - 2].route) {
uni.navigateBack()
}else{
} else {
uni.switchTab({ url: '/pages/index/index' })
}
// uni.navigateBack()
// uni.navigateBack()
}
}
},
@ -64,4 +60,4 @@ export default {
justify-content: center;
align-items: center;
}
</style>
</style>

View File

@ -30,7 +30,7 @@
src="@/static/images/one2.png"
></image>
</u-tabbar-item>
<u-tabbar-item :text="'会员专区'">
<!-- <u-tabbar-item :text="'会员专区'">
<image
class="u-page__item__slot-icon"
slot="active-icon"
@ -41,7 +41,7 @@
slot="inactive-icon"
src="@/static/images/five2.jpg"
></image>
</u-tabbar-item>
</u-tabbar-item> -->
<u-tabbar-item :text="'个人推广'">
<image
class="u-page__item__slot-icon"
@ -67,7 +67,6 @@
src="@/static/images/three2.png"
></image>
</u-tabbar-item>
<u-tabbar-item :text="'我的'">
<image
class="u-page__item__slot-icon"
@ -105,7 +104,7 @@
src="@/static/images/one11.jpg"
></image>
</u-tabbar-item>
<u-tabbar-item :text="'会员专区'">
<!-- <u-tabbar-item :text="'会员专区'">
<image
class="u-page__item__slot-icon2"
slot="active-icon"
@ -116,7 +115,7 @@
slot="inactive-icon"
src="@/static/images/five11.jpg"
></image>
</u-tabbar-item>
</u-tabbar-item> -->
<u-tabbar-item :text="'个人推广'">
<image
class="u-page__item__slot-icon1"
@ -172,10 +171,10 @@ export default {
text: '首页',
path: 'pages/index/index',
},
{
text: '会员专区',
path: 'pages/specialArea/index',
},
// {
// text: '',
// path: 'pages/specialArea/index',
// },
{
text: '个人推广',
path: 'pages/mine/share/index',

View File

@ -916,9 +916,6 @@
{
"pagePath": "pages/index/index"
},
{
"pagePath": "pages/specialArea/index"
},
{
"pagePath": "pages/shoppingCar/index"
},

View File

@ -232,7 +232,7 @@
:text="'退出登录'"
></u-button>
</view>
<cl-tabbar :current="4"></cl-tabbar>
<cl-tabbar :current="3"></cl-tabbar>
<u-popup
:show="pswShow"
class="pspopup"

View File

@ -28,7 +28,7 @@
<img class="fullscreen-image" :src="generatedImageUrl" @click.stop="" />
</view>
</view>
<cl-tabbar class="tabbar" :current="2" />
<cl-tabbar class="tabbar" :current="1" />
</view>
</template>

View File

@ -139,7 +139,7 @@
</view>
</view>
</view>
<cl-tabbar :current="3"></cl-tabbar>
<cl-tabbar :current="2"></cl-tabbar>
<view class="pp">
<u-popup
:show="dialogVisible2"

View File

@ -8,7 +8,7 @@
<view class="content">
<special-area-wrapper v-if="specialAreaVisble" :userInfo="userInfo" />
<cl-tabbar :current="1"></cl-tabbar>
<!-- <cl-tabbar :current="1"></cl-tabbar> -->
</view>
</template>

View File

@ -214,7 +214,7 @@ export default {
goodList: [],
titLabel: '',
itemChildren: [],
diff: 0,
diff: null,
shopCarLength: false,
userInfo: {},
pkCountry: 1,