uni.showToast弹窗

This commit is contained in:
jqtmviyu@gmail.com 2021-02-25 22:19:57 +08:00
parent e24fdd64d3
commit fa45fef42e

View File

@ -86,6 +86,11 @@ export default {
// //
if(Params.pagenum >= TotalPage){ if(Params.pagenum >= TotalPage){
console.log("没有下一页数据了") console.log("没有下一页数据了")
uni.showToast({
title: "没有更多数据了",
icon:"none",
mask: true,
})
}else{ }else{
console.log("翻页") console.log("翻页")
Params.pagenum++ Params.pagenum++
@ -112,7 +117,7 @@ export default {
</script> </script>
<style lang="scss"> <style lang="scss">
.composite { .composite {
.composite_item { .composite_item {
display: flex; display: flex;
padding: 10rpx 0; padding: 10rpx 0;
@ -139,5 +144,5 @@ export default {
} }
} }
} }
} }
</style> </style>