|
|
@ -17,20 +17,13 @@ |
|
|
|
<view class="user-base-top"> |
|
|
|
<view class="user-name">{{ userInfo.nickName}}</view> |
|
|
|
<view class="member-level"> |
|
|
|
<!-- <image v-if="userInfo.role == 0" :src="configList.vip_user" mode="aspectFill" class="level"> |
|
|
|
<image v-if="userInfo.role == 1" :src="configList.vip_user" mode="aspectFill" class="level"> |
|
|
|
</image> |
|
|
|
<image v-if="userInfo.role == 2" src="@/static/image/center/gold-min.png" mode="aspectFill" |
|
|
|
class="level"> |
|
|
|
</image> |
|
|
|
<image v-if="userInfo.role == 3" src="@/static/image/center/sliver-min.png" |
|
|
|
mode="aspectFill" class="level"> |
|
|
|
</image> --> |
|
|
|
|
|
|
|
<image |
|
|
|
v-if="userInfo.role != 0" |
|
|
|
:src="configList[vipImage[userInfo.role]]" |
|
|
|
mode="aspectFill" |
|
|
|
class="level"> |
|
|
|
</image> |
|
|
|
</view> |
|
|
|
<view class="user-tag"> |
|
|
@ -55,8 +48,9 @@ |
|
|
|
|
|
|
|
<!-- 会员卡片 --> |
|
|
|
<view @click="$utils.navigateTo({url : '/pages_order/mine/memberCenter' })" |
|
|
|
v-if="userInfo.role != 0" |
|
|
|
class="earnings"> |
|
|
|
<view v-if="index == userInfo.role" v-for="(item,index) in vipList" :key="item.id" class="member-item"> |
|
|
|
<view v-if="index + 1 == userInfo.role" v-for="(item,index) in vipList" :key="item.id" class="member-item"> |
|
|
|
<image :src="item.headImage" mode="aspectFill" class="member-image"></image> |
|
|
|
|
|
|
|
<view class="member-info"> |
|
|
@ -74,8 +68,7 @@ |
|
|
|
|
|
|
|
<!-- 佣金数据 --> |
|
|
|
<view @click="$utils.navigateTo('/pages_order/mine/withdraw')" class="brokerage-data" |
|
|
|
> |
|
|
|
<!-- :class="{'brokerage-data-mt' : userInfo.role == 0}" --> |
|
|
|
:class="{'brokerage-data-mt' : !userInfo.role}"> |
|
|
|
<view class="brokerage"> |
|
|
|
<image :src="configList.money_image" mode="aspectFill" class="brokerage-img"></image> |
|
|
|
|
|
|
@ -205,11 +198,10 @@ |
|
|
|
data() { |
|
|
|
return { |
|
|
|
vipType: ['普通会员', '黄金会员', '渠道商'], |
|
|
|
vipImage: ['', 'vip_vip', 'vip_user', 'vip_shop'], |
|
|
|
vipImage: ['vip_vip', 'vip_user', 'vip_shop'], |
|
|
|
vipList: [], |
|
|
|
showAdvertising: true, |
|
|
|
userRole: ['用户', '会员', '渠道'], |
|
|
|
// userRole: ['会员', '用户', '渠道'], |
|
|
|
userRole: ['会员', '用户', '渠道'], |
|
|
|
indicatorDots: true, |
|
|
|
duration: 500 |
|
|
|
} |
|
|
@ -354,7 +346,7 @@ |
|
|
|
.earnings { |
|
|
|
padding: 0rpx 20rpx; |
|
|
|
box-sizing: border-box; |
|
|
|
margin-top: -80rpx; |
|
|
|
margin-top: -18%; |
|
|
|
|
|
|
|
.member-item { |
|
|
|
position: relative; |
|
|
|