This commit is contained in:
parent
6d0197e712
commit
dbf8644b68
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue