mip-shell-xiaoshuo

说明

为极速小说阅读器定制的 mip-shell, 详细使用方法见wiki

简单示例

为极速小说阅读器定制的 mip-shell-xiaoshuo 目录页传入格式。pageType分为四种:'catalog'目录页,'page'小说内容页,'detail'小说详情页,'bookEnd'小说结尾页。officeId为熊掌号id。

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
<mip-shell-xiaoshuo mip-shell="" id="xiaoshuo-shell"> <script type="application/json"> { "routes": [{ "pattern": "mipx-xiaoshuo-(\\d)+-(\\d)+.html", "meta": { "header": { "show": true, "title": "神武天帝" }, "pageType": "page", "officeId": "160957******0959", "footer": { "actionGroup": [ {"name": "catalog", "text": "目录"}, {"name": "darkmode", "text": "夜间模式", "text2": "白天模式"}, {"name": "settings", "text": "更多设置"} ], "hrefButton": { "previous": "上一页", "next": "下一页" } }, "book": { "title": "将夜", "chapterNumber": "共1347章", "chapterStatus": "已完结" }, "catalog": [ { "name": "第1章 灵魂重生", "link": "mipx-xiaoshuo-1-1.html", "pages": [ "mipx-xiaoshuo-1-1.html", "mipx-xiaoshuo-1-2.html", "mipx-xiaoshuo-1-3.html" ] } ] } }] } </script> </mip-shell-xiaoshuo>

routes

参考mip-shell用法