doum
2026-04-27 7a4b8764b68e0dbaeb90e292a8a4bd47cb379e68
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 })