tab2.page.scss 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. .parent {
  2. display: flex;
  3. margin-left: 300px;
  4. justify-content: center; /* 水平居中 */
  5. }
  6. .child {
  7. flex: 1; /* 平均分配空间 */
  8. margin: 0 10px; /* 设置水平间距 */
  9. }
  10. .top-section2 {
  11. display: flex;
  12. justify-content: space-between;
  13. align-items: center;
  14. padding: 10px;
  15. .left2{
  16. display: flex;
  17. margin-left:500px;
  18. }
  19. .right2
  20. {
  21. display: flex;
  22. margin-right:500px;
  23. }
  24. .left2, .middle2, .right2 {
  25. display: flex;
  26. flex-direction: column;
  27. align-items: center;
  28. ion-button {
  29. width: 100%;
  30. margin-bottom: 10px;
  31. }
  32. img {
  33. width: 50px; /* 自行调整图片大小 */
  34. height: 50px; /* 自行调整图片大小 */
  35. margin-bottom: 5px;
  36. }
  37. p {
  38. font-size: 14px;
  39. }
  40. }
  41. }
  42. .content-container {
  43. display: flex;
  44. flex-direction: column;
  45. justify-content: flex-end;
  46. align-items: center;
  47. height: 100%;
  48. ion-content {
  49. flex: 1;
  50. width: 100%;
  51. }
  52. }
  53. .duiwu {
  54. display: flex;
  55. margin-left: 300px;
  56. margin-top: 20px;
  57. justify-content: space-between;
  58. align-items: center;
  59. width: 800px;
  60. height:80px;
  61. .left, .center, .right {
  62. display: flex;
  63. align-items: center;
  64. }
  65. ion-icon {
  66. margin-right: 5px;
  67. size: 30px;
  68. }
  69. }
  70. ion-content {
  71. --background: url('assets/img/a.png') no-repeat center center / cover;
  72. }