1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- <!--pages/classroom_assessment/classroom_assessment.wxml-->
- <view class='container'>
- <view class='wrapper'>
-
- <view class='li' wx:if='{{!isClass}}'>
- <view class='li-star'>
- <block>
- <view class='li-star-list'>
- <block wx:for="{{5}}" wx:key='{{index}}'>
- <image class="star-image" style="left:{{item*25}}rpx" src="{{lever>item?selectedSrc:normalSrc}}">
- <!-- <view class="item" style="left:0rpx" data-key="{{item+0.5}}" bindtap="selectLeft"></view> -->
- <view class="item" data-key="{{item+1}}" bindtap="selectRight"></view>
- </image>
- </block>
- </view>
- <view class='tag'>
- <button class="tag-btn {{item.status=='active'||item.active==1?'tag-btn-active':''}}" disabled='{{item.active==1}}' wx:for='{{tagList[0]}}' wx:key='index' data-index='{{index}}' bindtap='clickTag'>{{item.labelName}}</button>
- </view>
- </block>
- </view>
- <view class='li-btn' bindtap='submitAssessment'>提交</view>
- </view>
- <view class='li' wx:if='{{isClass}}'>
- <view class='li-star'>
- <block>
- <view class='li-star-list'>
- <block wx:for="{{5}}" wx:key='{{index}}'>
- <image class="star-image" style="left:{{item*25}}rpx" src="{{lever>item?selectedSrc:normalSrc}}">
- <!-- <view class="item" style="left:0rpx" data-key="{{item+0.5}}" bindtap="selectLeft"></view> -->
- <view class="item" data-key="{{item+1}}" bindtap="{{isJudge ==0?'selectRight':''}}"></view>
- </image>
- </block>
- </view>
- <view class='tag'>
- <button class="tag-btn {{item.status=='active'||item.active==1?'tag-btn-active':''}}" disabled='{{item.active==1}}' wx:for='{{tagList[0]}}' wx:key='index' data-index='{{index}}' bindtap="clickTag" wx:if='{{isJudge ==0}}'>{{item.labelName}}</button>
- <button class="tag-btn {{item.active==1?'tag-btn-active':''}}" disabled='{{item.active==1}}' wx:for='{{tagList[0].label}}' wx:key='index' data-index='{{index}}' bindtap="{{isJudge ==0?'clickTag':''}}" wx:if='{{isJudge ==1}}'>{{item.labelName}}</button>
- </view>
- </block>
- </view>
- <view class='li-btn' bindtap='checkTeacher' wx:if='{{isJudge ==0}}'>提交</view>
- </view>
- </view>
- </view>
|