feat(escort): 病历与诉求改为多材料录入与四段摘要确认
新增独立编辑页,支持 PDF、图片、语音和文字输入,解析任务可跨页面 恢复,四段结果可手动修改后确认保存;详情页改为四段只读展示, 移除原两段文本弹窗。
This commit is contained in:
@@ -0,0 +1,57 @@
|
||||
page { background: var(--paper); }
|
||||
.page-bg { min-height: 100vh; background: var(--paper); font-family: inherit; }
|
||||
.page-bg textarea { font-family: inherit; }
|
||||
.container { padding: 28rpx 32rpx 48rpx; }
|
||||
.intro { display: flex; flex-direction: column; gap: 12rpx; margin-bottom: 28rpx; }
|
||||
.intro-title { color: var(--ink); font-size: 36rpx; font-weight: 600; line-height: 1.4; }
|
||||
.intro-text { color: var(--muted); font-size: var(--fs-28); line-height: 1.65; }
|
||||
.card { box-sizing: border-box; padding: 28rpx; border: 2rpx solid var(--line); border-radius: 20rpx; background: var(--white); }
|
||||
.section-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24rpx; }
|
||||
.section-title { color: var(--ink); font-size: var(--fs-32); font-weight: 600; }
|
||||
.section-caption { color: var(--muted); font-size: var(--fs-24); }
|
||||
.source-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12rpx; }
|
||||
.source-action { display: flex; flex-direction: column; align-items: center; gap: 12rpx; padding: 16rpx 4rpx; border-radius: 12rpx; }
|
||||
.source-action:active { background: var(--brand-soft); }
|
||||
.source-action.recording { background: var(--brand-soft); }
|
||||
.source-icon { display: flex; align-items: center; justify-content: center; width: 72rpx; height: 72rpx; border-radius: 50%; background: var(--brand-soft); }
|
||||
.source-label { color: var(--ink-2); font-size: var(--fs-26); white-space: nowrap; }
|
||||
.recording-tip { display: flex; align-items: center; gap: 12rpx; margin-top: 20rpx; color: var(--brand-ink); font-size: var(--fs-26); }
|
||||
.recording-dot { width: 14rpx; height: 14rpx; border-radius: 50%; background: var(--brand-strong); }
|
||||
.material-list { margin-top: 24rpx; border-top: 2rpx solid var(--line); }
|
||||
.material-item { display: flex; align-items: center; gap: 16rpx; min-height: 104rpx; border-bottom: 2rpx solid var(--line); }
|
||||
.material-item:last-child { border-bottom: none; }
|
||||
.material-thumb, .material-file-icon { flex: 0 0 auto; width: 72rpx; height: 72rpx; border-radius: 10rpx; background: var(--paper); }
|
||||
.material-file-icon { display: flex; align-items: center; justify-content: center; }
|
||||
.material-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6rpx; }
|
||||
.material-name { overflow: hidden; color: var(--ink-2); font-size: var(--fs-28); text-overflow: ellipsis; white-space: nowrap; }
|
||||
.material-meta { color: var(--muted); font-size: var(--fs-24); }
|
||||
.material-remove { display: flex; align-items: center; justify-content: center; width: 72rpx; height: 72rpx; margin-right: -16rpx; }
|
||||
.source-textarea { box-sizing: border-box; width: 100%; height: 190rpx; margin-top: 24rpx; padding: 20rpx; border: 2rpx solid var(--line); border-radius: 12rpx; background: var(--paper); color: var(--ink); font-size: var(--fs-28); line-height: 1.6; }
|
||||
.input-placeholder { color: var(--muted); }
|
||||
.parse-row { display: flex; align-items: center; gap: 20rpx; margin-top: 24rpx; }
|
||||
.privacy-text { flex: 1; color: var(--muted); font-size: var(--fs-24); line-height: 1.5; }
|
||||
.parse-btn { flex: 0 0 auto; padding: 16rpx 28rpx; border-radius: 999rpx; background: var(--brand-strong); color: var(--white); font-size: var(--fs-28); font-weight: 600; }
|
||||
.disabled { opacity: 0.45; pointer-events: none; }
|
||||
.job-card { display: flex; align-items: center; gap: 16rpx; margin-top: 24rpx; padding: 24rpx 28rpx; border: 2rpx solid var(--brand-line); border-radius: 16rpx; background: var(--brand-soft); }
|
||||
.job-failed { border-color: var(--status-cancel-line); background: var(--status-cancel-bg); }
|
||||
.job-main { flex: 1; display: flex; align-items: flex-start; gap: 16rpx; }
|
||||
.job-copy { display: flex; flex-direction: column; gap: 6rpx; }
|
||||
.job-title { color: var(--ink-2); font-size: var(--fs-28); font-weight: 600; line-height: 1.5; }
|
||||
.job-tip, .job-error { color: var(--muted); font-size: var(--fs-24); line-height: 1.5; }
|
||||
.job-cancel { flex: 0 0 auto; padding: 16rpx 0 16rpx 16rpx; color: var(--brand-ink); font-size: var(--fs-26); }
|
||||
.warning-card { margin-top: 24rpx; padding: 24rpx 28rpx; border: 2rpx solid var(--status-cancel-line); border-radius: 16rpx; background: var(--status-cancel-bg); }
|
||||
.warning-title { display: block; margin-bottom: 12rpx; color: var(--status-cancel-ink); font-size: var(--fs-28); font-weight: 600; }
|
||||
.warning-item { color: var(--ink-2); font-size: var(--fs-26); line-height: 1.6; }
|
||||
.fields-card { margin-top: 24rpx; }
|
||||
.field-block { padding: 24rpx 0; border-top: 2rpx solid var(--line); }
|
||||
.field-block:first-of-type { padding-top: 0; border-top: none; }
|
||||
.field-label { display: block; margin-bottom: 16rpx; color: var(--ink-2); font-size: var(--fs-28); font-weight: 600; }
|
||||
.field-textarea { box-sizing: border-box; width: 100%; height: 180rpx; padding: 20rpx; border: 2rpx solid var(--line); border-radius: 12rpx; background: var(--paper); color: var(--ink); font-size: var(--fs-28); line-height: 1.6; }
|
||||
.bottom-placeholder { height: 160rpx; }
|
||||
.bottom-bar { position: fixed; z-index: 20; right: 0; bottom: 0; left: 0; display: flex; gap: 20rpx; padding: 20rpx 32rpx calc(20rpx + env(safe-area-inset-bottom)); border-top: 2rpx solid var(--line); background: var(--white); }
|
||||
.bottom-btn { flex: 1; padding: 22rpx 0; border-radius: 999rpx; text-align: center; font-size: var(--fs-30); font-weight: 600; }
|
||||
.btn-ghost { flex: 0 0 180rpx; border: 2rpx solid var(--line); color: var(--ink-2); }
|
||||
.btn-primary { background: var(--brand-strong); color: var(--white); }
|
||||
.page-state { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 24rpx; min-height: 70vh; padding: 32rpx; }
|
||||
.error-text { color: var(--muted); font-size: var(--fs-28); text-align: center; }
|
||||
.retry-btn { padding: 16rpx 36rpx; border: 2rpx solid var(--brand-strong); border-radius: 999rpx; color: var(--brand-strong); font-size: var(--fs-28); }
|
||||
Reference in New Issue
Block a user