File tree Expand file tree Collapse file tree 7 files changed +33
-45
lines changed
component/prologue-content
dynamics-form/items/radio
workflow/nodes/base-node/component Expand file tree Collapse file tree 7 files changed +33
-45
lines changed Original file line number Diff line number Diff line change @@ -32,4 +32,6 @@ const prologue = computed(() => {
3232 return temp ?.replace (/ -\s. + / g , toQuickQuestion )
3333})
3434 </script >
35- <style lang="scss" scoped></style >
35+ <style lang="scss" scoped>
36+
37+ </style >
Original file line number Diff line number Diff line change 2626 .text {
2727 padding : 6px 0 ;
2828 }
29-
30- .problem-button {
31- width : 100% ;
32- border : none ;
33- border-radius : 8px ;
34- background : var (--app-layout-bg-color );
35- height : 46px ;
36- padding : 0 12px ;
37- line-height : 46px ;
38- box-sizing : border-box ;
39- color : var (--el-text-color-regular );
40- -webkit-line-clamp : 1 ;
41- word-break : break-all ;
42-
43- & :hover {
44- background : var (--el-color-primary-light-9 );
45- }
46-
47- & .disabled {
48- & :hover {
49- background : var (--app-layout-bg-color );
50- }
51- }
52-
53- .el-icon {
54- color : var (--el-color-primary );
55- }
56- }
5729 }
5830 & __operate {
5931 background : #f3f7f9 ;
Original file line number Diff line number Diff line change 11<template >
2- <div class =" radio_content" v-resize =" resize" :style =" radioContentStyle" >
3- <el-card
4- v-for =" item in option_list"
5- :key =" item.value"
6- class =" item"
7- shadow =" never"
8- :class =" [inputDisabled ? 'is-disabled' : '', modelValue == item[valueField] ? 'active' : '']"
9- @click =" inputDisabled ? () => {} : selected(item[valueField])"
10- >
11- {{ item[textField] }}
12- </el-card >
2+ <div class =" radio_content" :style =" radioContentStyle" >
3+ <el-row :gutter =" 12" class =" w-full" >
4+ <template v-for =" (item ,index ) in option_list " :key =" index " >
5+ <el-col :xs =" 24" :sm =" 24" :md =" 24" :lg =" 12" :xl =" 12" >
6+ <el-card
7+ :key =" item.value"
8+ class =" item"
9+ shadow =" never"
10+ :class =" [
11+ inputDisabled ? 'is-disabled' : '',
12+ modelValue == item[valueField] ? 'active' : ''
13+ ]"
14+ @click =" inputDisabled ? () => {} : selected(item[valueField])"
15+ >
16+ {{ item[textField] }}
17+ </el-card >
18+ </el-col >
19+ </template >
20+ </el-row >
1321 </div >
1422</template >
1523<script lang="ts" setup>
Original file line number Diff line number Diff line change 33 <div
44 v-if =" item.type === 'question'"
55 @click =" sendMessage ? sendMessage(item.content, 'new') : (content: string) => {}"
6- class =" problem-button ellipsis-2 mb -8"
6+ class =" problem-button ellipsis-2 mt -8"
77 :class =" sendMessage ? 'cursor' : 'disabled'"
88 >
99 <el-icon >
Original file line number Diff line number Diff line change @@ -277,6 +277,10 @@ h5 {
277277 vertical-align : middle ;
278278}
279279
280+ .line-height-22 {
281+ line-height : 22px ;
282+ }
283+
280284.border {
281285 border : 1px solid var (--el-border-color );
282286}
745749
746750// 企业微信
747751.wwLogin_qrcode_head {
748- padding :20px 0 !important ;
749- }
752+ padding : 20px 0 !important ;
753+ }
Original file line number Diff line number Diff line change 77 font-size : inherit ;
88 p {
99 padding : 0 !important ;
10+ margin : 0 !important ;
11+ line-height : 22px !important ;
1012 }
1113 .md-editor-admonition {
1214 margin : 0 ;
Original file line number Diff line number Diff line change 4444 <div class =" flex align-center" >
4545 <img class =" mr-12" src =" @/assets/icon_file-doc.svg" alt =" " />
4646 <div >
47- <p >文档(TXT、MD、DOCX、HTML、CSV、XLSX、XLS、PDF)</p >
47+ <p class = " line-height-22 mt-4 " >文档(TXT、MD、DOCX、HTML、CSV、XLSX、XLS、PDF)</p >
4848 <el-text class =" color-secondary" >需要使用“文档内容提取”节点解析文档内容</el-text >
4949 </div >
5050 </div >
6161 <div class =" flex align-center" >
6262 <img class =" mr-12" src =" @/assets/icon_file-image.svg" alt =" " />
6363 <div >
64- <p >图片(JPG、JPEG、PNG、GIF)</p >
64+ <p class = " line-height-22 mt-4 " >图片(JPG、JPEG、PNG、GIF)</p >
6565 <el-text class =" color-secondary" >需要使用“图片理解”节点解析图片内容</el-text >
6666 </div >
6767 </div >
You can’t perform that action at this time.
0 commit comments