123456789101112131415161718192021222324252627282930313233 |
- <script>
- import { updateVersion } from './utils/system';
- import { setCache, getCache } from '@/utils/cache';
- export default {
- async onLaunch() {
- //#ifdef MP-WEIXIN
- // updateVersion();
- //#endif
- uni.setStorageSync('tabbar_type', true);
- },
- onShow() {
- uni.hideTabBar({
- success: () => {
- console.log('hide tabber success');
- },fail: () => {
- console.log('hide tabber fail');
- }
- })
- }
- };
- </script>
- <style lang="scss">
- @import 'uview-ui/index.scss';
- @import 'design/index.scss';
- @import url('design/common.css');
- page {
- background-color: #f5f5f5;
- color: $uni-text-color;
- font-size: $uni-font-size-base;
- }
- </style>
|