diff --git a/app.json b/app.json index 4a9212f..4a4a96c 100644 --- a/app.json +++ b/app.json @@ -37,18 +37,26 @@ "tabBar": { "list": [{ "pagePath": "pages/index/index", - "text": "首页" + "text": "首页", + "iconPath":"/utils/img/index.png", + "selectedIconPath":"/utils/img/indexs.png" }, { "pagePath": "pages/classify/classify", - "text": "分类" + "text": "分类", + "iconPath":"/utils/img/classify.png", + "selectedIconPath":"/utils/img/classifys.png" }, { "pagePath": "pages/shopping/shopping", - "text": "购物车" + "text": "购物车", + "iconPath":"/utils/img/shopping.png", + "selectedIconPath":"/utils/img/shoppings.png" }, { "pagePath": "pages/personal/personal", - "text": "我的" + "text": "我的", + "iconPath":"/utils/img/personal.png", + "selectedIconPath":"/utils/img/personals.png" }] }, diff --git a/components/classify/navigation/index.scss b/components/classify/navigation/index.scss index 2d45484..b1accf4 100644 --- a/components/classify/navigation/index.scss +++ b/components/classify/navigation/index.scss @@ -8,7 +8,7 @@ font-size: 28rpx; color: #333; border-bottom: 2rpx solid #eaeaea; - line-height: 97rpx; + line-height: 95rpx; font-weight: bold; text-align: center; box-sizing: border-box; diff --git a/components/classify/navigation/index.wxss b/components/classify/navigation/index.wxss index a20b46f..6c12cd6 100644 --- a/components/classify/navigation/index.wxss +++ b/components/classify/navigation/index.wxss @@ -1 +1 @@ -.navigation{width:188rpx;border-right:2rpx solid #eaeaea;max-height:100vh}.navigation view{height:97rpx;font-size:28rpx;color:#333;border-bottom:2rpx solid #eaeaea;line-height:97rpx;font-weight:bold;text-align:center;box-sizing:border-box}.navigation .on{border-left:5rpx solid #56CC84;color:#56CC84} +.navigation{width:188rpx;border-right:2rpx solid #eaeaea;max-height:100vh}.navigation view{height:97rpx;font-size:28rpx;color:#333;border-bottom:2rpx solid #eaeaea;line-height:95rpx;font-weight:bold;text-align:center;box-sizing:border-box}.navigation .on{border-left:5rpx solid #56CC84;color:#56CC84} diff --git a/utils/img/classify.png b/utils/img/classify.png index b3a8ebd..35c86dd 100644 Binary files a/utils/img/classify.png and b/utils/img/classify.png differ diff --git a/utils/img/classifys.png b/utils/img/classifys.png new file mode 100644 index 0000000..38c7d73 Binary files /dev/null and b/utils/img/classifys.png differ diff --git a/utils/img/index.png b/utils/img/index.png index 1b671ea..e8117f6 100644 Binary files a/utils/img/index.png and b/utils/img/index.png differ diff --git a/utils/img/indexs.png b/utils/img/indexs.png new file mode 100644 index 0000000..27f2f27 Binary files /dev/null and b/utils/img/indexs.png differ diff --git a/utils/img/personal.png b/utils/img/personal.png index 060b011..26e0612 100644 Binary files a/utils/img/personal.png and b/utils/img/personal.png differ diff --git a/utils/img/personals.png b/utils/img/personals.png new file mode 100644 index 0000000..64d8aa0 Binary files /dev/null and b/utils/img/personals.png differ diff --git a/utils/img/shopping.png b/utils/img/shopping.png index 82cca8a..9498db3 100644 Binary files a/utils/img/shopping.png and b/utils/img/shopping.png differ diff --git a/utils/img/shoppings.png b/utils/img/shoppings.png new file mode 100644 index 0000000..5097097 Binary files /dev/null and b/utils/img/shoppings.png differ