|
@@ -13,8 +13,14 @@
|
|
|
<view class="detail" @click="navTo('/pages/userinfo/userinfo')">
|
|
<view class="detail" @click="navTo('/pages/userinfo/userinfo')">
|
|
|
<image class="portrait" :src="userInfo.avatar || '/static/error/missing-face.png'"></image>
|
|
<image class="portrait" :src="userInfo.avatar || '/static/error/missing-face.png'"></image>
|
|
|
<view class="username">{{ userInfo.nickname || '游客' }}</view>
|
|
<view class="username">{{ userInfo.nickname || '游客' }}</view>
|
|
|
- <view class="uservip">
|
|
|
|
|
- {{userInfo.level == 1?'会员':userInfo.level == 2?'副店长':'店长'}}
|
|
|
|
|
|
|
+ <view class="font-size-sm" v-if="userInfo.uid">邀请码:{{ userInfo.uid }}<text
|
|
|
|
|
+ v-if="userInfo.level == 1" style="color: #5dbc7c;margin-left: 10rpx;">会员</text><text
|
|
|
|
|
+ v-if="userInfo.level == 2" style="color: #dab176;margin-left: 10rpx;">副店长</text><text
|
|
|
|
|
+ v-if="userInfo.level == 3" style="color: #dab176;margin-left: 10rpx;">店长</text>
|
|
|
|
|
+ </view>
|
|
|
|
|
+ <view class="font-size-sm" style="color: #5dbc7c;"
|
|
|
|
|
+ v-if="userInfo.level == 1 && userInfo.service == 0">
|
|
|
|
|
+ {{'会员股权:' + userInfo.vip.stock_rights + ' 消费股权:' + userInfo.vip.consume_rights}}
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
|
<view class="sy-box flex">
|
|
<view class="sy-box flex">
|
|
@@ -87,6 +93,32 @@
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
|
</view>
|
|
</view>
|
|
|
|
|
+ <view class="my-order">
|
|
|
|
|
+ <view class="box-title flex borde-b">
|
|
|
|
|
+ <view class="title"><text>我的奖励</text></view>
|
|
|
|
|
+ </view>
|
|
|
|
|
+ <view class="sy-box flex">
|
|
|
|
|
+ <view class="sy-item">
|
|
|
|
|
+ <view class="sy-item-name">团队等级</view>
|
|
|
|
|
+ <view class="sy-item-val">
|
|
|
|
|
+ {{ userInfo.group_level_info != null? userInfo.group_level_info.name : '无' }}
|
|
|
|
|
+ </view>
|
|
|
|
|
+ </view>
|
|
|
|
|
+ <view class="jg"></view>
|
|
|
|
|
+ <view class="sy-item">
|
|
|
|
|
+ <view class="sy-item-name">极差奖励等级</view>
|
|
|
|
|
+ <!-- <view class="sy-item-val">{{jcdj}}</view> -->
|
|
|
|
|
+ <view class="sy-item-val">
|
|
|
|
|
+ {{userInfo.award_level_info!= null? userInfo.award_level_info.name : '无'}}
|
|
|
|
|
+ </view>
|
|
|
|
|
+ </view>
|
|
|
|
|
+ <view class="jg"></view>
|
|
|
|
|
+ <view class="sy-item">
|
|
|
|
|
+ <view class="sy-item-name">冻结极差奖</view>
|
|
|
|
|
+ <view class="sy-item-val">{{ userInfo.lock_group_award || 0 }}</view>
|
|
|
|
|
+ </view>
|
|
|
|
|
+ </view>
|
|
|
|
|
+ </view>
|
|
|
<view class="my-order">
|
|
<view class="my-order">
|
|
|
<view class="box-title flex borde-b">
|
|
<view class="box-title flex borde-b">
|
|
|
<view class="title"><text>我的单数</text></view>
|
|
<view class="title"><text>我的单数</text></view>
|
|
@@ -512,6 +544,36 @@
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+ .sy-box {
|
|
|
|
|
+ height: 148rpx;
|
|
|
|
|
+ background-color: #ffffff;
|
|
|
|
|
+
|
|
|
|
|
+ .sy-item {
|
|
|
|
|
+ width: 30%;
|
|
|
|
|
+ flex-grow: 1;
|
|
|
|
|
+ text-align: center;
|
|
|
|
|
+ font-size: 24rpx;
|
|
|
|
|
+ font-family: PingFang SC;
|
|
|
|
|
+ font-weight: 500;
|
|
|
|
|
+ color: #3bbc88;
|
|
|
|
|
+
|
|
|
|
|
+ .sy-item-val {
|
|
|
|
|
+ margin-top: 6rpx;
|
|
|
|
|
+ font-size: 28rpx;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ .sy-item-name {
|
|
|
|
|
+ color: #000000;
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ .jg {
|
|
|
|
|
+ width: 2rpx;
|
|
|
|
|
+ height: 40rpx;
|
|
|
|
|
+ background-color: #d4ded8;
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
.user-box {
|
|
.user-box {
|
|
|
padding: 54rpx 0 40rpx;
|
|
padding: 54rpx 0 40rpx;
|
|
|
position: relative;
|
|
position: relative;
|