优化筛选框

This commit is contained in:
2026-09-01 17:29:10 +08:00
parent 25657c613a
commit 33b87fd396
2 changed files with 7 additions and 1 deletions
@@ -211,6 +211,8 @@ export default {
right: -600rpx;
width: 600rpx;
height: 100%;
/* 内联 paddingTop(状态栏高度)计入总高,否则 100% + padding 会把底部按钮顶出屏幕 */
box-sizing: border-box;
background: #ffffff;
z-index: 999;
display: flex;
+5 -1
View File
@@ -208,7 +208,11 @@ export default {
// 标签组
const tagGroupsData = (tagGroupsRes.data && tagGroupsRes.data.data) || []
const filterGroups = tagGroupsData.map((g) => ({
// 需求:前端注释物流渠道、印刷工艺两组;恢复时删除该过滤即可
const hiddenGroupNames = ['物流渠道', '印刷工艺']
const filterGroups = tagGroupsData
.filter((g) => hiddenGroupNames.indexOf(g.groupName) === -1)
.map((g) => ({
id: g.id,
title: g.groupName,
tags: (g.tags || []).map((t) => ({