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.

9 lines
846 B

<modal class="join_course" wx:if="{{!hidden}}" title="加入课堂" confirm-text="提交" cancel-text="取消" bindcancel="cancel" bindconfirm="join_course">
<input type='text' bindinput="update_invite_code" value="{{invite_code}}" class="code-input {{show_code?'':'hidden'}}" placeholder="邀请码" auto-focus/>
<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>