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.
27 lines
1.4 KiB
27 lines
1.4 KiB
<scroll-view class="shixun-body" scroll-y="1" refresher-enabled="1"
|
|
bindrefresherrefresh="onPullDownRefresh" bindscrolltolower="onReachBottom"
|
|
lower-threshold="200" bindrefresh="onPullDownRefresh">
|
|
<view>
|
|
<view class="header">
|
|
<view class="input-wrp">
|
|
<input class="input" value="{{keyword}}" bindinput="onInput" bindblur="search" bindconfirm="search" confirm-type="search" placeholder="输入实训关键词进行搜索"></input>
|
|
<icon wx:if="{{showClear}}" class="icon" type="clear" bindtap="clear"></icon>
|
|
<icon class="icon" type="search"></icon>
|
|
</view>
|
|
</view>
|
|
<form bindsubmit="onSubmit" bindselect="onSelect" bindreset="reset">
|
|
<view class="sticky-top list-header">
|
|
<view class="subtitle">实训列表</view>
|
|
<view class="select-operations">
|
|
<button wx:if="{{select}}" class="operation-btn cancel-select" form-type="reset">取消</button>
|
|
<button class="operation-btn submit-select" form-type="submit">{{select?'发送到':'发送'}}</button>
|
|
</view>
|
|
</view>
|
|
<view wx:for="{{shixun_list}}" wx:key="id" class="shixun-wrp">
|
|
<shixun-item data="{{item}}" name="{{item.id}}" select="{{select}}"/>
|
|
</view>
|
|
</form>
|
|
<empty-page show="{{status==205}}" title="暂无相关内容" desc="获取更多请进入EduCoder官网"/>
|
|
</view>
|
|
</scroll-view>
|
|
<send-to-course bindsuccess="reset" show="{{showSendDialog}}" shixun_ids="{{shixun_ids}}"/> |