12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788 |
- <view class="container">
- <!-- 筛选按钮 -->
- <view class="select-view" bindtap="showSelect">筛选</view>
- <view class="select-box" animation="{{animationBox}}">
- <view class="change-time">
- <view class="select-title">选择时间段:</view>
- <view class="select-date-view">
- <view class="section">
- <picker bindchange="bindPickerChange" value="{{index}}" range="{{array}}">
- <view class="picker">
- {{array[index]}}
- </view>
- </picker>
- </view>
- </view>
- </view>
- <view class="search-btn-view">
- <view class="search-btn" bindtap="selectTime">确定</view>
- <view class="reset-btn">重置</view>
- </view>
- </view>
- <view class="select-box-bg" bindtap="showSelect" animation="{{animationBg}}" wx:if="{{yFlag == true}}"></view>
- <view class="height-view"></view>
- <!-- end -->
- <!-- 日期选择 -->
- <view class="week-view">
- <view class="week-list">
- <view class="week-box {{curIndex == index ? 'cur-week' : ''}}" wx:for="{{weekList}}" wx:key="index"
- data-index="{{index}}" bindtap="getWeek">
- <view class="weekDay">{{ item.week}}</view>
- <view class="weekDate">{{ item.date}}</view>
- </view>
- </view>
- </view>
- <!-- end -->
- <!-- 校区列表 -->
- <view class="school-view">
- <view class="school-list">
- <view class="school-box" wx:for="{{schoolList}}" wx:key="index">
- <view class="school-title">
- <view class="school-name">{{ item.name}}</view>
- <view class="school-dis">
- <view class="disImg">
- <image src="/images/local.png"></image>
- </view>
- <view class="disNum">{{ item.dist}}</view>
- </view>
- </view>
- <view class="school-addr">
- <view class="address">{{ item.address}}</view>
- <view class="showMore {{schoolIndex == index ? 'curSchool' : ''}}" bindtap="selectSchool" data-id="{{ item.id}}" data-index="{{index}}">
- <image class="" src="/images/showMore.png"></image>
- </view>
- </view>
- <view class="school-tel">
- <view class="telNum">{{ item.telephone}}</view>
- <view class="getTel" bindtap="collectSchool" data-id="{{ item.id}}" >
- <image src="{{ item.collect == 1? '/images/cur-getTel.png' : '/images/getTel.png'}}"></image>
- </view>
- </view>
- <view class="school-class-list" wx:if="{{schoolIndex == index}}">
- <view class="class-none" wx:if="{{(! item.items) || item.items.length == 0}}">该时间段未排课</view>
- <view class="class-list" wx:for="{{ item.items}}" wx:key="cIndex" wx:for-index="cItem">
- <view class="class-box">
- <view class="class-time">
- {{ item.time}}
- </view>
- <view class="class-get-view">
- <view class="class-stu-num">
- {{ item.hasVisitNum}}/{{ item.maxNum}}
- </view>
- <view class="class-get-btn" bindtap="doAppointment" data-id="{{item.id}}">
- {{ item.hasVisitNum < item.maxNum ? '预约' : '已约满'}}
- </view>
- </view>
- </view>
- </view>
- </view>
- </view>
- </view>
- </view>
- <!-- end -->
- <view class="loading">{{loading}}</view>
- </view>
|