MrShi
2026-04-29 32215c93706df98eb06e518ed3e59a58bf571436
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">
@@ -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