Commit d3de418a authored by 黄媛媛's avatar 黄媛媛

客户审批,大图显示模式

parent 31e20393
...@@ -6,10 +6,10 @@ ...@@ -6,10 +6,10 @@
class="ownScrollbarStyle" class="ownScrollbarStyle"
@click.stop @click.stop
> >
<div class="title">实名认证详情</div> <div class="title" style="background:#fff">实名认证详情</div>
<div class="list"> <div class="list">
<div class="itemAnswer" v-show="answerDetailList.length>0"> <div class="itemAnswer" v-show="answerDetailList.length>0" style="padding:0">
<div class="item" v-for="item in answerDetailList"> <div class="item" v-for="item in answerDetailList" style="margin:0">
<div class="topMsg"> <div class="topMsg">
<!-- <img v-if="!item.photo" src="../../assets/img/litheader.png"> <!-- <img v-if="!item.photo" src="../../assets/img/litheader.png">
<img v-if="item.photo" :onerror="defaultImg" :src="item.photo"> --> <img v-if="item.photo" :onerror="defaultImg" :src="item.photo"> -->
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
.customerApprovalLayercontentDiv .item .topMsg>img{float: left; margin-right: 13px;} .customerApprovalLayercontentDiv .item .topMsg>img{float: left; margin-right: 13px;}
.customerApprovalLayercontentDiv .item .bottomMsg{padding: 15px 0;} .customerApprovalLayercontentDiv .item .bottomMsg{padding: 15px 0;}
.customerApprovalLayercontentDiv .item .bottomMsg .pImg{margin-top: 10px;} .customerApprovalLayercontentDiv .item .bottomMsg .pImg{margin-top: 10px;}
.customerApprovalLayercontentDiv .item .bottomMsg .pImg img{cursor: pointer;} .customerApprovalLayercontentDiv .item .bottomMsg .pImg img{cursor: pointer;height: 100px;}
.customerApprovalLayercontentDiv .answerItem{ overflow: hidden; padding: 15px 0;} .customerApprovalLayercontentDiv .answerItem{ overflow: hidden; padding: 15px 0;}
.customerApprovalLayercontentDiv .answerItem>img{float: left;width: 28px; height: 28px; border-radius: 14px;margin-right: 10px;} .customerApprovalLayercontentDiv .answerItem>img{float: left;width: 28px; height: 28px; border-radius: 14px;margin-right: 10px;}
.customerApprovalLayercontentBtn{position: fixed; bottom: 0; background: #f5f5f5; width:420px; height:70px; line-height: 70px; text-align: right; padding: 0 20px;} .customerApprovalLayercontentBtn{position: fixed; bottom: 0; background: #f5f5f5; width:420px; height:70px; line-height: 70px; text-align: right; padding: 0 20px;}
...@@ -43,6 +43,9 @@ ...@@ -43,6 +43,9 @@
</el-carousel-item> </el-carousel-item>
</el-carousel> </el-carousel>
</div> </div>
<viewer :images="picObj" :options='imageOptions' @inited="inited" class="viewer" ref="viewer">
<img v-for="item in picObj" :src="item" :key="item">
</viewer>
<div :class="{customerApprovalLayer:showlayer}" @click="closeLayer"> <div :class="{customerApprovalLayer:showlayer}" @click="closeLayer">
...@@ -222,7 +225,8 @@ ...@@ -222,7 +225,8 @@
layout="total,prev, pager, next, jumper" layout="total,prev, pager, next, jumper"
:page-size=msg.pageSize :page-size=msg.pageSize
:total=total> :total=total>
</el-pagination> </el-pagination>
</div> </div>
</template> </template>
...@@ -230,6 +234,10 @@ ...@@ -230,6 +234,10 @@
export default { export default {
data(){ data(){
return{ return{
imageOptions:{
navbar:false,
title:false
},
lastVisitObj:{}, lastVisitObj:{},
meta:'', meta:'',
isOk:-1, isOk:-1,
...@@ -262,6 +270,9 @@ ...@@ -262,6 +270,9 @@
} }
}, },
methods:{ methods:{
inited (viewer){
this.$viewer = viewer
},
saveApproval(){ saveApproval(){
if(this.addMsg.AdviceStatus==1) if(this.addMsg.AdviceStatus==1)
{ {
...@@ -283,9 +294,11 @@ ...@@ -283,9 +294,11 @@
this.dspNone = true; this.dspNone = true;
}, },
getPic(obj, index) { getPic(obj, index) {
this.initialIndex = index; this.picObj = obj;
this.picObj = obj; this.$viewer.show()
this.dspNone = false; // this.initialIndex = index;
//
// this.dspNone = false;
}, },
getDetail(obj){ getDetail(obj){
this.meta=obj.customerName this.meta=obj.customerName
......
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