App.vue 930 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  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. /* width: 100vw; */
  18. display: flex;
  19. flex-direction: column;
  20. align-items: center;
  21. justify-content: center;
  22. }
  23. .body-radius {
  24. border-radius: 50rpx;
  25. overflow: hidden;
  26. /* 确保边框圆角不会溢出 */
  27. }
  28. .uni-row {
  29. display: flex;
  30. flex-direction: row;
  31. align-items: center;
  32. }
  33. .uni-column {
  34. display: flex;
  35. flex-direction: column;
  36. align-items: center;
  37. }
  38. .uni-jct {
  39. justify-content: start;
  40. }
  41. .uni-jcc {
  42. justify-content: center;
  43. }
  44. .uni-jcsa {
  45. justify-content: space-around;
  46. }
  47. .uni-jcsb {
  48. justify-content: space-between;
  49. }
  50. .uni-jcse {
  51. justify-content: space-evenly;
  52. }
  53. .hidden {
  54. visibility: hidden;
  55. }
  56. </style>