私域通

This commit is contained in:
老叶
2022-02-10 17:08:31 +08:00
parent a1797c09e5
commit 33c6d3490a
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -60,7 +60,7 @@ Page({
this.setData({
noData: true
})
} else if (this.data.list.length>9&&this.data.list.length == res.data.total) {
} else if (this.data.list.length == res.data.total) {
this.setData({
end: true
})
+1 -1
View File
@@ -33,7 +33,7 @@
<view class="absolute right-0 box-middle mr30 font-28 color-999">{{item.c_time}}</view>
</view>
</block>
<lcb-listmore isLoading='{{loading}}' isEnd='{{end}}' isNoData='{{noData}}'></lcb-listmore>
<lcb-listmore isLoading='{{loading}}' isEnd='{{list.length>9&&end}}' isNoData='{{noData}}'></lcb-listmore>
</view>
</view>
</view>
+1 -1
View File
@@ -72,7 +72,7 @@ Page({
this.setData({
noData: true
})
} else if (this.data.list.length>9&&this.data.list.length == res.data.total) {
} else if (this.data.list.length == res.data.total) {
this.setData({
end: true
})
+1 -1
View File
@@ -22,7 +22,7 @@
</view>
</view>
</block>
<lcb-listmore isLoading='{{loading}}' isEnd='{{end}}' isNoData='{{noData}}'></lcb-listmore>
<lcb-listmore isLoading='{{loading}}' isEnd='{{list.length>9&&end}}' isNoData='{{noData}}'></lcb-listmore>
</view>
</view>