Compare commits

2 Commits

Author SHA1 Message Date
wangyang
57ed355def Merge remote-tracking branch 'origin/develop' into develop 2025-09-16 14:20:50 +08:00
wangyang
2c2950003c CRM-走访查看-优化新增走访报告报错问题 2025-09-16 14:20:38 +08:00

View File

@@ -28,7 +28,8 @@
class="scroll-h" :class="{ 'loading-scroll': cssFlag }">
<view class="white-bg margin-bottom20" v-for="(item, index) in list" :key="index"
@longpress="touchstart(item)"
@tap="touchend"
longpress-time="1500"
@tap="touchend(item)"
>
<view>
<view class="report-list">
@@ -257,7 +258,11 @@ function touchstart(item) {
}
let isLongPressed = ref(false);
function touchend() {
function touchend(item) {
visistId.value = item.visistId
cusName.value = item.cusName
cusId.value = item.cusId
status.value = item.status
// 如果未触发长按,则执行点击逻辑
if (!isLongPressed.value) {
uni.navigateTo({