From d5256f772f2aedbcfc81710336b78b6ee1f63743 Mon Sep 17 00:00:00 2001 From: yandadaFreedom Date: Mon, 13 Oct 2025 11:01:06 +0800 Subject: [PATCH 1/2] =?UTF-8?q?feat:=20=E6=96=B0=E5=A2=9E=E4=BE=A7?= =?UTF-8?q?=E6=BB=91=E8=B7=A8=E7=AB=AF=E7=BB=84=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/wx/mpx-swipe-action.mpx | 474 ++++++++++++++++++ 1 file changed, 474 insertions(+) create mode 100644 packages/webpack-plugin/lib/runtime/components/wx/mpx-swipe-action.mpx diff --git a/packages/webpack-plugin/lib/runtime/components/wx/mpx-swipe-action.mpx b/packages/webpack-plugin/lib/runtime/components/wx/mpx-swipe-action.mpx new file mode 100644 index 0000000000..1ad5bc4893 --- /dev/null +++ b/packages/webpack-plugin/lib/runtime/components/wx/mpx-swipe-action.mpx @@ -0,0 +1,474 @@ + + + + + + + From 82deff31646890109c4d1bfe95c30d27b576ff68 Mon Sep 17 00:00:00 2001 From: yandadaFreedom Date: Mon, 13 Oct 2025 11:04:34 +0800 Subject: [PATCH 2/2] =?UTF-8?q?chore:=20=E4=BF=AE=E6=94=B9=E5=A4=87?= =?UTF-8?q?=E6=B3=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../lib/runtime/components/wx/mpx-swipe-action.mpx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/webpack-plugin/lib/runtime/components/wx/mpx-swipe-action.mpx b/packages/webpack-plugin/lib/runtime/components/wx/mpx-swipe-action.mpx index 1ad5bc4893..3be21b9850 100644 --- a/packages/webpack-plugin/lib/runtime/components/wx/mpx-swipe-action.mpx +++ b/packages/webpack-plugin/lib/runtime/components/wx/mpx-swipe-action.mpx @@ -135,7 +135,7 @@ createComponent({ return true } - // web 环境 disable 不能在拖拽过程中实施解锁 + // tips: web 环境 disable 不能在拖拽过程中实时解锁 if (!this.isWebMode && this.gestureDirection === 'pending') { return true }