Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yoho-community-web
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
1
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Plain Diff
Browse Files
Authored by
杨延青
2019-04-30 15:48:27 +0800
Commit
4a5073dd8427472025fd66349cbda49d33e69c92
2 parents
61642933
d0cc7b46
Merge branch 'feature/0430' into 'release/6.9.2'
Feature/0430 See merge request
!55
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
1 deletions
apps/components/widgets/widget-icon-btn.vue
apps/pages/article/components/topic/header.vue
apps/components/widgets/widget-icon-btn.vue
View file @
4a5073d
...
...
@@ -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});
}
...
...
apps/pages/article/components/topic/header.vue
View file @
4a5073d
...
...
@@ -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();
}
...
...
Please
register
or
login
to post a comment