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.

42 lines
1.7 KiB

2 months ago
<!--pages/teacher/teacher.wxml-->
<view class="container" style="background-image: url('/image/T.png');">
</view>
<view class="circle1"></view>
<image class="hu-image" src="/image/hu.png" mode="widthFix"></image>
<image class="hu-image2" src="/image/hu.png" mode="widthFix"></image>
<text class="dm-text" style="white-space: pre;" bindtap="pickStudent"> 开始点名</text>
<!-- 学生被点名的弹窗 -->
<view wx:if="{{showModal}}">
<modal show="{{showModal}}" bindconfirm="onModalClose">
<view>学生姓名: {{selectedStudent.name}}</view>
<view>学号: {{selectedStudent.student_id}}</view>
</modal>
</view>
<!-- 豁免卡使用信息的弹窗 -->
<view wx:if="{{exemptionModalVisible}}">
<modal show="{{exemptionModalVisible}}" bindconfirm="onExemptionModalClose" title="豁免卡使用信息">
<view>学生姓名: {{exemptionCardInfo.student_name}}</view>
<view>学号: {{exemptionCardInfo.student_id}}</view>
<view>新积分: {{exemptionCardInfo.new_score}}</view>
</modal>
</view>
<view class="rectangle"></view>
<view class="rectangle-name">
<text class="md" bindtap="chooseFile">导入学生名单</text>
</view>
<view class="rectangle-down">
</view>
<text class="choice">请选择点名模式</text>
<text class="hudong">您可以选择不同的点名模式进行互动</text>
<button class="confirm-button" bindtap="goToRollCall">点到模式</button>
<button class="confirm-button2" bindtap="goToQuestionMode">提问模式</button>
<text class="dao" bindtap="exportScores">导出数据</text>
<image class="back-image" bindtap="goBack" src="/image/back.png" mode="widthFix"></image>
<view class="circle"></view>