diff --git a/design/prototype/icons.js b/design/prototype/icons.js index 4327c39..d725da0 100644 --- a/design/prototype/icons.js +++ b/design/prototype/icons.js @@ -47,6 +47,7 @@ // ── 源自 lucide-react 包(web/website/node_modules/lucide-react v0.469.0,usercenter 未含)── 'power': '', + 'plus': '', 'loader-circle': '', 'globe': '', 'user': '', diff --git a/design/prototype/screens/ui-desktop.html b/design/prototype/screens/ui-desktop.html index de4cdde..cbe720d 100644 --- a/design/prototype/screens/ui-desktop.html +++ b/design/prototype/screens/ui-desktop.html @@ -740,16 +740,17 @@
代理模式
-
+
+

下方「我的规则」仅在智能分流模式生效。全局代理 / 全部直连为一刀切模式,忽略自定义规则(系统强制层仍保留)。

内置规则
-
国内直连
GeoIP / GeoSite CN
-
局域网 / 私网直连
强制,不可关
🔒 强制
-
私有服务走隧道
服务端下发
🔒 服务端
+
国内直连
GeoIP / GeoSite CN
+
局域网 / 私网直连
强制,不可关
🔒 强制
+
私有服务走隧道
服务端下发
🔒 服务端
我的规则 · 有序,首命中生效
diff --git a/design/prototype/screens/ui-mobile.html b/design/prototype/screens/ui-mobile.html index 9b301eb..d74ff90 100644 --- a/design/prototype/screens/ui-mobile.html +++ b/design/prototype/screens/ui-mobile.html @@ -924,11 +924,12 @@
+

「我的规则」仅在智能分流模式生效;全局 / 直连为一刀切,忽略自定义规则(系统强制层仍保留)。

内置规则
国内直连
GeoIP / GeoSite CN
局域网 / 私网直连
强制,不可关
🔒
-
私有服务走隧道
服务端下发
🔒
+
私有服务走隧道
服务端下发
🔒
我的规则 · 首命中生效
@@ -937,6 +938,10 @@
category-ads
GeoSite 规则集
拒绝
+
+ + +
最终(未命中)
FINAL 兜底
走隧道
diff --git a/docs/configurable-proxy-spec.html b/docs/configurable-proxy-spec.html index b164999..b9d05dd 100644 --- a/docs/configurable-proxy-spec.html +++ b/docs/configurable-proxy-spec.html @@ -118,6 +118,15 @@ App ◀────────── 完整 sing-box 配置(含用户规则) 撞到锁定的系统目标(如给私有服务域名加规则)「该域名由系统强制走隧道,此规则不生效」 +

三模式语义 · 用户规则仅「智能分流」生效

+ + + + + +
模式行为用户规则
智能分流(默认)完整规则链:系统层 → 用户规则 → 国内分流 → FINAL生效
全局代理除系统层(LAN/私有服务)外全走隧道忽略
全部直连除系统层(私有服务走隧道)外全直连忽略
+

系统层(层1-3)在任何模式都强制生效——全局/直连只改 FINAL 兜底 + 是否套用用户规则,不会关掉 DNS 劫持/LAN 直连/私有服务。UI 在非智能分流模式下把「我的规则」区灰化并注明"当前模式忽略以下规则"。

+

与现有 Settings「Smart routing」的衔接

现在 Settings 的 Smart routing 是二元开关(= builtin.china_direct)。改为渐进式披露入口:该行变成「分流规则」设置行(右侧显示当前模式 + chevron →),点进去即分流规则屏。休闲用户维持"智能分流"不点即可(等价现在开关开着),高级用户点进去自定义。老的二元开关被三模式(全局/智能分流/直连)涵盖。