Skip to content

Commit 2087399

Browse files
fix: 优化UI样式
1 parent 12a263c commit 2087399

File tree

5 files changed

+11
-3
lines changed

5 files changed

+11
-3
lines changed

ui/src/components/ai-chat/component/chat-input-operate/index.vue

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,15 +85,16 @@
8585
>
8686
<el-tooltip effect="dark" placement="top" popper-class="upload-tooltip-width">
8787
<template #content>
88-
<div class="break-all pre-wrap">上传文件:最多{{
88+
<div class="break-all pre-wrap">
89+
上传文件:最多{{
8990
props.applicationDetails.file_upload_setting.maxFiles
9091
}}个,每个文件限制
9192
{{ props.applicationDetails.file_upload_setting.fileLimit }}MB<br />文件类型:{{
9293
getAcceptList().replace(/\./g, '').replace(/,/g, '、').toUpperCase()
9394
}}
9495
</div>
9596
</template>
96-
<el-button text :disabled="checkMaxFilesLimit()">
97+
<el-button text :disabled="checkMaxFilesLimit()" class="mt-4">
9798
<el-icon><Paperclip /></el-icon>
9899
</el-button>
99100
</el-tooltip>
@@ -224,7 +225,10 @@ const getAcceptList = () => {
224225
}
225226
226227
const checkMaxFilesLimit = () => {
227-
return props.applicationDetails.file_upload_setting.maxFiles <= (uploadImageList.value.length + uploadDocumentList.value.length)
228+
return (
229+
props.applicationDetails.file_upload_setting.maxFiles <=
230+
uploadImageList.value.length + uploadDocumentList.value.length
231+
)
228232
}
229233
230234
const uploadFile = async (file: any, fileList: any) => {

ui/src/components/dynamics-form/constructor/items/MultiSelectConstructor.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
v-for="(option, $index) in formValue.option_list"
2727
:key="$index"
2828
:gutter="10"
29+
class="mb-8"
2930
>
3031
<el-col :span="10"
3132
><div class="grid-content ep-bg-purple" />

ui/src/components/dynamics-form/constructor/items/RadioCardConstructor.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
v-for="(option, $index) in formValue.option_list"
2828
:key="$index"
2929
:gutter="10"
30+
class="mb-8"
3031
>
3132
<el-col :span="10"
3233
><div class="grid-content ep-bg-purple" />

ui/src/components/dynamics-form/constructor/items/RadioRowConstructor.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
v-for="(option, $index) in formValue.option_list"
2828
:key="$index"
2929
:gutter="10"
30+
class="mb-8"
3031
>
3132
<el-col :span="10"
3233
><div class="grid-content ep-bg-purple" />

ui/src/components/dynamics-form/constructor/items/SingleSelectConstructor.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
v-for="(option, $index) in formValue.option_list"
2828
:key="$index"
2929
:gutter="10"
30+
class="mb-8"
3031
>
3132
<el-col :span="10"
3233
><div class="grid-content ep-bg-purple" />

0 commit comments

Comments
 (0)