头部搜索对接开源软件列表

This commit is contained in:
付民康
2025-03-20 20:51:16 +08:00
parent 2e46635146
commit 61b7acc34c
6 changed files with 188 additions and 51 deletions

View File

@@ -5,7 +5,7 @@
<div v-if="showColumnList" ref="columnListRef" class="column-list">
<div class="column-list-header">
<span class="title1">展示列设置</span>
<a class="title2">恢复默认</a>
<a @click="emits('setDefult')" class="title2">恢复默认</a>
</div>
<div class="column-list-body">
<d-checkbox
@@ -35,7 +35,7 @@ const props = defineProps({
});
// 定义 emit用于更新 showColumnList
const emits = defineEmits(['update:show-column-list']);
const emits = defineEmits(['update:show-column-list','setDefult']);
// 切换多选列表的显示
const toggleColumnList = () => {
@@ -101,6 +101,7 @@ onUnmounted(() => {
text-align: left;
}
.title2 {
cursor: pointer;
color: #5E7CE0;
font-family: 苹方-;
font-weight: regular;