Commit e34627ba authored by zhangyanni's avatar zhangyanni

查看大图

parent 1ffdc8f6
......@@ -311,7 +311,7 @@
<div class="imageListInfo"
:style="{borderBottomColor:item.contentUrlList?'#e8eaf3':'transparent'}"
v-if="item.contentUrlList">
<div class="thumbs" v-if="item.contentUrlList&&item.contentUrlList.length>=2">
<div class="thumbs" @click="handleVuePreview($event)" v-if="item.contentUrlList&&item.contentUrlList.length>=2">
<vue-preview :slides="item.contentUrlList"></vue-preview>
</div>
<div class="imgOne" v-if="item.contentUrlList&&item.contentUrlList.length==1">
......@@ -506,6 +506,10 @@
},
methods: {
handleVuePreview(e){
console.log(e)
},
handleClickHtml(e, data) {
if (e.toElement.dataset.id) {
var proData = e.target.innerText;
......@@ -1799,9 +1803,14 @@
}
/deep/ .pswp__img {
height: unset !important;
position: static;
}
/deep/ .pswp__zoom-wrap {
transform: translate3d(0px, 40px, 0px) scale(1) !important;
margin: auto;
height: 100vh;
transform: unset !important;
display: flex;
align-items: center;
}
}
.imgOne {
......@@ -1822,9 +1831,14 @@
}
/deep/ .pswp__img {
height: unset !important;
position: static;
}
/deep/ .pswp__zoom-wrap {
transform: translate3d(0px, 40px, 0px) scale(1) !important;
margin: auto;
height: 100vh;
transform: unset !important;
display: flex;
align-items: center;
}
/*> div {*/
/*width: 4.7rem;*/
......
......@@ -1110,9 +1110,14 @@
}
/deep/ .pswp__img {
height: unset !important;
position: static;
}
/deep/ .pswp__zoom-wrap {
transform: translate3d(0px, 40px, 0px) scale(1) !important;
margin: auto;
height: 100vh;
transform: unset !important;
display: flex;
align-items: center;
}
}
.imgOne {
......@@ -1131,12 +1136,17 @@
}
}
}
/deep/ .pswp__img{
width: unset !important;
/deep/ .pswp__img {
height: unset !important;
position: static;
}
/deep/ .pswp__zoom-wrap {
margin: auto;
height: 100vh;
transform: unset !important;
display: flex;
align-items: center;
}
/*/deep/ .pswp__zoom-wrap{*/
/*transform:translate3d(30%, 209px, 0px) scale(1) !important;*/
/*}*/
/*> div {*/
/*width: 4.7rem;*/
/*height: 3rem;*/
......
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