2025-06-06 15:17:30 +08:00

49 lines
1.8 KiB
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!--subpackage/teacher/homework-detail/home-detail.wxml-->
<view class="page-content">
<mp-bar background="linear-gradient(190deg, #49a5fc 0%, #f7f7f7 800rpx, #f7f7f7 100%)" title="作业详情" color="rgba(255,255,255,0.8)" ></mp-bar>
<view class="card card1">
<view class="title">
<view class="title-before"></view>作业类型:{{detail.workName}}
</view>
<!-- <view class="title">
<view class="title-before"></view>年级-班级:
</view> -->
<view class="title">
<view class="title-before"></view>参与范围:{{detail.studentScope || ''}}
</view>
<view class="title">
<view class="title-before"></view>作业内容:{{detail.workText || ''}}
</view>
<view class="title">
<view class="title-before"></view>起止时间:{{detail.time}}
</view>
</view>
<view class="card tab">
<view class="tab-item {{tab == 0 ?'active':''}}" bind:tap="changeTab" data-id="0">已完成({{finish.length}}</view>
<view class="tab-item {{tab == 1 ?'active':''}}" bind:tap="changeTab" data-id="1">未完成({{load.length}}</view>
</view>
<view class="card card2">
<view class="title2">
<text>姓名</text>
<text>成绩</text>
</view>
<block wx:if="{{nowList.length >0}}">
<view class="user-item" wx:for="{{nowList}}" wx:key="studentNo">
<view class="left">
<image src="{{item.photo == null || item.photo == '' ? 'https://yuedong-wechatapplet.oss-cn-shanghai.aliyuncs.com/static/room/avater.png': item.photo}}" class="user-img" />
{{item.studentName}}
</view>
{{item.result}}
</view>
</block>
<block wx:else>
<view style="margin-top: 30rpx; text-align: center;">暂无数据~</view>
</block>
</view>
</view>