You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
yanzong_qianduan/pages/member/index.vue

559 lines
11 KiB

<template>
<view class="member">
<view class="title">
会员中心
</view>
<view class="khy">
开通Ultra会员人均立省<text>2389</text>
<image src="/static/order/left.png" mode=""></image>
</view>
<view class="tips">
<image src="/static/default-logo.png" mode="" class="headIcon"></image>
<view class="meInfo">
<view class="info">
<view class="name">
Deioio
</view>
<view class="hy">
v月卡会员
</view>
</view>
<view class="time">
有效期至2024.01.21
</view>
</view>
</view>
<view class="notVip" v-if="!isVip">
<view class="openVip">
开通Ultra会员获得以下 <text>10</text>特权
</view>
<view class="vipList">
<view v-for="(item,index) in 10" :key="index" class="vipItem">
<image src="/static/member/my.png" mode="" class="itemImg"></image>
<view class="vipInfo">
天天免邮
</view>
</view>
</view>
<view class="choseType">
<view class="typeTitle">
选择开卡套餐
</view>
<view class="typeList">
<view class="first common">
<view class="limitPrice">
限时活动价
</view>
<view class="timeLong">
3个月
</view>
<view class="firPrice">
¥99
</view>
<view class="avePrice">
¥12/月
</view>
</view>
<view class="first common">
<view class="timeLong sec">
6个月
</view>
<view class="firPrice">
¥99
</view>
<view class="avePrice">
¥12/月
</view>
</view>
<view class="first common">
<view class="timeLong sec">
1个月
</view>
<view class="firPrice">
¥99
</view>
<view class="avePrice">
¥12/月
</view>
</view>
</view>
<view class="payType">
<view class="firLine">
<view class="left">
<image src="/static/order/wChat.png" mode="" class="weChatImg"></image>
<text>微信支付</text>
</view>
<image src="../../static/order/right.png" mode="" class="choseImg"></image>
</view>
<view class="line">
</view>
<view class="firLine">
<view class="left">
<image src="/static/order/wChat.png" mode="" class="weChatImg"></image>
<text>找微信好友代付</text>
</view>
<image src="../../static/order/right.png" mode="" class="choseImg"></image>
</view>
<view class="line">
</view>
</view>
</view>
</view>
<view class="main" v-if="isVip">
<view class="mTitle">
月卡订单记录
</view>
<view class="card">
<view class="tp">
<view class="info">
生效中
</view>
</view>
<view class="detail">
<view class="topLine">
<view class="send">
省钱月卡1个月
</view>
<view class="btn">
活动赠送
</view>
</view>
<view class="time">
2023.12.22-2024.01.21
</view>
</view>
</view>
<view class="showInfo">
已展示近18个月省钱月卡订单
</view>
</view>
<view class="footer">
<view class="fLeft">
<view class="ys">
已省 <text>¥3.2</text>
</view>
<view class="yj">
原价 ¥30
</view>
</view>
<view class="btn">
<text>36</text>开卡3个月
</view>
</view>
</view>
</template>
<script>
export default{
data(){
return{
isVip:false,
}
}
}
</script>
<style lang="scss" scoped>
.member{
width: 100%;
height: 1296rpx;
background: url('../../static/member/merBack.png') 100% no-repeat;
background-size: 100% 100%;
padding-top: 120rpx;
position:relative;
}
.title{
width: 128rpx;
height: 44rpx;
font-size: 32rpx;
font-family: PingFang SC, PingFang SC;
font-weight: 500;
color: #424242;
line-height: 44rpx;
left: 0;
right: 0;
margin: auto;
}
.khy{
height: 36rpx;
font-size: 26rpx;
font-family: PingFang SC, PingFang SC;
font-weight: 400;
color: #785B45;
line-height: 36rpx;
text-align: center;
margin: 40rpx 0 28rpx 0;
image{
width: 15rpx;
height: 10rpx;
}
text{
height: 56rpx;
font-size: 40rpx;
font-family: PingFang SC, PingFang SC;
font-weight: 600;
color: #785B45;
line-height: 56rpx;
margin-right: 8rpx;
}
}
.tips{
width: 698rpx;
height: 234rpx;
margin:46rpx 0 0 26rpx;
background-image: url('/static/member/bg.png');
background-repeat: no-repeat;
background-size: 100% 100%;
display: flex;
align-items: center;
padding: 0rpx 0 0 34rpx;
.headIcon{
width: 114rpx;
height: 114rpx;
margin-right: 30rpx;
margin-top: 12rpx;
}
.meInfo{
.info{
display: flex;
margin-bottom: 26rpx;
.name{
height: 50rpx;
font-size: 36rpx;
font-family: PingFang SC, PingFang SC;
font-weight: 500;
color: #785B45;
line-height: 50rpx;
margin-right: 18rpx;
}
.hy{
width: 126rpx;
height: 42rpx;
background: rgba(255,255,255,0.71);
border-radius: 62rpx 62rpx 62rpx 62rpx;
opacity: 1;
text-align: center;
font-size: 24rpx;
font-family: PingFang SC, PingFang SC;
font-weight: 400;
color: #785B45;
line-height: 42rpx;
}
}
.time{
height: 34rpx;
font-size: 24rpx;
font-family: PingFang SC, PingFang SC;
font-weight: 400;
color: #785B45;
line-height: 34rpx;
}
}
}
.notVip{
.openVip{
height: 44rpx;
font-size: 32rpx;
font-family: PingFang SC, PingFang SC;
font-weight: 500;
color: #8B4338;
line-height: 44rpx;
margin: 30rpx 0 0 38rpx;
text{
color: #EF2C21;
}
}
.vipList{
display: flex;
flex-wrap: wrap;
margin: 24rpx 0 0 34rpx;
.vipItem{
display: flex;
justify-content: center;
flex-direction: column;
align-items: center;
margin-right: 40rpx;
.itemImg{
width: 88rpx;
height: 88rpx;
}
.vipInfo{
width: 96rpx;
height: 34rpx;
font-size: 24rpx;
font-family: PingFang SC, PingFang SC;
font-weight: 400;
color: #7D2D21;
line-height: 34rpx;
margin-top: 30rpx;
}
}
}
.choseType{
width: 726rpx;
height: 546rpx;
background: #FFFFFF;
border-radius: 12rpx 12rpx 12rpx 12rpx;
opacity: 1;
margin:28rpx 0 0 12rpx ;
padding: 18rpx 0 0 26rpx;
.typeTitle{
height: 44rpx;
font-size: 32rpx;
font-family: PingFang SC, PingFang SC;
font-weight: 500;
color: #8B4338;
line-height: 44rpx;
}
.typeList{
display: flex;
margin: 28rpx 0 0 22rpx;
.first{
margin-right: 12rpx;
width: 220rpx;
height: 242rpx;
background: #FFEEE8;
border-radius: 8rpx 8rpx 8rpx 8rpx;
opacity: 1;
border: 2rpx solid #F34A40;
.limitPrice{
width: 169rpx;
height: 46rpx;
background: linear-gradient(180deg, #FFFFFF 0%, #FEF8F5 100%);
border-radius: 0rpx 0rpx 0rpx 0rpx;
opacity: 1;
margin: 0 0 20rpx 32rpx;
}
.timeLong{
width: 100%;
text-align: center;
height: 40rpx;
font-size: 28rpx;
font-family: PingFang SC, PingFang SC;
font-weight: 400;
color: #7D2D21;
line-height: 40rpx;
margin: 30rpx 0 12rpx 0;
}
.sec{
margin-top: 62rpx;
}
.firPrice{
width: 100%;
text-align: center;
height: 72rpx;
font-size: 52rpx;
font-family: PingFang SC, PingFang SC;
font-weight: 600;
color: #F34A40;
line-height: 72rpx;
}
.avePrice{
width: 100%;
text-align: center;
height: 34rpx;
font-size: 24rpx;
font-family: PingFang SC, PingFang SC;
font-weight: 400;
color: #F34A40;
line-height: 34rpx;
}
}
}
.payType{
margin-top: 30rpx;
.firLine{
display: flex;
justify-content: space-between;
.left{
height: 40rpx;
font-size: 28rpx;
font-family: PingFang SC, PingFang SC;
font-weight: 400;
color: #7D2D21;
line-height: 40rpx;
display: flex;
align-items: center;
.weChatImg{
width: 28rpx;
height: 24rpx;
margin-right: 12rpx;
}
}
.choseImg{
width: 34rpx;
height: 24rpx;
margin-right: 60rpx;
}
}
.line{
width: 622rpx;
height: 0rpx;
opacity: 1;
border: 2rpx solid #F6F6F6;
margin: 26rpx 0 0 60rpx;
}
}
}
}
.main{
width: 750rpx;
height: 1296rpx;
background: #FFFFFF;
opacity: 1;
border-radius: 50rpx 50rpx 0 0;
position: relative;
top: -30rpx;
padding-top: 56rpx;
}
.mTitle{
width: 192rpx;
height: 44rpx;
font-size: 32rpx;
font-family: PingFang SC, PingFang SC;
font-weight: 500;
color: #8B4338;
line-height: 44rpx;
margin: 0rpx 0 0 38rpx;
}
.card{
width: 654rpx;
height: 192rpx;
background: #FFF4F4;
border-radius: 8rpx 8rpx 8rpx 8rpx;
opacity: 1;
margin: 26rpx 0 0 38rpx;
display:flex;
.tp{
width: 84rpx;
height: 84rpx;
background-image: url('../../static/member/tip.png');
background-size: 100% 100%;
.info{
width: 84rpx;
height: 40rpx;
line-height: 40rpx;
font-size: 24rpx;
font-family: PingFang SC, PingFang SC;
font-weight: 400;
color: #FFFFFF;
transform: rotate(-45deg);
}
}
.detail{
margin-top: 48rpx ;
.topLine{
display: flex;
align-items: center;
.send{
height: 40rpx;
font-size: 28rpx;
font-family: PingFang SC, PingFang SC;
font-weight: 500;
color: #785B45;
line-height: 40rpx;
}
.btn{
width: 106rpx;
height: 36rpx;
border-radius: 50rpx 50rpx 50rpx 50rpx;
opacity: 1;
border: 2rpx solid rgba(134,102,77,0.45);
text-align: center;
line-height: 36rpx;
font-size: 20rpx;
font-family: PingFang SC, PingFang SC;
font-weight: 400;
color: rgba(120,91,69,0.63);
line-height: 36rpx;
margin-left: 8rpx;
}
}
.time{
height: 34rpx;
font-size: 24rpx;
font-family: PingFang SC, PingFang SC;
font-weight: 400;
color: #785B45;
line-height: 34rpx;
margin-top: 28rpx;
}
}
}
.showInfo{
width: 100%;
height: 40rpx;
font-size: 28rpx;
font-family: PingFang SC, PingFang SC;
font-weight: 400;
color: #785B45;
line-height: 40rpx;
text-align: center;
margin-top:46rpx;
}
.footer{
position: fixed;
bottom: 0rpx;
height: 200rpx;
width: 100%;
display: flex;
justify-content: space-between;
align-items: center;
.fLeft{
margin: 24rpx 0 0 74rpx;
.ys{
height: 40rpx;
font-size: 28rpx;
font-family: PingFang SC, PingFang SC;
font-weight: 400;
color: #7D2D21;
line-height: 40rpx;
text{
height: 40rpx;
font-size: 28rpx;
font-family: PingFang SC, PingFang SC;
font-weight: 500;
color: #F34A40;
line-height: 40rpx;
}
}
.yj{
height: 34rpx;
font-size: 24rpx;
font-family: PingFang SC, PingFang SC;
font-weight: 400;
color: #CAABA6;
line-height: 34rpx;
}
}
.btn{
width: 440rpx;
height: 80rpx;
background: #F34A40;
border-radius: 8rpx 8rpx 8rpx 8rpx;
opacity: 1;
margin:22rpx 70rpx 0 0 ;
text-align: center;
font-size: 24rpx;
font-family: PingFang SC, PingFang SC;
font-weight: 500;
color: #FFFFFF;
text{
font-size: 44rpx;
font-family: PingFang SC, PingFang SC;
font-weight: 500;
color: #FFFFFF;
line-height:80rpx;
}
}
}
</style>