login.css 7.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363
  1. .popup-mask[data-v-af3fbef1] {
  2. position: fixed;
  3. top: 0;
  4. left: 0;
  5. right: 0;
  6. bottom: 0;
  7. background-color: rgba(0, 0, 0, 0.4); /* 半透明遮罩 */
  8. z-index: 999;
  9. display: flex;
  10. align-items: center;
  11. justify-content: center;
  12. }
  13. .popup-content[data-v-af3fbef1] {
  14. width: 80%; /* 宽度大概屏幕 80% */
  15. max-height: 70%;
  16. background-color: #fff;
  17. border-radius: 0.5rem;
  18. display: flex;
  19. flex-direction: column;
  20. overflow: hidden;
  21. }
  22. .popup-header[data-v-af3fbef1] {
  23. height: 3.125rem;
  24. display: flex;
  25. align-items: center;
  26. justify-content: center;
  27. position: relative;
  28. border-bottom: 0.0625rem solid #eee;
  29. }
  30. .popup-title[data-v-af3fbef1] {
  31. font-size: 1rem;
  32. font-weight: bold;
  33. color: #333;
  34. }
  35. .close-icon[data-v-af3fbef1] {
  36. position: absolute;
  37. right: 0.9375rem;
  38. top: 50%;
  39. transform: translateY(-50%);
  40. font-size: 1.25rem;
  41. color: #999;
  42. line-height: 1;
  43. padding: 0.3125rem; /* 增加点击区域 */
  44. }
  45. .popup-body[data-v-af3fbef1] {
  46. padding: 0.9375rem;
  47. font-size: 0.875rem;
  48. color: #666;
  49. line-height: 1.6;
  50. max-height: 18.75rem; /* 限制高度滚动 */
  51. box-sizing: border-box;
  52. }
  53. .popup-footer[data-v-af3fbef1] {
  54. padding: 0.9375rem;
  55. border-top: 0.0625rem solid #eee;
  56. }
  57. .confirm-btn[data-v-af3fbef1] {
  58. background: linear-gradient(90deg, #FF6F00 0%, #FF5722 100%);
  59. color: #fff;
  60. font-size: 0.9375rem;
  61. font-weight: bold;
  62. height: 2.5rem;
  63. line-height: 2.5rem;
  64. border-radius: 0.25rem;
  65. box-shadow: 0 0.125rem 0.3125rem rgba(255, 87, 34, 0.2);
  66. }
  67. .confirm-btn[data-v-af3fbef1]::after {
  68. border: none;
  69. }
  70. /* 引用样式文件 */
  71. /* 页面容器 */
  72. .container {
  73. height: 100vh;
  74. /* 强制全屏高度 */
  75. overflow: hidden;
  76. /* 禁止溢出滚动 */
  77. background-color: #fff;
  78. position: relative;
  79. display: flex;
  80. flex-direction: column;
  81. }
  82. /* 顶部 Banner */
  83. .banner-area {
  84. width: 100%;
  85. position: relative;
  86. /* 移除高度限制,依靠 content-card 的 margin-top 控制遮挡 */
  87. }
  88. .banner-img {
  89. width: 100%;
  90. display: block;
  91. /* 消除图片底部空隙 */
  92. }
  93. /* 内容卡片 - 核心布局技巧 */
  94. .content-card {
  95. flex: 1;
  96. background-color: #fff;
  97. margin-top: -2.5rem;
  98. /* 向上覆盖 banner,形成遮挡 */
  99. /* 实现向上凸起的圆弧效果: 使用 border-radius 实现顶部椭圆 */
  100. border-radius: 100% 100% 0 0 / 1.875rem 1.875rem 0 0;
  101. position: relative;
  102. z-index: 10;
  103. padding: 0 1.5625rem;
  104. display: flex;
  105. flex-direction: column;
  106. align-items: center;
  107. }
  108. /* 悬浮 Logo */
  109. .logo-wrapper {
  110. margin-top: -2.1875rem;
  111. /* Logo 向上悬浮 */
  112. margin-bottom: 1.5625rem;
  113. /* 添加白色光晕/阴影增强悬浮感 */
  114. border-radius: 50%;
  115. box-shadow: 0 0.3125rem 1.25rem rgba(0, 0, 0, 0.1);
  116. background-color: #fff;
  117. padding: 0.25rem;
  118. /* 白色边框 */
  119. }
  120. .logo-img {
  121. width: 3.75rem;
  122. height: 3.75rem;
  123. border-radius: 50%;
  124. display: block;
  125. }
  126. /* Tabs */
  127. .tabs {
  128. display: flex;
  129. align-items: center;
  130. margin-bottom: 1.875rem;
  131. }
  132. .tab-item {
  133. display: flex;
  134. flex-direction: column;
  135. align-items: center;
  136. padding: 0 0.9375rem;
  137. }
  138. .tab-text {
  139. font-size: 1rem;
  140. color: #999;
  141. font-weight: 500;
  142. margin-bottom: 0.3125rem;
  143. }
  144. .tab-item.active .tab-text {
  145. color: #FF5722;
  146. /* 主色调橙色 */
  147. font-weight: bold;
  148. font-size: 1.125rem;
  149. }
  150. .tab-indicator {
  151. width: 1.25rem;
  152. height: 0.1875rem;
  153. background-color: #FF5722;
  154. border-radius: 0.09375rem;
  155. }
  156. .divider {
  157. width: 1px;
  158. height: 0.9375rem;
  159. background-color: #eee;
  160. margin: 0 0.3125rem;
  161. }
  162. /* 表单 */
  163. .form-area {
  164. width: 100%;
  165. }
  166. .input-group {
  167. display: flex;
  168. align-items: center;
  169. border-bottom: 1px solid #f0f0f0;
  170. padding: 0.9375rem 0;
  171. margin-bottom: 0.625rem;
  172. }
  173. .area-code {
  174. display: flex;
  175. align-items: center;
  176. margin-right: 0.625rem;
  177. font-size: 1rem;
  178. color: #333;
  179. height: 100%;
  180. /* 确保高度撑满 */
  181. }
  182. .arrow {
  183. font-size: 0.625rem;
  184. color: #999;
  185. margin-left: 0.25rem;
  186. /* margin-top: 4rpx; 移除微调,依靠 flex 居中 */
  187. }
  188. .input {
  189. flex: 1;
  190. font-size: 0.9375rem;
  191. }
  192. .get-code-btn {
  193. background-color: #FFF0E9;
  194. /* 浅橙色背景 */
  195. padding: 0.46875rem 0.9375rem;
  196. /* 增大内边距 */
  197. border-radius: 1.25rem;
  198. /* 稍微增大圆角 */
  199. display: flex;
  200. align-items: center;
  201. justify-content: center;
  202. }
  203. .code-text {
  204. color: #FF5722;
  205. font-size: 0.875rem;
  206. /* 增大字体 */
  207. line-height: 1;
  208. /* 修正文字垂直居中 */
  209. }
  210. .eye-icon {
  211. padding: 0.3125rem;
  212. display: flex;
  213. align-items: center;
  214. justify-content: center;
  215. }
  216. .svg-icon {
  217. width: 1.25rem;
  218. height: 1.25rem;
  219. }
  220. .forgot-pwd {
  221. width: 100%;
  222. text-align: right;
  223. padding-top: 0.625rem;
  224. font-size: 0.8125rem;
  225. color: #666;
  226. }
  227. /* 按钮 */
  228. .login-btn {
  229. /* 鲜亮的橙色渐变 */
  230. background: linear-gradient(90deg, #FF9E60 0%, #FF5722 100%);
  231. color: #fff;
  232. border-radius: 1.5625rem;
  233. margin-top: 1.875rem;
  234. margin-bottom: 1.25rem;
  235. font-size: 1.0625rem;
  236. font-weight: bold;
  237. box-shadow: 0 0.3125rem 0.9375rem rgba(255, 87, 34, 0.35);
  238. /* 增强投影 */
  239. }
  240. .login-btn::after {
  241. border: none;
  242. }
  243. /* 协议 */
  244. .agreement {
  245. display: flex;
  246. align-items: center;
  247. /* 改为居中对齐,如果文字换行可能需要改为 flex-start 并调整 margin-top */
  248. justify-content: center;
  249. }
  250. .checkbox {
  251. width: 1rem;
  252. height: 1rem;
  253. border: 0.0625rem solid #ccc;
  254. border-radius: 50%;
  255. margin-right: 0.375rem;
  256. /* margin-top: 4rpx; 移除顶部 margin,由 align-items: center 控制 */
  257. display: flex;
  258. align-items: center;
  259. justify-content: center;
  260. }
  261. .checkbox.checked {
  262. border-color: #FF5722;
  263. background-color: #FF5722;
  264. }
  265. .check-mark {
  266. color: #fff;
  267. font-size: 0.6875rem;
  268. line-height: 1;
  269. /* 确保勾选符号居中 */
  270. }
  271. .agree-text {
  272. font-size: 0.75rem;
  273. color: #999;
  274. line-height: 1.5;
  275. }
  276. .link {
  277. color: #666;
  278. }
  279. /* 底部招募 */
  280. .footer-recruit {
  281. margin-top: auto;
  282. padding-bottom: 2.5rem;
  283. /* 增加底部距离 */
  284. width: 100%;
  285. display: flex;
  286. justify-content: center;
  287. }
  288. .recruit-badge {
  289. display: flex;
  290. align-items: center;
  291. padding: 0.625rem 1.5625rem;
  292. background-color: #fff;
  293. /* 白色背景 */
  294. border: 1px solid #FF5722;
  295. /* 橙色边框 */
  296. border-radius: 1.875rem;
  297. /* 胶囊圆角 */
  298. color: #FF5722;
  299. /* 橙色文字 */
  300. font-size: 0.875rem;
  301. font-weight: bold;
  302. box-shadow: 0 0.15625rem 0.46875rem rgba(255, 87, 34, 0.2);
  303. /* 橙色阴影 */
  304. }
  305. .flag-icon {
  306. margin-right: 0.46875rem;
  307. font-size: 0.875rem;
  308. color: #FF5722;
  309. }
  310. /* 弹窗样式 */
  311. .modal-mask {
  312. position: fixed;
  313. top: 0;
  314. left: 0;
  315. right: 0;
  316. bottom: 0;
  317. background-color: rgba(0, 0, 0, 0.5);
  318. z-index: 999;
  319. display: flex;
  320. align-items: center;
  321. justify-content: center;
  322. }
  323. .modal-content {
  324. width: 18.75rem;
  325. background-color: #fff;
  326. border-radius: 0.625rem;
  327. overflow: hidden;
  328. display: flex;
  329. flex-direction: column;
  330. max-height: 70vh;
  331. }
  332. .modal-header {
  333. padding: 0.9375rem;
  334. text-align: center;
  335. border-bottom: 1px solid #eee;
  336. }
  337. .modal-title {
  338. font-size: 1rem;
  339. font-weight: bold;
  340. }
  341. .modal-body {
  342. padding: 0.9375rem;
  343. flex: 1;
  344. overflow-y: auto;
  345. }
  346. .modal-text {
  347. font-size: 0.875rem;
  348. color: #666;
  349. line-height: 1.6;
  350. }
  351. .modal-footer {
  352. padding: 0.625rem 0.9375rem 0.9375rem;
  353. }
  354. .confirm-btn {
  355. background-color: #FF5722;
  356. color: #fff;
  357. font-size: 0.9375rem;
  358. border-radius: 1.25rem;
  359. }