diff --git a/docs/.vuepress/navbar.ts b/docs/.vuepress/navbar.ts index dc3dc0f..687293e 100644 --- a/docs/.vuepress/navbar.ts +++ b/docs/.vuepress/navbar.ts @@ -13,4 +13,10 @@ export default navbar([ prefix: "/config/", link: "/config/", }, + { + text: "使用帮助", + icon: "circle-info", + prefix: "/help/", + link: "/help/", + }, ]); diff --git a/docs/.vuepress/sidebar.ts b/docs/.vuepress/sidebar.ts index d0d83aa..834ed49 100644 --- a/docs/.vuepress/sidebar.ts +++ b/docs/.vuepress/sidebar.ts @@ -34,6 +34,19 @@ export default sidebar({ prefix: 'config/', icon: 'file', link: 'config/' + }, + { + text: '使用帮助', + prefix: 'help/', + icon: 'circle-info', + link: 'help/', + children: [ + { + text: '滑块验证', + icon: 'sliders', + link: 'slider-verify', + }, + ] } ], }); diff --git a/docs/help/README.md b/docs/help/README.md new file mode 100644 index 0000000..cbb921e --- /dev/null +++ b/docs/help/README.md @@ -0,0 +1,10 @@ +--- +icon: circle-info +--- +# 使用帮助 + +本章节将集合一些 NapCatReforged 的使用帮助文档供用户参考。 + +## 章节导航 + +* [滑块验证帮助](./slider-verify.md) \ No newline at end of file diff --git a/docs/help/images/slider_copy_success_request.png b/docs/help/images/slider_copy_success_request.png new file mode 100644 index 0000000..846d382 Binary files /dev/null and b/docs/help/images/slider_copy_success_request.png differ diff --git a/docs/help/images/slider_napcat_url.png b/docs/help/images/slider_napcat_url.png new file mode 100644 index 0000000..88f09c0 Binary files /dev/null and b/docs/help/images/slider_napcat_url.png differ diff --git a/docs/help/images/slider_prepare.png b/docs/help/images/slider_prepare.png new file mode 100644 index 0000000..a7a888e Binary files /dev/null and b/docs/help/images/slider_prepare.png differ diff --git a/docs/help/images/slider_select_success_request.png b/docs/help/images/slider_select_success_request.png new file mode 100644 index 0000000..7803c16 Binary files /dev/null and b/docs/help/images/slider_select_success_request.png differ diff --git a/docs/help/slider-verify.md b/docs/help/slider-verify.md new file mode 100644 index 0000000..ff83e64 --- /dev/null +++ b/docs/help/slider-verify.md @@ -0,0 +1,30 @@ +--- +icon: sliders +--- +# 滑块验证帮助 + +本页将告诉您如何通过滑块验证。 + +## 准备工作 + +首先打开您的浏览器(本例将使用 Chrome 浏览器作为示例),创建一个新的标签页,然后按下键盘的 F12 或右键页面选择「检查」或「开发者模式」打开调试控制台。 + +接着,在弹出的调试控制台中,选择「网络(Network)」选项卡,然后选中「Fetch/XHR」过滤器即可。 + +![Chrome 浏览器打开调试控制台](./images/slider_prepare.png) + +## 通过滑块验证 + +回到 NapCatReforged,复制其提供的滑块验证链接,将其复制到刚才打开调试控制台的浏览器标签页中并打开。 + +![NapCatReforged 的滑块验证提示](./images/slider_napcat_url.png) + +然后正常进行滑块验证。验证完成后,在调试控制台的请求列表中选择名为 `cap_union_new_verify` 的请求,然后在弹出的页面中选择「预览」选项卡。 + +![选择滑块验证的请求](./images/slider_select_success_request.png) + +接着,我们右键该选项卡中内容的第一行,然后在弹出的菜单中选择「复制 object」将其内容复制到剪贴板中。 + +![复制滑块验证的请求](./images//slider_copy_success_request.png) + +然后,将刚才复制的内容粘贴到 NapCatReforged 指定的文件中并保存,等待 NapCatReforged 进一步处理即可。 \ No newline at end of file