diff --git a/common/gotopage.js b/common/gotopage.js index c72eddb..93232e6 100644 --- a/common/gotopage.js +++ b/common/gotopage.js @@ -4,7 +4,8 @@ const tabBarLinks = [ '/pages/index/index', '/pages/product/category', '/pages/cart/cart', - '/pages/user/index/index' + '/pages/user/index/index', + '/pages/shop/index' ]; /*分享页面白名单*/ diff --git a/custom-tab-bar/index.js b/custom-tab-bar/index.js index 85bcfa2..337c160 100644 --- a/custom-tab-bar/index.js +++ b/custom-tab-bar/index.js @@ -22,6 +22,11 @@ Component({ "selectedIconPath": "/static/tabbar/s3.png", "text": "" }, + { + "pagePath": "/pages/shop/index", + "iconPath": "/static/tabbar/m5.png", + "selectedIconPath": "/static/tabbar/s5.png" + }, { "pagePath": "/pages/user/index", "iconPath": "/static/tabbar/m4.png", diff --git a/custom-tab-bar/index.wxss b/custom-tab-bar/index.wxss index 9338ffc..a0b46d2 100644 --- a/custom-tab-bar/index.wxss +++ b/custom-tab-bar/index.wxss @@ -32,8 +32,8 @@ } .tab-bar-item image { - width: 160rpx; - height: 96rpx; + width: 140rpx; + height: 80rpx; } .tab-bar-item view { diff --git a/pages.json b/pages.json index 4acc253..3d4dedc 100644 --- a/pages.json +++ b/pages.json @@ -487,7 +487,7 @@ "selectedColor": "#FFFFFF", "borderStyle": "black", "backgroundColor": "#111111", - "iconWidth": "80px", + "iconWidth": "60px", "list": [{ "pagePath": "pages/shouye/index", "iconPath": "static/tabbar/m1.png",