feat: 增加蝦皮店铺名称搜索 (#182)

This commit is contained in:
chengma
2026-08-12 15:09:35 +08:00
parent aa6d812ac6
commit 889f568554
11 changed files with 94 additions and 40 deletions
+3
View File
@@ -112,6 +112,9 @@ body {
用 flex 而不是 width:工具条是 flex 布局,width 会被 flex-grow 盖掉。
min-width 由下面那条继承,窄屏时不会缩到没法输入。 */
.toolbar input[type="text"].search-narrow { flex: 0 0 30%; }
/* 蝦皮工具条同时放商品和店铺两个搜索框,各占剩余工具条的约 20%。
min-width 继续由通用输入框规则提供,窄窗口时交给工具条自然换行。 */
.toolbar input[type="text"].shopee-search-field { flex: 0 1 20%; }
.toolbar input[type="text"] {
flex: 1;
+1 -1
View File
@@ -17,7 +17,7 @@
都不进入 sessionStorage。链接原始 href 保持模块根地址,因此脚本失效时
仍可正常导航。 */
var MODULE_QUERY_KEYS = {
"/shopee": ["goods_id", "status", "shop", "image", "page"],
"/shopee": ["goods_id", "shop_name", "status", "shop", "image", "page"],
"/pdd": ["q", "status", "page"],
"/syb": ["order_no", "shop", "stage", "page", "date_from", "date_to"],
"/tasks": ["type", "status", "creator", "q", "page"],