feat(frontend): HashRouter->BrowserRouter 干净URL可独立索引 + 静态预渲染(SSR注入#root/robots/sitemap) + logo回顶

This commit is contained in:
QihuAI Design committed 2026-07-13 15:01:53 +08:00
1 parent a1bea39d9f
commit d404aa4e29
12 files changed
+5859 -5607

No files matched your search

+3 -3
View File
@@ -678,8 +678,8 @@ const MembershipContent: React.FC<MembershipContentProps> = ({ user, memberPlan
</div>
<div className="membership-actions">
<button className="btn-primary" onClick={() => { window.location.hash = '#/pricing'; }}>续费会员</button>
<button className="btn-secondary" onClick={() => { window.location.hash = '#/pricing'; }}>升级会员</button>
<button className="btn-primary" onClick={() => { window.location.href = '/pricing'; }}>续费会员</button>
<button className="btn-secondary" onClick={() => { window.location.href = '/pricing'; }}>升级会员</button>
</div>
</>
)}
@@ -692,7 +692,7 @@ const MembershipContent: React.FC<MembershipContentProps> = ({ user, memberPlan
onClick={(e) => {
e.preventDefault();
e.stopPropagation();
window.location.hash = '#/pricing';
window.location.href = '/pricing';
}}
>
开通会员