login.css 6.8 KB

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