mirror of
https://github.com/kuaifan/dootask.git
synced 2025-12-15 13:22:49 +00:00
no message
This commit is contained in:
parent
6e34409225
commit
7f2a0dd3e8
@ -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':
|
||||
|
||||
@ -759,7 +759,8 @@
|
||||
position: relative;
|
||||
|
||||
p {
|
||||
word-break: break-all;
|
||||
word-break: keep-all;
|
||||
overflow-wrap: break-word;
|
||||
}
|
||||
|
||||
a,
|
||||
|
||||
22
resources/assets/sass/pages/page-messenger.scss
vendored
22
resources/assets/sass/pages/page-messenger.scss
vendored
@ -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 {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user