2023-05-16 18:22:32 +08:00
|
|
|
|
<template>
|
|
|
|
|
<view class="box">
|
|
|
|
|
<view class="box-member">
|
|
|
|
|
<view class="member-left">
|
2023-05-17 15:25:16 +08:00
|
|
|
|
<text class="left-title">创盈普通会员</text>
|
|
|
|
|
<view class="left-info">
|
2023-05-16 18:22:32 +08:00
|
|
|
|
<text>152****0693</text>
|
2023-05-17 15:25:16 +08:00
|
|
|
|
<text>会员积分:240/640</text>
|
2023-05-16 18:22:32 +08:00
|
|
|
|
</view>
|
|
|
|
|
<text>再升1级即可获得【XX】等6项权益</text>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="member-right">
|
2023-05-19 11:34:07 +08:00
|
|
|
|
<image src='../../static/images/vipStar.png'></image>
|
2023-05-18 18:03:06 +08:00
|
|
|
|
<text >会员等级3级</text>
|
|
|
|
|
<button>立即续费</button>
|
2023-05-16 18:22:32 +08:00
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="box-equity">
|
2023-05-19 11:34:07 +08:00
|
|
|
|
<view class="equity-text">
|
2023-05-18 18:03:06 +08:00
|
|
|
|
<text class="equity-member">我的会员权益</text>
|
2023-05-16 18:22:32 +08:00
|
|
|
|
<text class="equity-look">查看权益></text>
|
|
|
|
|
</view>
|
2023-05-19 11:34:07 +08:00
|
|
|
|
<view class="equity-item" v-for="(item,index) in 2" :key="index">
|
2023-05-16 18:22:32 +08:00
|
|
|
|
<view class="equity-grade">
|
|
|
|
|
<text>办理档次【640元】档</text>
|
|
|
|
|
<text>办理日期:2021.12.30</text>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="equity-money">
|
2023-05-18 18:03:06 +08:00
|
|
|
|
<view class="money-box money-completed">
|
2023-05-16 18:22:32 +08:00
|
|
|
|
<text>已返回金额(元)</text>
|
|
|
|
|
<view>
|
2023-05-18 18:03:06 +08:00
|
|
|
|
<text class="money-text">80</text>
|
2023-05-16 18:22:32 +08:00
|
|
|
|
<text class="money-detailed">查看明细></text>
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
2023-05-18 18:03:06 +08:00
|
|
|
|
<view class="money-box money-treat">
|
2023-05-16 18:22:32 +08:00
|
|
|
|
<text>已返回金额(元)</text>
|
2023-05-18 18:03:06 +08:00
|
|
|
|
<text class="money-text">80</text>
|
2023-05-16 18:22:32 +08:00
|
|
|
|
</view>
|
2023-05-18 18:03:06 +08:00
|
|
|
|
<view class="money-box money-term">
|
2023-05-16 18:22:32 +08:00
|
|
|
|
<text>已返回金额(元)</text>
|
2023-05-18 18:03:06 +08:00
|
|
|
|
<text class="money-text">80</text>
|
2023-05-16 18:22:32 +08:00
|
|
|
|
</view>
|
2023-05-18 18:03:06 +08:00
|
|
|
|
<view class="money-box money-time">
|
2023-05-16 18:22:32 +08:00
|
|
|
|
<text>已返回金额(元)</text>
|
2023-05-18 18:03:06 +08:00
|
|
|
|
<text class="money-text">80</text>
|
2023-05-16 18:22:32 +08:00
|
|
|
|
</view>
|
|
|
|
|
</view>
|
2023-05-18 18:03:06 +08:00
|
|
|
|
</view>
|
2023-05-16 18:22:32 +08:00
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
<script>
|
|
|
|
|
export default {
|
|
|
|
|
name: "member_application",
|
|
|
|
|
data() {
|
|
|
|
|
return {
|
|
|
|
|
form: {
|
|
|
|
|
phone:''
|
|
|
|
|
},
|
|
|
|
|
rules: {
|
|
|
|
|
phone: [
|
2023-05-17 15:25:16 +08:00
|
|
|
|
{
|
|
|
|
|
pattern: /^[0-9a-zA-Z]*$/g,
|
|
|
|
|
// 正则检验前先将值转为字符串
|
|
|
|
|
transform(value) {
|
|
|
|
|
return String(value);
|
|
|
|
|
},
|
|
|
|
|
message: '只能包含字母或数字'
|
|
|
|
|
},
|
2023-05-16 18:22:32 +08:00
|
|
|
|
{
|
2023-05-17 15:25:16 +08:00
|
|
|
|
message: '手机号不能为空',
|
2023-05-16 18:22:32 +08:00
|
|
|
|
// 触发器可以同时用blur和change
|
|
|
|
|
trigger: ['change', 'blur']
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
},
|
|
|
|
|
mounted() {
|
|
|
|
|
|
|
|
|
|
},
|
|
|
|
|
onLoad() {
|
|
|
|
|
|
|
|
|
|
},
|
|
|
|
|
methods: {
|
|
|
|
|
submit() {
|
|
|
|
|
|
|
|
|
|
this.$refs.uForm.validate().then(res => {
|
|
|
|
|
uni.$u.toast('校验通过')
|
|
|
|
|
}).catch(errors => {
|
|
|
|
|
uni.$u.toast('校验失败')
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
<style lang="scss" scoped>
|
|
|
|
|
.box {
|
2023-05-18 18:03:06 +08:00
|
|
|
|
background: #fff;
|
|
|
|
|
height: 100vh;
|
2023-05-19 11:34:07 +08:00
|
|
|
|
background: url(../../static/images/memberBg.png);
|
|
|
|
|
background-size: cover;
|
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
|
background-attachment: fixed;
|
2023-05-16 18:22:32 +08:00
|
|
|
|
.box-member {
|
2023-05-19 11:34:07 +08:00
|
|
|
|
padding: 36rpx 40rpx;
|
2023-05-16 18:22:32 +08:00
|
|
|
|
border-radius: 20rpx;
|
|
|
|
|
width: 100%;
|
2023-05-18 18:03:06 +08:00
|
|
|
|
// padding: 20rpx 20rpx 30rpx 20rpx;
|
2023-05-16 18:22:32 +08:00
|
|
|
|
display: flex;
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
.member-left{
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
justify-content: space-between;
|
2023-05-18 18:03:06 +08:00
|
|
|
|
width: 69%;
|
|
|
|
|
font-size: 28rpx;
|
|
|
|
|
font-family: PingFang SC;
|
|
|
|
|
font-weight: 400;
|
|
|
|
|
color: #000000;
|
|
|
|
|
.left-title{
|
|
|
|
|
font-size: 35rpx;
|
|
|
|
|
font-family: PingFang SC;
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
color: #000000;
|
|
|
|
|
}
|
2023-05-17 15:25:16 +08:00
|
|
|
|
.left-info{
|
|
|
|
|
display: flex;
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
}
|
2023-05-16 18:22:32 +08:00
|
|
|
|
}
|
|
|
|
|
.member-right{
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
align-items: center;
|
2023-05-18 18:03:06 +08:00
|
|
|
|
width: 22%;
|
|
|
|
|
font-size: 22rpx;
|
|
|
|
|
font-family: PingFang SC;
|
|
|
|
|
font-weight: 400;
|
|
|
|
|
color: #000000;
|
2023-05-16 18:22:32 +08:00
|
|
|
|
image {
|
|
|
|
|
width: 100rpx;
|
|
|
|
|
height: 100rpx;
|
|
|
|
|
border-radius: 50%;
|
|
|
|
|
margin-bottom: 10rpx;
|
|
|
|
|
}
|
2023-05-18 18:03:06 +08:00
|
|
|
|
|
|
|
|
|
button{
|
|
|
|
|
margin-top: 10rpx;
|
|
|
|
|
padding: 7rpx 16rpx;
|
|
|
|
|
background: #F22E60;
|
|
|
|
|
border-image: linear-gradient(0deg, #A8052E, #FFFFFF) 10 10;
|
|
|
|
|
border-radius: 18rpx;
|
|
|
|
|
font-size: 22rpx;
|
|
|
|
|
font-family: PingFang SC;
|
|
|
|
|
font-weight: 400;
|
|
|
|
|
color: #FFFFFF;
|
|
|
|
|
}
|
2023-05-16 18:22:32 +08:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.box-equity {
|
2023-05-19 11:34:07 +08:00
|
|
|
|
// border-radius: 20rpx;
|
2023-05-16 18:22:32 +08:00
|
|
|
|
width: 100%;
|
2023-05-19 11:34:07 +08:00
|
|
|
|
padding: 0 40rpx;
|
|
|
|
|
background: url(../../static/images/memberEquity.png);
|
|
|
|
|
background-size: 100%;
|
|
|
|
|
background-repeat: no-repeat;
|
2023-05-16 18:22:32 +08:00
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
2023-05-19 11:34:07 +08:00
|
|
|
|
position: relative;
|
|
|
|
|
|
2023-05-16 18:22:32 +08:00
|
|
|
|
.equity-text{
|
2023-05-19 11:34:07 +08:00
|
|
|
|
margin:5% 0;
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
height: 10%;
|
|
|
|
|
.equity-member{
|
|
|
|
|
margin: 0 10%;
|
|
|
|
|
font-size: 30rpx;
|
|
|
|
|
font-family: PingFang SC;
|
|
|
|
|
font-weight: 400;
|
|
|
|
|
color: #FFFFFF;
|
2023-05-17 15:25:16 +08:00
|
|
|
|
}
|
2023-05-19 11:34:07 +08:00
|
|
|
|
|
2023-05-17 15:25:16 +08:00
|
|
|
|
.equity-look{
|
2023-05-19 11:34:07 +08:00
|
|
|
|
font-size: 28rpx;
|
|
|
|
|
font-family: PingFang SC;
|
|
|
|
|
font-weight: 400;
|
|
|
|
|
color: #FF4922;
|
2023-05-16 18:22:32 +08:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
.equity-item {
|
2023-05-18 18:03:06 +08:00
|
|
|
|
background: #fff;
|
2023-05-16 18:22:32 +08:00
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
border-radius: 20rpx;
|
2023-05-19 11:34:07 +08:00
|
|
|
|
margin: 0 20rpx 20rpx 20rpx;
|
|
|
|
|
// padding: 30rpx 24rpx;
|
2023-05-16 18:22:32 +08:00
|
|
|
|
.equity-grade{
|
|
|
|
|
border-radius: 10rpx 10rpx;
|
|
|
|
|
padding: 20rpx;
|
|
|
|
|
display: flex;
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
}
|
|
|
|
|
.equity-money {
|
2023-05-18 18:03:06 +08:00
|
|
|
|
display: flex;
|
2023-05-19 11:34:07 +08:00
|
|
|
|
justify-content: space-around;
|
2023-05-18 18:03:06 +08:00
|
|
|
|
flex-wrap: wrap;
|
|
|
|
|
.money-box{
|
2023-05-19 11:34:07 +08:00
|
|
|
|
width: 46%;
|
2023-05-18 18:03:06 +08:00
|
|
|
|
padding: 24rpx 25rpx;
|
|
|
|
|
border-radius: 10px;
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
font-size: 28rpx;
|
|
|
|
|
font-family: PingFang SC;
|
|
|
|
|
font-weight: 400;
|
|
|
|
|
color: #000000;
|
|
|
|
|
margin-bottom: 18rpx;
|
|
|
|
|
.money-text{
|
|
|
|
|
font-size: 30rpx;
|
|
|
|
|
font-family: PingFang SC;
|
|
|
|
|
font-weight: 400;
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
.money-completed{
|
|
|
|
|
background: #FFF2F2;
|
|
|
|
|
border: 1px solid #F22E60;
|
|
|
|
|
.money-text{
|
|
|
|
|
color: #F91F57;
|
|
|
|
|
}
|
|
|
|
|
view{
|
|
|
|
|
margin-top:26rpx;
|
|
|
|
|
display: flex;
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
align-items: center;
|
|
|
|
|
font-size: 24rpx;
|
|
|
|
|
font-family: PingFang SC;
|
|
|
|
|
font-weight: 400;
|
|
|
|
|
color: #000000;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.money-treat{
|
|
|
|
|
background: #FFFDF1;
|
|
|
|
|
border: 1px solid #FF962F;
|
|
|
|
|
.money-text{
|
|
|
|
|
margin-top: 26rpx;
|
|
|
|
|
color: #EBAF00;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
.money-term{
|
|
|
|
|
background: #F8FFF8;
|
|
|
|
|
border: 1px solid #38A74F;
|
|
|
|
|
.money-text{
|
|
|
|
|
margin-top: 26rpx;
|
|
|
|
|
color: #2C9E2C;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
.money-time{
|
|
|
|
|
background: #F0FDFC;
|
|
|
|
|
border: 1px solid #5CA4E8;
|
|
|
|
|
.money-text{
|
|
|
|
|
margin-top: 26rpx;
|
|
|
|
|
color: #2D7AC9;
|
|
|
|
|
}
|
2023-05-16 18:22:32 +08:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
</style>
|