Commit e6455fb1 by Lin

fix: Tooltip样式处理

1 parent 8769bfef
...@@ -230,7 +230,8 @@ const processedCoreFunctions = computed(() => { ...@@ -230,7 +230,8 @@ const processedCoreFunctions = computed(() => {
> >
<el-table-column prop="targetDeptName" label="面向部门" /> <el-table-column prop="targetDeptName" label="面向部门" />
<el-table-column prop="knowledge" label="配置知识" /> <el-table-column prop="knowledge" label="配置知识" />
<el-table-column prop="learningObjectivePrompt" label="学习目标"> <el-table-column prop="learningObjectivePrompt" width="300" label="学习目标" />
<!-- <el-table-column prop="learningObjectivePrompt" label="学习目标">
<template #default="{ row }"> <template #default="{ row }">
<el-tooltip <el-tooltip
:content="row.learningObjectivePrompt" :content="row.learningObjectivePrompt"
...@@ -243,8 +244,8 @@ const processedCoreFunctions = computed(() => { ...@@ -243,8 +244,8 @@ const processedCoreFunctions = computed(() => {
}}</span> }}</span>
</el-tooltip> </el-tooltip>
</template> </template>
</el-table-column> </el-table-column> -->
<el-table-column prop="proactiveContactEnabled" label="主动联系"> <el-table-column prop="proactiveContactEnabled" width="100" label="主动联系">
<template #default="{ row }"> <template #default="{ row }">
<div <div
class="h-[24px] w-[28px] items-center justify-center rounded-[3px] bg-[#E8F8F2] text-center text-[12px] text-[#00A870]" class="h-[24px] w-[28px] items-center justify-center rounded-[3px] bg-[#E8F8F2] text-center text-[12px] text-[#00A870]"
...@@ -435,7 +436,7 @@ const processedCoreFunctions = computed(() => { ...@@ -435,7 +436,7 @@ const processedCoreFunctions = computed(() => {
<!-- 全局样式:用于 tooltip popper(渲染在 body 下,不受 scoped 限制) --> <!-- 全局样式:用于 tooltip popper(渲染在 body 下,不受 scoped 限制) -->
<style> <style>
.train-tooltip { .train-tooltip {
max-width: 568px; max-width: 568px !important;
box-shadow: 0 4px 12px 0 #515b664d; box-shadow: 0 4px 12px 0 #515b664d;
font-size: 14px; font-size: 14px;
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!