mirror of
https://github.com/kuaifan/dootask.git
synced 2025-12-13 20:12:48 +00:00
feat: 添加移动端提示可能要发送的图片
This commit is contained in:
parent
7630c83ae0
commit
8d6b4a1d2e
@ -90,6 +90,10 @@
|
|||||||
<i class="taskfont"></i>
|
<i class="taskfont"></i>
|
||||||
</ETooltip>
|
</ETooltip>
|
||||||
<template v-if="!isAiBot">
|
<template v-if="!isAiBot">
|
||||||
|
<div v-if="maybePhotoSrc" class="chat-input-popover-item maybe-photo" @click="onToolbar('maybe-photo')">
|
||||||
|
<span>{{$L('你可能要发送的照片')}}:</span>
|
||||||
|
<img :src="maybePhotoSrc" :style="maybePhotoStyle">
|
||||||
|
</div>
|
||||||
<div v-if="recordReady" class="chat-input-popover-item" @click="onToolbar('meeting')">
|
<div v-if="recordReady" class="chat-input-popover-item" @click="onToolbar('meeting')">
|
||||||
<i class="taskfont"></i>
|
<i class="taskfont"></i>
|
||||||
{{$L('新会议')}}
|
{{$L('新会议')}}
|
||||||
@ -382,6 +386,9 @@ export default {
|
|||||||
|
|
||||||
mentionMode: '',
|
mentionMode: '',
|
||||||
|
|
||||||
|
maybePhotoSrc: '',
|
||||||
|
maybePhotoStyle: {},
|
||||||
|
|
||||||
userList: null,
|
userList: null,
|
||||||
userCache: null,
|
userCache: null,
|
||||||
taskList: null,
|
taskList: null,
|
||||||
|
|||||||
@ -737,6 +737,31 @@
|
|||||||
padding: 0 8px;
|
padding: 0 8px;
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
|
|
||||||
|
&.maybe-photo {
|
||||||
|
align-items: flex-start;
|
||||||
|
flex-direction: column;
|
||||||
|
padding-bottom: 12px;
|
||||||
|
margin-bottom: 4px;
|
||||||
|
border-bottom: 1px solid #e8e8e8;
|
||||||
|
border-radius: 0;
|
||||||
|
line-height: 30px;
|
||||||
|
|
||||||
|
&:hover {
|
||||||
|
background-color: transparent;
|
||||||
|
}
|
||||||
|
|
||||||
|
> span {
|
||||||
|
font-size: 12px;
|
||||||
|
opacity: 0.8;
|
||||||
|
}
|
||||||
|
|
||||||
|
> img {
|
||||||
|
display: flex;
|
||||||
|
max-width: 100%;
|
||||||
|
width: 120px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
background-color: #ecf5ff;
|
background-color: #ecf5ff;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user