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.
24 lines
1011 B
24 lines
1011 B
<!--
|
|
所有的页面数据见同目录classes.js中Page.data定义部分
|
|
classes: 课程列表 type: Array
|
|
元素class: 课程信息 class.objectId 唯一
|
|
class.objectId 唯一键
|
|
class.name 课程名称
|
|
-->
|
|
<view class="container">
|
|
<view class="class-list">
|
|
<text wx:if="{{classes.length==0}}">你还没有加入任何课堂</text>
|
|
<block wx:for="{{classes}}" wx:for-item="class" wx:key="objectId">
|
|
<view class="classroom flex-wrap" data-class_id="{{class.objectId}}" data-class_name="{{class.name}}" bindtap="enter_class" bindlongtap="del_class">
|
|
<!--icon type="success"></icon-->
|
|
<myicon class="classroom-icon" type="internet_class" size="26" color="#2351e4"></myicon>
|
|
<text>{{class.name}}</text>
|
|
</view>
|
|
</block>
|
|
</view>
|
|
</view>
|
|
<view class="footer flex-wrap">
|
|
<navigator url="../setting/setting" class="setting tappable">设置</navigator>
|
|
<navigator url="../addclass/addclass" class="addclass tappable">加入课堂</navigator>
|
|
</view>
|