add_member.wxss 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683
  1. .container {
  2. min-height: 100vh;
  3. background-color: #f5f5f5;
  4. padding-bottom: 160rpx;
  5. }
  6. /* 页面标题 */
  7. .page-header {
  8. background: linear-gradient(135deg, #8B4513 0%, #D2691E 100%);
  9. padding: 40rpx 30rpx;
  10. }
  11. .page-title {
  12. font-size: 36rpx;
  13. font-weight: 600;
  14. color: #fff;
  15. }
  16. /* 表单容器 */
  17. .form-container {
  18. padding: 20rpx 30rpx;
  19. }
  20. /* 章节 */
  21. .section {
  22. background: #fff;
  23. border-radius: 16rpx;
  24. padding: 24rpx;
  25. margin-bottom: 20rpx;
  26. }
  27. .section-title {
  28. font-size: 30rpx;
  29. font-weight: 600;
  30. color: #333;
  31. margin-bottom: 20rpx;
  32. padding-left: 16rpx;
  33. border-left: 6rpx solid #8B4513;
  34. }
  35. /* 表单项 */
  36. .form-item {
  37. margin-bottom: 24rpx;
  38. }
  39. .form-item:last-child {
  40. margin-bottom: 0;
  41. }
  42. .form-label {
  43. display: flex;
  44. align-items: center;
  45. margin-bottom: 12rpx;
  46. }
  47. .label-text {
  48. font-size: 28rpx;
  49. color: #333;
  50. }
  51. .required {
  52. font-size: 24rpx;
  53. color: #ff4d4f;
  54. margin-left: 8rpx;
  55. }
  56. .form-input {
  57. width: 100%;
  58. height: 80rpx;
  59. background: #f8f9fa;
  60. border-radius: 12rpx;
  61. padding: 0 24rpx;
  62. font-size: 28rpx;
  63. color: #333;
  64. box-sizing: border-box;
  65. }
  66. .form-textarea {
  67. width: 100%;
  68. height: 160rpx;
  69. background: #f8f9fa;
  70. border-radius: 12rpx;
  71. padding: 20rpx 24rpx;
  72. font-size: 28rpx;
  73. color: #333;
  74. box-sizing: border-box;
  75. }
  76. /* 单选框组 */
  77. .radio-group {
  78. display: flex;
  79. gap: 40rpx;
  80. }
  81. .radio-item {
  82. display: flex;
  83. align-items: center;
  84. padding: 16rpx 32rpx;
  85. background: #f8f9fa;
  86. border-radius: 12rpx;
  87. border: 2rpx solid transparent;
  88. transition: all 0.3s ease;
  89. }
  90. .radio-item.active {
  91. background: rgba(139, 69, 19, 0.1);
  92. border-color: #8B4513;
  93. }
  94. .radio-circle {
  95. width: 32rpx;
  96. height: 32rpx;
  97. border-radius: 50%;
  98. border: 2rpx solid #ccc;
  99. margin-right: 12rpx;
  100. position: relative;
  101. }
  102. .radio-item.active .radio-circle {
  103. border-color: #8B4513;
  104. }
  105. .radio-item.active .radio-circle::after {
  106. content: '';
  107. position: absolute;
  108. top: 50%;
  109. left: 50%;
  110. transform: translate(-50%, -50%);
  111. width: 16rpx;
  112. height: 16rpx;
  113. background: #8B4513;
  114. border-radius: 50%;
  115. }
  116. .radio-text {
  117. font-size: 28rpx;
  118. color: #333;
  119. }
  120. /* 选择器 */
  121. .date-picker,
  122. .relation-select {
  123. background: #f8f9fa;
  124. border-radius: 12rpx;
  125. padding: 24rpx;
  126. }
  127. .picker-content,
  128. .relation-select {
  129. display: flex;
  130. align-items: center;
  131. justify-content: space-between;
  132. }
  133. .picker-text,
  134. .relation-text {
  135. font-size: 28rpx;
  136. color: #333;
  137. }
  138. .relation-arrow {
  139. font-size: 36rpx;
  140. color: #999;
  141. }
  142. /* 关系信息 */
  143. .relation-container {
  144. margin-top: 16rpx;
  145. }
  146. .relation-row {
  147. display: flex;
  148. gap: 16rpx;
  149. }
  150. .relation-item {
  151. flex: 1;
  152. }
  153. .relation-item .form-label {
  154. margin-bottom: 8rpx;
  155. }
  156. .relation-item .picker-content {
  157. background: #f8f9fa;
  158. border-radius: 12rpx;
  159. padding: 20rpx 16rpx;
  160. }
  161. /* 提交按钮 */
  162. .submit-section {
  163. position: fixed;
  164. bottom: 0;
  165. left: 0;
  166. right: 0;
  167. background: #fff;
  168. padding: 20rpx 30rpx;
  169. padding-bottom: calc(20rpx + env(safe-area-inset-bottom));
  170. box-shadow: 0 -4rpx 12rpx rgba(0, 0, 0, 0.05);
  171. }
  172. .submit-btn {
  173. width: 100%;
  174. height: 88rpx;
  175. background: linear-gradient(135deg, #8B4513 0%, #D2691E 100%);
  176. border-radius: 44rpx;
  177. font-size: 32rpx;
  178. font-weight: 600;
  179. color: #fff;
  180. border: none;
  181. }
  182. .submit-btn:active {
  183. opacity: 0.8;
  184. }
  185. /* 弹窗遮罩 */
  186. .modal-overlay {
  187. position: fixed;
  188. top: 0;
  189. left: 0;
  190. right: 0;
  191. bottom: 0;
  192. background: rgba(0, 0, 0, 0.5);
  193. display: flex;
  194. align-items: center;
  195. justify-content: center;
  196. z-index: 1000;
  197. }
  198. .modal-content {
  199. width: 85%;
  200. max-height: 70vh;
  201. background: #fff;
  202. border-radius: 20rpx;
  203. overflow: hidden;
  204. }
  205. .detail-modal {
  206. max-height: 80vh;
  207. }
  208. .modal-header {
  209. display: flex;
  210. align-items: center;
  211. justify-content: space-between;
  212. padding: 30rpx;
  213. border-bottom: 1rpx solid #eee;
  214. }
  215. .modal-title {
  216. font-size: 32rpx;
  217. font-weight: 600;
  218. color: #333;
  219. }
  220. .modal-close {
  221. width: 48rpx;
  222. height: 48rpx;
  223. display: flex;
  224. align-items: center;
  225. justify-content: center;
  226. font-size: 40rpx;
  227. color: #999;
  228. }
  229. .modal-body {
  230. padding: 30rpx;
  231. max-height: 40vh;
  232. overflow-y: auto;
  233. }
  234. /* 同名列表 */
  235. .duplicate-list {
  236. display: flex;
  237. flex-direction: column;
  238. }
  239. .duplicate-item {
  240. display: flex;
  241. align-items: center;
  242. justify-content: space-between;
  243. padding: 24rpx;
  244. border-bottom: 1rpx solid #f0f0f0;
  245. }
  246. .duplicate-item:last-child {
  247. border-bottom: none;
  248. }
  249. .duplicate-info {
  250. display: flex;
  251. flex-direction: column;
  252. }
  253. .duplicate-name {
  254. font-size: 30rpx;
  255. font-weight: 600;
  256. color: #333;
  257. margin-bottom: 8rpx;
  258. }
  259. .duplicate-detail {
  260. font-size: 24rpx;
  261. color: #999;
  262. }
  263. .duplicate-arrow {
  264. font-size: 36rpx;
  265. color: #999;
  266. }
  267. /* 详情内容 */
  268. .detail-section {
  269. display: flex;
  270. flex-direction: column;
  271. }
  272. .detail-row {
  273. display: flex;
  274. justify-content: space-between;
  275. padding: 20rpx 0;
  276. border-bottom: 1rpx solid #f0f0f0;
  277. }
  278. .detail-row:last-child {
  279. border-bottom: none;
  280. }
  281. .detail-label {
  282. font-size: 28rpx;
  283. color: #999;
  284. }
  285. .detail-value {
  286. font-size: 28rpx;
  287. color: #333;
  288. font-weight: 500;
  289. }
  290. /* 弹窗按钮 */
  291. .modal-footer {
  292. display: flex;
  293. gap: 20rpx;
  294. padding: 20rpx 30rpx;
  295. padding-bottom: calc(20rpx + env(safe-area-inset-bottom));
  296. border-top: 1rpx solid #eee;
  297. }
  298. .modal-btn {
  299. flex: 1;
  300. height: 80rpx;
  301. border-radius: 40rpx;
  302. font-size: 30rpx;
  303. font-weight: 500;
  304. border: none;
  305. }
  306. .cancel-btn {
  307. background: #f5f5f5;
  308. color: #666;
  309. }
  310. .confirm-btn {
  311. background: linear-gradient(135deg, #8B4513 0%, #D2691E 100%);
  312. color: #fff;
  313. }
  314. /* 详情弹窗增强 */
  315. .detail-modal {
  316. max-height: 88vh;
  317. height: 88vh;
  318. display: flex;
  319. flex-direction: column;
  320. }
  321. .detail-modal-title-wrap {
  322. display: flex;
  323. align-items: baseline;
  324. gap: 8rpx;
  325. flex: 1;
  326. min-width: 0;
  327. }
  328. .detail-modal-sub {
  329. font-size: 26rpx;
  330. color: #888;
  331. font-weight: normal;
  332. }
  333. .detail-scroll {
  334. flex: 1;
  335. min-height: 0;
  336. }
  337. .detail-group-title {
  338. font-size: 26rpx;
  339. font-weight: 700;
  340. color: #8B4513;
  341. background: #fdf6f0;
  342. padding: 16rpx 30rpx;
  343. border-left: 6rpx solid #8B4513;
  344. margin-top: 4rpx;
  345. }
  346. .detail-section {
  347. background: #fff;
  348. padding: 0 30rpx;
  349. }
  350. .detail-row {
  351. display: flex;
  352. justify-content: space-between;
  353. align-items: flex-start;
  354. padding: 20rpx 0;
  355. border-bottom: 1rpx solid #f5f5f5;
  356. }
  357. .detail-row:last-child {
  358. border-bottom: none;
  359. }
  360. .detail-label {
  361. font-size: 28rpx;
  362. color: #999;
  363. min-width: 140rpx;
  364. flex-shrink: 0;
  365. }
  366. .detail-value {
  367. font-size: 28rpx;
  368. color: #333;
  369. font-weight: 500;
  370. text-align: right;
  371. flex: 1;
  372. }
  373. .detail-source-miniprogram { color: #4a90e2; }
  374. .detail-source-pdf_ai { color: #9b59b6; }
  375. .detail-source-backend { color: #888; }
  376. /* 子女列表 */
  377. .detail-children-list {
  378. padding: 12rpx 0;
  379. }
  380. .detail-child-item {
  381. display: flex;
  382. align-items: center;
  383. padding: 14rpx 0;
  384. border-bottom: 1rpx solid #f8f8f8;
  385. }
  386. .detail-child-item:last-child {
  387. border-bottom: none;
  388. }
  389. .child-sex-dot {
  390. font-size: 20rpx;
  391. margin-right: 12rpx;
  392. }
  393. .sex-dot-1 { color: #4a90e2; }
  394. .sex-dot-2 { color: #e25c8a; }
  395. .child-name {
  396. font-size: 28rpx;
  397. color: #333;
  398. }
  399. .child-gen {
  400. font-size: 24rpx;
  401. color: #aaa;
  402. }
  403. /* 备注 */
  404. .detail-notes {
  405. background: #fff;
  406. padding: 20rpx 30rpx;
  407. font-size: 28rpx;
  408. color: #555;
  409. line-height: 1.6;
  410. }
  411. /* 关联成员选择行 */
  412. .relation-select-row {
  413. display: flex;
  414. align-items: center;
  415. gap: 16rpx;
  416. }
  417. .relation-select {
  418. flex: 1;
  419. background: #f8f9fa;
  420. border-radius: 12rpx;
  421. padding: 24rpx;
  422. display: flex;
  423. align-items: center;
  424. justify-content: space-between;
  425. border: 2rpx solid transparent;
  426. }
  427. .relation-select.selected {
  428. border-color: #8B4513;
  429. background: rgba(139, 69, 19, 0.05);
  430. }
  431. .relation-clear {
  432. width: 60rpx;
  433. height: 60rpx;
  434. border-radius: 50%;
  435. background: #f0f0f0;
  436. display: flex;
  437. align-items: center;
  438. justify-content: center;
  439. font-size: 26rpx;
  440. color: #999;
  441. flex-shrink: 0;
  442. }
  443. /* 搜索弹层 */
  444. .search-modal {
  445. width: 92%;
  446. max-height: 80vh;
  447. display: flex;
  448. flex-direction: column;
  449. }
  450. .search-bar-wrap {
  451. display: flex;
  452. align-items: center;
  453. gap: 16rpx;
  454. padding: 20rpx 30rpx;
  455. border-bottom: 1rpx solid #f0f0f0;
  456. }
  457. .search-input {
  458. flex: 1;
  459. height: 72rpx;
  460. background: #f8f9fa;
  461. border-radius: 36rpx;
  462. padding: 0 28rpx;
  463. font-size: 28rpx;
  464. color: #333;
  465. }
  466. .search-btn {
  467. height: 72rpx;
  468. padding: 0 32rpx;
  469. background: linear-gradient(135deg, #8B4513, #D2691E);
  470. color: #fff;
  471. border-radius: 36rpx;
  472. font-size: 28rpx;
  473. display: flex;
  474. align-items: center;
  475. justify-content: center;
  476. white-space: nowrap;
  477. flex-shrink: 0;
  478. }
  479. .search-tips {
  480. padding: 40rpx 30rpx;
  481. text-align: center;
  482. font-size: 26rpx;
  483. color: #aaa;
  484. }
  485. .search-loading {
  486. padding: 40rpx 30rpx;
  487. text-align: center;
  488. font-size: 26rpx;
  489. color: #8B4513;
  490. }
  491. .search-results {
  492. flex: 1;
  493. min-height: 0;
  494. height: 50vh;
  495. }
  496. /* 搜索结果卡片 */
  497. .search-result-item {
  498. display: flex;
  499. align-items: flex-start;
  500. padding: 24rpx 30rpx;
  501. border-bottom: 1rpx solid #f5f5f5;
  502. gap: 16rpx;
  503. }
  504. .search-result-item:active {
  505. background: #fdf6f0;
  506. }
  507. .result-info {
  508. flex: 1;
  509. min-width: 0;
  510. }
  511. .result-name-row {
  512. display: flex;
  513. align-items: baseline;
  514. flex-wrap: wrap;
  515. gap: 4rpx;
  516. margin-bottom: 8rpx;
  517. }
  518. .result-name {
  519. font-size: 32rpx;
  520. font-weight: 700;
  521. color: #1a1a2e;
  522. }
  523. .result-simplified {
  524. font-size: 26rpx;
  525. color: #888;
  526. font-weight: normal;
  527. }
  528. .result-meta-row {
  529. display: flex;
  530. align-items: center;
  531. flex-wrap: wrap;
  532. margin-top: 6rpx;
  533. }
  534. .result-id {
  535. font-size: 24rpx;
  536. color: #aaa;
  537. }
  538. .result-sep {
  539. font-size: 24rpx;
  540. color: #ccc;
  541. margin: 0 4rpx;
  542. }
  543. .result-sex {
  544. font-size: 24rpx;
  545. color: #666;
  546. }
  547. .result-meta-label {
  548. font-size: 24rpx;
  549. color: #aaa;
  550. }
  551. .result-meta-val {
  552. font-size: 24rpx;
  553. color: #555;
  554. }
  555. .result-meta-gen {
  556. font-size: 22rpx;
  557. color: #aaa;
  558. }
  559. .result-actions {
  560. display: flex;
  561. flex-direction: column;
  562. gap: 12rpx;
  563. flex-shrink: 0;
  564. padding-top: 4rpx;
  565. }
  566. .result-select-btn {
  567. background: linear-gradient(135deg, #8B4513, #D2691E);
  568. color: #fff;
  569. font-size: 26rpx;
  570. padding: 10rpx 24rpx;
  571. border-radius: 24rpx;
  572. text-align: center;
  573. white-space: nowrap;
  574. }
  575. .result-detail-btn {
  576. background: #f0f0f0;
  577. color: #555;
  578. font-size: 26rpx;
  579. padding: 10rpx 24rpx;
  580. border-radius: 24rpx;
  581. text-align: center;
  582. white-space: nowrap;
  583. }