Authored by 杨延青

Merge branch 'feature/0430' into 'release/6.9.2'

Feature/0430



See merge request !55
... ... @@ -258,6 +258,14 @@ export default {
time: 1000
}).show();
} else {
if (this.viewOption.selected && this.type === 'star') {
this.$createToast && this.$createToast({
txt: '收藏成功',
type: 'txt',
time: 1000
}).show();
}
if (['praiseArticle', 'followArticle'].some(s => s === this.syncFnName)) {
this.fetchArticleUpdate({articleId: this.articleId});
}
... ...
... ... @@ -40,9 +40,10 @@ export default {
},
titleStyle() {
let style = {};
let stepPercent = this.stepPercent;
if (this.offsetLeft) {
style.transform = `translate3d(${-this.stepPercent * this.offsetLeft}px, 0, 0)`;
style.transform = `translate3d(${-stepPercent * this.offsetLeft}px, 0, 0)`;
} else {
this.updateTitleOffset();
}
... ...