Showing
2 changed files
with
11 additions
and
10 deletions
@@ -32,18 +32,17 @@ export default { | @@ -32,18 +32,17 @@ export default { | ||
32 | </script> | 32 | </script> |
33 | 33 | ||
34 | <style lang="scss"> | 34 | <style lang="scss"> |
35 | -/* #ifndef APP-NVUE */ | ||
36 | @import '@/uni_modules/uview-ui/index.scss'; | 35 | @import '@/uni_modules/uview-ui/index.scss'; |
37 | @import './style/iconfont.scss'; | 36 | @import './style/iconfont.scss'; |
38 | @import './style/common.scss'; | 37 | @import './style/common.scss'; |
39 | page { | 38 | page { |
40 | background-color: #f5f5f5; | 39 | background-color: #f5f5f5; |
40 | +} | ||
41 | +::-webkit-scrollbar { | ||
42 | + display: none; | ||
43 | + width: 0 !important; | ||
44 | + height: 0 !important; | ||
45 | + -webkit-appearance: none; | ||
46 | + background: transparent; | ||
41 | } | 47 | } |
42 | -// 隐藏滚动条 | ||
43 | -::-webkit-scrollbar { | ||
44 | - width: 0; | ||
45 | - height: 0; | ||
46 | - color: transparent; | ||
47 | -} | ||
48 | -/* #endif */ | ||
49 | </style> | 48 | </style> |
@@ -5,7 +5,8 @@ | @@ -5,7 +5,8 @@ | ||
5 | "pages": [{ | 5 | "pages": [{ |
6 | "path": "pages/index/index", | 6 | "path": "pages/index/index", |
7 | "style": { | 7 | "style": { |
8 | - "navigationBarTitleText": "首页" | 8 | + "navigationBarTitleText": "首页", |
9 | + "disableScroll": true | ||
9 | } | 10 | } |
10 | }, | 11 | }, |
11 | { | 12 | { |
@@ -146,7 +147,8 @@ | @@ -146,7 +147,8 @@ | ||
146 | "navigationBarTextStyle": "black", | 147 | "navigationBarTextStyle": "black", |
147 | "navigationBarTitleText": "云腾app", | 148 | "navigationBarTitleText": "云腾app", |
148 | "navigationBarBackgroundColor": "#FFFFFF", | 149 | "navigationBarBackgroundColor": "#FFFFFF", |
149 | - "backgroundColor": "#FFFFFF" | 150 | + "backgroundColor": "#FFFFFF", |
151 | + "backgroundColorTop": "#FFFFFF" | ||
150 | }, | 152 | }, |
151 | "tabBar": { | 153 | "tabBar": { |
152 | "color": "#ffffff", | 154 | "color": "#ffffff", |