From 7a4b8764b68e0dbaeb90e292a8a4bd47cb379e68 Mon Sep 17 00:00:00 2001
From: doum <doum>
Date: 星期一, 27 四月 2026 17:26:02 +0800
Subject: [PATCH] 小程序端和PC端bug修复

---
 small-program/unpackage/dist/dev/mp-weixin/pages/itinerary/itinerary.js |   31 ++++++++++++++-----------------
 1 files changed, 14 insertions(+), 17 deletions(-)

diff --git a/small-program/unpackage/dist/dev/mp-weixin/pages/itinerary/itinerary.js b/small-program/unpackage/dist/dev/mp-weixin/pages/itinerary/itinerary.js
index 27528ad..4ad5c4a 100644
--- a/small-program/unpackage/dist/dev/mp-weixin/pages/itinerary/itinerary.js
+++ b/small-program/unpackage/dist/dev/mp-weixin/pages/itinerary/itinerary.js
@@ -101,7 +101,7 @@
 try {
   components = {
     uPopup: function () {
-      return Promise.all(/*! import() | node-modules/uview-ui/components/u-popup/u-popup */[__webpack_require__.e("common/vendor"), __webpack_require__.e("node-modules/uview-ui/components/u-popup/u-popup")]).then(__webpack_require__.bind(null, /*! uview-ui/components/u-popup/u-popup.vue */ 483))
+      return Promise.all(/*! import() | node-modules/uview-ui/components/u-popup/u-popup */[__webpack_require__.e("common/vendor"), __webpack_require__.e("node-modules/uview-ui/components/u-popup/u-popup")]).then(__webpack_require__.bind(null, /*! uview-ui/components/u-popup/u-popup.vue */ 491))
     },
     customTabbar: function () {
       return Promise.resolve(/*! import() */).then(__webpack_require__.bind(null, /*! @/components/custom-tabbar/custom-tabbar.vue */ 187))
@@ -173,22 +173,15 @@
   var g8 =
     !_vm.isLoadingMore && !g7 ? !_vm.hasNext && !_vm.dataList.length : null
   if (!_vm._isMounted) {
-    _vm.e0 = function ($event, item) {
-      var _temp = arguments[arguments.length - 1].currentTarget.dataset,
-        _temp2 = _temp.eventParams || _temp["event-params"],
-        item = _temp2.item
-      var _temp, _temp2
-      _vm.activeTab = item.value
-    }
-    _vm.e1 = function ($event) {
+    _vm.e0 = function ($event) {
       _vm.showDone = false
       _vm.currentOrder = null
     }
-    _vm.e2 = function ($event) {
+    _vm.e1 = function ($event) {
       _vm.showCancel = false
       _vm.currentOrder = null
     }
-    _vm.e3 = function ($event) {
+    _vm.e2 = function ($event) {
       _vm.showDelete = false
       _vm.currentOrder = null
     }
@@ -303,11 +296,11 @@
       dataList: []
     };
   },
-  watch: {
-    activeTab: function activeTab() {
-      this.getFirstPageData();
-    }
-  },
+  // watch: {
+  // 	activeTab() {
+  // 	  this.getFirstPageData()
+  // 	}
+  // },
   onLoad: function onLoad(options) {
     console.log(options);
     this.activeTab = -1;
@@ -357,13 +350,17 @@
         this.activeTab = Number(orderStatus);
       }
     }
-    if (this.ac) uni.clearStorageSync("orderStatus");
+    uni.clearStorageSync("orderStatus");
     this.getFirstPageData();
   },
   onReachBottom: function onReachBottom() {
     this.getDataList();
   },
   methods: {
+    changeTab: function changeTab(item) {
+      this.activeTab = item.value;
+      this.getFirstPageData();
+    },
     payOrderFee: function payOrderFee(info) {
       var that = this;
       uni.showLoading({

--
Gitblit v1.9.3