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.
17 lines
798 B
17 lines
798 B
<!--pages/call_roll/call_roll.wxml-->
|
|
<view class="bg">
|
|
<image src="/pages/images/call_roll.png" mode="aspectFill"></image>
|
|
</view>
|
|
<view class="container">
|
|
<view class="student-name">{{currentStudentName}}</view>
|
|
<view class="student-list">
|
|
<block wx:for="{{students}}" wx:key="id">
|
|
<view class="student-item {{index === currentStudentIndex ? 'selected' : ''}}">{{name}}</view>
|
|
</block>
|
|
<button bindtap="toggleRoll" data-rolling="{{rolling}}">{{rolling ? '暂停' : '开始'}}随机点名</button>
|
|
</view>
|
|
<text class="tip">积分设置:</text>
|
|
<input class="number" input type="text" bindinput="setPoint" value="{{point}}"/>
|
|
<button class="confirmPoint" bindtap="confirmPoint">确认</button>
|
|
<button class="return" bindtap="goTofunction">返回</button>
|
|
</view> |