App.vue 528 B

1234567891011121314151617181920212223242526272829
  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. </style>