...
|
...
|
@@ -113,12 +113,14 @@ export default { |
|
|
},
|
|
|
},
|
|
|
mounted() {
|
|
|
this.CHANGE_ARTICLE_LIST_INTRO_HEIGHT({
|
|
|
articleId: this.data.articleId,
|
|
|
introHeight: get(this.$refs, 'introPool.scrollHeight', 0) + 20,
|
|
|
introCollapseHeight: get(this.$refs, 'intro.scrollHeight', 0),
|
|
|
type: this.type
|
|
|
});
|
|
|
if (this.data.introHeight === 0) {
|
|
|
this.CHANGE_ARTICLE_LIST_INTRO_HEIGHT({
|
|
|
articleId: this.data.articleId,
|
|
|
introHeight: get(this.$refs, 'introPool.scrollHeight', 0) + 20,
|
|
|
introCollapseHeight: get(this.$refs, 'intro.scrollHeight', 0),
|
|
|
type: this.type
|
|
|
});
|
|
|
}
|
|
|
import('animejs').then(({default: anime}) => {
|
|
|
this.anime = anime;
|
|
|
});
|
...
|
...
|
|