12345678910111213141516171819202122232425262728293031323334353637 |
- <!--parents/pages/library/library.wxml-->
- <import src="../../../templates/loading/loading.wxml" />
- <view class='container'>
- <template is='loading' wx:if='{{!isLoaded}}'></template>
- <view class='wrapper' wx:else>
- <view class='section-label'>
- <image class='section-icon' src='../../../assets/address_gray.png'></image>
- <text class='section-text'>定位地址</text>
- </view>
- <view class='section-list'>
-
- <view class='section-li' data-index='0' bindtap='selectLibraryCtl' wx:if='{{libraryList.length>0}}'>
- <view class='section-row'>
- <view class='section-flex'>
- <view class='section-title'>{{libraryList[0].league_name||libraryList[0].lname}}</view>
- <view class='section-context'>{{libraryList[0].league_address}}</view>
- </view>
- <view class='section-button' wx:if='{{libraryList[0].stype}}'>年卡服务</view>
- </view>
- </view>
- </view>
- <view class='section-label'>
- <image class='section-icon-two' src='../../../assets/position_gray.png'></image>
- <text class='section-text'>附近地址</text>
- </view>
- <view class='section-list'>
- <view class='section-li' wx:for='{{libraryList}}' wx:key='{{index}}' data-index='{{index}}' bindtap='selectLibraryCtl'>
- <view class='section-row'>
- <view class='section-title section-flex'>{{item.league_name||item.lname}}</view>
- <view class='section-text' wx:if='{{item.juli}}'>距离{{item.juli}}km</view>
- </view>
- <view class='section-context' wx:if='{{item.league_address}}'>{{item.league_address}}</view>
- </view>
-
- </view>
- </view>
- </view>
|