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
933 B

<form bindsubmit="onSubmit">
<view class="body">
<scroll-view class="scroll-body" scroll-y="1">
<checkbox-group name="shixun_ids" bindchange="onChange">
<block wx:for="{{stages}}" wx:key="index">
<view class="shixun-wrp" wx:for="{{item.shixuns}}" wx:key="id">
<checkbox class="shixun-checkbox" color="#00b0f0" checked="{{selectAll}}" value="{{item.id}}">
<view class="shixun-item">
{{item.shixun_name}}
</view>
</checkbox>
</view>
</block>
</checkbox-group>
</scroll-view>
<view class="operations">
<view class="operation" bindtap="onTapSelectAll">
<radio color="#00b0f0" checked="{{isSelectAll}}">全选</radio>
</view>
<button class="operation" form-type="submit">确认选用({{selectCount}})</button>
</view>
</view>
</form>
<send-to-course show="{{showSendDialog}}" open_type="redirectTo" subject_id="{{subject_id}}" shixun_ids="{{shixun_ids}}" />