zhangqun 11 months ago
parent 1950f47e09
commit 05765313cb
  1. 4
      pages/index/detail.vue
  2. 4
      pages/knowledge/index.vue

@ -77,7 +77,7 @@
: '/static/left_user.png'
"
class="img"
/>{{ isExpanded }}
/>
<view class="content">
<zeroMarkdownView :markdown="item.data" />
<!-- <ua-markdown :source="mdvalue" /> -->
@ -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;
});
},
//

@ -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;
});
}
},

Loading…
Cancel
Save