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

View File

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

View File

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