fix: Optimize some styles
parent
7dbd70fbfd
commit
9c1177759a
|
|
@ -1,5 +1,5 @@
|
||||||
export default {
|
export default {
|
||||||
title: 'Models',
|
title: 'Model',
|
||||||
provider: 'Provider',
|
provider: 'Provider',
|
||||||
providerPlaceholder: 'Select Provider',
|
providerPlaceholder: 'Select Provider',
|
||||||
addModel: 'Add Model',
|
addModel: 'Add Model',
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
<template>
|
<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>
|
<template #icon>
|
||||||
<el-avatar
|
<el-avatar
|
||||||
v-if="isAppIcon(props.tool?.icon)"
|
v-if="isAppIcon(props.tool?.icon)"
|
||||||
|
|
@ -34,7 +34,7 @@
|
||||||
<span class="card-footer-left color-secondary">
|
<span class="card-footer-left color-secondary">
|
||||||
{{ `${$t('common.author')}: MaxKB` }}
|
{{ `${$t('common.author')}: MaxKB` }}
|
||||||
</span>
|
</span>
|
||||||
<div class="card-footer-operation" @click.stop>
|
<div class="card-footer-operation mb-8" @click.stop>
|
||||||
<el-button @click="emit('handleDetail')">
|
<el-button @click="emit('handleDetail')">
|
||||||
{{ $t('common.detail') }}
|
{{ $t('common.detail') }}
|
||||||
</el-button>
|
</el-button>
|
||||||
|
|
@ -63,7 +63,7 @@ const emit = defineEmits<{
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
.el-card {
|
.tool-card {
|
||||||
:deep(.card-footer) {
|
:deep(.card-footer) {
|
||||||
& > div:first-of-type {
|
& > div:first-of-type {
|
||||||
flex: 1;
|
flex: 1;
|
||||||
|
|
|
||||||
|
|
@ -339,6 +339,11 @@ defineExpose({ open })
|
||||||
|
|
||||||
.layout-container__left {
|
.layout-container__left {
|
||||||
background-color: var(--app-layout-bg-color);
|
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 {
|
.el-anchor {
|
||||||
|
|
|
||||||
|
|
@ -59,7 +59,7 @@
|
||||||
</el-dropdown>
|
</el-dropdown>
|
||||||
<el-dropdown v-if="showOperate(nodeModel.type)" :teleported="false" trigger="click">
|
<el-dropdown v-if="showOperate(nodeModel.type)" :teleported="false" trigger="click">
|
||||||
<el-button text>
|
<el-button text>
|
||||||
<AppIcon iconName="app-more"></AppIcon>
|
<AppIcon iconName="app-more" class="color-secondary"></AppIcon>
|
||||||
</el-button>
|
</el-button>
|
||||||
<template #dropdown>
|
<template #dropdown>
|
||||||
<el-dropdown-menu style="min-width: 80px">
|
<el-dropdown-menu style="min-width: 80px">
|
||||||
|
|
|
||||||
|
|
@ -108,6 +108,7 @@
|
||||||
<div
|
<div
|
||||||
v-for="(item, index) in form_data.branch"
|
v-for="(item, index) in form_data.branch"
|
||||||
:key="item.id"
|
:key="item.id"
|
||||||
|
class="mb-8"
|
||||||
>
|
>
|
||||||
<el-form-item
|
<el-form-item
|
||||||
:prop="`branch.${index}.content`"
|
:prop="`branch.${index}.content`"
|
||||||
|
|
@ -117,7 +118,7 @@
|
||||||
required: true,
|
required: true,
|
||||||
}"
|
}"
|
||||||
>
|
>
|
||||||
<el-row class="mb-8" :gutter="12" align="middle">
|
<el-row :gutter="12" align="middle">
|
||||||
<el-col :span="21">
|
<el-col :span="21">
|
||||||
<el-input
|
<el-input
|
||||||
v-model="item.content"
|
v-model="item.content"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue