当用户信息rate>0时展示团队
This commit is contained in:
@@ -184,7 +184,7 @@
|
|||||||
观看历史
|
观看历史
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<!-- <view v-if="rate>0" class="tool-box-content-item flex align-center justify-center flex-wrap"
|
<view v-if="rate>0" class="tool-box-content-item flex align-center justify-center flex-wrap"
|
||||||
@click="goNav('/me/invite/inviteDet')">
|
@click="goNav('/me/invite/inviteDet')">
|
||||||
<view class="tool-box-content-item-img">
|
<view class="tool-box-content-item-img">
|
||||||
<image src="../../static/images/me/vtd.png" mode=""></image>
|
<image src="../../static/images/me/vtd.png" mode=""></image>
|
||||||
@@ -192,7 +192,7 @@
|
|||||||
<view class="tool-box-content-item-txt">
|
<view class="tool-box-content-item-txt">
|
||||||
我的团队
|
我的团队
|
||||||
</view>
|
</view>
|
||||||
</view> -->
|
</view>
|
||||||
<view class="tool-box-content-item flex align-center justify-center flex-wrap" @click="goMsg()">
|
<view class="tool-box-content-item flex align-center justify-center flex-wrap" @click="goMsg()">
|
||||||
<view class="tool-box-content-item-img">
|
<view class="tool-box-content-item-img">
|
||||||
<image src="../../static/images/me/vkf.png" mode=""></image>
|
<image src="../../static/images/me/vkf.png" mode=""></image>
|
||||||
@@ -288,6 +288,7 @@
|
|||||||
showCard: false,
|
showCard: false,
|
||||||
numCount: 0,
|
numCount: 0,
|
||||||
rate: 0,
|
rate: 0,
|
||||||
|
twoRate:0,
|
||||||
kmPaySel: '否',
|
kmPaySel: '否',
|
||||||
isWxIosPay: true, //微信下是否显示支付功能
|
isWxIosPay: true, //微信下是否显示支付功能
|
||||||
userInfo: {},
|
userInfo: {},
|
||||||
@@ -315,11 +316,8 @@
|
|||||||
this.userName = res.data.userName
|
this.userName = res.data.userName
|
||||||
this.avatar = res.data.avatar
|
this.avatar = res.data.avatar
|
||||||
this.invitationCode = res.data.invitationCode
|
this.invitationCode = res.data.invitationCode
|
||||||
if (res.data.rate) {
|
this.rate = res.data.rate||0
|
||||||
this.rate = (Number(res.data.rate) * 100).toFixed(0)
|
this.twoRate = res.data.twoRate||0
|
||||||
} else {
|
|
||||||
this.rate = 0
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user