From 51d47c7ca668baf6f30a0ac804c4c0c62efe4c78 Mon Sep 17 00:00:00 2001 From: BTMuli Date: Wed, 11 Mar 2026 17:32:40 +0800 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20=E8=B7=B3=E8=BD=AC=E5=A4=96?= =?UTF-8?q?=E9=83=A8=E5=90=88=E9=9B=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../viewPost/vp-overlay-collection.vue | 37 +++++++++++-------- 1 file changed, 22 insertions(+), 15 deletions(-) diff --git a/src/components/viewPost/vp-overlay-collection.vue b/src/components/viewPost/vp-overlay-collection.vue index b7864f23..0b478305 100644 --- a/src/components/viewPost/vp-overlay-collection.vue +++ b/src/components/viewPost/vp-overlay-collection.vue @@ -2,20 +2,20 @@
- {{ props.collection.collection_title }} + {{ props.collection.collection_title }} 合集ID:{{ props.collection.collection_id }}
-
-
- +
+
+ 加载中...
@@ -26,6 +26,7 @@ import TOverlay from "@comp/app/t-overlay.vue"; import TPostcard from "@comp/app/t-postcard.vue"; import bbsReq from "@req/bbsReq.js"; import postReq from "@req/postReq.js"; +import { openUrl } from "@tauri-apps/plugin-opener"; import { nextTick, onMounted, shallowRef, useTemplateRef, watch } from "vue"; type TpoCollectionProps = { collection: TGApp.BBS.Post.Collection; gid: number }; @@ -64,6 +65,10 @@ async function refreshInfo(): Promise { async function refreshPosts(): Promise { postList.value = await postReq.collection(props.collection.collection_id); } + +async function toOuterCollect(): Promise { + await openUrl(`https://www.miyoushe.com/ys/collection/${props.collection.collection_id}`); +}