tab4.page.scss 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251
  1. ion-content {
  2. --background: linear-gradient(135deg, #F8F9FF, #E6F7FF);
  3. background-size: cover;
  4. --padding-start: 16px;
  5. --padding-end: 16px;
  6. }
  7. :root {
  8. --primary: #3A5FE5;
  9. --secondary: #00C4A1;
  10. --danger: #FF4D4F;
  11. --bg: #F8F9FF;
  12. --text: #2D3748;
  13. --card: #FFFFFF;
  14. --border: #E2E8F0;
  15. --gray: #94A3B8;
  16. }
  17. * {
  18. margin: 0;
  19. padding: 0;
  20. box-sizing: border-box;
  21. font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  22. }
  23. .container {
  24. width: 100%;
  25. max-width: 480px;
  26. margin: 0 auto;
  27. padding: 15px;
  28. min-height: 100vh;
  29. display: flex;
  30. flex-direction: column;
  31. }
  32. /* 顶部区域 */
  33. .profile-section {
  34. display: flex;
  35. flex-direction: column;
  36. align-items: center;
  37. padding: 30px 0 20px;
  38. background: linear-gradient(135deg, #6A8EFF, #3A5FE5);
  39. border-radius: 0 0 30px 30px;
  40. margin-bottom: 20px;
  41. position: relative;
  42. overflow: hidden;
  43. }
  44. .profile-bg {
  45. position: absolute;
  46. top: -50%;
  47. left: -50%;
  48. width: 200%;
  49. height: 200%;
  50. background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.2)" stroke-width="2"/></svg>');
  51. background-size: 100px 100px;
  52. animation: rotate 60s linear infinite;
  53. z-index: 0;
  54. }
  55. @keyframes rotate {
  56. from { transform: rotate(0deg); }
  57. to { transform: rotate(360deg); }
  58. }
  59. .profile-avatar {
  60. width: 80px;
  61. height: 80px;
  62. border-radius: 50%;
  63. background-color: white;
  64. display: flex;
  65. align-items: center;
  66. justify-content: center;
  67. color:#3A5FE5;
  68. font-size: 32px;
  69. margin-bottom: 10px;
  70. position: relative;
  71. z-index: 1;
  72. box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  73. }
  74. .profile-name {
  75. color: white;
  76. font-size: 18px;
  77. font-weight: bold;
  78. margin-bottom: 5px;
  79. z-index: 1;
  80. }
  81. .profile-email {
  82. color: rgba(255, 255, 255, 0.8);
  83. font-size: 14px;
  84. z-index: 1;
  85. }
  86. /* 功能卡片区域 */
  87. .features-section {
  88. margin-bottom: 20px;
  89. }
  90. .section-title {
  91. font-size: 18px;
  92. font-weight: bold;
  93. margin-bottom: 15px;
  94. display: flex;
  95. justify-content: space-between;
  96. align-items: center;
  97. color: var(--text);
  98. }
  99. .section-title a {
  100. font-size: 14px;
  101. font-weight: normal;
  102. color:#3A5FE5;
  103. text-decoration: none;
  104. }
  105. .features-grid {
  106. display: grid;
  107. grid-template-columns: repeat(2, 1fr);
  108. gap: 15px;
  109. }
  110. .feature-card {
  111. background: white;
  112. border-radius: 12px;
  113. padding: 20px;
  114. display: flex;
  115. flex-direction: column;
  116. align-items: center;
  117. box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  118. transition: transform 0.3s, box-shadow 0.3s;
  119. }
  120. .feature-card:hover {
  121. transform: translateY(-5px);
  122. box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  123. }
  124. .feature-icon {
  125. font-size: 28px;
  126. color: #3A5FE5;
  127. margin-bottom: 10px;
  128. }
  129. .feature-title {
  130. font-size: 14px;
  131. color: var(--text);
  132. text-align: center;
  133. margin-bottom: 8px;
  134. }
  135. .feature-desc {
  136. font-size: 12px;
  137. color: var(--gray);
  138. text-align: center;
  139. line-height: 1.4;
  140. }
  141. /* 律师入驻区域 */
  142. .lawyer-section {
  143. background: white;
  144. border-radius: 12px;
  145. padding: 20px;
  146. margin-bottom: 20px;
  147. box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  148. }
  149. .lawyer-header {
  150. display: flex;
  151. justify-content: space-between;
  152. align-items: center;
  153. margin-bottom: 15px;
  154. }
  155. .lawyer-title {
  156. font-size: 16px;
  157. font-weight: bold;
  158. color: var(--text);
  159. }
  160. .lawyer-status {
  161. font-size: 12px;
  162. color: #3A5FE5;
  163. padding: 3px 8px;
  164. border-radius: 12px;
  165. background: rgba(58, 95, 229, 0.1);
  166. }
  167. .lawyer-btn {
  168. width: 100%;
  169. background: #3A5FE5;
  170. color: white;
  171. border: none;
  172. padding: 12px;
  173. border-radius: 8px;
  174. font-size: 16px;
  175. font-weight: bold;
  176. cursor: pointer;
  177. transition: background 0.3s;
  178. }
  179. .lawyer-btn:hover {
  180. background: #2A4BCF;
  181. }
  182. /* 设置区域 */
  183. .settings-section {
  184. margin-bottom: 20px;
  185. }
  186. .settings-list {
  187. list-style: none;
  188. }
  189. .setting-item {
  190. display: flex;
  191. align-items: center;
  192. padding: 15px;
  193. background: white;
  194. border-radius: 10px;
  195. margin-bottom: 10px;
  196. box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  197. }
  198. .setting-icon {
  199. font-size: 20px;
  200. color: #3A5FE5;
  201. margin-right: 15px;
  202. }
  203. .setting-content {
  204. flex: 1;
  205. }
  206. .setting-title {
  207. font-size: 16px;
  208. color: var(--text);
  209. margin-bottom: 4px;
  210. }
  211. .setting-desc {
  212. font-size: 12px;
  213. color: #94A3B8;
  214. }
  215. .setting-arrow {
  216. font-size: 16px;
  217. color: #94A3B8;
  218. }