Commit 2cf27647029c9bc5108c4d02c40ea95e78235fe3

Authored by wangfan
1 parent 54c58b1c

ui fix

@@ -74,6 +74,8 @@ Page({ @@ -74,6 +74,8 @@ Page({
74 if(dl<this.limit && hasReachBottom){ 74 if(dl<this.limit && hasReachBottom){
75 this.hasMore=false; 75 this.hasMore=false;
76 obj.hasMore=false; 76 obj.hasMore=false;
  77 + }else{
  78 + this.offset+=this.limit;
77 } 79 }
78 this.setData(obj) 80 this.setData(obj)
79 }) 81 })
@@ -18,5 +18,5 @@ @@ -18,5 +18,5 @@
18 <image src="http://qn.colorcun.com/custom/lite-yd/image/history-is-empty.png"></image> 18 <image src="http://qn.colorcun.com/custom/lite-yd/image/history-is-empty.png"></image>
19 <view>暂时还没有客户</view> 19 <view>暂时还没有客户</view>
20 </view> 20 </view>
21 - <view wx:if="{{!hasMore}}" class="list-rows">已经到底了</view> 21 + <view wx:if="{{!hasMore}}" class="row flex-vc">已经到底了</view>
22 </view> 22 </view>
@@ -21,6 +21,9 @@ http://qn.colorcun.com/custom/lite-yd/image/icon-cz.png @@ -21,6 +21,9 @@ http://qn.colorcun.com/custom/lite-yd/image/icon-cz.png
21 .row .more{ 21 .row .more{
22 margin-left: 20rpx; 22 margin-left: 20rpx;
23 } 23 }
  24 +.row:last-child{
  25 + border-bottom-width: 0;
  26 +}
24 27
25 .history-is-empty{ 28 .history-is-empty{
26 margin: 200rpx auto; 29 margin: 200rpx auto;