<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 url('design/background.css');
  @import url('design/flex.css');
  @import url('design/margin.css');
  @import url('design/padding.css');
  @import url('design/shadow.css');
  @import url('design/text.css');
  @import url('design/common.css');

  page {
    background-color: #f5f5f5;
    color: $uni-text-color;
    font-size: $uni-font-size-base;
  }
</style>
