feat: 修复自定义列表展示字段问题

pull/1/head
刘释隆 1 year ago
parent fa5884f68e
commit 30a278f186

@ -340,7 +340,7 @@ function removeHandler(id: string, type: "fix" | "unfix") {
<div> <div>
<n-input placeholder="搜索关键字"> <n-input placeholder="搜索关键字">
<template #suffix> <template #suffix>
<SvgIcon size="14px" name="magnifying-1" /> <SvgIcon size="14px" name="magnifying-1" color="#999999" />
</template> </template>
</n-input> </n-input>
<div class="draggable-ul left-wrap"> <div class="draggable-ul left-wrap">
@ -483,6 +483,7 @@ function removeHandler(id: string, type: "fix" | "unfix") {
position: relative; position: relative;
color: #333333; color: #333333;
font-size: 14px; font-size: 14px;
background: #F8F8F8;
&:before { &:before {
background-color: #1980ff; background-color: #1980ff;
@ -562,6 +563,7 @@ function removeHandler(id: string, type: "fix" | "unfix") {
::v-deep(.n-card > .n-card-header .n-card-header__main) { ::v-deep(.n-card > .n-card-header .n-card-header__main) {
font-weight: lighter !important; font-weight: lighter !important;
font-size: 14px; font-size: 14px;
color: #666666;
} }
::v-deep(.n-scrollbar) { ::v-deep(.n-scrollbar) {
border-top: none !important; border-top: none !important;

@ -27,7 +27,7 @@ const svgName = computed(() => {
<template> <template>
<div class="list-item" :class="{ 'list-item-selected': selected }"> <div class="list-item" :class="{ 'list-item-selected': selected }">
<div v-for="(item, index) in showFieldList" :key="index"> <div v-for="(item, index) in showFieldList" :key="index">
<div v-if="item.id === 'fromsourceid'" class="list-item-header"> <div v-if="item.id === 'fromtaskname'" class="list-item-header">
<div class="id-wrap"> <div class="id-wrap">
<SvgIcon :name="svgName" size="28" /> <SvgIcon :name="svgName" size="28" />
<span <span

Loading…
Cancel
Save