Browse Source

处理滚动

feature/feature-compatible
fengchengzhi 7 years ago
parent
commit
e68ad38737
2 changed files with 3 additions and 0 deletions
  1. 2
      src/assets/styles/style.css
  2. 1
      src/view/home.vue

2
src/assets/styles/style.css

@ -9,6 +9,7 @@ html,body {
width: 100%; width: 100%;
height: 100%; height: 100%;
overflow-y: scroll; overflow-y: scroll;
-webkit-overflow-scrolling : touch;
background:rgba(243,243,243,1); background:rgba(243,243,243,1);
} }
@ -372,6 +373,7 @@ html,body {
top: 0.9rem; top: 0.9rem;
bottom: 0; bottom: 0;
overflow-y: scroll; overflow-y: scroll;
-webkit-overflow-scrolling : touch;
} }
.put-money .content-box { .put-money .content-box {

1
src/view/home.vue

@ -255,6 +255,7 @@
.home .page-content { .home .page-content {
background:rgba(255,255,255,1); background:rgba(255,255,255,1);
padding-bottom: 1rem; padding-bottom: 1rem;
-webkit-overflow-scrolling : touch;
} }
.home .page-content .banner { .home .page-content .banner {
max-height: 3rem; max-height: 3rem;

Loading…
Cancel
Save