From c340f69f24258da1c64c158026819f789e2a2f24 Mon Sep 17 00:00:00 2001
From: MrShi <1878285526@qq.com>
Date: 星期二, 28 四月 2026 21:17:18 +0800
Subject: [PATCH] 小程序改bug
---
small-program/pages/itinerary/itinerary.vue | 18 +++++++++++-------
1 files changed, 11 insertions(+), 7 deletions(-)
diff --git a/small-program/pages/itinerary/itinerary.vue b/small-program/pages/itinerary/itinerary.vue
index 2059d15..db83c4b 100644
--- a/small-program/pages/itinerary/itinerary.vue
+++ b/small-program/pages/itinerary/itinerary.vue
@@ -14,7 +14,7 @@
:key="item.value"
class="filter-tab"
:class="{ active: activeTab === item.value }"
- @tap="activeTab = item.value"
+ @click="changeTab(item) "
>
{{ item.label }}
</view>
@@ -254,11 +254,11 @@
dataList: []
}
},
- watch: {
- activeTab() {
- this.getFirstPageData()
- }
- },
+ // watch: {
+ // activeTab() {
+ // this.getFirstPageData()
+ // }
+ // },
onLoad(options) {
console.log(options )
this.activeTab = -1
@@ -306,7 +306,6 @@
this.activeTab = Number(orderStatus)
}
}
- if(this.ac)
uni.clearStorageSync("orderStatus")
this.getFirstPageData()
},
@@ -314,6 +313,10 @@
this.getDataList();
},
methods: {
+ changeTab(item){
+ this.activeTab = item.value
+ this.getFirstPageData()
+ },
payOrderFee(info){
var that = this;
uni.showLoading({ title: '鍙戣捣鏀粯涓�...', mask: true })
@@ -876,6 +879,7 @@
color: #8C939F;
}
.price-line{
+ padding: 0 30rpx;
box-sizing: border-box;
display: flex;
align-items: flex-end;
--
Gitblit v1.9.3