Skip to content

Commit

Permalink
滚动高度
Browse files Browse the repository at this point in the history
  • Loading branch information
unknown committed Jun 19, 2017
1 parent 7af88af commit 65bb476
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 11 deletions.
4 changes: 2 additions & 2 deletions src/frames/addressbook/addressbook.vue
Original file line number Diff line number Diff line change
Expand Up @@ -151,8 +151,8 @@
const getBody = document.getElementsByTagName("body")[0];
animate(getBody,{scrollTop : listArray[i].offsetTop-52});
animate(getBody,{scrollTop : listArray[i].offsetTop-50});
}
}
Expand Down
9 changes: 4 additions & 5 deletions src/frames/find/friendcircle/friendcircle.vue
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,8 @@
}
},
freshPage(){//点击头部页面滚动到顶部
animate(this.$refs.friend,{scrollTop:0})
const getBody = document.getElementsByTagName("body")[0];
animate(getBody,{scrollTop:0})
},
personInfor(){//点击头像进入个人资料页
this.SAVE_MESSAGE(this.userInfoData);
Expand Down Expand Up @@ -264,16 +265,14 @@
.refresh{
position: absolute;
@include widthHeight(12rem,2rem);
background:#fff;
left:2rem;
}
.friend_wipe{
width:100%;
padding-bottom:3rem;
//height:33rem;
background-color: #f8f8f8;
overflow:auto;
overflow:scroll;
-webkit-overflow-scrolling: touch;
.friend{
padding-top:2.06933rem;
background-color: #f8f8f8;
Expand Down
2 changes: 1 addition & 1 deletion weixin/static/js/app.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion weixin/static/js/manifest.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 65bb476

Please sign in to comment.