upload project
This commit is contained in:
commit
06961cae04
422 changed files with 110626 additions and 0 deletions
47
subpackages/map-extras/locationList/locationList.wxml
Normal file
47
subpackages/map-extras/locationList/locationList.wxml
Normal file
|
|
@ -0,0 +1,47 @@
|
|||
<view class="location-list-container">
|
||||
<!-- 搜索框 -->
|
||||
<view class="search-container">
|
||||
<view class="search-button" bindtap="navigateToSearchPage">
|
||||
<text class="search-text">搜索</text>
|
||||
<image src="/images/Search.png" class="search-icon"></image>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<!-- 不显示地点选项 -->
|
||||
<view class="hide-location-option" bindtap="selectNoLocation">
|
||||
<text class="poi-name">不显示地点</text>
|
||||
<image wx:if="{{isHideLocationSelected}}" src="/images/Selected.svg" mode="aspectFit" style="width: 40rpx; height: 40rpx;"></image>
|
||||
</view>
|
||||
|
||||
<!-- 地点列表区域 -->
|
||||
<view class="poi-list" bindscrolltolower="loadMorePois">
|
||||
<view
|
||||
wx:for="{{poiList}}"
|
||||
wx:key="id"
|
||||
class="poi-item"
|
||||
data-name="{{item.name}}"
|
||||
data-id="{{index}}"
|
||||
bindtap="selectPoi"
|
||||
>
|
||||
<view class="poi-info">
|
||||
<view class="poi-name">
|
||||
{{item.name}}
|
||||
<image wx:if="{{item.isSameAsPublishAddress}}" src="/images/Selected.svg" mode="aspectFit" class="selected-icon"></image>
|
||||
</view>
|
||||
<view class="poi-address">{{item.distance}}m | {{item.displayAddress}}</view>
|
||||
</view>
|
||||
</view>
|
||||
<!-- 加载更多提示 -->
|
||||
<button
|
||||
wx:if="{{hasMore && !loadingMore}}"
|
||||
class="load-more-btn"
|
||||
bindtap="loadMorePois"
|
||||
loading="{{loadingMore}}"
|
||||
>
|
||||
加载更多地点
|
||||
</button>
|
||||
<view class="no-more" wx:else>
|
||||
<text>已显示全部地点</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
Loading…
Add table
Add a link
Reference in a new issue