update
1.体温模块字段变更
This commit is contained in:
@@ -7,22 +7,22 @@
|
||||
:keyType="keyType"
|
||||
:user-id="userId"
|
||||
/>
|
||||
<div class="item-three" style="display: flex; justify-content: center">
|
||||
<div style="width: 15%; text-align: center">
|
||||
<div>
|
||||
<span style="font-size: 25px"> {{ maxInfo > 1000 ? (maxInfo / 1000).toFixed(2) : maxInfo }}</span>
|
||||
<span style="color: #aa9db6">{{ maxInfo > 1000 ? 'km' : 'm' }}</span>
|
||||
</div>
|
||||
<div style="color: #aa9db6">总运动距离</div>
|
||||
</div>
|
||||
<div style="width: 15%; text-align: center">
|
||||
<div>
|
||||
<span style="font-size: 25px"> {{ minInfo > 1000 ? (minInfo / 1000).toFixed(2) : minInfo }}</span>
|
||||
<span style="color: #aa9db6">{{ minInfo > 1000 ? '千卡' : '卡' }}</span>
|
||||
</div>
|
||||
<div style="color: #aa9db6">总卡路里</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- <div class="item-three" style="display: flex; justify-content: center">-->
|
||||
<!-- <div style="width: 15%; text-align: center">-->
|
||||
<!-- <div>-->
|
||||
<!-- <span style="font-size: 25px"> {{ maxInfo > 1000 ? (maxInfo / 1000).toFixed(2) : maxInfo }}</span>-->
|
||||
<!-- <span style="color: #aa9db6">{{ maxInfo > 1000 ? 'km' : 'm' }}</span>-->
|
||||
<!-- </div>-->
|
||||
<!-- <div style="color: #aa9db6">总运动距离</div>-->
|
||||
<!-- </div>-->
|
||||
<!-- <div style="width: 15%; text-align: center">-->
|
||||
<!-- <div>-->
|
||||
<!-- <span style="font-size: 25px"> {{ minInfo > 1000 ? (minInfo / 1000).toFixed(2) : minInfo }}</span>-->
|
||||
<!-- <span style="color: #aa9db6">{{ minInfo > 1000 ? '千卡' : '卡' }}</span>-->
|
||||
<!-- </div>-->
|
||||
<!-- <div style="color: #aa9db6">总卡路里</div>-->
|
||||
<!-- </div>-->
|
||||
<!-- </div>-->
|
||||
|
||||
<BasicTable :key="refresh" :columns="motionColumns" :api="queryExercisePageApi" :api-params="apiParams" :afterFetch="afterFetch" />
|
||||
</template>
|
||||
@@ -114,4 +114,4 @@
|
||||
return params;
|
||||
}
|
||||
</script>
|
||||
<style scoped lang="less"></style>
|
||||
<style scoped lang="less"></style>
|
||||
|
||||
@@ -259,7 +259,7 @@
|
||||
}
|
||||
|
||||
:deep(.ant-select) {
|
||||
min-width: 140px;
|
||||
width: 200px;
|
||||
}
|
||||
|
||||
.bgc {
|
||||
@@ -284,4 +284,4 @@
|
||||
box-shadow: none;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
</style>
|
||||
|
||||
@@ -107,14 +107,14 @@
|
||||
let xArr = [];
|
||||
let yArr = [];
|
||||
let yArr1 = [];
|
||||
maxInfo.value = result.maxValue ? result.maxValue : '/';
|
||||
middleInfo.value = result.avgValue ? result.avgValue : '/';
|
||||
minInfo.value = result.minValue ? result.minValue : '/';
|
||||
maxInfo.value = result.maxValueB ? result.maxValueB : '/';
|
||||
middleInfo.value = result.avgValueB ? result.avgValueB : '/';
|
||||
minInfo.value = result.minValueB ? result.minValueB : '/';
|
||||
if (type === '1') return;
|
||||
result.viewDataList.map((item) => {
|
||||
xArr.push(item.date);
|
||||
yArr.push(item.value ? item.value : 0);
|
||||
yArr1.push(item.value2 ? item.value2 : 0);
|
||||
yArr.push(item.ydata1 ? item.ydata1 : 0);
|
||||
yArr1.push(item.ydata2 ? item.ydata2 : 0);
|
||||
});
|
||||
echart = echarts.init(chartRef.value);
|
||||
const option = {
|
||||
@@ -205,4 +205,4 @@
|
||||
initEchart('0');
|
||||
});
|
||||
</script>
|
||||
<style scoped lang="less"></style>
|
||||
<style scoped lang="less"></style>
|
||||
|
||||
Reference in New Issue
Block a user