From 74b1dbd0af75d28333adcf53a06d220d3a0c8171 Mon Sep 17 00:00:00 2001 From: tianyongbao Date: Sun, 8 Feb 2026 14:27:39 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=B7=BB=E5=8A=A0=E9=A1=B5=E9=9D=A2?= =?UTF-8?q?=E7=BB=9F=E4=B8=80=E4=BF=AE=E6=94=B9=E6=A0=B7=E5=BC=8F=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/health/activity/addEdit.vue | 264 +++++++---- src/pages/health/doctorRecord/addEdit.vue | 134 +++++- src/pages/health/healthRecord/addEdit.vue | 142 +++++- .../health/heightWeightRecord/addEdit.vue | 104 ++++- src/pages/health/marRecord/addEdit.vue | 207 ++++++--- src/pages/health/medicineBasic/addEdit.vue | 181 ++++++-- src/pages/health/medicineStockIn/addEdit.vue | 162 +++++-- src/pages/health/milkPowderRecord/addEdit.vue | 284 +++++++----- src/pages/health/person/addEdit.vue | 423 +++++++++++------- src/pages/health/processRecord/addEdit.vue | 112 ++++- .../health/temperatureRecord/addEdit.vue | 96 +++- src/static/scss/global.scss | 159 +++++++ 12 files changed, 1684 insertions(+), 584 deletions(-) diff --git a/src/pages/health/activity/addEdit.vue b/src/pages/health/activity/addEdit.vue index 54ddf47..7fb5ef2 100644 --- a/src/pages/health/activity/addEdit.vue +++ b/src/pages/health/activity/addEdit.vue @@ -3,62 +3,76 @@ {{ title}} - + - - + + + - - - - - - - - - - - + inputAlign="left" :customStyle="getInputStyle('typeName')"> + + + + + + + + + + + + + + - - + + + + - - + + + - - - - - - - - + inputAlign="left" :customStyle="getInputStyle('activityVolumeName')"> + + + + + + + + + - + - + - + @@ -67,38 +81,69 @@ - - - + + + @cancel="startTimeShow=false" + @confirm="startTimeConfirm" + itemHeight="88" + > + @cancel="endTimeShow=false" + @confirm="endTimeConfirm" + itemHeight="88" + > @@ -337,4 +408,19 @@ function submit() { font-weight: 500 !important; letter-spacing: 2rpx !important; } - \ No newline at end of file + +/* 强制让错误状态的输入框边框变红 */ +.u-form-item--error .u--input, +.u-form-item--error .u-input, +.u-form-item--error .u-input__content, +.u-form-item--error .u-input__content__field-wrapper { + border: 2rpx solid #f56c6c !important; + background: #fef0f0 !important; +} + +.u-form-item--error .u--textarea, +.u-form-item--error .u-textarea { + border: 2rpx solid #f56c6c !important; + background: #fef0f0 !important; +} + diff --git a/src/pages/health/doctorRecord/addEdit.vue b/src/pages/health/doctorRecord/addEdit.vue index e7a4fd2..7142ca2 100644 --- a/src/pages/health/doctorRecord/addEdit.vue +++ b/src/pages/health/doctorRecord/addEdit.vue @@ -3,47 +3,55 @@ {{ title}} - + + - + inputAlign="left" :customStyle="getInputStyle('personName')"> + + + - + inputAlign="left" :customStyle="getInputStyle('healthRecordName')"> + + + inputAlign="left" :customStyle="getInputStyle('hospitalName')"> + - + inputAlign="left" :customStyle="getInputStyle('typeName')"> + + + inputAlign="left" :customStyle="getInputStyle('departments')"> + inputAlign="left" :customStyle="getInputStyle('doctor')"> + + + + + + - - - - + inputAlign="left" :customStyle="getInputStyle('partner')"> + inputAlign="left" :customStyle="getInputStyle('totalCost')">