|
@@ -7,7 +7,13 @@
|
|
|
<view class="avtor"><image class="portrait" :src="userInfo.avatar || '/static/img/missing-face.png'"></image></view>
|
|
|
<view class="name-box">
|
|
|
<view class="name clamp">{{ userInfo.phone || userInfo.email || '游客' }}</view>
|
|
|
- <view class="tip" style="margin-top: 10rpx;" v-if="list.my">距离到期还有{{ list.js }}天</view>
|
|
|
+ <template v-if="list.my">
|
|
|
+ <view class="tip" style="margin-top: 10rpx;" v-if="list.my.is_forever==1">永久开通</view>
|
|
|
+ <template v-else>
|
|
|
+ <view class="tip" style="margin-top: 10rpx;" v-if="list.js > 0">距离到期还有{{ list.js }}天</view>
|
|
|
+ <view class="tip" style="margin-top: 10rpx;" v-if="list.js <= 0">已过期</view>
|
|
|
+ </template>
|
|
|
+ </template>
|
|
|
<view class="tip" style="margin-top: 10rpx;" v-else>尚未开通</view>
|
|
|
</view>
|
|
|
</view>
|
|
@@ -85,6 +91,7 @@ export default {
|
|
|
mask: true
|
|
|
});
|
|
|
autoDetails({}, this.id).then(({ data }) => {
|
|
|
+ console.log(data,'11111')
|
|
|
obj.list = data;
|
|
|
obj.list.lalaname = '';
|
|
|
if (data.my) {
|