index.axml 950 B

12345678910111213141516171819202122232425262728293031323334353637
  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 class="follow-button">
  20. 去挂号
  21. </view>
  22. </view>
  23. <view class="area-address">
  24. <text number-of-lines="1">
  25. {{ props.item.address }}
  26. </text>
  27. </view>
  28. <view class="hospital-desc">
  29. <text number-of-lines="2">
  30. {{ props.item.description }}
  31. </text>
  32. </view>
  33. </view>
  34. </view>
  35. </scroll-fetch>
  36. </view>
  37. </wrapper>