diff --git a/app/src/main/java/io/legado/app/data/entities/rule/TocRule.kt b/app/src/main/java/io/legado/app/data/entities/rule/TocRule.kt index 60aabaa41..c484e7226 100644 --- a/app/src/main/java/io/legado/app/data/entities/rule/TocRule.kt +++ b/app/src/main/java/io/legado/app/data/entities/rule/TocRule.kt @@ -4,5 +4,7 @@ data class TocRule( var chapterList: String? = null, var chapterName: String? = null, var chapterUrl: String? = null, + var isVip: String? = null, + var updateTime: String? = null, var nextTocUrl: String? = null ) \ No newline at end of file diff --git a/app/src/main/java/io/legado/app/ui/book/source/edit/BookSourceEditActivity.kt b/app/src/main/java/io/legado/app/ui/book/source/edit/BookSourceEditActivity.kt index ef7715391..87c7bea39 100644 --- a/app/src/main/java/io/legado/app/ui/book/source/edit/BookSourceEditActivity.kt +++ b/app/src/main/java/io/legado/app/ui/book/source/edit/BookSourceEditActivity.kt @@ -194,6 +194,8 @@ class BookSourceEditActivity : add(EditEntity("chapterList", tr?.chapterList, R.string.rule_chapter_list)) add(EditEntity("chapterName", tr?.chapterName, R.string.rule_chapter_name)) add(EditEntity("chapterUrl", tr?.chapterUrl, R.string.rule_chapter_url)) + add(EditEntity("isVip", tr?.isVip, R.string.rule_is_vip)) + add(EditEntity("updateTime", tr?.updateTime, R.string.rule_update_time)) add(EditEntity("nextTocUrl", tr?.nextTocUrl, R.string.rule_next_toc_url)) } //正文页 diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index a59bd05c7..be46dfa7e 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -380,8 +380,10 @@ 目录URL规则(tocUrl) 目录下一页规则(nextTocUrl) 目录列表规则(chapterList) - 章节名称规则(ruleChapterName) + 章节名称规则(ChapterName) 章节URL规则(chapterUrl) + 是否VIP(isVip) + 更新时间(updateTime) 正文规则(content) 正文下一页URL规则(nextContentUrl) webJs