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' : '/static/left_user.png'
" "
class="img" class="img"
/>{{ isExpanded }} />
<view class="content"> <view class="content">
<zeroMarkdownView :markdown="item.data" /> <zeroMarkdownView :markdown="item.data" />
<!-- <ua-markdown :source="mdvalue" /> --> <!-- <ua-markdown :source="mdvalue" /> -->
@ -460,7 +460,7 @@ export default {
// ? this.$refs.scrollView.$refs.content.scrollHeight // ? this.$refs.scrollView.$refs.content.scrollHeight
// : 0; // : 0;
// this.scrollTop = height; // 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
// ? this.$refs.scrollView.$refs.content.scrollHeight // ? this.$refs.scrollView.$refs.content.scrollHeight
// : 0; // : 0;
this.scrollTop = this.scrollTop + 1; this.scrollTop = this.scrollTop + 100;
}); });
if (newdata == data) { if (newdata == data) {
clearInterval(timer); clearInterval(timer);
@ -290,7 +290,7 @@ export default {
// this.$refs.scrollView.$refs.content // this.$refs.scrollView.$refs.content
// ? this.$refs.scrollView.$refs.content.scrollHeight // ? this.$refs.scrollView.$refs.content.scrollHeight
// : 0; // : 0;
this.scrollTop = this.scrollTop + 1; this.scrollTop = this.scrollTop + 100;
}); });
} }
}, },

Loading…
Cancel
Save