diff --git a/pages/index/detail.vue b/pages/index/detail.vue index f6929cc..9832908 100644 --- a/pages/index/detail.vue +++ b/pages/index/detail.vue @@ -77,7 +77,7 @@ : '/static/left_user.png' " class="img" - />{{ isExpanded }} + /> @@ -460,7 +460,7 @@ export default { // ? this.$refs.scrollView.$refs.content.scrollHeight // : 0; // this.scrollTop = height; - this.scrollTop = this.scrollTop + 1; + this.scrollTop = this.scrollTop + 100; }); }, // 发送 diff --git a/pages/knowledge/index.vue b/pages/knowledge/index.vue index f6221b9..5a8840b 100644 --- a/pages/knowledge/index.vue +++ b/pages/knowledge/index.vue @@ -268,7 +268,7 @@ export default { // this.$refs.scrollView.$refs.content // ? this.$refs.scrollView.$refs.content.scrollHeight // : 0; - this.scrollTop = this.scrollTop + 1; + this.scrollTop = this.scrollTop + 100; }); if (newdata == data) { clearInterval(timer); @@ -290,7 +290,7 @@ export default { // this.$refs.scrollView.$refs.content // ? this.$refs.scrollView.$refs.content.scrollHeight // : 0; - this.scrollTop = this.scrollTop + 1; + this.scrollTop = this.scrollTop + 100; }); } },