fix: 优化对话框选项卡样式
This commit is contained in:
parent
fd35ef281c
commit
635de3a71d
@ -32,4 +32,6 @@ const prologue = computed(() => {
|
|||||||
return temp?.replace(/-\s.+/g, toQuickQuestion)
|
return temp?.replace(/-\s.+/g, toQuickQuestion)
|
||||||
})
|
})
|
||||||
</script>
|
</script>
|
||||||
<style lang="scss" scoped></style>
|
<style lang="scss" scoped>
|
||||||
|
|
||||||
|
</style>
|
||||||
|
|||||||
@ -26,34 +26,6 @@
|
|||||||
.text {
|
.text {
|
||||||
padding: 6px 0;
|
padding: 6px 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.problem-button {
|
|
||||||
width: 100%;
|
|
||||||
border: none;
|
|
||||||
border-radius: 8px;
|
|
||||||
background: var(--app-layout-bg-color);
|
|
||||||
height: 46px;
|
|
||||||
padding: 0 12px;
|
|
||||||
line-height: 46px;
|
|
||||||
box-sizing: border-box;
|
|
||||||
color: var(--el-text-color-regular);
|
|
||||||
-webkit-line-clamp: 1;
|
|
||||||
word-break: break-all;
|
|
||||||
|
|
||||||
&:hover {
|
|
||||||
background: var(--el-color-primary-light-9);
|
|
||||||
}
|
|
||||||
|
|
||||||
&.disabled {
|
|
||||||
&:hover {
|
|
||||||
background: var(--app-layout-bg-color);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.el-icon {
|
|
||||||
color: var(--el-color-primary);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
&__operate {
|
&__operate {
|
||||||
background: #f3f7f9;
|
background: #f3f7f9;
|
||||||
|
|||||||
@ -1,15 +1,23 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="radio_content" v-resize="resize" :style="radioContentStyle">
|
<div class="radio_content" :style="radioContentStyle">
|
||||||
<el-card
|
<el-row :gutter="12" class="w-full">
|
||||||
v-for="item in option_list"
|
<template v-for="(item,index) in option_list" :key="index">
|
||||||
:key="item.value"
|
<el-col :xs="24" :sm="24" :md="24" :lg="12" :xl="12">
|
||||||
class="item"
|
<el-card
|
||||||
shadow="never"
|
:key="item.value"
|
||||||
:class="[inputDisabled ? 'is-disabled' : '', modelValue == item[valueField] ? 'active' : '']"
|
class="item"
|
||||||
@click="inputDisabled ? () => {} : selected(item[valueField])"
|
shadow="never"
|
||||||
>
|
:class="[
|
||||||
{{ item[textField] }}
|
inputDisabled ? 'is-disabled' : '',
|
||||||
</el-card>
|
modelValue == item[valueField] ? 'active' : ''
|
||||||
|
]"
|
||||||
|
@click="inputDisabled ? () => {} : selected(item[valueField])"
|
||||||
|
>
|
||||||
|
{{ item[textField] }}
|
||||||
|
</el-card>
|
||||||
|
</el-col>
|
||||||
|
</template>
|
||||||
|
</el-row>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<script lang="ts" setup>
|
<script lang="ts" setup>
|
||||||
|
|||||||
@ -3,7 +3,7 @@
|
|||||||
<div
|
<div
|
||||||
v-if="item.type === 'question'"
|
v-if="item.type === 'question'"
|
||||||
@click="sendMessage ? sendMessage(item.content, 'new') : (content: string) => {}"
|
@click="sendMessage ? sendMessage(item.content, 'new') : (content: string) => {}"
|
||||||
class="problem-button ellipsis-2 mb-8"
|
class="problem-button ellipsis-2 mt-8"
|
||||||
:class="sendMessage ? 'cursor' : 'disabled'"
|
:class="sendMessage ? 'cursor' : 'disabled'"
|
||||||
>
|
>
|
||||||
<el-icon>
|
<el-icon>
|
||||||
|
|||||||
@ -277,6 +277,10 @@ h5 {
|
|||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.line-height-22 {
|
||||||
|
line-height: 22px;
|
||||||
|
}
|
||||||
|
|
||||||
.border {
|
.border {
|
||||||
border: 1px solid var(--el-border-color);
|
border: 1px solid var(--el-border-color);
|
||||||
}
|
}
|
||||||
@ -745,5 +749,5 @@ h5 {
|
|||||||
|
|
||||||
//企业微信
|
//企业微信
|
||||||
.wwLogin_qrcode_head {
|
.wwLogin_qrcode_head {
|
||||||
padding:20px 0 !important;
|
padding: 20px 0 !important;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -7,6 +7,8 @@
|
|||||||
font-size: inherit;
|
font-size: inherit;
|
||||||
p {
|
p {
|
||||||
padding: 0 !important;
|
padding: 0 !important;
|
||||||
|
margin: 0 !important;
|
||||||
|
line-height: 22px !important;
|
||||||
}
|
}
|
||||||
.md-editor-admonition {
|
.md-editor-admonition {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
|
|||||||
@ -44,7 +44,7 @@
|
|||||||
<div class="flex align-center">
|
<div class="flex align-center">
|
||||||
<img class="mr-12" src="@/assets/icon_file-doc.svg" alt="" />
|
<img class="mr-12" src="@/assets/icon_file-doc.svg" alt="" />
|
||||||
<div>
|
<div>
|
||||||
<p>文档(TXT、MD、DOCX、HTML、CSV、XLSX、XLS、PDF)</p>
|
<p class="line-height-22 mt-4">文档(TXT、MD、DOCX、HTML、CSV、XLSX、XLS、PDF)</p>
|
||||||
<el-text class="color-secondary">需要使用“文档内容提取”节点解析文档内容</el-text>
|
<el-text class="color-secondary">需要使用“文档内容提取”节点解析文档内容</el-text>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -61,7 +61,7 @@
|
|||||||
<div class="flex align-center">
|
<div class="flex align-center">
|
||||||
<img class="mr-12" src="@/assets/icon_file-image.svg" alt="" />
|
<img class="mr-12" src="@/assets/icon_file-image.svg" alt="" />
|
||||||
<div>
|
<div>
|
||||||
<p>图片(JPG、JPEG、PNG、GIF)</p>
|
<p class="line-height-22 mt-4">图片(JPG、JPEG、PNG、GIF)</p>
|
||||||
<el-text class="color-secondary">需要使用“图片理解”节点解析图片内容</el-text>
|
<el-text class="color-secondary">需要使用“图片理解”节点解析图片内容</el-text>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user