App.vue 638 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  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. .body {
  17. display: flex;
  18. flex-direction: column;
  19. align-items: center;
  20. justify-content: center;
  21. }
  22. .body-radius {
  23. border-radius: 50rpx;
  24. overflow: hidden; /* 确保边框圆角不会溢出 */
  25. }
  26. .uni-row {
  27. display: flex;
  28. flex-direction: row;
  29. align-items: center;
  30. }
  31. .uni-column {
  32. display: flex;
  33. flex-direction: column;
  34. align-items: center;
  35. }
  36. </style>