From 72699ae422409dc9dba80dc0b4c99e52343008b7 Mon Sep 17 00:00:00 2001 From: "yinjun.chen1" Date: Mon, 21 Sep 2026 23:03:39 +0800 Subject: [PATCH] =?UTF-8?q?fix(mobile):=20=E7=BB=9F=E4=B8=80=E7=A7=BB?= =?UTF-8?q?=E5=8A=A8=E7=AB=AF=E6=B1=89=E5=A0=A1=E8=8F=9C=E5=8D=95=E4=B8=8E?= =?UTF-8?q?PC=E7=AB=AF=E7=94=A8=E6=88=B7=E8=8F=9C=E5=8D=95=E9=80=89?= =?UTF-8?q?=E9=A1=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - SettingDrawer 新增「重新扫描」「包清单定时配置」,与 PC 端 AppTopbar pick() 保持一致 - 引入 useStore 读取 loading 状态,扫描中禁用重新扫描项 - 引入 PkgListConfigDialog,点击「包清单定时配置」弹出与 PC 端一致 - App.vue SettingDrawer 新增 @rescan=doRescan 事件监听 - 补充 .disabled 样式,扫描时置灰不可点 --- frontend/src/App.vue | 2 +- frontend/src/components/SettingDrawer.vue | 27 +- frontend/src/views/SearchView.vue | 738 +++++++++++----------- 3 files changed, 396 insertions(+), 371 deletions(-) diff --git a/frontend/src/App.vue b/frontend/src/App.vue index 4880707..baf06ea 100644 --- a/frontend/src/App.vue +++ b/frontend/src/App.vue @@ -101,7 +101,7 @@ const fmtScanBytes = computed(() => { - + +.pkg-desc { + display: block; + max-width: 230px; + font-size: 12px; + color: var(--ink-dim); + font-weight: 500; + overflow: hidden; + text-overflow: ellipsis; + white-space: nowrap; +} +.num-cell.over { color: var(--red); } +/* 操作列:按钮横排一行,不换行 */ +.vtable td:last-child { white-space: nowrap; } +.vtable td:last-child .btn { padding: 6px 13px; font-size: 12px; } +.vtable td:last-child .btn + .btn { margin-left: 7px; } +.empty-tip { padding: 40px 0; text-align: center; color: var(--ink-faint); font-size: 12.5px; } +.loading-tip { text-align: center; padding: 40px 0; color: var(--ink-faint); font-size: 13px; } + +@media (max-width: 767px) { + .search-box { height: 48px; } + .search-box .s-go { display: none; } + .history-row { width: 100%; } + .toolbar { margin: 16px 0 10px; } + .vtable { overflow: auto; -webkit-overflow-scrolling: touch; } + .vtable table { min-width: 880px; width: auto; } + .vtable th:first-child, + .vtable td:first-child { min-width: 220px; } + .pkg-cell { word-break: break-all; } +} +