mirror of
https://github.com/kuaifan/dootask.git
synced 2026-03-17 19:23:26 +00:00
perf: 聊天窗口样式
This commit is contained in:
parent
4fd2a44742
commit
464d7bc635
@ -1,12 +1,13 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="chat-input-wrapper" :class="modeClass">
|
<div class="chat-input-wrapper" :class="modeClass" @click.stop="focus">
|
||||||
<div ref="editor" class="no-dark-content" :style="editorStyle" @paste="handlePaste"></div>
|
<div ref="editor" class="no-dark-content" :style="editorStyle" @click.stop="" @paste="handlePaste"></div>
|
||||||
<div class="chat-input-toolbar">
|
<div class="chat-input-toolbar" @click.stop="">
|
||||||
<slot name="toolbarBefore"/>
|
<slot name="toolbarBefore"/>
|
||||||
|
|
||||||
<EPopover
|
<EPopover
|
||||||
v-model="showEmoji"
|
v-model="showEmoji"
|
||||||
:visibleArrow="false"
|
:visibleArrow="false"
|
||||||
|
placement="top"
|
||||||
popperClass="chat-input-emoji-popover">
|
popperClass="chat-input-emoji-popover">
|
||||||
<ETooltip slot="reference" ref="emojiTip" :disabled="!$isDesktop || showEmoji" placement="top" :content="$L('表情')">
|
<ETooltip slot="reference" ref="emojiTip" :disabled="!$isDesktop || showEmoji" placement="top" :content="$L('表情')">
|
||||||
<i class="taskfont" @click="onToolbar('emoji')"></i>
|
<i class="taskfont" @click="onToolbar('emoji')"></i>
|
||||||
|
|||||||
@ -414,7 +414,7 @@
|
|||||||
}
|
}
|
||||||
.messenger-msg {
|
.messenger-msg {
|
||||||
z-index: 49;
|
z-index: 49;
|
||||||
transition: transform 0.2s;
|
transition: transform 0.3s;
|
||||||
transform: translateX(120%);
|
transform: translateX(120%);
|
||||||
.msg-dialog-bg {
|
.msg-dialog-bg {
|
||||||
display: none;
|
display: none;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user