|
@@ -1,10 +1,88 @@
|
|
|
<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">确定</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="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">智慧汉阳校区</view>
|
|
|
+ <view class="school-dis">
|
|
|
+ <view class="disImg">
|
|
|
+ <image src="/images/local.png"></image>
|
|
|
+ </view>
|
|
|
+ <view class="disNum">10.00km</view>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ <view class="school-addr">
|
|
|
+ <view class="address">武汉市汉阳区龙阳大道特6号</view>
|
|
|
+ <view class="showMore {{index == 0 ? 'curSchool' : ''}}">
|
|
|
+ <image class="" src="/images/showMore.png"></image>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ <view class="school-tel">
|
|
|
+ <view class="telNum">13222222222</view>
|
|
|
+ <view class="getTel">
|
|
|
+ <image src="/images/getTel.png"></image>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ <view class="school-class-list">
|
|
|
+ <view class="class-none" style="display:none">该时间段未排课</view>
|
|
|
+ <view class="class-list" wx:if="{{index == 0}}" wx:for="{{3}}" wx:key="cIndex" wx:for-index="cItem">
|
|
|
+ <view class="class-box">
|
|
|
+ <view class="class-time">
|
|
|
+ 13:20 ~ 14:05
|
|
|
+ </view>
|
|
|
+ <view class="class-get-view">
|
|
|
+ <view class="class-stu-num">
|
|
|
+ 1/3
|
|
|
+ </view>
|
|
|
+ <view class="class-get-btn">
|
|
|
+ 预约
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ <!-- end -->
|
|
|
+
|
|
|
+ <view class="loading">{{loading}}</view>
|
|
|
+
|
|
|
</view>
|