From 8c98af4041b0662c163b0cc9a098cce4fc2e2f90 Mon Sep 17 00:00:00 2001 From: huliyong <2783385703@qq.com> Date: Sat, 19 Oct 2024 16:07:25 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8A=E4=BC=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- common.scss | 15 ++ components/base/navbar.vue | 13 +- components/base/tabbar.vue | 27 ++- pages.json | 14 +- pages/index/category.vue | 15 +- pages/index/center.vue | 343 ++++++++++++++-------------------- pages/index/index.vue | 9 +- pages/index/order.vue | 7 +- pages_order/product/productDetail.vue | 18 +- static/image/center/headImage.png | Bin 0 -> 16063 bytes 10 files changed, 212 insertions(+), 249 deletions(-) create mode 100644 static/image/center/headImage.png diff --git a/common.scss b/common.scss index 5fd3072..0703e55 100644 --- a/common.scss +++ b/common.scss @@ -37,4 +37,19 @@ margin: 0; width: 0; height: 0; +} + +.uv-tags__text{ + font-size: 20rpx !important; +} +.uv-tags{ + height: 40rpx !important; + line-height: 40rpx !important; + padding: 0 10rpx !important; +} +.uv-button-wrapper button{ + height: 50rpx !important; +} +.uv-button__text{ + font-size: 26rpx !important; } \ No newline at end of file diff --git a/components/base/navbar.vue b/components/base/navbar.vue index 909f33c..8ada4ad 100644 --- a/components/base/navbar.vue +++ b/components/base/navbar.vue @@ -2,27 +2,27 @@ + :style="{backgroundColor : bgColor, color}"> + :color="color" size="46rpx"> {{ title }} + :color="color" size="58rpx"> - - @@ -64,7 +64,8 @@ }, bgColor : { default : '#fff' - } + }, + color : '#333', }, created() { }, diff --git a/components/base/tabbar.vue b/components/base/tabbar.vue index 732e9ef..d5e7657 100644 --- a/components/base/tabbar.vue +++ b/components/base/tabbar.vue @@ -43,21 +43,20 @@ "iconPath": "/static/image/tabbar/category.png", "pagePath": "/pages/index/category", "title": "分类", - isNotShop : true, - }, - { - "selectedIconPath": "/static/image/tabbar/order-a.png", - "iconPath": "/static/image/tabbar/order.png", - "pagePath": "/pages/index/order", - "title": "订单中心" - }, - { - "selectedIconPath": "/static/image/tabbar/cart-a.png", - "iconPath": "/static/image/tabbar/cart.png", - "pagePath": "/pages/index/cart", - "title": "购物车", - isNotShop : true, }, + // { + // "selectedIconPath": "/static/image/tabbar/order-a.png", + // "iconPath": "/static/image/tabbar/order.png", + // "pagePath": "/pages/index/order", + // "title": "订单中心" + // }, + // { + // "selectedIconPath": "/static/image/tabbar/cart-a.png", + // "iconPath": "/static/image/tabbar/cart.png", + // "pagePath": "/pages/index/cart", + // "title": "购物车", + // isNotShop : true, + // }, { "selectedIconPath": "/static/image/tabbar/center-a.png", "iconPath": "/static/image/tabbar/center.png", diff --git a/pages.json b/pages.json index 38323ec..6858bcd 100644 --- a/pages.json +++ b/pages.json @@ -9,19 +9,22 @@ { "path": "pages/index/order", "style": { - "navigationBarTitleText": "" + "navigationBarTitleText": "", + "navigationBarTextStyle": "white" } }, { "path": "pages/index/category", "style": { - "navigationBarTitleText": "" + "navigationBarTitleText": "", + "navigationBarTextStyle": "white" } }, { "path": "pages/index/center", "style": { - "navigationBarTitleText": "" + "navigationBarTitleText": "", + "navigationBarTextStyle": "white" } }, { @@ -40,7 +43,10 @@ "subPackages": [{ "root": "pages_order", "pages": [{ - "path": "order/orderDetail" + "path": "order/orderDetail", + "style": { + "navigationBarTextStyle": "white" + } }, { "path": "mine/purse" diff --git a/pages/index/category.vue b/pages/index/category.vue index 17ab40d..5871e0f 100644 --- a/pages/index/category.vue +++ b/pages/index/category.vue @@ -1,12 +1,11 @@