1234567891011121314151617181920212223242526272829303132333435 |
- <!--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='../../image/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="{{isWechat==1?'wechat_addchild':'kids_information'}}" data-method='{{({school: item.schoolname,vipId:vipId,isAddChild,type,childName,parentName,grade,isMain:1,derver,leagueName,libId})}}' bindtap='redirectCtl'>
- <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' data-url="{{isWechat==1?'wechat_addchild':'kids_information'}}" data-method='{{({school:search,vipId:vipId,isAddChild,type,childName,parentName,grade,isMain:1,derver})}}' bindtap='redirectCtl' 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 wx:if='{{list.length==0}}' is='nodata-three'></template>
- </view>
- </view>
|