refactor: deep link for faq

This commit is contained in:
鲁树人 committed 2025-05-19 09:23:14 +09:00
1 parent 3ab73d8369
commit 3541af7a96
19 files changed
+300 -149

No files matched your search

+9 -9
View File
@@ -1,4 +1,4 @@
import { Header4 } from '~/components/HelpText/Headers';
import { Header2, Header3 } from '~/components/HelpText/Headers';
import { SegmentKeyImportInstructions } from './SegmentKeyImportInstructions';
import { KugouAllInstructions } from '~/features/settings/panels/Kugou/KugouAllInstructions.tsx';
import { RiErrorWarningLine } from 'react-icons/ri';
@@ -6,19 +6,19 @@ import { RiErrorWarningLine } from 'react-icons/ri';
export function KugouFAQ() {
return (
<>
<Header4>解锁失败</Header4>
<p>
<Header2>酷狗音乐</Header2>
<Header3 id="failed">解锁失败</Header3>
<p className="mb-2">
酷狗现在对部分用户推送了 <code>kgg</code> 加密格式(安卓、Windows 客户端)。
</p>
<p className="my-4">根据平台不同,你需要提取密钥数据库。</p>
<p className="mb-2">根据平台不同,你需要提取密钥数据库。</p>
<div className="p-2 @container">
<div className="alert alert-warning">
<RiErrorWarningLine className="size-6" />
<p>安卓用户提取密钥需要 root 权限,或注入文件提供器。</p>
</div>
<div className="alert alert-warning mb-2">
<RiErrorWarningLine className="size-6" />
<p>安卓用户提取密钥需要 root 权限,或注入文件提供器。</p>
</div>
<Header3 id="keys">导入密钥</Header3>
<SegmentKeyImportInstructions tab="酷狗密钥" clientInstructions={<KugouAllInstructions />} />
</>
);