App.vue 991 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. <script>
  2. // import { browserDetection } from '@/utils/auth';
  3. export default {
  4. onLaunch: function() {
  5. // console.log('App onLaunch')
  6. },
  7. onShow: function() {
  8. // console.log('App Show')
  9. // browserDetection();
  10. },
  11. onHide: function() {
  12. // console.log('App Hide')
  13. },
  14. }
  15. </script>
  16. <style lang="stylus">
  17. html,
  18. body {
  19. width: 100%;
  20. height: 100%;
  21. flex: 1;
  22. display: flex;
  23. flex-direction: column;
  24. overflow: hidden;
  25. background: #f5f5f5;
  26. font-family: PingFang SC;
  27. font-weight: 400;
  28. font-size: 30rpx;
  29. color: #333;
  30. uni-app {
  31. flex: 1;
  32. display: flex;
  33. flex-direction: column;
  34. overflow: hidden;
  35. uni-page {
  36. flex: 1;
  37. display: flex;
  38. flex-direction: column;
  39. overflow: hidden;
  40. uni-page-wrapper {
  41. flex: 1;
  42. display: flex;
  43. flex-direction: column;
  44. overflow: hidden;
  45. uni-page-body {
  46. flex: 1;
  47. display: flex;
  48. flex-direction: column;
  49. overflow: hidden;
  50. }
  51. }
  52. }
  53. }
  54. }
  55. </style>