From 7d349d9f51bc9fd7c8196446bf4641ce41233f1c Mon Sep 17 00:00:00 2001 From: liuye Date: Tue, 13 Jun 2023 16:35:25 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=9A=E8=AF=9D=E5=AD=98=E6=A1=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/project/pidu/AppConversation/conversationDetail.vue | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/project/pidu/AppConversation/conversationDetail.vue b/src/project/pidu/AppConversation/conversationDetail.vue index 5f152a50..a48d7cdb 100644 --- a/src/project/pidu/AppConversation/conversationDetail.vue +++ b/src/project/pidu/AppConversation/conversationDetail.vue @@ -188,7 +188,6 @@ export default { // }, methods: { scroll(e) { - console.log(e) if(e.detail.scrollTop == 0) { if(this.current > this.pages) { return this.$u.toast('已加载完成,没有更多数据') @@ -211,7 +210,6 @@ export default { this.getListInit() }, onDateChange (e) { - console.log(e) this.dateList = [e.startDate, e.endDate] this.getListInit() }, @@ -228,7 +226,6 @@ export default { getList() { if(this.current > 1) { uni.createSelectorQuery().select(".conversation-list").boundingClientRect((res) => { - console.log('old', res.height, uni.getSystemInfoSync().windowHeight) this.preveHeight = res.height }).exec(); } @@ -266,13 +263,11 @@ export default { this.$nextTick(() => { uni.createSelectorQuery().select(".conversation-list").boundingClientRect((res) => { - console.log(this.scrollTop, res.height) if(this.current == 1) { this.scrollTop = res.height - this.scrollHeight }else { this.scrollTop = res.height - this.preveHeight } - console.log(this.current, this.scrollTop, res.height) }).exec(); }) }