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.
|
|
|
<view class="my-course">
|
|
|
|
<require-login/>
|
|
|
|
<nav-bar list="{{categories}}" current="{{current_cate}}" bindchange="onCategoryChange"/>
|
|
|
|
<view class="nav-wrap">
|
|
|
|
<nav-bar list="{{statuses}}" width="300" itemWidth="140" cancellable="1" current="-1" type="plain" bg='' bindchange="onStatusChange"/>
|
|
|
|
</view>
|
|
|
|
<scroll-view scroll-y="1" refresher-enabled="1" bindrefresherrefresh="onPullDownRefresh" bindscrolltolower="onReachBottom" lower-threshold="120" bindrefresh="onPullDownRefresh" class="body">
|
|
|
|
<view hidden="{{courses.length!=0 || loading}}" class="none-content">
|
|
|
|
<image class="none-content" src="{{imgDir}}blank1.png" mode="aspectFit"></image>
|
|
|
|
<text class="none-content hint">空空如也!</text>
|
|
|
|
</view>
|
|
|
|
<view wx:for="{{courses}}" wx:key="id" class="course-wrap">
|
|
|
|
<course-item data="{{item}}" category="{{category}}"/>
|
|
|
|
</view>
|
|
|
|
</scroll-view>
|
|
|
|
<!-- {{imgDir}}add.png -->
|
|
|
|
<image class="add-course" src="{{attachDir}}751591" bindtap="addCourse"></image>
|
|
|
|
<join-course-modal hidden="{{!showModal}}"/>
|
|
|
|
</view>
|