|
|
@ -14,12 +14,15 @@ |
|
|
|
<view class="tags"> |
|
|
|
<view class="tag"> |
|
|
|
<text class="tag-label">ID:</text> |
|
|
|
<text>{{ userInfo.id }}</text> |
|
|
|
<text>{{ userInfo.intentionCode }}</text> |
|
|
|
</view> |
|
|
|
<view v-if="role" style="display: inline-block; width: 172rpx; height: 63rpx; vertical-align: top; margin-top: -6rpx;"> |
|
|
|
<image src="@/pages_order/static/center/agent-icon.png"></image> |
|
|
|
</view> |
|
|
|
<view v-else class="tag"> |
|
|
|
<!-- <view v-else class="tag" > |
|
|
|
代理商:{{userInfo.endTime}} 到期 |
|
|
|
</view> --> |
|
|
|
<view v-else class="tag" v-else> |
|
|
|
普通会员 |
|
|
|
</view> |
|
|
|
</view> |
|
|
@ -36,7 +39,7 @@ |
|
|
|
<view class="activate-tips" style="padding-left: 27rpx;"> |
|
|
|
<view>代理商权益</view> |
|
|
|
<view> |
|
|
|
将于<text class="activate-highlight">{{ $dayjs(userInfoVip.vip_time).format('YYYY年M月D日') () }}</text>到期 |
|
|
|
将于<text class="activate-highlight">{{userInfo.endTime}}</text>到期 |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="btn-activate" @click="onActivate"> |
|
|
@ -157,7 +160,7 @@ |
|
|
|
computed: { |
|
|
|
...mapState(['userInfo', 'userInfoVip']), |
|
|
|
role() { |
|
|
|
return this.userInfo.role |
|
|
|
return this.userInfo.isPay |
|
|
|
} |
|
|
|
}, |
|
|
|
onShow() { |
|
|
|