diff --git a/src/contentScripts/views/WatchLater/WatchLater.vue b/src/contentScripts/views/WatchLater/WatchLater.vue index ae5770af..5ea4620a 100644 --- a/src/contentScripts/views/WatchLater/WatchLater.vue +++ b/src/contentScripts/views/WatchLater/WatchLater.vue @@ -136,6 +136,18 @@ function handlePlayAll() { openLinkToNewTab('https://www.bilibili.com/list/watchlater') } +function handleLinkClick(url: string) { + if (settings.value.videoCardLinkOpenMode === 'drawer') { + openIframeDrawer(url) // 在抽屉打开 + } + else if (settings.value.videoCardLinkOpenMode === 'currentTab') { + window.open(url, '_self') // 在当前标签页打开 + } + else { + openLinkToNewTab(url) // 在新标签页打开 + } +} + function jumpToLoginPage() { location.href = 'https://passport.bilibili.com/login' } @@ -154,11 +166,10 @@ function jumpToLoginPage() {
{{ item.title }} @@ -249,6 +260,7 @@ function jumpToLoginPage() { duration-300 pr-2 :href="`//space.bilibili.com/${item.owner.mid}`" target="_blank" + @click.stop >