fix: Optimize font color(#2792)

This commit is contained in:
wangdan-fit2cloud 2025-09-16 15:05:25 +08:00
parent 7264545ab6
commit a04ee1764c
8 changed files with 18 additions and 7 deletions

View File

@ -22,7 +22,7 @@
</el-card>
<el-card shadow="never" class="card-add box-card" @click="add_card">
<div class="flex-center">
<AppIcon iconName="Plus" class="add-icon layout-bg p-8 border-r-6" />
<AppIcon iconName="app-add-outlined" class="add-icon layout-bg p-8 border-r-6" />
<span>{{ add_msg }}</span>
</div>
</el-card>

View File

@ -29,7 +29,7 @@ const showThink = ref<boolean>(true)
}
.reasoning-md {
padding-left: 8px;
--md-color: var(--app-text-color-secondary) !important;
--md-color: var(--app-input-color-placeholder) !important;
}
}
</style>

View File

@ -304,6 +304,9 @@
.el-select__caret {
color: var(--app-text-color-secondary);
}
.el-select__wrapper.is-disabled .el-select__caret {
color: var(--app-text-color-disable);
}
// el-textarea
.el-textarea {
@ -314,6 +317,9 @@
.el-input {
--el-input-text-color: var(--el-text-color-primary);
}
.el-input .el-input__password {
color: var(--app-text-color-secondary) !important;
}
.el-input-group__prepend div.el-select .el-select__wrapper {
background: #ffffff;

View File

@ -12,7 +12,6 @@
margin: 0;
font-size: inherit;
word-break: break-word;
color: var(--el-text-color-primary);
table {
display: block;
}

View File

@ -27,7 +27,8 @@
</el-button>
</div>
<div v-else>
<el-button icon="Plus" @click="showPopover = !showPopover">
<el-button @click="showPopover = !showPopover">
<AppIcon iconName="app-add-outlined" class="mr-4"/>
{{ $t('views.applicationWorkflow.setting.addComponent') }}
</el-button>
<el-button @click="clickShowDebug" :disabled="showDebug" v-if="permissionPrecise.debug(id)">

View File

@ -156,7 +156,7 @@
base_form_data.model_type !== 'TTI'
"
>
<AppIcon iconName="Plus" class="add-icon" />{{ $t('common.add') }}
<AppIcon iconName="app-add-outlined" class="mr-4"/> {{ $t('common.add') }}
</el-button>
</div>
<el-table

View File

@ -24,6 +24,8 @@
v-for="item in modelTypeOptions"
:key="item.value"
@click="checkModelType(item.value)"
class="flex-between w-120"
:class="currentModelType === item.text ? 'active' : ''"
>
<span>{{ item.text }}</span>
<el-icon v-if="currentModelType === item.text"><Check /></el-icon>
@ -57,7 +59,10 @@ const dialogVisible = ref<boolean>(false)
const list_provider = ref<Array<Provider>>([])
const currentModelType = ref('')
const selectModelType = ref('')
const modelTypeOptions = [{ text: t('views.model.modelType.allModel'), value: '' }, ...modelTypeList]
const modelTypeOptions = [
{ text: t('views.model.modelType.allModel'), value: '' },
...modelTypeList,
]
const open = (model_type?: string) => {
dialogVisible.value = true

View File

@ -13,7 +13,7 @@
@drag.prevent
@dragover.prevent
@dragend.prevent
style="width: 70%"
style="width: 69%"
>
<component
:is="iconComponent(`${nodeModel.type}-icon`)"