mirror of
https://github.com/kuaifan/dootask.git
synced 2025-12-17 06:32:51 +00:00
no message
This commit is contained in:
parent
6e34409225
commit
7f2a0dd3e8
@ -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':
|
||||||
|
|||||||
@ -759,7 +759,8 @@
|
|||||||
position: relative;
|
position: relative;
|
||||||
|
|
||||||
p {
|
p {
|
||||||
word-break: break-all;
|
word-break: keep-all;
|
||||||
|
overflow-wrap: break-word;
|
||||||
}
|
}
|
||||||
|
|
||||||
a,
|
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;
|
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 {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user