diff --git a/package.json b/package.json index f29c76a..858a73e 100644 --- a/package.json +++ b/package.json @@ -18,7 +18,6 @@ "@dcloudio/uni-app": "3.0.0-3090920231225001", "@dcloudio/uni-app-plus": "3.0.0-3090920231225001", "@dcloudio/uni-components": "3.0.0-3090920231225001", - "@dcloudio/uni-h5": "3.0.0-3090920231225001", "@dcloudio/uni-mp-weixin": "3.0.0-3090920231225001", "@dcloudio/uni-mp-xhs": "3.0.0-3090920231225001", "pinia": "2.0.36", diff --git a/src/components/tabbar/tabbar.vue b/src/components/tabbar/tabbar.vue new file mode 100644 index 0000000..8468c84 --- /dev/null +++ b/src/components/tabbar/tabbar.vue @@ -0,0 +1,79 @@ + + + + + diff --git a/src/pages.json b/src/pages.json index 37c3288..b33def3 100644 --- a/src/pages.json +++ b/src/pages.json @@ -47,6 +47,64 @@ "navigationBarTitleText": "网页" } ] + }, + { + "root": "pages/home/subs", + "pages": [ + { + "path": "group/join", + "style": { + "navigationBarTitleText": "扫码加群" + } + } + ] + }, + { + "root": "pages/mine/subs", + "pages": [ + { + "path": "profile/index", + "style": { + "navigationBarTitleText": "会员信息" + } + }, + { + "path": "recharge/index", + "style": { + "navigationBarTitleText": "会员充值" + } + }, + { + "path": "coupon/coupon-list", + "style": { + "navigationBarTitleText": "优惠券" + } + }, + { + "path": "order/order-list", + "style": { + "navigationBarTitleText": "我的订单" + } + }, + { + "path": "order/order-detail", + "style": { + "navigationBarTitleText": "订单详情" + } + }, + { + "path": "address/address-list", + "style": { + "navigationBarTitleText": "收货地址" + } + }, + { + "path": "address/add-address", + "style": { + "navigationBarTitleText": "新增收货地址" + } + } + ] } ], "preloadRule": { @@ -91,7 +149,7 @@ }, "globalStyle": { "navigationBarTextStyle": "black", - "navigationBarTitleText": "uni-app", + "navigationBarTitleText": "VIP顾客中心", "navigationBarBackgroundColor": "#FFFFFF", "backgroundColor": "#F7F7F7" } diff --git a/src/pages/home/index.vue b/src/pages/home/index.vue index 93797bb..e26bafb 100644 --- a/src/pages/home/index.vue +++ b/src/pages/home/index.vue @@ -16,33 +16,33 @@ - 设计小仙女 - + 设计小仙女 + 1000 积分 - 998.00 + 998.00 余额(元) - - + + 会员充值 - - + + 优惠券 - + {{ item.title }} @@ -65,6 +65,7 @@ + + diff --git a/src/pages/mall/index.vue b/src/pages/mall/index.vue index 8e86977..10826de 100644 --- a/src/pages/mall/index.vue +++ b/src/pages/mall/index.vue @@ -2,7 +2,7 @@ - + @@ -22,14 +22,14 @@ {{ item.goodsName }} ¥{{ item.goodsPrice }} - + - + 10 @@ -95,6 +95,7 @@ const changeCategory = (index: number) => { align-items: center; background: #F7F7F7; padding: 17rpx 23rpx; + font-size: 26rpx; width: 100%; image { @@ -127,6 +128,7 @@ const changeCategory = (index: number) => { text { width: 100%; text-align: center; + font-size: 30rpx; } } @@ -219,6 +221,7 @@ const changeCategory = (index: number) => { top: -5rpx; right: -5rpx; color: white; + font-size: 26rpx; position: absolute; border-radius: 50%; border: 2rpx solid #FFFFFF; diff --git a/src/pages/mine/index.vue b/src/pages/mine/index.vue index 2fd9a3d..8d2677a 100644 --- a/src/pages/mine/index.vue +++ b/src/pages/mine/index.vue @@ -3,18 +3,18 @@