| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683 |
- .container {
- min-height: 100vh;
- background-color: #f5f5f5;
- padding-bottom: 160rpx;
- }
- /* 页面标题 */
- .page-header {
- background: linear-gradient(135deg, #8B4513 0%, #D2691E 100%);
- padding: 40rpx 30rpx;
- }
- .page-title {
- font-size: 36rpx;
- font-weight: 600;
- color: #fff;
- }
- /* 表单容器 */
- .form-container {
- padding: 20rpx 30rpx;
- }
- /* 章节 */
- .section {
- background: #fff;
- border-radius: 16rpx;
- padding: 24rpx;
- margin-bottom: 20rpx;
- }
- .section-title {
- font-size: 30rpx;
- font-weight: 600;
- color: #333;
- margin-bottom: 20rpx;
- padding-left: 16rpx;
- border-left: 6rpx solid #8B4513;
- }
- /* 表单项 */
- .form-item {
- margin-bottom: 24rpx;
- }
- .form-item:last-child {
- margin-bottom: 0;
- }
- .form-label {
- display: flex;
- align-items: center;
- margin-bottom: 12rpx;
- }
- .label-text {
- font-size: 28rpx;
- color: #333;
- }
- .required {
- font-size: 24rpx;
- color: #ff4d4f;
- margin-left: 8rpx;
- }
- .form-input {
- width: 100%;
- height: 80rpx;
- background: #f8f9fa;
- border-radius: 12rpx;
- padding: 0 24rpx;
- font-size: 28rpx;
- color: #333;
- box-sizing: border-box;
- }
- .form-textarea {
- width: 100%;
- height: 160rpx;
- background: #f8f9fa;
- border-radius: 12rpx;
- padding: 20rpx 24rpx;
- font-size: 28rpx;
- color: #333;
- box-sizing: border-box;
- }
- /* 单选框组 */
- .radio-group {
- display: flex;
- gap: 40rpx;
- }
- .radio-item {
- display: flex;
- align-items: center;
- padding: 16rpx 32rpx;
- background: #f8f9fa;
- border-radius: 12rpx;
- border: 2rpx solid transparent;
- transition: all 0.3s ease;
- }
- .radio-item.active {
- background: rgba(139, 69, 19, 0.1);
- border-color: #8B4513;
- }
- .radio-circle {
- width: 32rpx;
- height: 32rpx;
- border-radius: 50%;
- border: 2rpx solid #ccc;
- margin-right: 12rpx;
- position: relative;
- }
- .radio-item.active .radio-circle {
- border-color: #8B4513;
- }
- .radio-item.active .radio-circle::after {
- content: '';
- position: absolute;
- top: 50%;
- left: 50%;
- transform: translate(-50%, -50%);
- width: 16rpx;
- height: 16rpx;
- background: #8B4513;
- border-radius: 50%;
- }
- .radio-text {
- font-size: 28rpx;
- color: #333;
- }
- /* 选择器 */
- .date-picker,
- .relation-select {
- background: #f8f9fa;
- border-radius: 12rpx;
- padding: 24rpx;
- }
- .picker-content,
- .relation-select {
- display: flex;
- align-items: center;
- justify-content: space-between;
- }
- .picker-text,
- .relation-text {
- font-size: 28rpx;
- color: #333;
- }
- .relation-arrow {
- font-size: 36rpx;
- color: #999;
- }
- /* 关系信息 */
- .relation-container {
- margin-top: 16rpx;
- }
- .relation-row {
- display: flex;
- gap: 16rpx;
- }
- .relation-item {
- flex: 1;
- }
- .relation-item .form-label {
- margin-bottom: 8rpx;
- }
- .relation-item .picker-content {
- background: #f8f9fa;
- border-radius: 12rpx;
- padding: 20rpx 16rpx;
- }
- /* 提交按钮 */
- .submit-section {
- position: fixed;
- bottom: 0;
- left: 0;
- right: 0;
- background: #fff;
- padding: 20rpx 30rpx;
- padding-bottom: calc(20rpx + env(safe-area-inset-bottom));
- box-shadow: 0 -4rpx 12rpx rgba(0, 0, 0, 0.05);
- }
- .submit-btn {
- width: 100%;
- height: 88rpx;
- background: linear-gradient(135deg, #8B4513 0%, #D2691E 100%);
- border-radius: 44rpx;
- font-size: 32rpx;
- font-weight: 600;
- color: #fff;
- border: none;
- }
- .submit-btn:active {
- opacity: 0.8;
- }
- /* 弹窗遮罩 */
- .modal-overlay {
- position: fixed;
- top: 0;
- left: 0;
- right: 0;
- bottom: 0;
- background: rgba(0, 0, 0, 0.5);
- display: flex;
- align-items: center;
- justify-content: center;
- z-index: 1000;
- }
- .modal-content {
- width: 85%;
- max-height: 70vh;
- background: #fff;
- border-radius: 20rpx;
- overflow: hidden;
- }
- .detail-modal {
- max-height: 80vh;
- }
- .modal-header {
- display: flex;
- align-items: center;
- justify-content: space-between;
- padding: 30rpx;
- border-bottom: 1rpx solid #eee;
- }
- .modal-title {
- font-size: 32rpx;
- font-weight: 600;
- color: #333;
- }
- .modal-close {
- width: 48rpx;
- height: 48rpx;
- display: flex;
- align-items: center;
- justify-content: center;
- font-size: 40rpx;
- color: #999;
- }
- .modal-body {
- padding: 30rpx;
- max-height: 40vh;
- overflow-y: auto;
- }
- /* 同名列表 */
- .duplicate-list {
- display: flex;
- flex-direction: column;
- }
- .duplicate-item {
- display: flex;
- align-items: center;
- justify-content: space-between;
- padding: 24rpx;
- border-bottom: 1rpx solid #f0f0f0;
- }
- .duplicate-item:last-child {
- border-bottom: none;
- }
- .duplicate-info {
- display: flex;
- flex-direction: column;
- }
- .duplicate-name {
- font-size: 30rpx;
- font-weight: 600;
- color: #333;
- margin-bottom: 8rpx;
- }
- .duplicate-detail {
- font-size: 24rpx;
- color: #999;
- }
- .duplicate-arrow {
- font-size: 36rpx;
- color: #999;
- }
- /* 详情内容 */
- .detail-section {
- display: flex;
- flex-direction: column;
- }
- .detail-row {
- display: flex;
- justify-content: space-between;
- padding: 20rpx 0;
- border-bottom: 1rpx solid #f0f0f0;
- }
- .detail-row:last-child {
- border-bottom: none;
- }
- .detail-label {
- font-size: 28rpx;
- color: #999;
- }
- .detail-value {
- font-size: 28rpx;
- color: #333;
- font-weight: 500;
- }
- /* 弹窗按钮 */
- .modal-footer {
- display: flex;
- gap: 20rpx;
- padding: 20rpx 30rpx;
- padding-bottom: calc(20rpx + env(safe-area-inset-bottom));
- border-top: 1rpx solid #eee;
- }
- .modal-btn {
- flex: 1;
- height: 80rpx;
- border-radius: 40rpx;
- font-size: 30rpx;
- font-weight: 500;
- border: none;
- }
- .cancel-btn {
- background: #f5f5f5;
- color: #666;
- }
- .confirm-btn {
- background: linear-gradient(135deg, #8B4513 0%, #D2691E 100%);
- color: #fff;
- }
- /* 详情弹窗增强 */
- .detail-modal {
- max-height: 88vh;
- height: 88vh;
- display: flex;
- flex-direction: column;
- }
- .detail-modal-title-wrap {
- display: flex;
- align-items: baseline;
- gap: 8rpx;
- flex: 1;
- min-width: 0;
- }
- .detail-modal-sub {
- font-size: 26rpx;
- color: #888;
- font-weight: normal;
- }
- .detail-scroll {
- flex: 1;
- min-height: 0;
- }
- .detail-group-title {
- font-size: 26rpx;
- font-weight: 700;
- color: #8B4513;
- background: #fdf6f0;
- padding: 16rpx 30rpx;
- border-left: 6rpx solid #8B4513;
- margin-top: 4rpx;
- }
- .detail-section {
- background: #fff;
- padding: 0 30rpx;
- }
- .detail-row {
- display: flex;
- justify-content: space-between;
- align-items: flex-start;
- padding: 20rpx 0;
- border-bottom: 1rpx solid #f5f5f5;
- }
- .detail-row:last-child {
- border-bottom: none;
- }
- .detail-label {
- font-size: 28rpx;
- color: #999;
- min-width: 140rpx;
- flex-shrink: 0;
- }
- .detail-value {
- font-size: 28rpx;
- color: #333;
- font-weight: 500;
- text-align: right;
- flex: 1;
- }
- .detail-source-miniprogram { color: #4a90e2; }
- .detail-source-pdf_ai { color: #9b59b6; }
- .detail-source-backend { color: #888; }
- /* 子女列表 */
- .detail-children-list {
- padding: 12rpx 0;
- }
- .detail-child-item {
- display: flex;
- align-items: center;
- padding: 14rpx 0;
- border-bottom: 1rpx solid #f8f8f8;
- }
- .detail-child-item:last-child {
- border-bottom: none;
- }
- .child-sex-dot {
- font-size: 20rpx;
- margin-right: 12rpx;
- }
- .sex-dot-1 { color: #4a90e2; }
- .sex-dot-2 { color: #e25c8a; }
- .child-name {
- font-size: 28rpx;
- color: #333;
- }
- .child-gen {
- font-size: 24rpx;
- color: #aaa;
- }
- /* 备注 */
- .detail-notes {
- background: #fff;
- padding: 20rpx 30rpx;
- font-size: 28rpx;
- color: #555;
- line-height: 1.6;
- }
- /* 关联成员选择行 */
- .relation-select-row {
- display: flex;
- align-items: center;
- gap: 16rpx;
- }
- .relation-select {
- flex: 1;
- background: #f8f9fa;
- border-radius: 12rpx;
- padding: 24rpx;
- display: flex;
- align-items: center;
- justify-content: space-between;
- border: 2rpx solid transparent;
- }
- .relation-select.selected {
- border-color: #8B4513;
- background: rgba(139, 69, 19, 0.05);
- }
- .relation-clear {
- width: 60rpx;
- height: 60rpx;
- border-radius: 50%;
- background: #f0f0f0;
- display: flex;
- align-items: center;
- justify-content: center;
- font-size: 26rpx;
- color: #999;
- flex-shrink: 0;
- }
- /* 搜索弹层 */
- .search-modal {
- width: 92%;
- max-height: 80vh;
- display: flex;
- flex-direction: column;
- }
- .search-bar-wrap {
- display: flex;
- align-items: center;
- gap: 16rpx;
- padding: 20rpx 30rpx;
- border-bottom: 1rpx solid #f0f0f0;
- }
- .search-input {
- flex: 1;
- height: 72rpx;
- background: #f8f9fa;
- border-radius: 36rpx;
- padding: 0 28rpx;
- font-size: 28rpx;
- color: #333;
- }
- .search-btn {
- height: 72rpx;
- padding: 0 32rpx;
- background: linear-gradient(135deg, #8B4513, #D2691E);
- color: #fff;
- border-radius: 36rpx;
- font-size: 28rpx;
- display: flex;
- align-items: center;
- justify-content: center;
- white-space: nowrap;
- flex-shrink: 0;
- }
- .search-tips {
- padding: 40rpx 30rpx;
- text-align: center;
- font-size: 26rpx;
- color: #aaa;
- }
- .search-loading {
- padding: 40rpx 30rpx;
- text-align: center;
- font-size: 26rpx;
- color: #8B4513;
- }
- .search-results {
- flex: 1;
- min-height: 0;
- height: 50vh;
- }
- /* 搜索结果卡片 */
- .search-result-item {
- display: flex;
- align-items: flex-start;
- padding: 24rpx 30rpx;
- border-bottom: 1rpx solid #f5f5f5;
- gap: 16rpx;
- }
- .search-result-item:active {
- background: #fdf6f0;
- }
- .result-info {
- flex: 1;
- min-width: 0;
- }
- .result-name-row {
- display: flex;
- align-items: baseline;
- flex-wrap: wrap;
- gap: 4rpx;
- margin-bottom: 8rpx;
- }
- .result-name {
- font-size: 32rpx;
- font-weight: 700;
- color: #1a1a2e;
- }
- .result-simplified {
- font-size: 26rpx;
- color: #888;
- font-weight: normal;
- }
- .result-meta-row {
- display: flex;
- align-items: center;
- flex-wrap: wrap;
- margin-top: 6rpx;
- }
- .result-id {
- font-size: 24rpx;
- color: #aaa;
- }
- .result-sep {
- font-size: 24rpx;
- color: #ccc;
- margin: 0 4rpx;
- }
- .result-sex {
- font-size: 24rpx;
- color: #666;
- }
- .result-meta-label {
- font-size: 24rpx;
- color: #aaa;
- }
- .result-meta-val {
- font-size: 24rpx;
- color: #555;
- }
- .result-meta-gen {
- font-size: 22rpx;
- color: #aaa;
- }
- .result-actions {
- display: flex;
- flex-direction: column;
- gap: 12rpx;
- flex-shrink: 0;
- padding-top: 4rpx;
- }
- .result-select-btn {
- background: linear-gradient(135deg, #8B4513, #D2691E);
- color: #fff;
- font-size: 26rpx;
- padding: 10rpx 24rpx;
- border-radius: 24rpx;
- text-align: center;
- white-space: nowrap;
- }
- .result-detail-btn {
- background: #f0f0f0;
- color: #555;
- font-size: 26rpx;
- padding: 10rpx 24rpx;
- border-radius: 24rpx;
- text-align: center;
- white-space: nowrap;
- }
|