This commit is contained in:
lik
2026-09-09 17:37:34 +08:00
parent 3bbf4b0449
commit 089e0eb081
3 changed files with 28 additions and 6 deletions
+4 -2
View File
@@ -63,8 +63,10 @@
</view>
</view>
<view class="edit-row">
<text class="edit-label">年龄</text>
<input class="edit-input" type="number" value="{{editPatient.age}}" placeholder="请输入年龄" data-field="age" bindinput="onPatientInfoInput" />
<text class="edit-label">出生年月</text>
<picker mode="date" value="{{editPatient.birth}}" end="{{today}}" bindchange="onPatientBirthChange">
<view class="edit-input {{editPatient.birth ? '' : 'placeholder'}}">{{editPatient.birth || '请选择出生日期'}}</view>
</picker>
</view>
<view class="edit-row">
<text class="edit-label">体重(kg)</text>