|
@@ -39,7 +39,12 @@ export default {
|
|
|
<div :class="{ userinfoYellow: userinfo.isActive, userinfoGrey: userinfo.isntActive}">
|
|
|
<van-row class="padding">
|
|
|
<van-col span="3" offset="2">
|
|
|
- <view class="cu-avatar radius lg" :style="'background-image:url(' + userinfo.portrait + ');'"></view>
|
|
|
+ <template v-if="userinfo.portrait">
|
|
|
+ <view class="cu-avatar radius lg" :style="'background-image:url(' + userinfo.portrait + ');'"></view>
|
|
|
+ </template>
|
|
|
+ <template v-else>
|
|
|
+ <view class="cu-avatar radius lg"></view>
|
|
|
+ </template>
|
|
|
</van-col>
|
|
|
<van-col span="12" offset="1">
|
|
|
<div class="flex flex-direction align-start justify-start">
|
|
@@ -47,13 +52,16 @@ export default {
|
|
|
<text class="text-black text-bold">{{ userinfo.user_name }}</text>
|
|
|
</div>
|
|
|
<div class="flex justify-between align-center">
|
|
|
- <button class="cu-btn sm round"
|
|
|
- :class="{ level_btn_yellow: userinfo.isActive, level_btn_grey: userinfo.isntActive }">
|
|
|
+ <button class="cu-btn sm round level_btn_yellow">
|
|
|
{{ userinfo.level_name }}
|
|
|
</button>
|
|
|
- <view class="text-xs padding-left" v-if="userinfo.level*1 === 11">有效期至
|
|
|
- {{ userinfo["validity_time_formatted"] }}
|
|
|
- </view>
|
|
|
+<!-- <button class="cu-btn sm round"-->
|
|
|
+<!-- :class="{ level_btn_yellow: userinfo.isActive, level_btn_grey: userinfo.isntActive }">-->
|
|
|
+<!-- {{ userinfo.level_name }}-->
|
|
|
+<!-- </button>-->
|
|
|
+<!-- <view class="text-xs padding-left" v-if="userinfo.level*1 === 11">有效期至-->
|
|
|
+<!-- {{ userinfo["validity_time_formatted"] }}-->
|
|
|
+<!-- </view>-->
|
|
|
</div>
|
|
|
</div>
|
|
|
</van-col>
|