refactor: use ALink to unify link Opening Behavior

This commit is contained in:
Hakadao
2024-11-04 02:02:12 +08:00
parent 6b87241e43
commit c09c65f729
17 changed files with 122 additions and 86 deletions

View File

@@ -163,13 +163,13 @@ function jumpToLoginPage() {
<template v-else>
<!-- watcher later list -->
<TransitionGroup name="list">
<a
<ALink
v-for="(item, index) in currentWatchLaterList"
:key="item.aid"
:href="`https://www.bilibili.com/list/watchlater?bvid=${item.bvid}`"
type="videoCard"
class="group"
flex cursor-pointer
@click.prevent="handleLinkClick(`https://www.bilibili.com/list/watchlater?bvid=${item.bvid}`)"
>
<section
rounded="$bew-radius"
@@ -295,10 +295,9 @@ function jumpToLoginPage() {
<div i-tabler:trash />
</button>
</div>
</div>
</section>
</a>
</ALink>
</TransitionGroup>
<!-- loading -->
<Transition name="fade">