From 281dffdccd4df4f2eb68be117824e593364dd65c Mon Sep 17 00:00:00 2001 From: zoujing Date: Mon, 25 May 2026 16:36:03 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=89=93=E5=BC=80=E8=AF=A6=E6=83=85?= =?UTF-8?q?=E9=A1=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ChatModule/LongTextGuideCardPreview/index.vue | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/pages/ChatModule/LongTextGuideCardPreview/index.vue b/src/pages/ChatModule/LongTextGuideCardPreview/index.vue index 052e978..2c005bd 100644 --- a/src/pages/ChatModule/LongTextGuideCardPreview/index.vue +++ b/src/pages/ChatModule/LongTextGuideCardPreview/index.vue @@ -2,7 +2,7 @@ - + {{ item.badge }} @@ -34,6 +34,7 @@ const props = defineProps({ }); const longTextCard = { + type: 'longTextCard', badge: "漂流攻略", badgeTone: "amber", title: "下水之前,先听小七唠两句", @@ -42,6 +43,7 @@ const longTextCard = { } const longTextCardSnap = { + type: 'longTextCardSnap', badge: "景点故事", badgeTone: "blue", title: "小七孔古桥 · 走了三百年的石拱", @@ -50,6 +52,7 @@ const longTextCardSnap = { } const longTextCardRoute = { + type: 'longTextCardRoute', badge: "路线指引", badgeTone: "green", title: "漂完卧龙潭,顺道去鸳鸯湖", @@ -58,6 +61,7 @@ const longTextCardRoute = { } const longTextCardScenicSpot = { + type: 'longTextCardScenicSpot', badge: "拍照攻略", badgeTone: "indigo", title: "鸳鸯湖玻璃船,这样拍才不亏", @@ -80,6 +84,10 @@ const item = computed(() => { } }); +const openDetail = (item) => { + /// 这里可以根据 item.type 来区分打开不同的详情页,目前先统一处理 +}; +