love.wxml 3.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. <wxs module="urls" src="../../utils/photoUrl.wxs"></wxs>
  2. <view class="home">
  3. <view class="title">巡访日期:<text>{{time}}</text></view>
  4. <view class="title">巡访位置</view>
  5. <view class="visit-box">
  6. <view>{{visitLocation}}</view>
  7. <view class="flex-box">
  8. <view>
  9. 经度:{{lng}}
  10. </view>
  11. <view style=" margin-left: 20rpx;">
  12. 纬度:{{lat}}
  13. </view>
  14. </view>
  15. </view>
  16. <view class="title">老人姓名</view>
  17. <view class="flex-box">
  18. <view class="pop-oldtitle">{{info.name}}<text >({{info.idNumber}})</text></view>
  19. <view class="old-btn" bindtap="oldClick" data-infos='{{info}}'>老人详情</view>
  20. </view>
  21. <view class="title">巡访情况</view>
  22. <form bindsubmit="formSubmit">
  23. <view class="title">健康状况</view>
  24. <radio-group name="health">
  25. <radio color='#009FE9' value='健康'>健康</radio>
  26. <radio color='#009FE9' value='一般'>一般</radio>
  27. <radio color='#009FE9' value='较差'>较差</radio>
  28. </radio-group>
  29. <view class="title">精神状态</view>
  30. <radio-group name="mind">
  31. <radio color='#009FE9' value='良好'>良好</radio>
  32. <radio color='#009FE9' value='一般'>一般</radio>
  33. <radio color='#009FE9' value='较差'>较差</radio>
  34. </radio-group>
  35. <view class="title">安全情况</view>
  36. <radio-group name="security">
  37. <radio color='#009FE9' value='安全'>安全</radio>
  38. <radio color='#009FE9' value='一般'>一般</radio>
  39. <radio color='#009FE9' value='较差'>较差</radio>
  40. </radio-group>
  41. <view class="title">卫生环境</view>
  42. <radio-group name="hygiene">
  43. <radio color='#009FE9' value='良好'>良好</radio>
  44. <radio color='#009FE9' value='一般'>一般</radio>
  45. <radio color='#009FE9' value='较差'>较差</radio>
  46. </radio-group>
  47. <view class="title">居中环境</view>
  48. <radio-group name="live">
  49. <radio color='#009FE9' value='良好'>良好</radio>
  50. <radio color='#009FE9' value='一般'>一般</radio>
  51. <radio color='#009FE9' value='较差'>较差</radio>
  52. </radio-group>
  53. <view class="title">需求紧急程度</view>
  54. <radio-group name="urgency">
  55. <radio color='#009FE9' value='不紧急'>不紧急</radio>
  56. <radio color='#009FE9' value='一般'>一般</radio>
  57. <radio color='#009FE9' value='紧急'>紧急</radio>
  58. </radio-group>
  59. <view class="title">老人需求说明</view>
  60. <textarea class="view_textarea" name="demand" bindblur="bindTextAreaBlur" placeholder="请填写一下老人需求" />
  61. <view class="title">巡访备注说明</view>
  62. <textarea class="view_textarea" name="visitMessage" bindblur="bindTextAreaBlur" placeholder="请填写一下巡访备注说明" />
  63. <view class="title">现场含面部照片(正面照)</view>
  64. <view style=" border: 1rpx solid #5398C8; color: #fff; padding-left: 10rpx;background-color: #429EFF; font-size: 26rpx;width: 220rpx;margin-top: 40rpx; margin-bottom: 40rpx;" bindtap="zhaopian" wx:if='{{isTrue}}'>请上传含面部照片</view>
  65. <view style=" display: flex;">
  66. <view wx:for='{{imgPath}}' class="img-box">
  67. <image class="image" src=" {{urls.url(item)}}" mode='scaleToFill' bindtap="previewImg"></image>
  68. <van-icon size='23' name="clear" class="close" data-index="{{index}}" bindtap="closeImage"/>
  69. </view>
  70. </view>
  71. <view class="register">
  72. <button formType="submit">提交</button>
  73. </view>
  74. </form>
  75. </view>