fix: 优化部分样式

This commit is contained in:
wangdan-fit2cloud 2024-12-03 15:13:23 +08:00
parent e5ead8ea20
commit 3e8734ae8f
5 changed files with 14 additions and 6 deletions

View File

@ -169,7 +169,7 @@ function initMaxkbStyle(root){
position: absolute; position: absolute;
{{x_type}}: {{x_value}}px; {{x_type}}: {{x_value}}px;
{{y_type}}: {{y_value}}px; {{y_type}}: {{y_value}}px;
z-index: 1000; z-index: 10001;
} }
#maxkb .maxkb-tips { #maxkb .maxkb-tips {
position: fixed; position: fixed;
@ -180,7 +180,7 @@ function initMaxkbStyle(root){
color: #ffffff; color: #ffffff;
font-size: 14px; font-size: 14px;
background: #3370FF; background: #3370FF;
z-index: 1000; z-index: 10001;
} }
#maxkb .maxkb-tips .maxkb-arrow { #maxkb .maxkb-tips .maxkb-arrow {
position: absolute; position: absolute;

View File

@ -20,9 +20,12 @@
<el-input v-model="detail.padding_problem_text" disabled /> <el-input v-model="detail.padding_problem_text" disabled />
</el-form-item> </el-form-item>
<el-form-item label="引用分段"> <el-form-item label="引用分段">
<div v-if="detail.paragraph_list.length > 0">
<template v-for="(item, index) in detail.paragraph_list" :key="index"> <template v-for="(item, index) in detail.paragraph_list" :key="index">
<ParagraphCard :data="item" :index="index" /> <ParagraphCard :data="item" :index="index" />
</template> </template>
</div>
<span v-else> - </span>
</el-form-item> </el-form-item>
</el-form> </el-form>
</div> </div>

View File

@ -17,7 +17,7 @@
</template> </template>
<template #footer> <template #footer>
<div class="footer-content flex-between"> <div class="footer-content flex-between">
<el-text class="flex align-center" style="width: 70%"> <el-text class="flex align-center" style="width: 50%">
<img :src="getImgUrl(data?.document_name?.trim())" alt="" width="20" class="mr-4" /> <img :src="getImgUrl(data?.document_name?.trim())" alt="" width="20" class="mr-4" />
<template v-if="meta?.source_url"> <template v-if="meta?.source_url">

View File

@ -256,6 +256,9 @@
} }
} }
.el-select__placeholder {
font-weight: 400;
}
.el-select__placeholder.is-transparent { .el-select__placeholder.is-transparent {
color: var(--app-input-color-placeholder); color: var(--app-input-color-placeholder);
font-weight: 400; font-weight: 400;

View File

@ -409,6 +409,7 @@
link link
@click="openTTSParamSettingDialog" @click="openTTSParamSettingDialog"
:disabled="!applicationForm.tts_model_id" :disabled="!applicationForm.tts_model_id"
class="mr-8"
> >
<el-icon class="mr-4"><Setting /></el-icon> <el-icon class="mr-4"><Setting /></el-icon>
设置 设置
@ -424,6 +425,7 @@
<el-radio-group <el-radio-group
v-model="applicationForm.tts_type" v-model="applicationForm.tts_type"
v-show="applicationForm.tts_model_enable" v-show="applicationForm.tts_model_enable"
class="mb-8"
> >
<el-radio value="BROWSER">浏览器播放(免费)</el-radio> <el-radio value="BROWSER">浏览器播放(免费)</el-radio>
<el-radio value="TTS">TTS模型</el-radio> <el-radio value="TTS">TTS模型</el-radio>