12345678910111213141516171819202122232425262728293031323334353637 |
- <import src="../../templates/nodata/nodata.wxml" />
- <view class='container'>
- <view class='wrapper'>
- <view class='li-content li-order'>
- <scroll-view scroll-y style="height:{{scrollHeight_}};overflow: scroll;" scroll-into-view="{{toView}}" enable-back-to-top bindscroll="viewScroll" scroll-with-animation scroll-top="{{scrollTop}}" wx:if='{{list.length>0}}' class='li-order'>
- <view wx:for='{{list}}' wx:key='index' wx:if='{{list.length>0}}'>
- <view class="list-letter" id="{{item.title}}">{{item.title}}</view>
- <view class='li-content-items li-flex' wx:for="{{item.items}}" wx:for-item="val" wx:for-index="key" wx:key='key'>
- <image src='{{val.isCheck=="active"?"../../assets/xuan_zhong.png":"../../assets/gou.png"}}' class='li-content-items-right-img li-margin' bindtap='slectClass' data-id='{{classId}}' data-idx='{{index}}' data-key='{{key}}'></image>
- <view>
- <image src='../../assets/class_one.png' class='li-content-items-img'></image>
- <view class='li-content-items-class'>
- <view class='li-content-items-class-num'>{{val.className}}</view>
- <view>
- <text>学生:{{val.studentSum}}人</text>
- <text class='li-content-items-class'>教师:{{val.teacherSum}}人</text>
- </view>
- </view>
-
- </view>
- </view>
- </view>
- </scroll-view>
- <view class="list-shortcut">
- <block wx:for="{{list}}" wx:key="index">
- <text class="list-shortcut-num {{currentIndex===index?'list-current':''}}" data-id="{{item.title}}" data-idx="{{index}}" bindtap='scrollToview'>{{item.title}}</text>
- </block>
- </view>
- </view>
- <view class='li-class-grade'>
- <view bindtap='cancel'>取消</view>
- <view class='li-class-grade-btn' bindtap='sureConfirmTeacherClass'>确定</view>
- </view>
- <template is='nodata' wx:if='{{list.length==0}}' data='{{...nodata.nodataObj}}'></template>
- </view>
- </view>
|