index.wxml 1.2 KB

1234567891011121314151617181920212223242526
  1. <view class='container'>
  2. <view class='t'></view>
  3. <view class='flexCol '>
  4. <view wx:for="{{items}}" wx:key='item'>
  5. <!-- <view class='flexRow p30 item' bindtap='navigate_auth_native' data-url="map/index?j={{item.longlat[0]}}&w={{item.longlat[1]}}&name={{item.title}}"> -->
  6. <view class='flexRow p30 item' bindtap='map' data-j="{{item.longlat[0]}}" data-w='{{item.longlat[1]}}' data-name='{{item.name}}'>
  7. <image mode='widthFix' src='{{item.img}}'></image>
  8. <view class='flexCol flex1 row1'>
  9. <text class='title'>{{item.name}}</text>
  10. <view class='iconImg' wx:if='{{item.tel}}' catchtap='telephone_native' data-num='{{item.tel}}'>
  11. <image mode='widthFix' src='/images/wode_phone1.png'></image>
  12. <text>{{item.tel}}</text>
  13. </view>
  14. <view class='iconImg'>
  15. <image mode='widthFix' src='/images/address1.png'></image>
  16. <text>{{item.distance}}km</text>
  17. <text class='lightGrey ml30'>到这去</text>
  18. <image class='arrow' mode='widthFix' src='/images/arrow.png'></image>
  19. </view>
  20. </view>
  21. </view>
  22. <view class='t'></view>
  23. </view>
  24. </view>
  25. </view>