|
|
@ -4,14 +4,15 @@ |
|
|
|
<view class="memberBox"> |
|
|
|
<view class="posBox"> |
|
|
|
<view class="memberBoxTop"> |
|
|
|
<view class="memberTopPos" :style="{backgroundImage:'url('+levelInfo.memberLevelBackground+')'}"> |
|
|
|
<!-- <view class="memberTopPos" :style="{backgroundImage:'url('+levelInfo.memberLevelBackground+')'}">--> |
|
|
|
<view class="memberTopPos"> |
|
|
|
<view class="memberTopBg"> |
|
|
|
<view class="flex-items"> |
|
|
|
<view class="avatarBox"> |
|
|
|
<image :src="memberData.headImage"></image> |
|
|
|
</view> |
|
|
|
<view class="nameBox"> |
|
|
|
<view class="name fs36">{{memberData.name}}</view> |
|
|
|
<view class="name fs32">{{memberData.name}}</view> |
|
|
|
<view class="level"> |
|
|
|
<image :src="levelInfo.memberLevelIcon"></image> |
|
|
|
</view> |
|
|
@ -19,16 +20,16 @@ |
|
|
|
</view> |
|
|
|
<view class="integralInfo flex-items flex-sp-between mar-top-20"> |
|
|
|
<view class="itemBox"> |
|
|
|
<view class="integraNum fs32 font-color-333 fs-weight-400">{{ memberData.totalCredit }}</view> |
|
|
|
<view class="fs24 font-color-333 fs-weight-400">累计积分</view> |
|
|
|
<view class="integraNum fs28 font-color-252744 fs-weight-400">{{ memberData.totalCredit }}</view> |
|
|
|
<view class="fs28 font-color-252744 fs-weight-400">累计积分</view> |
|
|
|
</view> |
|
|
|
<view class="itemBox"> |
|
|
|
<view class="integraNum fs32 font-color-333 fs-weight-400">{{ memberData.totalCredit - memberData.credit }}</view> |
|
|
|
<view class="fs24 font-color-333 fs-weight-400">累计消费</view> |
|
|
|
<view class="integraNum fs28 font-color-252744 fs-weight-400">{{ memberData.totalCredit - memberData.credit }}</view> |
|
|
|
<view class="fs28 font-color-252744 fs-weight-400">累计消费</view> |
|
|
|
</view> |
|
|
|
<view class="itemBox"> |
|
|
|
<view class="integraNum fs32 font-color-333 fs-weight-400">{{ memberData.credit }}</view> |
|
|
|
<view class="fs24 font-color-333 fs-weight-400">剩余积分</view> |
|
|
|
<view class="integraNum fs28 font-color-252744 fs-weight-400">{{ memberData.credit }}</view> |
|
|
|
<view class="fs28 font-color-252744 fs-weight-400">剩余积分</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
@ -39,7 +40,7 @@ |
|
|
|
<view class="signBox flex-items flex-sp-between mar-top-30" @click="goToSign"> |
|
|
|
<view class="signLeft flex-items flex-sp-between"> |
|
|
|
<view class="signIcon"></view> |
|
|
|
<view class="signText fs28 font-color-C5AA7B">积分签到</view> |
|
|
|
<view class="signText fs28 font-color-252744">积分签到</view> |
|
|
|
</view> |
|
|
|
<view class="u-arrow u-arrow-right"></view> |
|
|
|
</view> |
|
|
@ -59,8 +60,8 @@ |
|
|
|
<view class="leftBox flex-items"> |
|
|
|
<image src="https://ceres.zkthink.com/static/images/signIcon1.png"></image> |
|
|
|
<view class="leftInfo"> |
|
|
|
<label class="fs28 font-color-333">{{item.recordContent}}</label> |
|
|
|
<view class="fs24 font-color-999">{{item.createTime}}</view> |
|
|
|
<label class="fs28 font-color-252744">{{item.recordContent}}</label> |
|
|
|
<view class="fs24 font-color-90919C">{{item.createTime}}</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="rightBtn">{{item.recordType === 1 ? '+' : '-'}}{{item.credit}}</view> |
|
|
@ -239,10 +240,10 @@ export default { |
|
|
|
|
|
|
|
<style lang="scss" scoped> |
|
|
|
page { |
|
|
|
background: #F8F8F8; |
|
|
|
background: #FAFAFA; |
|
|
|
} |
|
|
|
.memberCenter { |
|
|
|
border-top: 2rpx solid #4b4b4b; |
|
|
|
border-top: 1rpx solid #4b4b4b; |
|
|
|
background: url("https://ceres.zkthink.com/static/images/addBankBg.png") no-repeat left top; |
|
|
|
background-size: contain; |
|
|
|
min-height: 800rpx; |
|
|
@ -265,10 +266,12 @@ page { |
|
|
|
position: relative; |
|
|
|
.memberTopPos{ |
|
|
|
//background: url("https://ceres.zkthink.com/static/images/integralBg.png") no-repeat left top; |
|
|
|
background: linear-gradient(-30deg, #C8CBF7, #E6E8FB); |
|
|
|
background-size: cover; |
|
|
|
height: 302rpx; |
|
|
|
border-radius: 24rpx; |
|
|
|
box-shadow: 0 0 20rpx rgba(0, 0, 0, 0.05); |
|
|
|
//box-shadow: 0 0 20rpx rgba(0, 0, 0, 0.05); |
|
|
|
box-shadow: 0rpx 20rpx 40rpx 0rpx #E4E6FC; |
|
|
|
.memberTopBg { |
|
|
|
padding: 40rpx 30rpx; |
|
|
|
.integralInfo { |
|
|
@ -304,7 +307,7 @@ page { |
|
|
|
} |
|
|
|
} |
|
|
|
.signBox { |
|
|
|
background: #f9f6ed; |
|
|
|
background: #ffffff; |
|
|
|
height: 96rpx; |
|
|
|
border-radius: 24rpx; |
|
|
|
padding: 0 20rpx; |
|
|
@ -318,10 +321,10 @@ page { |
|
|
|
} |
|
|
|
} |
|
|
|
.u-arrow { |
|
|
|
width: 24rpx; |
|
|
|
height: 24rpx; |
|
|
|
border-top: 3rpx solid #C5AA7B; |
|
|
|
border-right: 3rpx solid #C5AA7B; |
|
|
|
width: 16rpx; |
|
|
|
height: 16rpx; |
|
|
|
border-top: 3rpx solid #252744; |
|
|
|
border-right: 3rpx solid #252744; |
|
|
|
} |
|
|
|
} |
|
|
|
.signTabs { |
|
|
@ -330,7 +333,7 @@ page { |
|
|
|
height: 96rpx; |
|
|
|
border-radius: 16rpx; |
|
|
|
text { |
|
|
|
color: #999999; |
|
|
|
color: #252744; |
|
|
|
font-size: 28rpx; |
|
|
|
} |
|
|
|
.icon { |
|
|
@ -348,7 +351,7 @@ page { |
|
|
|
} |
|
|
|
} |
|
|
|
.active { |
|
|
|
background: #333333; |
|
|
|
background: #252744; |
|
|
|
.detailIcon { |
|
|
|
background: url("https://ceres.zkthink.com/static/images/detailIcon1.png") no-repeat center center; |
|
|
|
background-size: contain; |
|
|
@ -358,7 +361,7 @@ page { |
|
|
|
background-size: contain; |
|
|
|
} |
|
|
|
text { |
|
|
|
color: #FFEBC4; |
|
|
|
color: #ffffff; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
@ -383,15 +386,15 @@ page { |
|
|
|
border-top: none; |
|
|
|
} |
|
|
|
.rightBtn { |
|
|
|
width: 160rpx; |
|
|
|
height: 58rpx; |
|
|
|
line-height: 58rpx; |
|
|
|
background: #FFF9F6; |
|
|
|
border-radius: 10rpx; |
|
|
|
color: #C83732; |
|
|
|
//width: 160rpx; |
|
|
|
//height: 58rpx; |
|
|
|
//line-height: 58rpx; |
|
|
|
//background: #FFF9F6; |
|
|
|
//border-radius: 10rpx; |
|
|
|
color: #F54639; |
|
|
|
text-align: center; |
|
|
|
font-weight: 300; |
|
|
|
font-size: 24rpx; |
|
|
|
font-weight: 400; |
|
|
|
font-size: 28rpx; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|