1
xuxy
2024-06-26 e5bbe78c3274c5d43ad14448bdaafc3136e07873
pages/farmer/order-sale/order-sale.vue
@@ -1,6 +1,6 @@
<template>
   <view class="list-container order-sale farmer">
      <view class="component-tab-container">
      <view class="component-tab-container m-t-12">
         <view class="tab-item" :class="[tabIndex==0?'cur':'']" @click="changeIndex(0)">本月</view>
         <view class="tab-item" :class="[tabIndex==1?'cur':'']" @click="changeIndex(1)">全部</view>
      </view>
@@ -74,8 +74,9 @@
      methods: {
         changeIndex(index) {
            if (this.tabIndex !== index) {
               this.changeIndex = index
               this.tabIndex = index
               // 刷新 query
               this.refreshList()
            }
         },
         toDetail(item) {