Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions ui/src/styles/element-plus.scss
Original file line number Diff line number Diff line change
Expand Up @@ -796,6 +796,7 @@
}
&.el-tooltip.is-dark {
max-width: 320px;
border: 1px solid var(--el-popper-bg-color-dark) !important;
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ onMounted(loadAccessRestriction)
<template #label>
<span class="flex-align-center gap-1">
身份认证
<MkTooltip content="开启身份认证后,智能体和关联的知识库均需要对话用户授权配置,否则用户无权限登录和知识库检索">
<MkTooltip placement="right" content="开启身份认证后,智能体和关联的知识库均需要对话用户授权配置,否则用户无权限登录和知识库检索">
<MkIcon name="icon_info_outlined" class="text-N600!" />
</MkTooltip>
</span>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,25 +61,21 @@ defineExpose({ open })
<template v-for="mode in embedModes" :key="mode.value">
<!-- 切换嵌入模式 -->
<el-card
shadow="never"
class="cursor-pointer text-center"
shadow="hover"
:class="{ 'border-primary! bg-primary/10!': selectedMode === mode.value }"
role="button"
tabindex="0"
:aria-pressed="selectedMode === mode.value"
@click="selectedMode = mode.value"
@keydown.enter.prevent="selectedMode = mode.value"
@keydown.space.prevent="selectedMode = mode.value"
>
<div class="space-y-2">
<div>{{ mode.label }}</div>
<img :src="mode.image" alt="" class="mx-auto h-28 object-contain" />
<div class="text-center">{{ mode.label }}</div>
<img :src="mode.image" alt="" class="mx-auto h-30 object-contain" />
</div>
</el-card>
</template>
</div>
<div class="mk-gray-card-lg space-y-2">
<div class="flex-between">
<div class="mk-gray-card-lg">
<div class="flex-between mb-2">
<h6>复制以下代码进行嵌入</h6>
<!-- 复制当前模式的嵌入代码 -->
<MkTooltip content="复制">
Expand Down
Loading