You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
<!--pages/addclass/addclass.wxml-->
|
|
|
|
<view class="container">
|
|
|
|
<view class="course-list form-wrap">
|
|
|
|
<view>
|
|
|
|
<image hidden="{{courses.length==0 || loading}}" src="cloud://educoder.6564-educoder-1300855313/images/blank2.png" class="none-content"></image>
|
|
|
|
<text hidden="{{courses.length==0 || loading}}" class="none-content">没有可以加入的课程了</text>
|
|
|
|
</view>
|
|
|
|
<block wx:for="{{courses}}" wx:for-item="course" wx:key="id">
|
|
|
|
<view hidden="{{course.present}}" bindtap="show_join_course_modal" class="course-item flex-wrap" data-id="{{course.id}}" data-name="{{course.name}}">
|
|
|
|
<myicon class="course-icon" type="internet_class" size="26" color="#00b0f0"></myicon>
|
|
|
|
<text class="course-name">{{course.name}}</text>
|
|
|
|
</view>
|
|
|
|
</block>
|
|
|
|
</view>
|
|
|
|
<view class="loading" hidden="{{loaded_all}}">
|
|
|
|
<image src="cloud://educoder.6564-educoder-1300855313/images/loading_min.gif" style="width:20px;height:20px"></image>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
<join-course-modal hidden="{{!show_join_course_modal}}"/>
|