App.vue 528 B

12345678910111213141516171819202122232425262728293031323334353637
  1. <script>
  2. export default {
  3. data(){
  4. return{
  5. }
  6. },
  7. onLaunch: function() {
  8. console.log('App Launch')
  9. },
  10. onShow: function() {
  11. console.log('App Show')
  12. },
  13. onHide: function() {
  14. console.log('App Hide')
  15. }
  16. }
  17. </script>
  18. <style lang="scss">
  19. @import 'uview-ui/theme.scss';
  20. /*每个页面公共css */
  21. // uni-page-head{
  22. // display: none;
  23. // }
  24. html {
  25. overflow-x: hidden;
  26. }
  27. body{
  28. height: 100vh;
  29. }
  30. body::-webkit-scrollbar {
  31. display: none;
  32. }
  33. uni-page-body{
  34. height: 100%;
  35. }
  36. </style>