store.wxml 1.5 KB

1234567891011121314151617181920212223242526272829303132
  1. <view class="search">
  2. <wux-search-bar clear bind:confirm="onConfirm" bind:change="onChange" bind:clear="onClear" value="{{ value }}" placeholder="请输出门店名称、地址进行搜索" />
  3. </view>
  4. <view class="position">
  5. <view class="address-text flex-align-center">
  6. <image src="/images/icon_02.png"></image>
  7. <text class="ellipsis" style="font-size: 24rpx;">{{defaultStore.belong_region}}</text>
  8. </view>
  9. <view class="map-box flex flex-align-center">
  10. <view class="text flex-column flex1 ellipsis">
  11. <text style="color: #FA7D22;">当前其他位置></text>
  12. <text class="ellipsis">当前选择门店地址:{{defaultStore.belong_region}}</text>
  13. </view>
  14. <view class="btn flex-center" bindtap="onOpenLocation">地图模式</view>
  15. </view>
  16. <view class="box" style="padding: 20rpx 0;">
  17. <!-- <view class="flex flex-justify-space-between" style="padding: 0 30rpx;margin-bottom: 20rpx;">
  18. <view class="btn-switch flex-center active">历史服务点</view>
  19. <view class="btn-switch flex-center">我附近的点</view>
  20. </view> -->
  21. <view class="flex-center">
  22. <text style="color:#666666;">请选择一个最方便的门店(建议距离最近)</text>
  23. </view>
  24. </view>
  25. </view>
  26. <view class="list">
  27. <view class="item flex-column" wx:for="{{list}}" wx:key="index" bindtap="onChangeStore" data-item="{{item}}">
  28. <text>{{item.store_name}}</text>
  29. <text>{{item.belong_region}}</text>
  30. </view>
  31. </view>
  32. <view class="btm-text">--更多分店敬请期待--</view>