1234567891011121314151617181920212223242526272829 |
- <script>
- export default {
- onLaunch: function() {
- console.log('App Launch')
- },
- onShow: function() {
- console.log('App Show')
- this.$store.commit("user/save", uni.getStorageSync("userinfo"))
- },
- onHide: function() {
- console.log('App Hide')
- },
- }
- </script>
- <style>
- page {
- background: #F8F8F8;
- }
- /*每个页面公共css */
- ::-webkit-scrollbar {
- display: none;
- width: 0 !important;
- height: 0 !important;
- -webkit-appearance: none;
- background: transparent;
- }
- </style>
|