|
|
|
@ -149,7 +149,8 @@ |
|
|
|
|
<scroll-view class="scrollBox" scroll-x="true" @scroll="scroll" scroll-left="0"> |
|
|
|
|
|
|
|
|
|
<view class="imgBox" v-for="(item,index) in selectList" :key="index" @click="selectPortrait(index)"> |
|
|
|
|
<image class="imgBg" :src="item.model_image_thumbnail || '/static/img/user/user.png'" mode="widthFix"></image> |
|
|
|
|
<image class="imgBg" :src="item.model_image_thumbnail || '/static/img/user/user.png'" mode="widthFix" v-if="item.status == 3"></image> |
|
|
|
|
<image class="imgBg" src="/static/img/index/waiting.png" mode="widthFix" v-if="item.status != 3"></image> |
|
|
|
|
<image class="imgSelect" v-if="index == selectIndex" src="/static/img/index/select.png" mode="widthFix"></image> |
|
|
|
|
</view> |
|
|
|
|
|
|
|
|
@ -266,7 +267,16 @@ |
|
|
|
|
}, |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
onLoad(){ |
|
|
|
|
onLoad(options){ |
|
|
|
|
var _this =this; |
|
|
|
|
if(!_this.$com.isNull(options.id)) |
|
|
|
|
{ |
|
|
|
|
var tabList = _this.tabList; |
|
|
|
|
var this_tab = tabList.findIndex(item => item.type == options.type); |
|
|
|
|
_this.this_tab = this_tab; |
|
|
|
|
_this.checkHave({id:options.id,type:options.type,ilk:options.ilk},options.ilk); |
|
|
|
|
} |
|
|
|
|
console.log('onLoad 参数',options); |
|
|
|
|
this.getList(); |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|