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.
|
|
|
|
<view class="container">
|
|
|
|
|
<view class="classname"><text>{{LessonName}}</text></view>
|
|
|
|
|
<view class="blackboard">
|
|
|
|
|
<image src="/images/upteach/blackboard.png" mode="widthFix"></image>
|
|
|
|
|
</view>
|
|
|
|
|
<!-- 点击按钮触发事件,向服务器发送请求查询该课程的状态,若-status=0,未上课,可以上课。否则显示结束上课 -->
|
|
|
|
|
<view>
|
|
|
|
|
<button wx:if="{{!LessonStatus}}" class="class_button" bind:tap="OnLession" style="width: 450rpx; height: 100rpx;">开始上课</button>
|
|
|
|
|
<button wx:else class="class_button" bind:tap="OffLession" style="width: 450rpx; height: 100rpx;">结束上课</button>
|
|
|
|
|
</view>
|
|
|
|
|
<!-- <view class="teacher">
|
|
|
|
|
|
|
|
|
|
<image src="/images/upteach/teacher.png" mode="widthFix"></image>
|
|
|
|
|
|
|
|
|
|
</view> -->
|
|
|
|
|
<view class="roll">
|
|
|
|
|
<view class="scroll-text" animation="{{animation}}">
|
|
|
|
|
{{displayText}}
|
|
|
|
|
</view>
|
|
|
|
|
<image src="/images/upteach/teacher.png" mode="widthFix" class="teacher"></image>
|
|
|
|
|
</view>
|
|
|
|
|
|
|
|
|
|
<view class="surperise">
|
|
|
|
|
|
|
|
|
|
<image hidden="{{!LessonStatus}}" src="/images/icon/calendar.png" mode="widthFix" class="s"></image>
|
|
|
|
|
|
|
|
|
|
<view class="word">
|
|
|
|
|
|
|
|
|
|
<view hidden="{{!Roll_Method}}" class="s1">{{Pick_Rule[Roll_Method]}}</view>
|
|
|
|
|
|
|
|
|
|
</view>
|
|
|
|
|
|
|
|
|
|
</view>
|
|
|
|
|
|
|
|
|
|
<view hidden="{{!LessonStatus}}"><button class="class_button" bind:tap="PickStudent" style="width: 450rpx; height: 100rpx;">课堂抽点</button></view>
|
|
|
|
|
|
|
|
|
|
<view hidden="{{!LessonStatus}}" class="evaluate" style="width: 530rpx; height: 100rpx;">
|
|
|
|
|
<input class="input" type="text" placeholder="评价下该同学" bindinput="handleInput" style="width: 750rpx; height: 70rpx;"/>
|
|
|
|
|
<button class="e0" bind:tap="AddScore" style="width: 650rpx; height: 100rpx;">评价</button>
|
|
|
|
|
<!-- <button hidden="{{PickOver}}class="e1" bind:tap="OnValue">点击评价</button> -->
|
|
|
|
|
</view>
|
|
|
|
|
|
|
|
|
|
</view>
|