123456789101112131415161718192021222324252627282930 |
- <script>
- export default {
- onLaunch: function() {
- console.warn('当前组件仅支持 uni_modules 目录结构 ,请升级 HBuilderX 到 3.1.0 版本以上!')
- console.log('App Launch')
- },
- onShow: function() {
- console.log('App Show')
- },
- onHide: function() {
- uni.setStorageSync('repairData','')
- uni.setStorageSync('rapidRepNext','')
- uni.removeStorageSync('pollingCode')
- console.log('App Hide')
- }
- }
- </script>
- <style lang="scss">
- /*每个页面公共css */
- @import '@/uni_modules/uni-scss/index.scss';
- /* #ifndef APP-NVUE */
- @import '@/static/customicons.css';
- /* #endif */
- // 自定义公共样式
- @import '@/static/scss/common.scss';
- // 字体图标
- @import '@/static/font/iconfont.css';
- </style>
|