index.axml 865 B

12345678910111213141516171819202122232425262728293031323334
  1. <wrapper>
  2. <view class="select-hospital-area">
  3. <scroll-fetch
  4. height="{{ height }}"
  5. onService="onService"
  6. >
  7. <view
  8. class="item"
  9. slot-scope="props"
  10. onTap="onItemTap"
  11. item="{{ props.item }}"
  12. data-item="{{ props.item }}"
  13. >
  14. <view class="area-item">
  15. <view class="area-item-header">
  16. <text class="hospital-name">
  17. {{ props.item.name }}
  18. </text>
  19. </view>
  20. <view class="area-address">
  21. <text number-of-lines="1">
  22. {{ props.item.address }}
  23. </text>
  24. </view>
  25. <view class="hospital-desc">
  26. <text number-of-lines="2">
  27. {{ props.item.description }}
  28. </text>
  29. </view>
  30. </view>
  31. </view>
  32. </scroll-fetch>
  33. </view>
  34. </wrapper>