visitListInfo.wxml 4.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. <wxs module="urls" src="../../utils/photoUrl.wxs"></wxs>
  2. <view class="container">
  3. <view class="top">
  4. </view>
  5. <view class="fd">
  6. <view class="name">老人姓名:{{arr.oldInfo}}</view>
  7. <view class="card">身份证号:<text style="color:#85c25a">{{arr.oldIdNumber}}</text></view>
  8. </view>
  9. <view class="bottom">
  10. <view style="border-bottom:1px solid #e5e5e5;line-height:50rpx;padding-bottom:20rpx;padding-top:20rpx;color:#666666;">
  11. <van-row>
  12. <van-col span="2">
  13. <van-icon name="coupon-o" color="#2087f7" size='40rpx' />
  14. </van-col>
  15. <van-col span="5">巡访日期:</van-col>
  16. <van-col span="17">{{arr.visitTime}}</van-col>
  17. </van-row>
  18. </view>
  19. <view style="border-bottom:1px solid #e5e5e5;line-height:50rpx;padding-bottom:20rpx;padding-top:20rpx;color:#666666;">
  20. <van-row>
  21. <van-col span="2">
  22. <van-icon name="location-o" color="#2087f7" size='40rpx' />
  23. </van-col>
  24. <van-col span="5">巡访位置:</van-col>
  25. <van-col span="17">{{arr.visitLocation}}</van-col>
  26. </van-row>
  27. </view>
  28. <!-- <view style="display:flex;border-bottom:1px solid #e5e5e5;">
  29. <van-icon name="edit" color="#2087f7" size='40rpx' style="margin-left:30rpx" /><text style="color:#666666;margin-left:20rpx;line-height:100rpx">经度:{{arr.lng}}</text>
  30. </view> -->
  31. <view style="border-bottom:1px solid #e5e5e5;line-height:50rpx;padding-bottom:20rpx;padding-top:20rpx;color:#666666;">
  32. <van-row>
  33. <van-col span="2">
  34. <!-- <van-icon name="share" /> -->
  35. <!-- <van-icon name="share" color="#2087f7" size='40rpx' /> -->
  36. <image src="../../images/lat.png" style="width:30rpx;height:30rpx"></image>
  37. </van-col>
  38. <van-col span="3">经度:</van-col>
  39. <van-col span="19">{{arr.lng}}</van-col>
  40. </van-row>
  41. </view>
  42. <!-- <view style="display:flex;border-bottom:1px solid #e5e5e5;">
  43. <van-icon name="edit" color="#2087f7" size='40rpx' style="margin-left:30rpx" /><text style="color:#666666;margin-left:20rpx;line-height:100rpx">纬度:{{arr.lat}}</text>
  44. </view> -->
  45. <view style="border-bottom:1px solid #e5e5e5;line-height:50rpx;padding-bottom:20rpx;padding-top:20rpx;color:#666666;">
  46. <van-row>
  47. <van-col span="2">
  48. <image src="../../images/lat.png" style="width:30rpx;height:30rpx"></image>
  49. </van-col>
  50. <van-col span="3">纬度:</van-col>
  51. <van-col span="19">{{arr.lat}}</van-col>
  52. </van-row>
  53. </view>
  54. </view>
  55. <view class="yellow"></view>
  56. <view style="display:flex;color:#2087f7;font-size:30rpx;font-weight:800">
  57. <view class="blueBar"></view>巡访情况
  58. </view>
  59. <view style="display:flex;flex-direction:row;flex-wrap:wrap;margin-left:35rpx;margin-top:20rpx;text-align: center;">
  60. <view class="status_box"> <text style="margin-left:50rpx">健康情况:</text>
  61. <view class="{{arr.health == '健康' ? 'green-marker' : arr.health == '一般' ? 'blue-marker' : arr.health == '较差' ? 'red-marker': 'marker'}}">{{arr.health}}</view>
  62. </view>
  63. <view class="status_box"> <text style="margin-left:50rpx">精神状态:</text>
  64. <view class="{{arr.mind == '良好' ? 'green-marker' : arr.mind == '一般' ? 'blue-marker' : arr.mind == '较差' ? 'red-marker': 'marker'}}">{{arr.mind}}</view>
  65. </view>
  66. <view class="status_box"> <text style="margin-left:50rpx">安全情况:</text>
  67. <view class="{{arr.security == '安全' ? 'green-marker' : arr.security == '一般' ? 'blue-marker' : arr.security == '较差' ? 'red-marker': 'marker'}}">{{arr.security}}</view>
  68. </view>
  69. <view class="status_box"> <text style="margin-left:50rpx">卫生环境:</text>
  70. <view class="{{arr.hygiene == '良好' ? 'green-marker' : arr.hygiene == '一般' ? 'blue-marker' : arr.hygiene == '较差' ? 'red-marker': 'marker'}}">{{arr.hygiene}}</view>
  71. </view>
  72. <view class="status_box"> <text style="margin-left:50rpx">居住环境:</text>
  73. <view class="{{arr.live == '良好' ? 'green-marker' : arr.live == '一般' ? 'blue-marker' : arr.live == '较差' ? 'red-marker': 'marker'}}">{{arr.live}}</view>
  74. </view>
  75. <view class="status_box" wx:if="{{arr.urgency}}"> <text style="margin-left:15rpx">需求紧急程度:</text>
  76. <view class="{{arr.urgency == '不紧急' ? 'green-marker' : arr.urgency == '一般' ? 'blue-marker' : arr.urgency == '紧急' ? 'red-marker': 'marker'}}">{{arr.urgency}}</view>
  77. </view>
  78. </view>
  79. <view class="yellow"></view>
  80. <view style="display:flex;color:#2087f7;font-size:30rpx;font-weight:800">
  81. <view class="blueBar"></view>老人需求说明
  82. </view>
  83. <view class="bj">{{arr.demand}}</view>
  84. <view class="yellow"></view>
  85. <view style="display:flex;color:#2087f7;font-size:30rpx;font-weight:800">
  86. <view class="blueBar"></view>巡访备注说明
  87. </view>
  88. <view class="bj">{{arr.visitMessage}}</view>
  89. <view class="yellow"></view>
  90. <view style="display:flex;color:#2087f7;font-size:30rpx;font-weight:800">
  91. <view class="blueBar"></view>现场含面部照片
  92. </view>
  93. <image style='margin-top:20rpx;margin-bottom:100rpx;width:auto' mode='aspectFit' src="{{urls.url(arr.visitPhoto)}}"></image>
  94. </view>