mirror of
https://github.com/kuaifan/dootask.git
synced 2025-12-11 18:42:54 +00:00
no message
This commit is contained in:
parent
b00c6a9268
commit
45e663fcf8
@ -79,7 +79,7 @@ export default {
|
||||
const eventRect = data.event.target.getBoundingClientRect();
|
||||
this.styles = {
|
||||
left: `${eventRect.left}px`,
|
||||
top: `${eventRect.top}px`,
|
||||
top: `${eventRect.top + this.windowScrollY}px`,
|
||||
width: `${eventRect.width}px`,
|
||||
height: `${eventRect.height}px`,
|
||||
}
|
||||
@ -109,7 +109,7 @@ export default {
|
||||
const eventRect = this.menuTarget.getBoundingClientRect();
|
||||
this.styles = {
|
||||
left: `${eventRect.left}px`,
|
||||
top: `${eventRect.top}px`,
|
||||
top: `${eventRect.top + this.windowScrollY}px`,
|
||||
width: `${eventRect.width}px`,
|
||||
height: `${eventRect.height}px`,
|
||||
};
|
||||
@ -188,7 +188,7 @@ export default {
|
||||
}
|
||||
this.styles = {
|
||||
left: `${eventRect.left}px`,
|
||||
top: `${eventRect.top}px`,
|
||||
top: `${eventRect.top + this.windowScrollY}px`,
|
||||
width: `${eventRect.width}px`,
|
||||
height: `${eventRect.height}px`,
|
||||
};
|
||||
|
||||
@ -24,7 +24,7 @@
|
||||
</EPopover>
|
||||
</div>
|
||||
|
||||
<div ref="inputWrapper" class="chat-input-wrapper" @click.stop="focus">
|
||||
<div ref="inputWrapper" class="chat-input-wrapper">
|
||||
<!-- 回复、修改 -->
|
||||
<div v-if="quoteData" class="chat-quote">
|
||||
<div v-if="quoteUpdate" class="quote-label">{{$L('编辑消息')}}</div>
|
||||
@ -78,7 +78,7 @@
|
||||
</ETooltip>
|
||||
</li>
|
||||
|
||||
<!-- 图片文件 -->
|
||||
<!-- 加号更多 -->
|
||||
<li>
|
||||
<EPopover
|
||||
ref="more"
|
||||
@ -1305,6 +1305,7 @@ export default {
|
||||
onClickEditor() {
|
||||
this.clearSearchKey()
|
||||
this.updateEmojiQuick(this.value)
|
||||
this.focus()
|
||||
inputLoadAdd(this._uid)
|
||||
},
|
||||
|
||||
|
||||
@ -235,15 +235,8 @@
|
||||
</div>
|
||||
|
||||
<!--底部输入-->
|
||||
<div ref="footer" class="dialog-footer" @click="onActive">
|
||||
<div
|
||||
v-if="scrollTail > 500 || (msgNew > 0 && allMsgs.length > 0)"
|
||||
class="dialog-goto"
|
||||
v-touchclick="onToBottom">
|
||||
<Badge :overflow-count="999" :count="msgNew">
|
||||
<i class="taskfont"></i>
|
||||
</Badge>
|
||||
</div>
|
||||
<div ref="footer" class="dialog-footer" @click="onClickFooter">
|
||||
<!--上传组件-->
|
||||
<DialogUpload
|
||||
ref="chatUpload"
|
||||
class="chat-upload"
|
||||
@ -252,6 +245,18 @@
|
||||
@on-progress="chatFile('progress', $event)"
|
||||
@on-success="chatFile('success', $event)"
|
||||
@on-error="chatFile('error', $event)"/>
|
||||
|
||||
<!--滚动到底部-->
|
||||
<div
|
||||
v-if="scrollTail > 500 || (msgNew > 0 && allMsgs.length > 0)"
|
||||
class="dialog-goto"
|
||||
v-touchclick="onToBottom">
|
||||
<Badge :overflow-count="999" :count="msgNew">
|
||||
<i class="taskfont"></i>
|
||||
</Badge>
|
||||
</div>
|
||||
|
||||
<!--待办-->
|
||||
<div v-if="todoShow" class="chat-bottom-menu">
|
||||
<div class="bottom-menu-label">{{$L('待办')}}:</div>
|
||||
<ul class="scrollbar-hidden">
|
||||
@ -260,6 +265,8 @@
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<!--菜单-->
|
||||
<div v-else-if="quickShow" class="chat-bottom-menu">
|
||||
<ul class="scrollbar-hidden">
|
||||
<li v-for="item in quickMsgs" @click.stop="sendQuick(item, $event)">
|
||||
@ -267,6 +274,8 @@
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<!--禁言、停用、输入-->
|
||||
<div v-if="isMute" class="chat-mute">
|
||||
{{$L('禁言发言')}}
|
||||
</div>
|
||||
@ -2518,6 +2527,11 @@ export default {
|
||||
this.$emit("on-active");
|
||||
},
|
||||
|
||||
onClickFooter() {
|
||||
this.$refs.input?.focus();
|
||||
this.onActive();
|
||||
},
|
||||
|
||||
onToBottom() {
|
||||
this.msgNew = 0;
|
||||
const scroller = this.$refs.scroller;
|
||||
|
||||
@ -1 +1 @@
|
||||
Subproject commit 722f44028ab1afeb32ce33ff1dad9b11e26f863b
|
||||
Subproject commit 6f1927596166ba861579f645281e12f68af4f0c5
|
||||
Loading…
x
Reference in New Issue
Block a user