App.vue 734 B

1234567891011121314151617181920212223242526272829303132333435
  1. <script>
  2. import routingIntercept from '@/utils/permission.js'
  3. export default {
  4. onLaunch: function() {
  5. console.log('App Launch')
  6. routingIntercept()
  7. },
  8. onShow: function() {
  9. console.log('App Show')
  10. },
  11. onHide: function() {
  12. console.log('App Hide')
  13. }
  14. }
  15. </script>
  16. <style lang="scss">
  17. @import "uview-ui/index.scss";
  18. @import "@/common/iconfont/icon.scss";
  19. /*每个页面公共css */
  20. .status_bar {
  21. height: var(--status-bar-height);
  22. width: 100%;
  23. }
  24. uni-modal{
  25. z-index: 19999 !important;
  26. }
  27. page{
  28. color: rgba(0, 0, 0, 0.8);
  29. font-family: "阿里妈妈东方大楷 Regular";
  30. src: url("https://at.alicdn.com/wf/webfont/SvVWOIfU0QFS/uL71WQsTF0hJ.woff2") format("woff2");
  31. // font-display: swap;
  32. }
  33. </style>