no message

This commit is contained in:
kuaifan 2025-04-22 20:39:38 +08:00
parent 6e34409225
commit 7f2a0dd3e8
3 changed files with 24 additions and 22 deletions

View File

@ -185,7 +185,7 @@
<div
ref="msgs"
class="dialog-msgs"
v-longpress="{callback: handleLongpress, touchend: handleTouchend, delay: 300}">
v-longpress="{callback: handleLongpress, delay: 300}">
<!--定位提示-->
<div v-if="positionShow && positionMsg" class="dialog-position">
<div class="position-label" @click="onPositionMark(positionMsg.msg_id)">
@ -1429,6 +1429,17 @@ export default {
}
document.getSelection().removeAllRanges();
},
keyboardShow(visible) {
if (!visible && this.operateVisible) {
//
this.operatePreventScroll++
setTimeout(() => {
this.operatePreventScroll--
this.handleOperateResize()
}, 300)
}
},
},
methods: {
@ -3097,14 +3108,6 @@ export default {
}
},
handleTouchend() {
if (this.keyboardShow) {
//
this.operatePreventScroll++
setTimeout(() => this.operatePreventScroll--, 300)
}
},
onMsgType(type) {
switch (type) {
case 'project':

View File

@ -759,7 +759,8 @@
position: relative;
p {
word-break: break-all;
word-break: keep-all;
overflow-wrap: break-word;
}
a,

View File

@ -14,15 +14,6 @@
flex-shrink: 0;
display: flex;
flex-direction: column;
&:after {
content: "";
position: absolute;
top: 0;
right: 0;
height: 100%;
width: 1px;
background-color: #f4f5f5;
}
.messenger-search {
display: flex;
align-items: center;
@ -562,6 +553,16 @@
height: 100%;
display: flex;
position: relative;
&:before {
content: "";
position: absolute;
top: 0;
left: 0;
height: 100%;
width: 1px;
background-color: #f4f5f5;
z-index: 2;
}
.msg-dialog-bg {
position: absolute;
top: 0;
@ -660,9 +661,6 @@ body.window-portrait {
max-width: none;
background-color: #ffffff;
z-index: 48;
&:after {
display: none;
}
.messenger-search {
background-color: #f8f8f8;
.search-wrapper {