From c9a811afb0d695539d14886169790a012ef9b832 Mon Sep 17 00:00:00 2001
From: chenteng <17864191895@163.com>
Date: Fri, 7 Aug 2020 13:47:58 +0800
Subject: [PATCH] =?UTF-8?q?=E8=AE=AE=E4=BA=8B=E5=8E=85=20=E8=AE=AE?=
=?UTF-8?q?=E9=A2=98=E8=AF=84=E8=AE=BA=20=E6=BB=91=E5=8A=A8=E9=97=AE?=
=?UTF-8?q?=E9=A2=98?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
pages/topics/interactive/topicArticle/index.js | 1 +
pages/topics/interactive/topicArticle/index.wxml | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/pages/topics/interactive/topicArticle/index.js b/pages/topics/interactive/topicArticle/index.js
index 952e848..f99d49f 100644
--- a/pages/topics/interactive/topicArticle/index.js
+++ b/pages/topics/interactive/topicArticle/index.js
@@ -283,6 +283,7 @@ Page({
const touchMoveY = e.changedTouches[0].clientY//滑动变化坐标
//获取滑动角度
const angle = that.angle({ X: startX, Y: startY }, { X: touchMoveX, Y: touchMoveY })
+ if (Math.abs(angle) > 30) return;
this.data.commentList.forEach((item,index) => {
item.isTouchMove = false
if (currentIndex == index) {
diff --git a/pages/topics/interactive/topicArticle/index.wxml b/pages/topics/interactive/topicArticle/index.wxml
index a1c7992..3464bf7 100644
--- a/pages/topics/interactive/topicArticle/index.wxml
+++ b/pages/topics/interactive/topicArticle/index.wxml
@@ -68,7 +68,7 @@
- 删除deleteTopic
+ 删除