index.axml 1.2 KB

12345678910111213141516171819202122232425262728293031323334
  1. <wrapper>
  2. <view class="patient-detail-edit">
  3. <view class="patient-block">
  4. <view class="patient-name">{{ patient.name }}</view>
  5. <view class="patient-p">{{ patient.sex }}, {{ patient.age }}岁</view>
  6. <view class="patient-p">证件号码:{{ patient.idCardNo }}</view>
  7. </view>
  8. <view class="patient-block">
  9. <view class="patient-flex">
  10. <view class="patient-label">关系</view>
  11. <view class="patient-val">
  12. <select-relationship onChange="onChange">
  13. <view class="patient-flex">
  14. <view>{{ patient.relationShip }}</view>
  15. <image class="patient-icon" src="https://gw.alipayobjects.com/mdn/rms_373ab8/afts/img/A*ZiZ8Q7RKciEAAAAAAAAAAAAAARQnAQ" mode="aspectFit"></image>
  16. </view>
  17. </select-relationship>
  18. </view>
  19. </view>
  20. </view>
  21. <view class="patient-block">
  22. <view class="patient-flex">
  23. <view class="patient-label">手机号码</view>
  24. <view class="patient-val">{{ patient.phoneNumber }}</view>
  25. <view class="patient-theme" onTap="onChangePhone">修改手机号</view>
  26. </view>
  27. </view>
  28. <view class="patient-btn" onTap="onSubmit">保存</view>
  29. </view>
  30. </wrapper>