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')">