From 1535eb874e263d727b1bba89ef3b304408aea5c0 Mon Sep 17 00:00:00 2001 From: Vinjor Date: Tue, 22 Oct 2024 12:02:57 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=86=E9=A1=B5bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages-order/orderList/orderList.vue | 4 ++-- pages-shop/notice/notice.vue | 4 ++-- pages/detedetails/detelisthygg.vue | 34 ++++++++++++++--------------- pages/guideList/guideList.vue | 4 ++-- pages/my/message.vue | 4 ++-- 5 files changed, 25 insertions(+), 25 deletions(-) diff --git a/pages-order/orderList/orderList.vue b/pages-order/orderList/orderList.vue index 944b04c..49de0fb 100644 --- a/pages-order/orderList/orderList.vue +++ b/pages-order/orderList/orderList.vue @@ -11,7 +11,7 @@ - @@ -137,7 +137,7 @@ export default { /** * 上滑加载数据 */ - onReachBottom() { + onReachBottomCus() { //判断 如果页码*页容量大于等于总条数,提示该页数据加载完毕 if (this.pageNo * this.pageSize >= this.total) { uni.$u.toast('没有更多数据了') diff --git a/pages-shop/notice/notice.vue b/pages-shop/notice/notice.vue index 7b6337d..343785a 100644 --- a/pages-shop/notice/notice.vue +++ b/pages-shop/notice/notice.vue @@ -3,7 +3,7 @@ - @@ -65,7 +65,7 @@ /** * 上滑加载数据 */ - onReachBottom() { + onReachBottomCus() { //判断 如果页码*页容量大于等于总条数,提示该页数据加载完毕 if (this.pageNo * this.pageSize >= this.total) { uni.$u.toast('没有更多数据了') diff --git a/pages/detedetails/detelisthygg.vue b/pages/detedetails/detelisthygg.vue index 78f8a43..2c3a7e7 100644 --- a/pages/detedetails/detelisthygg.vue +++ b/pages/detedetails/detelisthygg.vue @@ -33,7 +33,7 @@ - + @@ -60,7 +60,7 @@ - + @@ -117,14 +117,14 @@ }) } }, - onReachBottom() { + onReachBottomCus() { console.log(111) if (this.pageNum >= this.totalPages) { uni.showToast({ title: '没有下一页数据', icon: 'none' }) - + } else { this.pageNum++ this.arrlist=[] @@ -137,7 +137,7 @@ url: '/admin-api/appInspection/news/listGfClass', method: 'get' }) - + this.typeList = typeRes.data }, getfab() { @@ -152,7 +152,7 @@ getback(){ uni.navigateBack({ delta:1, - }) + }) }, async getlistindex(){ //行业公告分类 @@ -180,8 +180,8 @@ this.arrlist = res.rows } let total = res.total - this.totalPages = Math.ceil(total / this.pageSize); - + this.totalPages = Math.ceil(total / this.pageSize); + }, getdetails(id){ uni.navigateTo({ @@ -205,9 +205,9 @@ url:'/pages/detedetails/managelist?type=hygg' }) } - + } - + } @@ -315,7 +315,7 @@ width: 100%; height: 100%; } - + } .t-right{ width: 60%; @@ -324,7 +324,7 @@ font-size: 20px; font-weight: bold; color: #333333; - white-space: nowrap; + white-space: nowrap; overflow: hidden; text-overflow: ellipsis; @@ -335,10 +335,10 @@ font-size: 16px; font-weight: bold; color: #5e5e5e; - white-space: nowrap; + white-space: nowrap; overflow: hidden; text-overflow: ellipsis; - + } .t-zi{ font-size: 14px; @@ -346,7 +346,7 @@ color: #666666; overflow: hidden; text-overflow: ellipsis; - display: -webkit-box; + display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; @@ -419,6 +419,6 @@ border-style:solid; border-width:2px; font-size: 15px; - + } - \ No newline at end of file + diff --git a/pages/guideList/guideList.vue b/pages/guideList/guideList.vue index d39db65..cf3e0ca 100644 --- a/pages/guideList/guideList.vue +++ b/pages/guideList/guideList.vue @@ -2,7 +2,7 @@ - {{ item.title }} @@ -41,7 +41,7 @@ /** * 上滑加载数据 */ - onReachBottom() { + onReachBottomCus() { //判断 如果页码*页容量大于等于总条数,提示该页数据加载完毕 if (this.pageNo * this.pageSize >= this.total) { uni.$u.toast('没有更多数据了') diff --git a/pages/my/message.vue b/pages/my/message.vue index 498267f..28ffe91 100644 --- a/pages/my/message.vue +++ b/pages/my/message.vue @@ -3,7 +3,7 @@ - @@ -112,7 +112,7 @@ /** * 上滑加载数据 */ - onReachBottom() { + onReachBottomCus() { //判断 如果页码*页容量大于等于总条数,提示该页数据加载完毕 if (this.pageNo * this.pageSize >= this.total) { uni.$u.toast('没有更多数据了')