<script>
import { syncUserOnLaunch } from '@/permission'

export default {
  onLaunch() {
    syncUserOnLaunch().catch(() => {})
  },
  onShow() {
    console.log('App Show')
  },
  onHide() {
    console.log('App Hide')
  }
}
</script>

<style lang="scss">
@import 'uview-plus/index.scss';
@import '@/styles/h5-layout.scss';

/* Tab 页见 h5-layout；栈式详情页用页面内 scroll-view + detail-page.scss */
/* #ifdef H5 */
page {
  min-height: 100%;
  height: auto;
  box-sizing: border-box;
  background-color: #f0ebe5;
}
/* #endif */

/* #ifndef H5 */
page {
  height: 100%;
  min-height: 100%;
  background-color: #f0ebe5;
}
/* #endif */
</style>
