This commit is contained in:
lnn19986213 2022-08-16 10:38:35 +08:00
parent 6d0197e712
commit dbf8644b68
1 changed files with 7 additions and 3 deletions

View File

@ -38,7 +38,7 @@
</view>
<view class="famous_bot" v-show="id=='1'">
<u-empty v-if="achievement.length == 1" mode="data" icon="../../static/orderE.png" marginTop="120">
<u-empty v-if="achievement.length == 0" mode="data" icon="../../static/orderE.png" marginTop="120">
</u-empty>
<view class="famous_bot_itm" v-for="(v,i) in achievement" :key="i">
<view class="ico">
@ -51,7 +51,7 @@
</view>
<view class="famous_bot" v-show="id=='2'">
<u-empty v-if="honor.length == 1" mode="data" icon="../../static/orderE.png" marginTop="120">
<u-empty v-if="honor.length == 0" mode="data" icon="../../static/orderE.png" marginTop="120">
</u-empty>
<view class="famous_bot_itm" v-for="(v,i) in honor" :key="i">
<view class="ico" style="padding-right: 8rpx;">
@ -65,7 +65,7 @@
</view>
<view class="famous_bot" v-show="id=='3'">
<u-empty v-if="represe.length == 1" mode="data" icon="../../static/orderE.png" marginTop="120">
<u-empty v-if="represe.length == 0" mode="data" icon="../../static/orderE.png" marginTop="120">
</u-empty>
<view class="famous_bot_itm" style="display: block;" v-for="(v,i) in represe" :key="i">
<view class="works" v-for="(a,b) in v.value" :key="b">
@ -127,11 +127,15 @@
if (res.data.artAtt) {
let art = JSON.parse(res.data.artAtt)
_this.achievement = art
}else{
_this.achievement = []
}
//
if (res.data.greats) {
let great = JSON.parse(res.data.greats)
_this.honor = great
}else{
_this.honor = []
}
//
if (res.data.opus) {