1234567891011121314151617181920212223242526272829 |
- <!--pages/select_library/select_library.wxml-->
- <import src="../../templates/nodata/nodata.wxml" />
- <view class='container'>
- <view class='wrapper'>
- <view >
- <view class='li-search'>
- <view class='li-search-left'>
- <image src='../../assets/search.png' class='li-search-left-img'></image>
- <input placeholder='搜索场馆' class='li-search-left-input' placeholder-style='li-search-left-input-pla' bindinput='inputCtl'></input>
- </view>
- <view class='li-search-right' bindtap='blurCtl'>搜索</view>
- </view>
- <template is='nodata' wx:if='{{cityList.length==0}}' data='{{...nodata.nodataObj}}'></template>
- <view class='model-list' wx:if='{{cityList.length>0}}'>
- <view class='model-list-left'>
- <view class="model-list-left-items {{index==areaIndex?'area-active':''}}" wx:for="{{cityList}}" wx:key="index" bindtap='selectCity' data-index='{{index}}'>{{item.city}}</view>
- </view>
- <view class='model-list-right'>
- <scroll-view scroll-y="true" style="height: 95vh;overflow: scroll;">
- <view class='model-list-right-items' wx:for="{{cityList[areaIndex].libList}}" wx:key="index">
- <view bindtap='setLibName' data-item='{{item}}' data-idx='{{index}}'>{{item.libName}}</view>
- <image src='../../assets/zheng_que.png' class='model-list-right-items-img' wx:if="{{item.status=='active'}}"></image>
- </view>
- </scroll-view>
- </view>
- </view>
- </view>
- </view>
- </view>
|