fix: Optimize some styles

This commit is contained in:
wangdan-fit2cloud 2025-10-09 17:27:56 +08:00
parent 7dbd70fbfd
commit 9c1177759a
5 changed files with 12 additions and 6 deletions

View File

@ -1,5 +1,5 @@
export default {
title: 'Models',
title: 'Model',
provider: 'Provider',
providerPlaceholder: 'Select Provider',
addModel: 'Add Model',

View File

@ -1,5 +1,5 @@
<template>
<CardBox :title="props.tool.name" :description="props.tool.desc" class="cursor">
<CardBox :title="props.tool.name" :description="props.tool.desc" class="cursor tool-card">
<template #icon>
<el-avatar
v-if="isAppIcon(props.tool?.icon)"
@ -34,7 +34,7 @@
<span class="card-footer-left color-secondary">
{{ `${$t('common.author')}: MaxKB` }}
</span>
<div class="card-footer-operation" @click.stop>
<div class="card-footer-operation mb-8" @click.stop>
<el-button @click="emit('handleDetail')">
{{ $t('common.detail') }}
</el-button>
@ -63,7 +63,7 @@ const emit = defineEmits<{
</script>
<style lang="scss" scoped>
.el-card {
.tool-card {
:deep(.card-footer) {
& > div:first-of-type {
flex: 1;

View File

@ -339,6 +339,11 @@ defineExpose({ open })
.layout-container__left {
background-color: var(--app-layout-bg-color);
border-radius: 0 0 0 8px;
}
.layout-container__right {
background-color: var(--app-layout-bg-color);
border-radius: 0 0 8px 0;
}
.el-anchor {

View File

@ -59,7 +59,7 @@
</el-dropdown>
<el-dropdown v-if="showOperate(nodeModel.type)" :teleported="false" trigger="click">
<el-button text>
<AppIcon iconName="app-more"></AppIcon>
<AppIcon iconName="app-more" class="color-secondary"></AppIcon>
</el-button>
<template #dropdown>
<el-dropdown-menu style="min-width: 80px">

View File

@ -108,6 +108,7 @@
<div
v-for="(item, index) in form_data.branch"
:key="item.id"
class="mb-8"
>
<el-form-item
:prop="`branch.${index}.content`"
@ -117,7 +118,7 @@
required: true,
}"
>
<el-row class="mb-8" :gutter="12" align="middle">
<el-row :gutter="12" align="middle">
<el-col :span="21">
<el-input
v-model="item.content"