App.vue 677 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. <script>
  2. export default {
  3. onLaunch: function() {
  4. console.log('App Launch')
  5. },
  6. onShow: function() {
  7. console.log('App Show')
  8. },
  9. onHide: function() {
  10. console.log('App Hide')
  11. }
  12. }
  13. </script>
  14. <style>
  15. /*每个页面公共css */
  16. .display-flex-start {
  17. display: flex;
  18. align-items: center;
  19. }
  20. .display-between {
  21. display: flex;
  22. justify-content: space-between;
  23. }
  24. .display-around{
  25. display: flex;
  26. justify-content: space-around;
  27. }
  28. .display-between-column {
  29. display: flex;
  30. flex-direction: column;
  31. justify-content: space-between;
  32. }
  33. .display-around-column {
  34. display: flex;
  35. flex-direction: column;
  36. justify-content: space-around;
  37. }
  38. </style>