From 8cf962f6621ccb3559d7a8398841c052328a7e57 Mon Sep 17 00:00:00 2001 From: wm <2747639460@qq.com> Date: Thu, 23 Jul 2026 07:52:16 +0800 Subject: [PATCH] =?UTF-8?q?fix(plan-card):=20=E6=A0=B9=E8=A7=86=E5=9B=BE?= =?UTF-8?q?=E8=A1=A5=20bindtap=3D"onTap"=EF=BC=8C=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=E7=82=B9=E5=87=BB=E8=AE=A1=E5=88=92=E5=8D=A1=E7=89=87=E6=97=A0?= =?UTF-8?q?=E6=B3=95=E8=BF=9B=E5=85=A5=E8=AF=A6=E6=83=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 根因:此前重写 my-plans 时改为由 plan-card 自身的 target/onTap 负责跳转, 但 plan-card/index.wxml 根视图漏绑 bindtap="onTap",onTap 方法虽写好却从未触发, 导致『我的训练计划』页点击卡片无任何反应、进不去计划详情。 - 修复:plan-card 根 加 bindtap="onTap" 与 hover-class="pc--hover"。 - 体验:新增 .pc--hover 按压反馈(轻微缩放 + Volt 绿描边 var(--gold-line)),token 均在 app.wxss 已定义。 --- miniprogram/components/plan-card/index.wxml | 2 +- miniprogram/components/plan-card/index.wxss | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/miniprogram/components/plan-card/index.wxml b/miniprogram/components/plan-card/index.wxml index e251d44..0f316ab 100644 --- a/miniprogram/components/plan-card/index.wxml +++ b/miniprogram/components/plan-card/index.wxml @@ -1,4 +1,4 @@ - +