mirror of
https://github.com/kuaifan/dootask.git
synced 2026-01-12 17:08:11 +00:00
修复点击图片无法预览
This commit is contained in:
parent
4ecb1995b8
commit
8358a10ce8
@ -65,8 +65,6 @@
|
||||
</div>
|
||||
<!--未知-->
|
||||
<div v-else class="content-unknown">{{$L("未知的消息类型")}}</div>
|
||||
<!--覆盖-->
|
||||
<div class="content-cover"></div>
|
||||
</div>
|
||||
<!--emoji-->
|
||||
<ul v-if="$A.arrayLength(msgData.emoji) > 0" class="dialog-emoji">
|
||||
@ -249,7 +247,7 @@ export default {
|
||||
if (val) {
|
||||
setTimeout(_ => {
|
||||
this.operateEnter = true;
|
||||
}, 400)
|
||||
}, 500)
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
@ -270,6 +270,7 @@
|
||||
> img {
|
||||
max-width: 100%;
|
||||
max-height: 100%;
|
||||
-webkit-touch-callout: none;
|
||||
}
|
||||
&:hover {
|
||||
transform: scale(1.4);
|
||||
@ -319,6 +320,7 @@
|
||||
height: 24px;
|
||||
padding: 0 12px;
|
||||
box-sizing: content-box;
|
||||
-webkit-touch-callout: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -490,6 +492,7 @@
|
||||
height: 28px;
|
||||
border-radius: 50%;
|
||||
overflow: hidden;
|
||||
-webkit-touch-callout: none;
|
||||
}
|
||||
|
||||
> em {
|
||||
|
||||
@ -560,17 +560,6 @@
|
||||
.content-unknown {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.content-cover {
|
||||
display: none;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
z-index: 1;
|
||||
user-select: none;
|
||||
}
|
||||
}
|
||||
|
||||
.dialog-emoji {
|
||||
@ -1121,22 +1110,24 @@
|
||||
padding-right: 14px;
|
||||
padding-left: 14px;
|
||||
overscroll-behavior: none;
|
||||
user-select: none;
|
||||
|
||||
.dialog-item {
|
||||
.dialog-view {
|
||||
.dialog-head {
|
||||
.dialog-content {
|
||||
.content-cover {
|
||||
display: block;
|
||||
a, img {
|
||||
-webkit-touch-callout: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
&.operate-enter {
|
||||
.dialog-head {
|
||||
.dialog-content {
|
||||
.content-cover {
|
||||
display: none;
|
||||
a, img {
|
||||
-webkit-touch-callout: default;
|
||||
}
|
||||
user-select: text;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user