From 2fc878be072a557d29d1dd0cebdae0683862520e Mon Sep 17 00:00:00 2001 From: Seven Date: Tue, 20 Jan 2026 04:38:11 +0700 Subject: [PATCH] =?UTF-8?q?feat:=20=E4=BC=98=E5=8C=96=E4=BA=A7=E5=93=81?= =?UTF-8?q?=E7=82=B9=E5=87=BB=E5=92=8C=E7=94=B3=E8=B4=AD=E5=A4=84=E7=90=86?= =?UTF-8?q?=E5=87=BD=E6=95=B0=EF=BC=8C=E5=A2=9E=E5=BC=BA=E7=B1=BB=E5=9E=8B?= =?UTF-8?q?=E5=AE=89=E5=85=A8=E5=92=8C=E4=BA=8B=E4=BB=B6=E7=AE=A1=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/product/index.vue | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/views/product/index.vue b/src/views/product/index.vue index 124eb40..a0f4145 100644 --- a/src/views/product/index.vue +++ b/src/views/product/index.vue @@ -33,13 +33,12 @@ async function handleInfinite(event: InfiniteScrollCustomEvent) { }, 500); } -function handleProductClick(product: any) { +function handleProductClick(product: Product) { console.log("查看产品:", product.name); // TODO: 跳转到产品详情 } -function handleSubscribe(product: any, event: Event) { - event.stopPropagation(); +function handleSubscribe(product: Product) { console.log("申购产品:", product.name); // TODO: 实现申购功能 } @@ -124,7 +123,7 @@ onMounted(() => { 我要申购