address.wxml 1.1 KB

12345678910111213141516171819202122232425
  1. <view style="background: #f5f5f5; padding: 20rpx 0;">
  2. <view class="goodslist_boxs">
  3. <view class="top_boxs">
  4. <view bindtap="onCancel">取消</view>
  5. <view bindtap="onConfirm">确认</view>
  6. </view>
  7. <view class="search-bar">
  8. <input type="text" placeholder="搜索地址" bindinput="onSearchInput" />
  9. </view>
  10. <!-- <map id="myMap" style="width: 100%; height: 300px; margin-top: 30rpx;" latitude="{{latitude}}" longitude="{{longitude}}" scale="15" bindtap="onMapTap"></map> -->
  11. <map id="qqMap" style="width: 100%; height: 300px; margin-top: 30rpx;" latitude="{{latitude}}" longitude="{{longitude}}" show-location></map>
  12. <view class="address-list">
  13. <block wx:for="{{nearbyAddresses}}" wx:key="index">
  14. <view class="address-item" bindtap="selectAddress" data-index="{{index}}">
  15. <view>
  16. <view>{{item.name}}</view>
  17. <view style="color: #9f9f9f;margin-top: 14rpx;">{{item.address}}</view>
  18. </view>
  19. <checkbox checked="{{item.checked}}"></checkbox>
  20. </view>
  21. </block>
  22. </view>
  23. </view>
  24. </view>