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.
|
|
|
<require-login user_id="{{user.user_id}}"/>
|
|
|
|
<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" class="body">
|
|
|
|
<view class="container" bindrefresh="onPullDownRefresh">
|
|
|
|
<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>
|
|
|
|
</view>
|
|
|
|
</scroll-view>
|
|
|
|
<!-- {{imgDir}}add.png -->
|
|
|
|
<image class="add-course" src="{{imgDir}}add.png" bindtap="show_join_course_modal"></image>
|
|
|
|
|
|
|
|
<add-tips/>
|
|
|
|
<join-course-modal hidden="{{!show_join_course_modal}}"/>
|