调整tabbar订单和太湖公益的顺序

This commit is contained in:
liuyuan
2025-03-14 15:32:28 +08:00
parent cd31512ac8
commit 6ad5712a71
3 changed files with 15 additions and 29 deletions

View File

@@ -21,7 +21,7 @@
></image>
<text
class="footer_nav_item_text"
:class="[item.pagePath == path ? 'footer_item_text_active' : '',index == 2 && item.pagePath == path ? 'redText' :'']"
:class="[item.pagePath == path ? 'footer_item_text_active' : '',index == 1 && item.pagePath == path ? 'redText' :'']"
>{{ item.text }}</text
>
</view>
@@ -80,24 +80,18 @@ export default {
selectedIconPath: "static/tab/icon1_y.png",
text: "首页",
},
// {
// pagePath: "pages/peanut/shopping",
// iconPath: "static/tab/tab_nor_02.png",
// selectedIconPath: "static/tab/tab_cur_02.png",
// text: "购物车",
// },
{
pagePath: "pages/taihu/index",
iconPath: "static/tab/tab_nor_03.png",
selectedIconPath: "static/tab/tab_cur_03.png",
text: "太湖公益",
},
{
pagePath: "pages/bookShop/orderList",
iconPath: "static/tab/order.png",
selectedIconPath: "static/tab/order_active.png",
text: "订单",
},
{
pagePath: "pages/taihu/index",
iconPath: "static/tab/tab_nor_03.png",
selectedIconPath: "static/tab/tab_cur_03.png",
text: "太湖公益",
},
},
{
pagePath: "pages/mine/mine/index",
iconPath: "static/tab/tab_nor_04.png",
@@ -112,13 +106,6 @@ export default {
selectedIconPath: "static/tab/icon1_y.png",
text: "首页",
},
// {
// pagePath: "pages/peanut/shopping",
// iconPath: "static/tab/tab_nor_02.png",
// selectedIconPath: "static/tab/tab_cur_02.png",
// text: "购物车",
// },
{
pagePath: "pages/taihu/index",
iconPath: "static/tab/tab_nor_03.png",