This commit is contained in:
wangdan-fit2cloud 2024-01-24 17:43:12 +08:00
parent 9daa8beb11
commit 47d2ed655c
5 changed files with 31 additions and 10 deletions

View File

@ -18,7 +18,7 @@
<el-form-item label="引用分段">
<template v-for="(item, index) in detail.paragraph_list" :key="index">
<CardBox
shadow="none"
shadow="never"
:title="item.title || '-'"
class="paragraph-source-card cursor mb-8"
:class="item.is_active ? '' : 'disabled'"

View File

@ -69,14 +69,21 @@
</el-dropdown-menu>
<div class="border-t" style="padding: 8px 11px; min-width: 200px">
<template v-if="isApplication">
<el-button link @click="router.push({ path: '/application/create' })">
<el-icon class="mr-4"><Plus /></el-icon>
</el-button>
<div
class="w-full text-left cursor"
@click="router.push({ path: '/application/create' })"
>
<el-button link>
<el-icon class="mr-4"><Plus /></el-icon>
</el-button>
</div>
</template>
<template v-else-if="isDataset">
<el-button link @click="router.push({ path: '/dataset/create' })">
<el-icon class="mr-4"><Plus /></el-icon>
</el-button>
<div class="w-full text-left cursor" @click="router.push({ path: '/dataset/create' })">
<el-button link>
<el-icon class="mr-4"><Plus /></el-icon>
</el-button>
</div>
</template>
</div>
</template>

View File

@ -200,6 +200,9 @@ h4 {
align-items: center;
}
.text-left {
text-align: left;
}
.text-center {
text-align: center;
}

View File

@ -16,6 +16,11 @@
background: var(--app-text-color-light-1);
}
}
&:focus {
color: var(--el-button-text-color);
background-color: var(--el-button-bg-color);
border-color: var(--el-button-border-color);
}
}
.el-avatar {
--el-avatar-bg-color: var(--el-color-primary);
@ -55,6 +60,10 @@
.el-message-box__header {
padding: 0;
}
.el-message-box__title {
word-break: break-all;
width: 95%;
}
}
.el-message-box__content {

View File

@ -82,9 +82,11 @@
</el-option>
</el-option-group>
<template #footer>
<el-button type="primary" link @click="openCreateModel">
<el-icon class="mr-4"><Plus /></el-icon>
</el-button>
<div class="w-full text-left cursor" @click="openCreateModel()">
<el-button type="primary" link>
<el-icon class="mr-4"><Plus /></el-icon>
</el-button>
</div>
</template>
</el-select>
</el-form-item>