@wenbin_wb/dsh-bridge 2.10.14 → 2.10.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +12 -0
- package/client/client.js +6 -4
- package/client/mobile-styles.js +6 -4
- package/package.json +4 -3
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,18 @@
|
|
|
4
4
|
|
|
5
5
|
---
|
|
6
6
|
|
|
7
|
+
## [v2.10.15] - 2026-09-25
|
|
8
|
+
|
|
9
|
+
> 本版为设置页关闭按钮的可用性微调:手机上「✕」更容易点中。
|
|
10
|
+
|
|
11
|
+
### 🐞 修复
|
|
12
|
+
|
|
13
|
+
- **设置页「✕」触控区偏小**:宿主原生为 28px(本插件移动端曾放到 32px),低于移动端推荐的可点尺寸。现放大到 **40×40**,并把 `top/right` 调整为 4px 使按钮中心与标题/返回行的文字中心基本重合(实测相差 1px);标题右侧 52px 留白仍完整覆盖按钮 44px 的占位,长标题与不可折行超长 token 都不会钻到按钮下面。
|
|
14
|
+
|
|
15
|
+
> ⚠️ 生效说明:纯前端样式调整,刷新页面即可生效,无需重启 dsh。
|
|
16
|
+
|
|
17
|
+
---
|
|
18
|
+
|
|
7
19
|
## [v2.10.14] - 2026-09-25
|
|
8
20
|
|
|
9
21
|
> 本版为移动端设置页的体验修复:解决内容被静默裁切、窄屏菜单拥挤、弹窗「✕」位置错乱,以及插件市场的安装确认框被设置弹窗盖住(点「安装」没反应)/ 矮屏下超出屏幕点不到按钮等问题。纯前端样式与交互调整,刷新页面即生效。
|
package/client/client.js
CHANGED
|
@@ -958,10 +958,12 @@ var MOBILE_STYLES_CSS = `
|
|
|
958
958
|
\u628A\u4E24\u8005\u62C9\u56DE\u540C\u4E00\u884C\u7684\u529E\u6CD5\u3002 */
|
|
959
959
|
html[data-dshbr-drilldown="ready"] button[class*="VOzbGW_close"] {
|
|
960
960
|
position: absolute !important;
|
|
961
|
-
top
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
961
|
+
/* 40\xD740 \u89E6\u63A7\u533A\uFF08\u5BBF\u4E3B\u539F\u4E3A 28px\uFF09\uFF1A\u914D top/right 4px \u540E\u4E2D\u5FC3\u843D\u5728 y=24\uFF0C
|
|
962
|
+
\u4E0E\u6807\u9898\u6587\u5B57\u4E2D\u5FC3\uFF08\u7EA6 23\uFF09\u57FA\u672C\u91CD\u5408\uFF1B\u53F3\u4FA7 4+40=44px \u7684\u5360\u4F4D\u4ECD\u5728\u6807\u9898 52px \u7559\u767D\u4E4B\u5185\u3002 */
|
|
963
|
+
top: 4px !important;
|
|
964
|
+
right: 4px !important;
|
|
965
|
+
width: 40px !important;
|
|
966
|
+
height: 40px !important;
|
|
965
967
|
z-index: 5 !important;
|
|
966
968
|
}
|
|
967
969
|
|
package/client/mobile-styles.js
CHANGED
|
@@ -927,10 +927,12 @@ export const MOBILE_STYLES_CSS = `
|
|
|
927
927
|
把两者拉回同一行的办法。 */
|
|
928
928
|
html[data-dshbr-drilldown="ready"] button[class*="VOzbGW_close"] {
|
|
929
929
|
position: absolute !important;
|
|
930
|
-
top
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
930
|
+
/* 40×40 触控区(宿主原为 28px):配 top/right 4px 后中心落在 y=24,
|
|
931
|
+
与标题文字中心(约 23)基本重合;右侧 4+40=44px 的占位仍在标题 52px 留白之内。 */
|
|
932
|
+
top: 4px !important;
|
|
933
|
+
right: 4px !important;
|
|
934
|
+
width: 40px !important;
|
|
935
|
+
height: 40px !important;
|
|
934
936
|
z-index: 5 !important;
|
|
935
937
|
}
|
|
936
938
|
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wenbin_wb/dsh-bridge",
|
|
3
|
-
"version": "2.10.
|
|
3
|
+
"version": "2.10.15",
|
|
4
4
|
"description": "手机扫码即可在移动端/公网继续用 DeepSeek Harness,人不在电脑前也能接着干。一键局域网二维码、Cloudflare 公网隧道、自建隧道与微信 / QQ / 飞书 / Telegram Bot(多工作区/会话持久化/媒体/卡片审批/流式输出),无需自己搭公网服务器。",
|
|
5
|
-
"releaseNotes": "【v2.10.
|
|
5
|
+
"releaseNotes": "【v2.10.15】设置页关闭按钮更好点\n• 修复:设置页右上角「✕」触控区由 28px 放大到 40×40,手机上更容易点中,且与标题行对齐\n• 说明:纯前端样式调整,刷新页面即生效(无需重启 dsh)",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"main": "lib/index.js",
|
|
8
8
|
"exports": {
|
|
@@ -29,7 +29,8 @@
|
|
|
29
29
|
"prepack": "npm run build:lark && npm run build:client",
|
|
30
30
|
"release:github": "node scripts/create-github-release.mjs",
|
|
31
31
|
"lint": "eslint .",
|
|
32
|
-
"test": "node --test test/*.test.mjs"
|
|
32
|
+
"test": "node --test test/*.test.mjs",
|
|
33
|
+
"verify:mobile-ui": "node test/browser/run-all.mjs"
|
|
33
34
|
},
|
|
34
35
|
"dependencies": {
|
|
35
36
|
"qrcode": "^1.5.3",
|