66 lines
2.3 KiB
Plaintext
66 lines
2.3 KiB
Plaintext
<!--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">平均心率</view>
|
|
</view>
|
|
<view class="table-t">
|
|
<view class="no-r">{{reportDetail.maxHR || '- -'}}</view>
|
|
<view class="no-r">{{reportDetail.minHR || '- -'}}</view>
|
|
<view >{{reportDetail.avgHR || '- -'}}</view>
|
|
</view>
|
|
</view> -->
|
|
|
|
<view class="heart-box">
|
|
<view class="heart-item ">
|
|
<view>最大心率</view>
|
|
<view class="heart-text3">{{reportDetail.maxHR || '- -'}}</view>
|
|
</view>
|
|
<view class="heart-item heart-min">
|
|
<view>最小心率</view>
|
|
<view class="heart-text2">{{reportDetail.minHR || '- -'}}</view>
|
|
</view>
|
|
<view class="heart-item heart-max">
|
|
<view>平均心率</view>
|
|
<view class="heart-text1">{{reportDetail.avgHR || '- -'}}</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> |