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
yyq
6 years ago
Commit
2f18a04730d0ef417e4ef202aea4b1da60bb18ad
2 parents
63238867
a49396b4
Merge branch 'feature/0530' into release/6.9.5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
apps/pages/article/components/detail/article-long.vue
apps/pages/article/components/detail/article-long.vue
View file @
2f18a04
...
...
@@ -141,7 +141,7 @@ export default {
if (this.scrollTop > this.coverHeight) {
return 100;
} else if (this.scrollTop > 0) {
let step = Math.round(
this.scrollTop - 10 / (this.coverHeight - 1
0) * 100);
let step = Math.round(
(this.scrollTop - 10) / (this.coverHeight - 9
0) * 100);
step = Math.max(Math.min(step, 100), 0);
this.SET_STATUS_BAR_COLOR({
...
...
Please
register
or
login
to post a comment