mirror of
https://github.com/jxxghp/MoviePilot-Frontend.git
synced 2026-09-09 01:36:45 +08:00
feat 站点标题链接站点页面
This commit is contained in:
@@ -234,6 +234,11 @@ async function getResourceList() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// 打开站点页面
|
||||||
|
function openSitePage() {
|
||||||
|
window.open(cardProps.site?.url, '_blank')
|
||||||
|
}
|
||||||
|
|
||||||
// 装载时查询站点图标
|
// 装载时查询站点图标
|
||||||
onMounted(() => {
|
onMounted(() => {
|
||||||
getSiteIcon()
|
getSiteIcon()
|
||||||
@@ -258,7 +263,7 @@ onMounted(() => {
|
|||||||
</VAvatar>
|
</VAvatar>
|
||||||
</template>
|
</template>
|
||||||
<VCardItem>
|
<VCardItem>
|
||||||
<VCardTitle class="font-bold">
|
<VCardTitle class="font-bold" @click.stop="openSitePage">
|
||||||
{{ cardProps.site?.name }}
|
{{ cardProps.site?.name }}
|
||||||
</VCardTitle>
|
</VCardTitle>
|
||||||
<VCardSubtitle>{{ cardProps.site?.url }}</VCardSubtitle>
|
<VCardSubtitle>{{ cardProps.site?.url }}</VCardSubtitle>
|
||||||
|
|||||||
Reference in New Issue
Block a user