<script setup lang="ts">
import { onLaunch, onShow, onHide } from '@dcloudio/uni-app'

onLaunch(() => {})
onShow(() => {
  console.log('App Show')
})
onHide(() => {
  console.log('App Hide')
})
</script>

<style lang="scss">
/*每个页面公共css */
@import '@/styles/index.scss';
</style>

<style lang="scss">
@import './uni_modules/vk-uview-ui/index.scss';
page {
  background-color: #edf1f5;
}
/* @font-face {
  font-family: 'MyFont';
  src: url('https://myqn-1305113899.cos.ap-nanjing.myqcloud.com/static/front/zlhy.ttf');
} */

@font-face {
  font-family: 'iconfont';
  src: url('@/static/iconfont/iconfont.ttf');
}

view,
text {
  font-family: 'PingFang SC', 'Noto', 'Helvetica Neue', 'Helvetica', 'Arial', 'sans-serif';
}
/* 解决小程序和app滚动条的问题 */
/* #ifdef MP-WEIXIN || APP-PLUS */
::-webkit-scrollbar {
  display: none;
  width: 0 !important;
  height: 0 !important;
  -webkit-appearance: none;
  background: transparent;
  color: transparent;
}
/* #endif */

/* 解决H5 的问题 */
/* #ifdef H5 */
uni-scroll-view .uni-scroll-view::-webkit-scrollbar {
  display: none;
  width: 0 !important;
  height: 0 !important;
  -webkit-appearance: none;
  background: transparent;
  color: transparent;
}
/* #endif */
</style>
