doum
2026-04-30 7a0b33a5f2e0ba589bf35a1b8d896700a21f94a4
small-program/shop/pages/wallet/wallet.vue
@@ -58,8 +58,8 @@
                  </view>
               </view>
               <view class="item-date-bottom">
                  <text>收入:¥{{(countDataList.totalIncome || 0).toFixed(2)}}</text>
                  <text>支出:¥{{(countDataList.totalExpense || 0).toFixed(2)}}</text>
                  <text>收入:¥{{((countDataList.totalIncome || 0) / 100).toFixed(2)}}</text>
                  <text>支出:¥{{((countDataList.totalExpense || 0) / 100).toFixed(2)}}</text>
               </view>
            </view>
            <view class="item-list">
@@ -114,7 +114,7 @@
            <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(0)" :class="tpe == 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>
@@ -215,7 +215,9 @@
         this.countDataList={}
         this.show = false
         this.initDateStr()
         uni.$on('accountListReload', this.getFirstPageData())
         uni.$on('accountListReload', ()=>{
            this.getFirstPageData()
         })
      },
      methods:{
         bindChange1 (e) {
@@ -238,10 +240,6 @@
               return
            }
            this.loading=true
            if(this.currentPage == 1){
               this.hasNext = true
               this.dataList=[]
            }
            this.$u.api.shopPage({
               capacity: 10,
               model: {
@@ -253,6 +251,10 @@
               page: this.currentPage
            }).then(res => {
               if (res.code == 200) {
                  if(res.data.page == 1){
                     this.hasNext = true
                     this.dataList=[]
                  }
                  this.dataList.push(...res.data.records)
                  this.total = res.data.total
                  this.currentPage = this.currentPage+1
@@ -373,7 +375,7 @@
            
            this.getShopStatistics()
            this.getShopSummary()
            this.getShopPage()
            this.getFirstPageData()
         },
         checkActive(index){
            this.tempActive =index