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){
console.log("没有下一页数据了")
uni.showToast({
title: "没有更多数据了",
icon:"none",
mask: true,
})
}else{
console.log("翻页")
Params.pagenum++
@ -112,32 +117,32 @@ export default {
</script>
<style lang="scss">
.composite {
.composite_item {
display: flex;
padding: 10rpx 0;
.goods_img {
flex: 1;
.composite {
.composite_item {
display: flex;
align-items: center;
justify-content: center;
}
.goods_info {
flex: 2;
display: flex;
flex-direction: column;
justify-content: space-between;
.goods_name {
font-size: 30rpx;
color: #333;
padding: 10rpx 0;
.goods_img {
flex: 1;
display: flex;
align-items: center;
justify-content: center;
}
.goods_price {
font-size: 30rpx;
color: #eb4450;
.goods_info {
flex: 2;
display: flex;
flex-direction: column;
justify-content: space-between;
.goods_name {
font-size: 30rpx;
color: #333;
}
.goods_price {
font-size: 30rpx;
color: #eb4450;
}
}
}
}
}
</style>