Commit 307b29f0 authored by youjie's avatar youjie

no message

parent fc32975a
...@@ -81,9 +81,25 @@ ...@@ -81,9 +81,25 @@
</p> </p>
<p class="pImg" v-if="!detailList.businessCardPhotos"><span class="fz12 color333">{{$t('active.cl_zanwu')}}</span></p> <p class="pImg" v-if="!detailList.businessCardPhotos"><span class="fz12 color333">{{$t('active.cl_zanwu')}}</span></p>
<p class="pImg" v-else> <p class="pImg" v-else>
<img @click="getPic(detailList.businessCardPhotos,index)" v-if='detailList.businessCardPhotos.length==1' v-for="(i,index) in detailList.businessCardPhotos" :src="i+'?x-oss-process=image/resize,m_mfit,h_100,w_300'"/> <img @click="getPic(detailList.businessCardPhotos,index)"
<img @click="getPic(detailList.businessCardPhotos,index)" v-if='detailList.businessCardPhotos.length==2||detailList.businessCardPhotos.length==4' v-for="(i,index) in detailList.housePhotos" :src="i+'?x-oss-process=image/resize,m_pad,w_169,h_150,color_333333'"/> v-for="(i,index) in detailList.businessCardPhotos" :src="i"/>
<img @click="getPic(detailList.businessCardPhotos,index)" v-if='detailList.businessCardPhotos.length==3||detailList.businessCardPhotos.length>=5' v-for="(i,index) in detailList.housePhotos" :src="i+'?x-oss-process=image/resize,m_pad,h_100,w_100,color_333333'"/> <!--
<template v-if='detailList.businessCardPhotos&&detailList.businessCardPhotos.length==1'>
<img @click="getPic(detailList.businessCardPhotos,index)"
v-for="(i,index) in detailList.businessCardPhotos" :src="i+'?x-oss-process=image/resize,m_mfit,h_100,w_300'"/>
</template>
<template v-if='detailList.businessCardPhotos&&detailList.businessCardPhotos.length==2||detailList.businessCardPhotos.length==4'>
<img @click="getPic(detailList.businessCardPhotos,index)"
v-for="(i,index) in detailList.housePhotos" :src="i+'?x-oss-process=image/resize,m_pad,w_169,h_150,color_333333'"/>
</template>
<template v-if='detailList.businessCardPhotos&&detailList.businessCardPhotos.length==3||detailList.businessCardPhotos.length>=5'>
<img @click="getPic(detailList.businessCardPhotos,index)"
v-for="(i,index) in detailList.housePhotos" :src="i+'?x-oss-process=image/resize,m_pad,h_100,w_100,color_333333'"/>
</template> -->
</p> </p>
<p class="fz14 color666 mt10"> <p class="fz14 color666 mt10">
<i class="iconfont icon-ico-menpaizhaopian fz14 colorccc" ></i>&nbsp; <i class="iconfont icon-ico-menpaizhaopian fz14 colorccc" ></i>&nbsp;
...@@ -308,6 +324,7 @@ ...@@ -308,6 +324,7 @@
if(res.data.resultCode==1){ if(res.data.resultCode==1){
this.openLayer() this.openLayer()
this.detailList=res.data.data.customerInfo this.detailList=res.data.data.customerInfo
console.log(this.detailList.businessCardPhotos.length)
}else{} }else{}
},err=>{}) },err=>{})
......
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