65 lines
1.2 KiB
Vue
65 lines
1.2 KiB
Vue
|
|
<!--
|
||
|
|
* @Author: SunTao 328867980@qq.com
|
||
|
|
* @Date: 2024-10-18 10:25:29
|
||
|
|
* @LastEditors: SunTao 328867980@qq.com
|
||
|
|
* @LastEditTime: 2024-11-08 09:33:25
|
||
|
|
* @FilePath: \znxjxt-ui\src\views\big-screen\disease-components\work-order.vue
|
||
|
|
* @Description: 总览大屏-巡查里程
|
||
|
|
-->
|
||
|
|
|
||
|
|
<template>
|
||
|
|
<div class="content">
|
||
|
|
<div class="patrol-div">
|
||
|
|
<div class="value"><span>{{ patrolObject.mileage }}</span>km</div>
|
||
|
|
<div class="name">累计里程</div>
|
||
|
|
</div>
|
||
|
|
<div class="patrol-div">
|
||
|
|
<div class="value"><span>{{ patrolObject.time }}</span>h</div>
|
||
|
|
<div class="name">累计时长</div>
|
||
|
|
</div>
|
||
|
|
</div>
|
||
|
|
</template>
|
||
|
|
|
||
|
|
<script>
|
||
|
|
export default {
|
||
|
|
name: "PatrolOrder",
|
||
|
|
data() {
|
||
|
|
return {
|
||
|
|
// 累计里程数据
|
||
|
|
patrolObject: {
|
||
|
|
mileage: 365,
|
||
|
|
time: 12,
|
||
|
|
},
|
||
|
|
};
|
||
|
|
},
|
||
|
|
};
|
||
|
|
</script>
|
||
|
|
|
||
|
|
<style lang="scss" scoped>
|
||
|
|
.content {
|
||
|
|
width: 100%;
|
||
|
|
height: 100%;
|
||
|
|
display: flex;
|
||
|
|
justify-content: center;
|
||
|
|
color: #ffffff;
|
||
|
|
|
||
|
|
.patrol-div{
|
||
|
|
width: 40%;
|
||
|
|
height: 100%;
|
||
|
|
display: flex;
|
||
|
|
flex-direction: column;
|
||
|
|
align-items: center;
|
||
|
|
justify-content: space-around;
|
||
|
|
|
||
|
|
.value{
|
||
|
|
|
||
|
|
span{
|
||
|
|
font-family: "DouYu";
|
||
|
|
font-size: 1.8rem;
|
||
|
|
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
</style>
|
||
|
|
|