From 46b47e3c84f6a713e99f50e80d5dc015eb194859 Mon Sep 17 00:00:00 2001 From: tianyi <13521030702@163.com> Date: Sat, 9 May 2026 10:42:52 +0800 Subject: [PATCH] 1 --- pages/index/index.vue | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/pages/index/index.vue b/pages/index/index.vue index 0f254f4..4d091ed 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -254,6 +254,9 @@ {{putAreaData.title}} + + 清空 + @@ -672,6 +675,16 @@ const info = uni.getSystemInfoSync(); this.navBarHeight = info.statusBarHeight; }, + clearCheck(){ + this.checkYongjin = false + this.putAreaData = {} + this.getAreaData = {} + this.searchForm.getAreaId="" + this.searchForm.putAreaId="" + this.searchForm.order = "" + this.getDelivery() + this.$forceUpdate() + }, // 内部切换方法:带isSwitching保护,防止程序化滚动期间闪回 _switchCategory(index) { if (this.isSwitching) return; @@ -1600,7 +1613,7 @@ text-align: center; background: #f5f5f5; width: 24%; - margin-left: 4%; + margin-right: 4%; border-radius: 10rpx; } @@ -1611,7 +1624,7 @@ overflow: scroll; background: rgba(0, 0, 0, 0.7); position: absolute; - top: 80rpx; + top: 145rpx; right: 0; border-radius: 20rpx; color: #fff; @@ -1624,7 +1637,7 @@ .guize1-qusong { display: flex; - margin: 0 0 20rpx 40rpx; + margin: 0 40rpx 20rpx 0; } .qusong1 {