feat(web): use history routing and preserve scroll on filter changes
This commit is contained in:
1 parent
1b08854b25
commit
52a8d90c47
9 files changed
+113
-33
No files matched your search
@@ -35,7 +35,7 @@ export async function renderUp(root, { params, query }) {
|
||||
|
||||
root.innerHTML = `<section class="page up-page">
|
||||
<header class="page-head">
|
||||
<a class="back-link" href="#/rank?scope=up&sort=avg_views">← 返回 UP 榜</a>
|
||||
<a class="back-link" href="/rank?scope=up&sort=avg_views">← 返回 UP 榜</a>
|
||||
<a class="button ghost" href="${escapeAttr(up.space_url)}" target="_blank" rel="noreferrer">B 站空间</a>
|
||||
</header>
|
||||
|
||||
|
||||
Reference in new issue
Block a user