MrShi
2026-05-08 8a899e63502939dbf034b90ba46741e0faa9023c
app/pages/wallet/wallet.vue
@@ -109,10 +109,10 @@
            <view class="sear-item">
               <view class="sear-item-label">交易类型</view>
               <view class="sear-item-list">
                  <view  @click="checkType(0)" :class="tempType == 0?'sear-item-list-item active':'sear-item-list-item'">全部</view>
                  <view  @click="checkType(1)" :class="tempType == 1?'sear-item-list-item active':'sear-item-list-item'">订单结算</view>
                  <view  @click="checkType(2)" :class="tempType == 2?'sear-item-list-item active':'sear-item-list-item'">提现</view>
                  <view  @click="checkType(4)" :class="tempType == 4?'sear-item-list-item active':'sear-item-list-item'">提现退回</view>
                  <view  @click="checkType('')" :class="tempType === '' ? 'sear-item-list-item active':'sear-item-list-item'">全部</view>
                  <view  @click="checkType(0)" :class="tempType === 0 ?'sear-item-list-item active':'sear-item-list-item'">订单结算</view>
                  <view  @click="checkType(1)" :class="tempType === 1?'sear-item-list-item active':'sear-item-list-item'">提现</view>
                  <view  @click="checkType(2)" :class="tempType === 2?'sear-item-list-item active':'sear-item-list-item'">提现退回</view>
                  <view style="width: 216rpx; height: 0;"></view>
               </view>
            </view>
@@ -169,9 +169,9 @@
            active:0,
            wordsWidth:250,
            tempActive :0,
            type:0,
            type:'',
            words:'全部',
            tempType :0,
            tempType :'',
            dateType :0,
            dataList:[],
            startDate:null,
@@ -196,7 +196,7 @@
         this.active=0
         this.wordsWidth=250
         this.words='全部'
         this.tempActive=0
         this.tempActive=''
         this.dateType=0
         this.countData={}
         this.tempStartDate=null
@@ -246,7 +246,7 @@
            console.log({
                  startTime: this.startDate || this.defaultStartDate,
                  endTime: this.endDate || this.defaultEndDate,
                  type: this.type === 1?0:(this.type === 2?1:(this.type === 3?2:'')),
                  type: this.type,
                  optType: this.active === 1?1:(this.active === 2?-1:'')
               })
            this.$u.api.driverPage({
@@ -254,7 +254,7 @@
               model: {
                  startTime: this.startDate || this.defaultStartDate,
                  endTime: this.endDate || this.defaultEndDate,
                  type: this.type === 1?0:(this.type === 2?1:(this.type === 3?2:'')),
                  type: this.type,
                  optType: this.active === 1?1:(this.active === 2?-1:'')
               },
               page: this.currentPage
@@ -328,11 +328,11 @@
               this.type = this.tempType
               this.show = false
               this.wordsWidth = 250
               if(this.active === 0 && this.type === 0){
               if(this.active === 0 && this.type === ''){
                  this.words = '全部'
               }else {
                  let t1 = this.active === 1 ? '收入 ':(this.active === 2 ? '支出 ' : '');
                  let t2 = this.type === 1 ? '订单结算' : (this.type === 2 ? '提现': (this.type === 3 ? '订单结算退回' : (this.type === 4 ? '提现退回' : '')))
                  let t2 = this.type === 0 ? '订单结算' : (this.type === 1 ? '提现': (this.type === 2 ? '提现退回' : ''))
                  if(t1 !='' && t2 !=''){
                     this.wordsWidth = 350
                  }
@@ -340,9 +340,9 @@
               }
            } else {
               this.tempActive = 0
               this.tempType = 0
               this.tempType = ''
               this.active = 0
               this.type = 0
               this.type = ''
               this.words = '全部'
               this.wordsWidth = 250
               this.show = false