点击查看图片时,图片未做自适应,超出图片框
<!-- 弹框 大图 -->
<Modal v-model="modadt" footer-hide>
<div style="width:400px; height:400px">
<img :src="bigpic" alt style="width: 400px;height: 400px;">
</div>
</Modal>
审核时间跳转过快
//定时审核时间显示
intv(){
setTimeout(()=>{
if(!this.showCloseAudit){
this.auditTime += 1000
}
// if(this.intvfin){
this.intv()
// }else{
// }
}, 1000)
},
____________________阻止重复调用
if(this.auditTime == 0) {
this.intv();
}
封禁记录无醒目关闭按钮
<p>{{$t('hasbeenpunished')}}{{totalElements}}
<span style="float:right" @click="close" ><Icon type="close-round"></Icon></span>
</p>
工单照片不同颜色边框
________template
<img
v-for="(item, index) in thecurrentdata.sexCheckImgList"
:key="index"
:src="item.imgUrl"
alt
class="auditImg"
:class="{yellowBorder: item.sexLevel == '2',redBorder: item.sexLevel == '3'}"
>
__________style
.auditImg {
width: 100px;
height: 190px;
margin-right: 10px;
margin-bottom: 10px;
}
.yellowBorder{
border: 2px solid yellow;
}
.redBorder{
border: 2px solid red;
}
网友评论