feat: 统一后台与用户端图片与文件上传交互,支持点击放大预览、删除与多图批量多选上传
这个提交包含在:
@@ -53,6 +53,14 @@
|
||||
:placeholder="notesPlaceholder"
|
||||
:disabled="state.saving"
|
||||
/>
|
||||
<view class="notes-attachments">
|
||||
<image-uploader
|
||||
v-model="state.attachments"
|
||||
:multiple="true"
|
||||
:maxCount="6"
|
||||
:disabled="state.saving"
|
||||
/>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<view v-if="state.errorMessage !== ''" class="lead-error">
|
||||
@@ -90,6 +98,7 @@ import {
|
||||
LeadDetailCopyKey,
|
||||
LeadDetailPageOptions,
|
||||
} from './useLeadDetail.uts';
|
||||
import ImageUploader from '../../components/image-uploader/image-uploader.uvue';
|
||||
|
||||
const pageTheme: Record<string, string> = {
|
||||
'--oc-primary': utsLightColors.primary,
|
||||
@@ -366,6 +375,10 @@ onLoad((options: LeadDetailPageOptions) => {
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
.notes-attachments {
|
||||
margin-top: var(--oc-space-12, 12px);
|
||||
}
|
||||
|
||||
.lead-error {
|
||||
margin-bottom: var(--oc-space-12, 12px);
|
||||
}
|
||||
|
||||
在新工单中引用
屏蔽一个用户