Commit 98eab427 authored by lizhan's avatar lizhan

📝 【TASK-20240812-03】TASK:设置页会员等级信息展示

parent e791f32c
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
<image src=".../../static/img/site_vip.png" mode=""></image> <image src=".../../static/img/site_vip.png" mode=""></image>
<view class="items-v-it"> <view class="items-v-it">
<text>{{ $lang.lang.site.vip }}</text> <text>{{ $lang.lang.site.vip }}</text>
<view class="text">VIP1</view> <view class="text">{{ userScoreLevelInfo.levelName }}</view>
</view> </view>
</view> </view>
<view class="items-v" @click="$request.goPage('../auth/auth')"> <view class="items-v" @click="$request.goPage('../auth/auth')">
...@@ -255,7 +255,9 @@ export default { ...@@ -255,7 +255,9 @@ export default {
forceUpdate: 0, forceUpdate: 0,
showdownLine: false, showdownLine: false,
downloadNum: 0, //下载百分比 downloadNum: 0, //下载百分比
totalSize: 0 //下载总量 totalSize: 0, //下载总量
// 用户等级信息
userScoreLevelInfo: {}
} }
}, },
onLoad() { onLoad() {
...@@ -441,6 +443,7 @@ export default { ...@@ -441,6 +443,7 @@ export default {
if (res.code == 0 && res.data) { if (res.code == 0 && res.data) {
this.userInfo = res.data this.userInfo = res.data
this.isHavePassword = this.userInfo.isHavePassword this.isHavePassword = this.userInfo.isHavePassword
this.userScoreLevelInfo = res.data.userScoreLevelInfo
} }
}) })
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment