From 8748e0dcc9ec5b4a54bd3a09a46470ccb8c94d3c Mon Sep 17 00:00:00 2001 From: Jruome <2559028966@qq.com> Date: Thu, 1 Jun 2023 14:16:20 +0800 Subject: [PATCH] =?UTF-8?q?uniapp=20=E8=B4=AD=E4=B9=B0=E8=AE=B0=E5=BD=95?= =?UTF-8?q?=E6=A0=B7=E5=BC=8F=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- yudao-ui-app/pages/member_equity/index.vue | 2 +- yudao-ui-app/pages/member_others/index.vue | 100 +++++++--- yudao-ui-app/pages/member_record/index.vue | 8 +- yudao-ui-app/pages/member_renew/index.vue | 201 +++++++++++++-------- 4 files changed, 213 insertions(+), 98 deletions(-) diff --git a/yudao-ui-app/pages/member_equity/index.vue b/yudao-ui-app/pages/member_equity/index.vue index 7d889061b..a97999a24 100644 --- a/yudao-ui-app/pages/member_equity/index.vue +++ b/yudao-ui-app/pages/member_equity/index.vue @@ -61,7 +61,7 @@ - + diff --git a/yudao-ui-app/pages/member_others/index.vue b/yudao-ui-app/pages/member_others/index.vue index 6e1e78b9f..322c08a35 100644 --- a/yudao-ui-app/pages/member_others/index.vue +++ b/yudao-ui-app/pages/member_others/index.vue @@ -33,8 +33,27 @@ {{item.gearRemarks}} - + + + + + + + + + + + + + 查看充值注意事项! + 点击右侧按钮 + + + + 查看 + @@ -145,6 +164,11 @@ } }, methods: { + handleRule(){ + uni.navigateTo({ + url:'/pages/member_rule/index' + }) + }, async verify(phone){ if(this.form.userPhone == this.form.confirmPhone){ const res = await memberByHomeGradeInfo(phone) @@ -237,7 +261,7 @@ .box { margin-top: 10%; position: relative; - padding: 8% 40rpx 30rpx 40rpx; + padding: 4% 40rpx 10% 40rpx; min-height: 100vh; background: url(../../static/images/bg.png); background-size: cover; @@ -442,7 +466,7 @@ box-shadow: 0px 0px 15px -5px #000; border-radius: 36rpx; width: 100%; - margin-top: 12%; + margin-top: 9%; border-radius: 20px; box-sizing: border-box; border: 1px solid transparent; @@ -457,20 +481,20 @@ .box-title { position: absolute; - top: -9%; + top: -37rpx; left: -203rpx; margin-left: 50%; image { width: 406rpx; - height: 87rpx; + height: 88rpx; position: relative; display: flex; align-items: center; justify-content: center; &::before { - content: '特权详情'; + content: '注意事项'; position: absolute; font-size: 34rpx; font-family: Adobe Heiti Std; @@ -483,32 +507,66 @@ } .privilege-list { - margin: 84rpx 10rpx 40rpx 10rpx; + width: 100%; + margin: 54rpx 30rpx 20rpx 30rpx; + min-height: 110rpx; + background: #FFFFFF; + border-radius: 20rpx; display: flex; + align-items: center; justify-content: space-between; + padding: 3% 20rpx 1% 20rpx; - .privilege-item { + .privilege-left { display: flex; - flex-direction: column; align-items: center; justify-content: space-between; - background: #fff; - padding: 16rpx 16rpx; border-radius: 20rpx; - margin: 0 10rpx; image { - width: 96rpx; - height: 96rpx; - border-radius: 50%; - margin-bottom: 15rpx; + width: 68rpx; + height: 64rpx; + margin-right: 12rpx; } .privilege-text { - color: #000000; - line-height: 36rpx; - text-align: center; - font-size: 26rpx; + display: flex; + flex-direction: column; + text:nth-child(1){ + font-size: 30rpx; + font-family: PingFang SC; + font-weight: 400; + color: #000000; + } + text:nth-child(2){ + font-size: 24rpx; + font-family: PingFang SC; + font-weight: 400; + color: #FB394B; + } + } + } + .privilege-right{ + background-image: url("../../static/images/others-button.png"); + background-size: 144rpx 64rpx; + font-size: 28rpx; + font-family: PingFang SC; + font-weight: 400; + color: #FFFFFF; + width: 144rpx; + height: 64rpx; + display: flex; + align-items: center; + justify-content: center; + position: relative; + view { + position: absolute; + right: 0; + top: -24%; + width: 18rpx; + height: 6rpx; + background: #FEAC49; + border-radius: 3rpx; } } @@ -517,7 +575,7 @@ .box-submit { background: linear-gradient(#FFC82B, #FD7A32); - margin-top: 9%; + margin-top: 4%; display: flex; justify-content: center; align-items: center; diff --git a/yudao-ui-app/pages/member_record/index.vue b/yudao-ui-app/pages/member_record/index.vue index db23f8851..20b781461 100644 --- a/yudao-ui-app/pages/member_record/index.vue +++ b/yudao-ui-app/pages/member_record/index.vue @@ -13,12 +13,12 @@ {{list[item.refundStatus]}} - 充值档次:{{item.grade}} 日期:{{$util.timestampToTime(item.stringCreateTime)}} + 充值档次:{{item.grade}} - + @@ -101,7 +101,6 @@ .box { margin-top: 10%; padding: 20% 40rpx; - height: 100vh; background: url(../../static/images/memberBg.png); background-size: cover; background-repeat: no-repeat; @@ -157,10 +156,11 @@ } .item-text{ - padding: 34rpx 12rpx; + padding: 20rpx 12rpx; background: #fff; margin-top: 20rpx; display: flex; + flex-direction: column; justify-content: space-between; font-size: 30rpx; } diff --git a/yudao-ui-app/pages/member_renew/index.vue b/yudao-ui-app/pages/member_renew/index.vue index 492e8720a..1bbd12ca6 100644 --- a/yudao-ui-app/pages/member_renew/index.vue +++ b/yudao-ui-app/pages/member_renew/index.vue @@ -30,11 +30,30 @@ {{item.gearRemarks}} - + + + + + + + + + + + 查看充值注意事项! + 点击右侧按钮 + + + + 查看 + + + + @@ -118,6 +137,11 @@ import store from '@/store/index'; } }, methods: { + handleRule(){ + uni.navigateTo({ + url:'/pages/member_rule/index' + }) + }, handleMember(value,index){ if(!!parseInt(value.isExist)) return if(this.activeIndex.includes(index)){ @@ -202,7 +226,7 @@ import store from '@/store/index';