wkyy 3 years ago
parent
commit
36330f5221
2 changed files with 3 additions and 1 deletions
  1. 1 0
      pages/record/index.vue
  2. 2 1
      pages/user/finance/rechargeList.vue

+ 1 - 0
pages/record/index.vue

@@ -31,6 +31,7 @@
 				</view>
 			</view>
 		</view>
+		<u-divider  v-if="chargeList.length == recordsTotal && recordsTotal != 0" style="margin-top: 10px;background-color: #F2F4F4;">已经到底了</u-divider>
 	</view>
 </template>
 

+ 2 - 1
pages/user/finance/rechargeList.vue

@@ -22,6 +22,7 @@
 				</view>
 			</view>
 		</view>
+		<u-divider  v-if="accountList.length == recordsTotal && recordsTotal != 0" style="margin-top: 10px;background-color: #F2F4F4;">已经到底了</u-divider>
 	</view>
 </template>
 
@@ -74,7 +75,7 @@
 			this.getAccountRecordData();
 		},
 		onReachBottom() {
-			if (this.chargeList.length < this.recordsTotal) {			
+			if (this.accountList.length < this.recordsTotal) {			
 				this.myLoadmore();
 			}
 		},