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.
14 lines
982 B
14 lines
982 B
<mp-dialog show="{{!hidden}}" title="加入课堂" bindclose="onCancel" bindbuttontap="onTapButton" buttons="{{buttons}}">
|
|
<block wx:if="{{!hidden}}">
|
|
<view class="input-wrap {{show_code?'':'hidden'}}">
|
|
<input class="code-input" cursor-spacing="130" type='text' bindinput="update_invite_code" value="{{invite_code}}" placeholder="邀请码" auto-focus="1" />
|
|
<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>
|
|
</block>
|
|
</mp-dialog> |