Skip to content

Commit 3849fef

Browse files
committed
update
1 parent f117631 commit 3849fef

File tree

3 files changed

+64
-18
lines changed

3 files changed

+64
-18
lines changed
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
---
2+
import Qrcode from "@components/Qrcode.astro";
3+
---
4+
5+
<div>
6+
<input type="checkbox" id="agree-crash-support-group-rules" />
7+
<label for="agree-crash-support-group-rules">我同意遵守入群须知</label>
8+
<div class="crash-support-group-info">
9+
<p><a href="https://qm.qq.com/q/nG0Ti1kJri">Minecraft 报错崩溃交流群 (666546887)</a></p>
10+
<Qrcode url="https://qm.qq.com/q/nG0Ti1kJri" />
11+
</div>
12+
</div>
13+
14+
<script>
15+
const key = "agree-crash-support-group-rules";
16+
const agree = document.getElementById(key);
17+
if (agree && agree instanceof HTMLInputElement) {
18+
const initValue = localStorage.getItem(key);
19+
agree.checked = initValue === "true";
20+
agree.addEventListener("change", () => {
21+
localStorage.setItem(key, String(agree.checked));
22+
});
23+
window.addEventListener("storage", (event) => {
24+
if (event.key === key) agree.checked = event.newValue === "true";
25+
});
26+
}
27+
</script>
28+
29+
<style>
30+
.crash-support-group-info {
31+
display: none;
32+
}
33+
label,
34+
input {
35+
cursor: pointer;
36+
user-select: none;
37+
}
38+
#agree-crash-support-group-rules:checked + label + .crash-support-group-info {
39+
display: block;
40+
}
41+
</style>

src/content/docs/guides/crash-support-group.mdx

Lines changed: 22 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -7,28 +7,33 @@ tableOfContents: false
77
lastUpdated: 2024-03-05T17:00:00+08:00
88
---
99

10-
import Qrcode from "@components/Qrcode.astro";
10+
import AgreeCrashSupportGroupRules from "@components/AgreeCrashSupportGroupRules.astro";
1111

12-
:::note[加入群聊前请注意]
12+
:::note[入群须知]
1313

1414
**本群仅处理游戏报错崩溃问题,无关话题请前往其他群聊讨论。**
1515

16-
- 游戏非正常退出时,请点击左下角导出游戏崩溃日志按钮,注意**不是日志按钮**,并完整发送生成的报错压缩包
17-
- 遇到其他问题时,请详细说明情况并提供相关截图,以便我们提供帮助
18-
- 使用整合包时,请说明具体的整合包名称与版本
19-
- 请保持耐心,群管理和群友会协助解决问题。严禁辱骂、催促他人
20-
- 禁止讨论政治、色情、违法、金钱交易等敏感内容,禁止人身攻击、造谣诽谤等行为
21-
- 禁止刷屏、灌水、挑起争端、发泄情绪等影响群聊秩序的行为
22-
- 禁止使用第三方插件发送特殊消息;禁止讨论多人游戏作弊工具
23-
- 本群仅支持 HMCL 启动器相关问题。PCL 启动器用户请加入 978054335 群
24-
- 请勿重复发送文件,如需重新获取关注,请引用之前发送的消息
25-
- 因人数限制,已解决问题的用户会被移出群聊。如遇新问题可再次加入
26-
- 本群仅处理游戏崩溃相关问题,其他话题请到其他群讨论
16+
如果你在游戏过程中遇到非正常退出等问题,欢迎加入报错崩溃交流群咨询解决方案。
2717

28-
:::
18+
由于群内人数较多,问题解决后我们会移出对应用户。若你之后再次遇到新的问题,仍可重新加入群聊寻求帮助。
19+
20+
游戏非正常退出时,请点击左下角导出游戏崩溃日志按钮(注意不是日志按钮)并完整发送生成的报错压缩包
21+
22+
遇到其他问题时,请详细说明情况并提供相关截图,以便我们提供帮助
23+
24+
使用整合包时,请说明具体的整合包名称与版本
25+
26+
请保持耐心,群管理和群友会协助解决问题。严禁辱骂、催促他人
2927

30-
如果你遇到了游戏非正常退出问题,欢迎加入报错崩溃交流群咨询解决方案:[Minecraft 报错崩溃交流群 (666546887)](https://qm.qq.com/q/nG0Ti1kJri)
28+
禁止讨论政治、色情、违法、金钱交易等敏感内容,禁止人身攻击、造谣诽谤等行为
3129

32-
<Qrcode url="https://qm.qq.com/q/nG0Ti1kJri" />
30+
禁止刷屏、灌水、挑起争端、发泄情绪等影响群聊秩序的行为
31+
32+
禁止使用第三方插件发送特殊消息;禁止讨论多人游戏作弊工具
33+
34+
本群仅支持 HMCL 启动器相关问题。PCL 启动器用户请加入 978054335 群
35+
36+
请勿重复发送文件,如需重新获取关注,请引用之前发送的消息
37+
:::
3338

34-
由于加群人数过多,我们会移出问题已解决的用户。如果你在被移出后遇到了新的问题需要求助,你可以再次加群。
39+
<AgreeCrashSupportGroupRules />

src/content/docs/guides/faq.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: 各大问题集合
2+
title: 常见问题
33
contributors:
44
- LIPiston
55
- Mine-diamond

0 commit comments

Comments
 (0)