From 581befbab513fdae0c0afaa6f6454809bc26d1b3 Mon Sep 17 00:00:00 2001 From: Celeter Date: Sat, 12 Sep 2020 14:10:54 +0800 Subject: [PATCH] =?UTF-8?q?=E6=BA=90=E8=B0=83=E8=AF=95=E5=A2=9E=E5=8A=A0?= =?UTF-8?q?=E5=9B=BE=E7=89=87=E6=A0=B7=E5=BC=8F=E7=AD=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/src/main/assets/web/index.html | 22 ++++++++++++++++------ app/src/main/assets/web/index.js | 2 -- 2 files changed, 16 insertions(+), 8 deletions(-) diff --git a/app/src/main/assets/web/index.html b/app/src/main/assets/web/index.html index f4de68c81..2af52d9a4 100644 --- a/app/src/main/assets/web/index.html +++ b/app/src/main/assets/web/index.html @@ -14,7 +14,7 @@
基本
-
源URL :
+
源域名 :
@@ -33,16 +33,16 @@
+
+
源注释 :
+ +
登录地址:
-
-
注释:
- -
链接验证:
+
+
替换规则:
+ +
+
+
图片样式:
+ +

其它规则
diff --git a/app/src/main/assets/web/index.js b/app/src/main/assets/web/index.js index 13e79007a..7b0ec52a3 100644 --- a/app/src/main/assets/web/index.js +++ b/app/src/main/assets/web/index.js @@ -33,7 +33,6 @@ const RuleJSON = (() => { ruleJson.weight = 0; ruleJson.enabled = true; ruleJson.enabledExplore = true; - ruleJson.bookSourceComment = "" // 搜索规则 $$('.rules .ruleSearch').forEach(item => searchJson[item.title] = ''); @@ -160,7 +159,6 @@ function rule2json() { RuleJSON.ruleContent = contentJson; RuleJSON.lastUpdateTime = RuleJSON.lastUpdateTime == '' ? 0 : parseInt(RuleJSON.lastUpdateTime); - RuleJSON.bookSourceComment = RuleJSON.bookSourceComment == '' ? "" : String(RuleJSON.bookSourceComment); RuleJSON.customOrder = RuleJSON.customOrder == '' ? 0 : parseInt(RuleJSON.customOrder); RuleJSON.weight = RuleJSON.weight == '' ? 0 : parseInt(RuleJSON.weight); RuleJSON.bookSourceType == RuleJSON.bookSourceType == '' ? 0 : parseInt(RuleJSON.weight);