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.

22 lines
819 B

<navigator class="course-name" url="/course/pages/course/course?course_id={{course_id}}&module_type=teachers">
{{course.name}}
</navigator>
<view class="header">
<view>
<block wx:if="{{!course.switch_to_teacher}}">
待审批:<text class="count">{{apply_size}}人</text>
</block>
<text class="tip" wx:else>您目前不是教师身份</text>
</view>
<view wx:if="{{course.switch_to_teacher}}">
<button class="switch" bindtap="switchToTeacher" type="main" size="mini">切换为教师</button>
</view>
</view>
<view class="apply-list">
<view class="applt-item-wrp" bindreview="refresh" wx:for="{{application_list}}" wx:key="application_id">
<apply-item data="{{item}}" course_id="{{course_id}}"/>
</view>
<view class="empty" wx:if="{{application_list.length==0}}">
暂无待审批
</view>
</view>