Personal.wxss 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658
  1. .personal-container {
  2. padding: 20rpx;
  3. }
  4. .form-title {
  5. font-size: 36rpx;
  6. font-weight: bold;
  7. text-align: center;
  8. margin-bottom: 30rpx;
  9. }
  10. .form-container {
  11. background-color: #fff;
  12. border-radius: 10rpx;
  13. padding: 20rpx;
  14. }
  15. .section-title {
  16. font-size: 32rpx;
  17. font-weight: bold;
  18. margin: 30rpx 0 20rpx 10rpx;
  19. color: #333;
  20. border-left: 4rpx solid #0039b3;
  21. padding-left: 15rpx;
  22. }
  23. .form-row {
  24. display: flex;
  25. flex-direction: row;
  26. margin-bottom: 20rpx;
  27. flex-wrap: wrap;
  28. }
  29. .form-item {
  30. flex: 1;
  31. min-width: 300rpx;
  32. margin: 10rpx;
  33. border-bottom: 1px solid #eee;
  34. padding-bottom: 10rpx;
  35. }
  36. .label {
  37. font-size: 28rpx;
  38. color: #333;
  39. margin-right: 10rpx;
  40. display: block;
  41. margin-bottom: 10rpx;
  42. position: relative;
  43. padding-left: 14rpx; /* 为星号预留空间 */
  44. }
  45. input {
  46. font-size: 28rpx;
  47. height: 60rpx;
  48. }
  49. .picker-text {
  50. font-size: 28rpx;
  51. height: 60rpx;
  52. line-height: 60rpx;
  53. color: #666;
  54. }
  55. .submit-btn {
  56. margin-top: 40rpx;
  57. background-color: #0039b3;
  58. color: #fff;
  59. }
  60. .family-members-list {
  61. margin-top: 20rpx;
  62. }
  63. .family-member-item {
  64. background-color: #f8f8f8;
  65. border-radius: 8rpx;
  66. padding: 20rpx;
  67. margin-bottom: 20rpx;
  68. }
  69. .family-member-header {
  70. display: flex;
  71. justify-content: space-between;
  72. align-items: center;
  73. margin-bottom: 15rpx;
  74. border-bottom: 1px solid #eee;
  75. padding-bottom: 10rpx;
  76. }
  77. .family-member-title {
  78. font-size: 30rpx;
  79. font-weight: bold;
  80. color: #333;
  81. }
  82. .family-member-actions {
  83. display: flex;
  84. gap: 20rpx;
  85. }
  86. .family-member-edit {
  87. font-size: 26rpx;
  88. color: #1890ff;
  89. }
  90. .family-member-delete {
  91. font-size: 26rpx;
  92. color: #ff4d4f;
  93. }
  94. .form-subtitle {
  95. font-size: 28rpx;
  96. font-weight: bold;
  97. margin-bottom: 20rpx;
  98. display: flex;
  99. justify-content: space-between;
  100. align-items: center;
  101. }
  102. .cancel-edit {
  103. font-size: 26rpx;
  104. color: #999;
  105. font-weight: normal;
  106. }
  107. .family-member-content {
  108. padding: 10rpx 0;
  109. }
  110. .family-member-row {
  111. display: flex;
  112. margin-bottom: 10rpx;
  113. }
  114. .family-member-label {
  115. font-size: 26rpx;
  116. color: #666;
  117. width: 200rpx;
  118. }
  119. .family-member-value {
  120. font-size: 26rpx;
  121. color: #333;
  122. flex: 1;
  123. }
  124. .family-member-form {
  125. background-color: #fff;
  126. border-radius: 8rpx;
  127. padding: 20rpx;
  128. margin-top: 20rpx;
  129. }
  130. .form-row button-row {
  131. display: flex;
  132. justify-content: center;
  133. margin-top: 20rpx;
  134. }
  135. .form-item button-container {
  136. display: flex;
  137. flex-direction: column;
  138. align-items: center;
  139. }
  140. .circle-btn {
  141. width: 40rpx;
  142. height: 40rpx;
  143. border-radius: 50%;
  144. background-color: #0039b3;
  145. display: flex;
  146. justify-content: center;
  147. align-items: center;
  148. margin-bottom: 10rpx;
  149. }
  150. .btn-icon {
  151. font-size: 32rpx;
  152. color: #fff;
  153. }
  154. .btn-text {
  155. font-size: 28rpx;
  156. color: #333;
  157. }
  158. /* 添加圆形按钮相关样式 */
  159. .button-row {
  160. justify-content: center;
  161. margin-top: 30rpx;
  162. }
  163. .button-container {
  164. display: flex;
  165. flex-direction: column;
  166. align-items: center;
  167. border-bottom: none;
  168. min-width: auto;
  169. }
  170. .circle-btn {
  171. width: 100rpx;
  172. height: 100rpx;
  173. border-radius: 50%;
  174. padding: 0;
  175. display: flex;
  176. align-items: center;
  177. justify-content: center;
  178. background-color: #0039b3;
  179. box-shadow: 0 6rpx 16rpx rgba(0, 0, 0, 0.1);
  180. margin: 0;
  181. }
  182. .btn-icon {
  183. font-size: 50rpx;
  184. color: #fff;
  185. line-height: 1;
  186. }
  187. .btn-text {
  188. font-size: 24rpx;
  189. color: #666;
  190. margin-top: 10rpx;
  191. }
  192. /* 编辑状态下的按钮颜色 */
  193. .circle-btn.editing {
  194. background-color: #1890ff;
  195. }
  196. /* 移除原来的添加按钮样式 */
  197. .add-member-btn {
  198. display: none;
  199. }
  200. /* 应聘来源样式 */
  201. .source-container {
  202. background-color: #fff;
  203. border-radius: 10rpx;
  204. padding: 20rpx;
  205. margin-bottom: 30rpx;
  206. }
  207. .source-row {
  208. display: flex;
  209. margin-bottom: 20rpx;
  210. align-items: flex-start;
  211. }
  212. .source-label {
  213. width: 120rpx;
  214. font-size: 28rpx;
  215. color: #333;
  216. padding-top: 6rpx;
  217. }
  218. .source-options {
  219. flex: 1;
  220. display: flex;
  221. flex-wrap: wrap;
  222. }
  223. .source-option {
  224. display: flex;
  225. align-items: center;
  226. margin-right: 30rpx;
  227. margin-bottom: 15rpx;
  228. }
  229. .source-option text {
  230. font-size: 28rpx;
  231. margin-left: 8rpx;
  232. }
  233. .other-option {
  234. flex-basis: 100%;
  235. margin-top: 10rpx;
  236. }
  237. .other-option input {
  238. border-bottom: 1px solid #eee;
  239. width: 300rpx;
  240. margin-left: 10rpx;
  241. font-size: 28rpx;
  242. }
  243. /* 教育经历样式 */
  244. .education-list {
  245. margin-top: 20rpx;
  246. }
  247. .education-item {
  248. background-color: #f8f8f8;
  249. border-radius: 8rpx;
  250. padding: 20rpx;
  251. margin-bottom: 20rpx;
  252. }
  253. .education-header {
  254. display: flex;
  255. justify-content: space-between;
  256. align-items: center;
  257. margin-bottom: 15rpx;
  258. border-bottom: 1px solid #eee;
  259. padding-bottom: 10rpx;
  260. }
  261. .education-title {
  262. font-size: 30rpx;
  263. font-weight: bold;
  264. color: #333;
  265. }
  266. .education-actions {
  267. display: flex;
  268. gap: 20rpx;
  269. }
  270. .education-edit {
  271. font-size: 26rpx;
  272. color: #1890ff;
  273. }
  274. .education-delete {
  275. font-size: 26rpx;
  276. color: #ff4d4f;
  277. }
  278. .education-content {
  279. padding: 10rpx 0;
  280. }
  281. .education-row {
  282. display: flex;
  283. margin-bottom: 10rpx;
  284. }
  285. .education-label {
  286. font-size: 26rpx;
  287. color: #666;
  288. width: 150rpx;
  289. }
  290. .education-value {
  291. font-size: 26rpx;
  292. color: #333;
  293. flex: 1;
  294. }
  295. .education-form {
  296. background-color: #fff;
  297. border-radius: 8rpx;
  298. padding: 20rpx;
  299. margin-top: 20rpx;
  300. }
  301. .date-range {
  302. display: flex;
  303. align-items: center;
  304. justify-content: space-around;
  305. }
  306. .date-separator {
  307. margin: 0 10rpx;
  308. color: #666;
  309. }
  310. /* 专业技能和培训样式 */
  311. .skills-container, .training-container {
  312. background-color: #fff;
  313. border-radius: 10rpx;
  314. padding: 20rpx;
  315. margin-bottom: 20rpx;
  316. }
  317. .skills-textarea, .training-textarea {
  318. width: 100%;
  319. height: 200rpx;
  320. font-size: 28rpx;
  321. line-height: 1.5;
  322. padding: 10rpx;
  323. box-sizing: border-box;
  324. border: 1px solid #eee;
  325. border-radius: 6rpx;
  326. }
  327. /* 工作经历样式 */
  328. .work-list {
  329. margin-top: 20rpx;
  330. }
  331. .work-item {
  332. background-color: #f8f8f8;
  333. border-radius: 8rpx;
  334. padding: 20rpx;
  335. margin-bottom: 20rpx;
  336. }
  337. .work-header {
  338. display: flex;
  339. justify-content: space-between;
  340. align-items: center;
  341. margin-bottom: 15rpx;
  342. border-bottom: 1px solid #eee;
  343. padding-bottom: 10rpx;
  344. }
  345. .work-title {
  346. font-size: 30rpx;
  347. font-weight: bold;
  348. color: #333;
  349. }
  350. .work-actions {
  351. display: flex;
  352. gap: 20rpx;
  353. }
  354. .work-edit {
  355. font-size: 26rpx;
  356. color: #1890ff;
  357. }
  358. .work-delete {
  359. font-size: 26rpx;
  360. color: #ff4d4f;
  361. }
  362. .work-content {
  363. padding: 10rpx 0;
  364. }
  365. .work-row {
  366. display: flex;
  367. margin-bottom: 10rpx;
  368. }
  369. .work-label {
  370. font-size: 26rpx;
  371. color: #666;
  372. width: 150rpx;
  373. }
  374. .work-value {
  375. font-size: 26rpx;
  376. color: #333;
  377. flex: 1;
  378. }
  379. .work-form {
  380. background-color: #fff;
  381. border-radius: 8rpx;
  382. padding: 20rpx;
  383. margin-top: 20rpx;
  384. }
  385. /* 步骤指示器样式 */
  386. .steps-indicator {
  387. display: flex;
  388. justify-content: space-between;
  389. margin-bottom: 30rpx;
  390. padding: 20rpx;
  391. background-color: #fff;
  392. border-radius: 10rpx;
  393. overflow-x: auto;
  394. }
  395. .step-item {
  396. display: flex;
  397. flex-direction: column;
  398. align-items: center;
  399. position: relative;
  400. min-width: 120rpx;
  401. }
  402. .step-item:not(:last-child)::after {
  403. content: '';
  404. position: absolute;
  405. top: 20rpx;
  406. right: -50%;
  407. width: 100%;
  408. height: 2rpx;
  409. background-color: #ddd;
  410. z-index: 1;
  411. }
  412. .step-item.active:not(:last-child)::after {
  413. background-color: #0039b3;
  414. }
  415. .step-number {
  416. width: 40rpx;
  417. height: 40rpx;
  418. border-radius: 50%;
  419. background-color: #ddd;
  420. color: #fff;
  421. display: flex;
  422. justify-content: center;
  423. align-items: center;
  424. font-size: 24rpx;
  425. margin-bottom: 10rpx;
  426. position: relative;
  427. z-index: 2;
  428. }
  429. .step-item.active .step-number {
  430. background-color: #0039b3;
  431. }
  432. .step-item.current .step-number {
  433. background-color: #0039b3;
  434. box-shadow: 0 0 0 4rpx rgba(0, 122, 255, 0.2);
  435. }
  436. .step-name {
  437. font-size: 22rpx;
  438. color: #999;
  439. text-align: center;
  440. }
  441. .step-item.active .step-name {
  442. color: #333;
  443. }
  444. .step-item.current .step-name {
  445. color: #0039b3;
  446. font-weight: bold;
  447. }
  448. /* 导航按钮样式 */
  449. .nav-buttons {
  450. display: flex;
  451. justify-content: space-between;
  452. margin-top: 40rpx;
  453. padding: 0 20rpx;
  454. }
  455. .nav-btn {
  456. flex: 1;
  457. margin: 0 10rpx;
  458. height: 80rpx;
  459. line-height: 80rpx;
  460. text-align: center;
  461. border-radius: 40rpx;
  462. font-size: 28rpx;
  463. }
  464. .prev-btn {
  465. background-color: #f0f0f0;
  466. color: #666;
  467. }
  468. .next-btn {
  469. background-color: #0039b3;
  470. color: #fff;
  471. }
  472. .submit-btn {
  473. flex: 1;
  474. margin: 0 10rpx;
  475. height: 80rpx;
  476. line-height: 80rpx;
  477. text-align: center;
  478. border-radius: 40rpx;
  479. font-size: 28rpx;
  480. background-color: #0039b3;
  481. color: #fff;
  482. }
  483. /* 确认提交页样式 */
  484. .confirm-container {
  485. background-color: #fff;
  486. border-radius: 10rpx;
  487. padding: 20rpx;
  488. margin-bottom: 30rpx;
  489. }
  490. .confirm-message {
  491. padding: 20rpx;
  492. background-color: #f6f6f6;
  493. border-radius: 8rpx;
  494. margin-bottom: 20rpx;
  495. }
  496. .info-summary {
  497. padding: 20rpx;
  498. }
  499. .summary-item {
  500. display: flex;
  501. margin-bottom: 15rpx;
  502. }
  503. .summary-label {
  504. width: 150rpx;
  505. font-size: 28rpx;
  506. color: #666;
  507. }
  508. .summary-value {
  509. flex: 1;
  510. font-size: 28rpx;
  511. color: #333;
  512. }
  513. .input-error {
  514. border-bottom: 1px solid #ff4d4f !important;
  515. }
  516. .error-message {
  517. color: #ff4d4f;
  518. font-size: 24rpx;
  519. margin-top: 6rpx;
  520. display: block;
  521. }
  522. /* 添加承诺书弹框样式 */
  523. .promise-modal {
  524. position: fixed;
  525. top: 0;
  526. left: 0;
  527. right: 0;
  528. bottom: 0;
  529. background-color: rgba(0, 0, 0, 0.5);
  530. z-index: 999;
  531. display: flex;
  532. justify-content: center;
  533. align-items: center;
  534. }
  535. .promise-content {
  536. width: 80%;
  537. max-width: 600rpx;
  538. background-color: #fff;
  539. border-radius: 12rpx;
  540. padding: 30rpx;
  541. box-shadow: 0 4rpx 20rpx rgba(0, 0, 0, 0.1);
  542. }
  543. .promise-title {
  544. font-size: 34rpx;
  545. font-weight: bold;
  546. text-align: center;
  547. margin-bottom: 20rpx;
  548. color: #333;
  549. }
  550. .promise-text {
  551. height: 600rpx;
  552. margin-bottom: 20rpx;
  553. /* padding: 20rpx; */
  554. background-color: #f8f8f8;
  555. border-radius: 8rpx;
  556. font-size: 28rpx;
  557. line-height: 1.6;
  558. color: #333;
  559. }
  560. .promise-checkbox {
  561. display: flex;
  562. align-items: center;
  563. margin-bottom: 30rpx;
  564. padding: 0 10rpx;
  565. }
  566. .promise-checkbox text {
  567. font-size: 28rpx;
  568. margin-left: 10rpx;
  569. color: #333;
  570. }
  571. .promise-buttons {
  572. display: flex;
  573. justify-content: center;
  574. }
  575. .promise-btn {
  576. width: 200rpx;
  577. height: 80rpx;
  578. line-height: 80rpx;
  579. text-align: center;
  580. border-radius: 40rpx;
  581. font-size: 28rpx;
  582. }
  583. .confirm-btn {
  584. background-color: #0039b3;
  585. color: #fff;
  586. }
  587. .confirm-btn[disabled] {
  588. background-color: #cccccc;
  589. color: #ffffff;
  590. }
  591. /* Loading indicator styles */
  592. .loading-container {
  593. position: fixed;
  594. top: 0;
  595. left: 0;
  596. right: 0;
  597. bottom: 0;
  598. background-color: rgba(255, 255, 255, 0.8);
  599. display: flex;
  600. flex-direction: column;
  601. justify-content: center;
  602. align-items: center;
  603. z-index: 1000;
  604. }
  605. .loading-spinner {
  606. width: 60rpx;
  607. height: 60rpx;
  608. border: 6rpx solid #f3f3f3;
  609. border-top: 6rpx solid #0039b3;
  610. border-radius: 50%;
  611. animation: spin 1s linear infinite;
  612. margin-bottom: 20rpx;
  613. }
  614. .loading-text {
  615. font-size: 28rpx;
  616. color: #666;
  617. }
  618. @keyframes spin {
  619. 0% { transform: rotate(0deg);
  620. }
  621. 100% { transform: rotate(360deg);
  622. }
  623. }
  624. /* 添加开关样式 */
  625. .form-item switch {
  626. margin-top: 10rpx;
  627. }
  628. /* 修改必填项标签的样式 */
  629. .label.required::before {
  630. content: '*';
  631. color: #ff4d4f;
  632. margin-right: 4rpx;
  633. position: absolute;
  634. left: 0;
  635. top: -4rpx;
  636. }
  637. /* 修改必填项标签的样式 */
  638. /* .label.required::after {
  639. content: '*';
  640. color: #ff4d4f;
  641. margin-left: 4rpx;
  642. } */