src/layout/components/TagsView/index.vue
@@ -259,11 +259,13 @@ <style lang="scss" scoped> .tags-view-container { height: 34px; height: 30px; width: 100%; background: var(--tags-bg, #fff); border-bottom: 1px solid var(--tags-item-border, #d8dce5); box-shadow: 0 1px 3px 0 rgba(0, 0, 0, .12), 0 0 3px 0 rgba(0, 0, 0, .04); position: fixed; /* 将头部固定 */ top: 50px; /* 在顶部固定 */ z-index: 1000; /* 确保头部在其他内容之上 */ background: #fff; box-shadow: none; .tags-view-wrapper { .tags-view-item {