|
|
|
@ -19,9 +19,9 @@ |
|
|
|
<view class="balance_area" v-if="userType=='user'||userType=='agent'"> |
|
|
|
<view class="item"> |
|
|
|
<text style="font-size: 20px;margin-bottom: 10rpx;">{{userInfo.balance}}</text> |
|
|
|
<view class="item_btn" :style="showRecharge?'justify-content: space-between;':''"> |
|
|
|
<view class="item_btn" :style="userInfo.recharge?'justify-content: space-between;':''"> |
|
|
|
<text>余额</text> |
|
|
|
<text v-if="showRecharge" @click="toRecharge()" style="color: #4976FF;">充值</text> |
|
|
|
<text v-if="userInfo.recharge" @click="toRecharge()" style="color: #4976FF;">充值</text> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="line"></view> |
|
|
|
@ -218,12 +218,12 @@ |
|
|
|
"icon": "compose", |
|
|
|
"iconN": "lock" |
|
|
|
}, |
|
|
|
{ |
|
|
|
"title": '关于', |
|
|
|
"to": '/pages/ucenter/about/about', |
|
|
|
"icon": "compose", |
|
|
|
"iconN": "list" |
|
|
|
}, |
|
|
|
// { |
|
|
|
// "title": '关于', |
|
|
|
// "to": '/pages/ucenter/about/about', |
|
|
|
// "icon": "compose", |
|
|
|
// "iconN": "list" |
|
|
|
// }, |
|
|
|
], |
|
|
|
[ |
|
|
|
{ |
|
|
|
@ -310,7 +310,6 @@ |
|
|
|
"radius": "100%" // 边框圆角,支持百分比 |
|
|
|
} |
|
|
|
}, |
|
|
|
showRecharge: true, |
|
|
|
userInfo: {}, |
|
|
|
} |
|
|
|
}, |
|
|
|
|