tab3.page.scss 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122
  1. .profile {
  2. .card-grid{
  3. display: flex !important;
  4. margin-top: 50px;
  5. flex-direction: row;
  6. flex-wrap: wrap;
  7. justify-content: space-around;
  8. align-items: center;
  9. width: 100vw;
  10. font-size: 0.8rem;
  11. .card{
  12. display: flex;
  13. width:45vw;
  14. height:100px;
  15. padding: 20px;
  16. border-radius: 5px;
  17. margin-bottom: 15px;
  18. color:#FFFFFF;
  19. .left > .top{
  20. font-size: 2rem;
  21. background-color: #FFFFFF;
  22. width:35px;
  23. height:35px;
  24. padding:5px;
  25. border-radius: 50%;
  26. }
  27. .left{
  28. display: flex;
  29. flex-direction: column;
  30. justify-content: center;
  31. align-items: center;
  32. width: 50%;
  33. height:100%;
  34. }
  35. .right{
  36. display: flex;
  37. flex-direction: column;
  38. justify-content: center;
  39. align-items: center;
  40. width: 50%;
  41. height:100%;
  42. }
  43. .title{
  44. font-size: 0.8rem;
  45. }
  46. .top{
  47. display: flex;
  48. justify-content: center;
  49. align-items: center;
  50. height:50%;
  51. width: 100%;
  52. }
  53. .bottom{
  54. display: flex;
  55. justify-content: center;
  56. align-items: center;
  57. height:50%;
  58. width: 100%;
  59. .button{
  60. border:solid 1px;
  61. border-color: #FFFFFF;
  62. border-radius: 15px;
  63. padding:3px 5px;
  64. }
  65. }
  66. }
  67. .orange{
  68. ion-icon{
  69. color:#D47B63;
  70. }
  71. background: linear-gradient(57deg,#D47B63 0%,#E3A83E 100%);
  72. }
  73. .blue{
  74. ion-icon{
  75. color:#7087EB;
  76. }
  77. background: linear-gradient(90deg,#7087EB 0%,#9FBDE9 100%);
  78. }
  79. .purple{
  80. ion-icon{
  81. color:#B726E6;
  82. }
  83. background: linear-gradient(90deg,#B726E6 0%,#EE82EE 100%);
  84. }
  85. .red{
  86. ion-icon{
  87. color:#D48FAB;
  88. }
  89. background: linear-gradient(172deg,#D48FAB 0%,#783148 100%);
  90. }
  91. }
  92. ion-card {
  93. margin-bottom: 20px;
  94. .profile-info {
  95. display: flex;
  96. align-items: center;
  97. .avatar {
  98. margin-right: 10px;
  99. }
  100. .details {
  101. flex: 1;
  102. }
  103. }
  104. }
  105. }
  106. .small-card {
  107. width: 90%; /* 设置卡片宽度为页面宽度的80% */
  108. margin: 0 auto; /* 水平居中显示 */
  109. margin-top: 20px; /* 设置上边距为20像素 */
  110. }