12345678910111213141516171819202122232425262728293031323334 |
- <!--pages/school/school.wxml-->
- <import src="../../templates/nodata/nodata.wxml" />
- <view class='container'>
- <view class='wrapper'>
- <view class='search-container'>
- <view class='search-wrapper'>
- <image class='search-label' src='../../assets/search.png'></image>
- <input type='text' class='search-input' placeholder='请输入学校' value='{{value}}' bindblur='inputCtl' placeholder-class='input-placeholder'></input>
- </view>
- </view>
- <view class='list' wx:if='{{list.length>0}}'>
- <view class='li' wx:for='{{list}}' wx:key='index' data-url="{{isDetail==1?'pages/change_information/change_information':'pages/kids_information/kids_information'}}" data-paras='{{({school: item.schoolname,classId,type,childName,parentName,grade,derver,leagueName,phone,className,vipId})}}' bindtap="redirectTo">
- <view>
- <view class='li-title'>{{item.schoolname}}</view>
- <view class='li-text'>{{item.schooladd}}</view>
- </view>
- <view>
- <view class='li-text'>{{item.distance}}km</view>
- </view>
- </view>
- <!-- 新增学校 -->
- <!-- <view class='li' wx:if='{{list.length==0}}' > -->
- <!-- <view>
- <view class='li-title'>{{search}}</view>
- <view class='li-text'></view>
- </view>
- <view>
- <view class='li-text'></view>
- </view> -->
- <!-- </view> -->
- </view>
- <template is='nodata' wx:if='{{list.length==0}}' data='{{...nodata[0]}}'></template>
- </view>
- </view>
|