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(); }) }