123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051 |
- <script>
- export default {
- onLaunch: function() {
- console.log('App Launch')
- uni.setStorageSync('firstOpen', true)
- },
- onShow: function() {
- console.log('App Show')
- },
- onHide: function() {
- console.log('App Hide')
- }
- }
- </script>
- <style lang="scss">
- /*每个页面公共css */
- @import '@/uni_modules/uni-scss/index.scss';
- /* #ifndef APP-NVUE */
- @import '@/static/iconfont.wxss';
- @import '@/static/style/index.scss';
- // 设置整个项目的背景色
- page {
- background-color: #ffffff;
- }
- /* #endif */
- .example-info {
- font-size: 14px;
- color: #333;
- padding: 10px;
- }
- /* 隐藏scroll-view的滚动条 */
- ::-webkit-scrollbar {
- display: none;
- width: 0 !important;
- height: 0 !important;
- -webkit-appearance: none;
- background: transparent;
- color: transparent;
- }
- uni-scroll-view .uni-scroll-view::-webkit-scrollbar {
- display: none;
- width: 0 !important;
- height: 0 !important;
- -webkit-appearance: none;
- background: transparent;
- color: transparent;
- }
- </style>
|