diff --git a/common.scss b/common.scss index de989b9..2d70b47 100644 --- a/common.scss +++ b/common.scss @@ -54,4 +54,14 @@ background-color: #FFFFFF; border-radius: 16rpx; padding: 19rpx 18rpx; +} + +.btn { + width: auto; + height: auto; + margin: 0; + padding: 0; + line-height: 1; + border: none; + background: none; } \ No newline at end of file diff --git a/pages/index/center.vue b/pages/index/center.vue index 09884a8..2d12a5b 100644 --- a/pages/index/center.vue +++ b/pages/index/center.vue @@ -1,173 +1,195 @@ - - - - - - - - - - - - {{ userInfo.nickName}} - - - - - - - + + + + {{ userInfo.nickName }} + + + + + + + + + + + + + + {{ `将于${'2026-12-12'} 到期` }} + + + + + + + + 成为会员可获得会员卡,享受会员福利哟~ - - {{ userRole[userInfo.isPay] }} + 立即开通 + + + + + + + + + + 会员福利 + 会员折扣 + - - - - - - 修改资料 + + + + + 会员积分 + 兑换礼品 + - - - - - 手机号:{{ userInfo.phone }} - - - - - - - - - - - - - - 开通时间:{{ riceInfo.openTime }} + + + + + 会员优惠券 + 满减折扣 + - - - - - - - - - 我的佣金 - ¥{{ riceInfo.canWithdraw || 0 }} - + + + {{ riceInfo.balance || 0 }}元 + 我的余额 - - - - - - 我的余额 - ¥{{ riceInfo.balance || 0 }} - + + + {{ riceInfo.balance || 0 }} + 我的积分 + + + {{ riceInfo.canWithdraw || 0 }}元 + 推广佣金 + + + + {{ riceInfo.balance || 0 }}张 + 优惠券 + + + + + + + + + + 我的佣金 + ¥{{ riceInfo.canWithdraw || 0 }} + + - - - - 我的服务 - + + - - - - 我的订单 - - - - 我的团队 - - - - 联系客服 - - - - 邀请好友 + + 我的余额 + ¥{{ riceInfo.balance || 0 }} + - - - - 合伙人招募 + + + + 我的服务 - - - 会员权益 - - - - 优惠券 - - - - 帮助与反馈 - - - - - - 我的地址 + + + + 我的订单 + + + + 我的团队 + + + + 联系客服 + + + + 邀请好友 + - - - 礼包列表 + + + + + 合伙人招募 + + + + 会员权益 + + + + 优惠券 + + + + 帮助与反馈 + - - - 退出登录 + + + + + 我的地址 + + + + 礼包列表 + + + + 退出登录 + - - - - - - - - + + + + + + + + + + + + - - - - - - - - + + + - + + + @@ -197,6 +219,8 @@ }, data() { return { + role: '', // member-personal | member-business + vipType: ['普通会员', '黄金会员', '渠道商'], vipImage: ['vip_vip', 'vip_user', 'vip_shop'], vipList: [], @@ -245,152 +269,13 @@ \ No newline at end of file diff --git a/pages/index/index.vue b/pages/index/index.vue index 8a2de41..0200fca 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -47,35 +47,16 @@ - - - - - - - - - - - - - - - diff --git a/pages_order/components/cardTitle.vue b/pages_order/components/cardTitle.vue new file mode 100644 index 0000000..03d85a6 --- /dev/null +++ b/pages_order/components/cardTitle.vue @@ -0,0 +1,41 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/pages_order/product/productDetail.vue b/pages_order/product/productDetail.vue index ba9a856..b27426c 100644 --- a/pages_order/product/productDetail.vue +++ b/pages_order/product/productDetail.vue @@ -42,11 +42,7 @@ - - - 商品详情 - - + 商品详情 @@ -70,7 +66,12 @@