53 lines
2.0 KiB
Plaintext
Raw Normal View History

2025-06-13 14:39:20 +08:00
<!--subpackage/teacher/report-detail/report-detail.wxml-->
<view class="page-content">
<mp-bar background="linear-gradient(190deg, #49a5fc 0%, #f7f7f7 800rpx, #f7f7f7 100%)" title="统计" color="#fff"></mp-bar>
<view class="title">
<view class="title-before"></view>心率统计
</view>
<view class="card canvasCard">
<view>次/分</view>
<view class="charts" style="width: {{cWidth}}px;height: {{cHeight}}px;">
<canvas canvas-id="mycanvas" type="2d" id="mycanvas" style="width: {{cWidth}}px;height: {{cHeight}}px;" bindtouchstart="touchstart" bindtouchmove="touchmove" bindtouchend="touchend" />
</view>
</view>
<view class="tp">
<view class="table-t">
<view class="no-b no-r">最大心率</view>
<view class="no-b no-r">最小心率</view>
<view class="no-b no-r">平均心率</view>
<view class="no-b">中高强度时长(分钟)</view>
</view>
<view class="table-t">
<view class="no-r">{{reportDetail.maxHR || '- -'}}</view>
<view class="no-r">{{reportDetail.minHR || '- -'}}</view>
<view class="no-r">{{reportDetail.avgHR || '- -'}}</view>
<view>{{reportDetail.highIntensity || '- -'}}</view>
</view>
</view>
<view class="title">
<view class="title-before"></view>跳绳记录
</view>
<view class="homework-item" wx:for="{{reportDetail.jumpRecordList}}" wx:key="index">
<view class="top">
<view class="left">
<view class="img-box">
<image class="jump-img" src="https://yuedong-wechatapplet.oss-cn-shanghai.aliyuncs.com/static/teacher/icon/Rope-Skipping.png" mode="" />
</view>
<view class="desc">
<view class="statu">
{{item.jumpType}}
</view>
<view>{{item.totalDuration}}s <text style="margin-left: 30rpx;">{{item.totalCount}}个</text></view>
</view>
</view>
</view>
</view>
<view wx:if="{{reportDetail.jumpRecordList.length <= 0}}" class="no">暂无记录~</view>
</view>