You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
76 lines
1.7 KiB
76 lines
1.7 KiB
<template>
|
|
<!-- 校园轨迹组件 -->
|
|
<view class="card radius shadow-warp bg-white">
|
|
<view class="card-head solid-bottom">
|
|
<view class="card-head-avatar bg-green">
|
|
<view class="iconfont icon-wenduji_thermometer"></view>
|
|
</view>
|
|
<view class="card-head-title">健康上报</view>
|
|
<!-- <view class="card-head-action">icon</view> -->
|
|
</view>
|
|
|
|
<view class="card-content">
|
|
<view class="data-wrap">
|
|
<view class="data-item">
|
|
<view class="data-text text-green">100</view>
|
|
<view class="data-title">正常</view>
|
|
</view>
|
|
<view class="data-item">
|
|
<view class="data-text text-red">9</view>
|
|
<view class="data-title">发烧</view>
|
|
</view>
|
|
<view class="data-item">
|
|
<view class="data-text text-purple">10</view>
|
|
<view class="data-title">其他</view>
|
|
</view>
|
|
<view class="data-item">
|
|
<view class="data-text text-orange">50</view>
|
|
<view class="data-title">未上报</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</template>
|
|
|
|
<script>
|
|
export default {
|
|
name: 'HealthData',
|
|
data() {
|
|
return {};
|
|
},
|
|
|
|
onLoad() {},
|
|
|
|
methods: {},
|
|
};
|
|
</script>
|
|
|
|
<style lang="scss" scoped>
|
|
.data-wrap {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-around;
|
|
padding: 40rpx 0;
|
|
|
|
.data-item {
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
|
|
.data-text {
|
|
font-size: 18px;
|
|
font-weight: 600;
|
|
margin-bottom: 4px;
|
|
}
|
|
|
|
.data-title {
|
|
font-size: 13px;
|
|
color: $grey;
|
|
}
|
|
}
|
|
}
|
|
.icon-wenduji_thermometer {
|
|
font-size: 14px;
|
|
}
|
|
</style>
|
|
|