diff --git a/page_fenbao/statulist/fault/index.vue b/page_fenbao/statulist/fault/index.vue index 3b5db07..d85611c 100644 --- a/page_fenbao/statulist/fault/index.vue +++ b/page_fenbao/statulist/fault/index.vue @@ -21,7 +21,12 @@ 上报时间 {{item.createTime}} - + + + 暂无更多故障记录... + @@ -39,7 +44,8 @@ isLoading: false, // 是否正在加载数据 noMoreData: false, // 是否没有更多数据 total: 0, - keyword:'' + keyword:'', + showflag: false } }, onLoad() { @@ -59,6 +65,11 @@ this.$u.get('/app/abnormal/list?pageNum=' + this.pagenum + '&pageSize='+this.pagesize + '&keyword='+this.keyword).then((res) => { if (res.code == 200) { this.total = res.total + if (this.total > 0) { + this.showflag = false + } else { + this.showflag = true + } if (res.rows.length > 0) { // 有数据,追加到列表 this.wateringList = this.wateringList.concat(res.rows) diff --git a/page_fenbao/statulist/myorder/index.vue b/page_fenbao/statulist/myorder/index.vue index e0e27bc..7ae30be 100644 --- a/page_fenbao/statulist/myorder/index.vue +++ b/page_fenbao/statulist/myorder/index.vue @@ -36,6 +36,14 @@ + + + + 暂无更多订单记录... + + @@ -54,7 +62,8 @@ pagesize: 10, // 一页多少数据 isLoading: false, // 是否正在加载数据 noMoreData: false, // 是否没有更多数据 - total: 0 + total: 0, + showflag: false } }, onLoad() { @@ -65,6 +74,11 @@ this.$u.get('/app/bill/rechargeList?pageNum=' + this.pagenum + '&pageSize='+this.pagesize).then((res) => { if (res.code == 200) { this.total = res.total + if (this.total > 0) { + this.showflag = false + } else { + this.showflag = true + } if (res.rows.length > 0) { // 有数据,追加到列表 this.wateringList = this.wateringList.concat(res.rows) diff --git a/page_fenbao/statulist/myshop/index.vue b/page_fenbao/statulist/myshop/index.vue index 2e9b4a8..f11d882 100644 --- a/page_fenbao/statulist/myshop/index.vue +++ b/page_fenbao/statulist/myshop/index.vue @@ -45,10 +45,13 @@ - - 没有更多店铺了... + + + 暂无更多店铺... + @@ -67,7 +70,8 @@ isLoading: false, // 是否正在加载数据 noMoreData: false, // 是否没有更多数据 total: 0, - keyword: '' + keyword: '', + showflag: false } }, onLoad() { @@ -88,6 +92,11 @@ .keyword).then(res => { if (res.code == 200) { this.total = res.total + if (this.total > 0) { + this.showflag = false + } else { + this.showflag = true + } if (res.rows.length > 0) { // 有数据,追加到列表 this.wateringList = this.wateringList.concat(res.rows) diff --git a/page_fenbao/statulist/myshop/shebeilist/index.vue b/page_fenbao/statulist/myshop/shebeilist/index.vue index 0e6c19b..f601d38 100644 --- a/page_fenbao/statulist/myshop/shebeilist/index.vue +++ b/page_fenbao/statulist/myshop/shebeilist/index.vue @@ -37,6 +37,12 @@ + + + 该店铺暂无设备... + @@ -59,7 +65,8 @@ pagesize: 10, isLoading: false, noMoreData: false, - total: 0 + total: 0, + showflag: false } }, onLoad(option) { @@ -75,6 +82,11 @@ .then((res) => { if (res.code == 200) { this.total = res.total + if (this.total > 0) { + this.showflag = false + } else { + this.showflag = true + } if (res.rows.length > 0) { // 有数据,追加到列表 this.wateringList = this.wateringList.concat(res.rows) @@ -116,11 +128,13 @@ /deep/ .u-icon__icon { padding-bottom: 41rpx; } + page{ + background: #F4F5F7; + } .page { width: 750rpx; padding-bottom: 200rpx; - .box { width: 750rpx; background: #F4F5F7; diff --git a/page_user/shouzhi.vue b/page_user/shouzhi.vue index 26ec360..450f385 100644 --- a/page_user/shouzhi.vue +++ b/page_user/shouzhi.vue @@ -20,6 +20,13 @@ + + + 暂无更多收支记录... + + @@ -40,7 +47,8 @@ pagesize: 10, // 一页多少数据 isLoading: false, // 是否正在加载数据 noMoreData: false, // 是否没有更多数据 - total: 0 + total: 0, + showflag: false } }, onLoad() { @@ -52,6 +60,11 @@ this.$u.get("/app/bill/list").then((res) => { if (res.code == 200) { this.total = res.total + if (this.total > 0) { + this.showflag = false + } else { + this.showflag = true + } if (res.rows.length > 0) { // 有数据,追加到列表 this.wateringList = this.wateringList.concat(res.rows) diff --git a/pages/index/index.vue b/pages/index/index.vue index 66de46a..8d33d41 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -717,15 +717,12 @@ }, swiperchange(e) { - // console.log(e); - uni.showLoading({ title: '加载中...' }); this.wateringList = [] this.pagenum = 1 this.curtitidx = e.detail.current - // console.log(this.groupLists[this.curtitidx].storeId) this.storeId = this.groupLists[this.curtitidx].storeId this.getlist() },