| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465 |
- <script>
- import { useAppStore } from '@/store/appStore';
- import { checkUpdate } from "@/utils/update.ts";
- export default {
- onLaunch: function () {
- console.log('App Launch')
- // const appStore = useAppStore();
- // if (!appStore.isMaintaining) {
- // appStore.init();
- // }
- // #ifdef MP-WEIXIN
- checkUpdate();
- // #endif
- },
- onShow: function () {
- console.log('App Show')
- },
- onHide: function () {
- console.log('App Hide')
- }
- }
- </script>
- <style lang="scss">
- /*每个页面公共css */
- @import '@/static/theme/theme.module.scss';
- ::-webkit-scrollbar {
- width: 0 !important;
- height: 0 !important;
- color: transparent !important;
- display: none !important;
- }
- image {
- will-change: transform, width, height;
- }
- .uni-toast {
- z-index: 9999;
- }
- .uni-modal {
- border-radius: 6px;
- }
- .uni-modal__title {
- font-weight: bold;
- }
- .uni-modal__bd {
- padding-top: 50rpx;
- padding-bottom: 50rpx;
- }
- .uni-modal__btn {
- font-size: 16px;
- }
- #u-a-p,
- #u-a-t {
- z-index: 3000;
- position: relative;
- }
- </style>
|