index.wxml 1.4 KB

1234567891011121314151617181920212223242526
  1. <navbar parameter='{{parameter}}'></navbar>
  2. <view class="storeBox">
  3. <view class="storeBox-box acea-row row-between-wrapper" wx:for="{{storeList}}" wx:key='index' bindtap="checked" data-details="{{item}}">
  4. <view class="acea-row row-middle picTxt">
  5. <view class="store-img"><image src="{{item.image}}" lazy-load="true"></image></view>
  6. <view class="store-cent-left">
  7. <view class="store-name">{{item.name}}</view>
  8. <view class="store-address addressTxt line1">{{item.address}}{{", "+item.detailed_address}}</view>
  9. </view>
  10. </view>
  11. <view>
  12. <view class="acea-row row-right phoneIcon">
  13. <view class="store-phone" bindtap="makePhone" data-phone="{{item.phone}}"><text class="iconfont icon-dadianhua01"></text></view>
  14. </view>
  15. <view class="store-distance" catchtap="showMaoLocation" data-details="{{item}}">
  16. <text class="addressTxt" wx:if="{{item.range}}">距离{{item.range}}千米</text>
  17. <text class="addressTxt" wx:else>查看地图</text>
  18. <text class="iconfont icon-youjian"></text>
  19. </view>
  20. </view>
  21. </view>
  22. <view class='loadingicon acea-row row-center-wrapper' wx:if="{{loading}}">
  23. <text class='loading iconfont icon-jiazai' hidden='{{loading==false}}'></text>{{loadTitle}}
  24. </view>
  25. </view>
  26. <authorize bind:onLoadFun='onLoadFun'></authorize>