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.

12 lines
963 B

<modal class="join_course" wx:if="{{!hidden}}" title="加入课堂" confirm-text="提交" cancel-text="取消" bindcancel="cancel" bindconfirm="join_course">
<view class="input-wrap {{show_code?'':'hidden'}}">
<input class="code-input" type='text' bindinput="update_invite_code" value="{{invite_code}}" placeholder="邀请码" auto-focus/>
<image class="scan" src="./scan.png" mode="aspectFit" catchtap="scan"/>
</view>
<checkbox-group class="identities" bindchange="update_identities">
<text>身份:</text>
<checkbox class="identity" color="#00b0f0" disabled="{{assistant_professor}}" checked="{{professor}}" value="professor">教师</checkbox>
<checkbox class="identity" color="#00b0f0" disabled="{{professor}}" checked="{{assistant_professor}}" value="assistant_professor">助教</checkbox>
<checkbox class="identity" color="#00b0f0" checked="{{student}}" value="student">学生</checkbox>
</checkbox-group>
</modal>