健康监测

This commit is contained in:
花有清香月有阴
2022-01-10 11:33:17 +08:00
parent bac266637b
commit 9370a3ff2d
2 changed files with 230 additions and 45 deletions

View File

@@ -1,7 +1,7 @@
<template>
<div class="AppEpidemicSituation">
<div class="header">
<img src="./components/img/header.png" alt="">
<img src="./components/img/header.png" alt="" />
<div class="content-info">
<div class="title">
<h2>实时数据统计</h2>
@@ -36,49 +36,49 @@
</div>
</div>
<div class="banner">
<img src="./components/img/fxry.png" alt="" class="mar-r18">
<img src="./components/img/jkjc.png" alt="">
<img src="./components/img/fxry.png" alt="" class="mar-r18" />
<img src="./components/img/jkjc.png" alt="" @click="toHealth" />
</div>
<div class="echart-content">
<div class="title">返乡数据统计</div>
<div class="echart"></div>
<div class="type-text">
<span class="tips bg-32C5FF"></span>新增返乡人数
<span class="tips bg-FFAA44"></span>新增异常人数
</div>
<div class="type-text"><span class="tips bg-32C5FF"></span>新增返乡人数 <span class="tips bg-FFAA44"></span>新增异常人数</div>
</div>
</div>
</template>
<script>
import {mapState} from 'vuex'
import { mapState } from 'vuex'
export default {
name: "AppEpidemicSituation",
appName: "疫情防控",
name: 'AppEpidemicSituation',
appName: '疫情防控',
data() {
return {
}
},
computed: {...mapState(['user'])},
onShow() {
return {}
},
computed: { ...mapState(['user']) },
onShow() {},
methods: {
toHealth(){
uni.navigateTo({
url:`./Health`
})
}
},
}
</script>
<style lang="scss" scoped>
.AppEpidemicSituation {
.header{
.header {
position: relative;
img{
img {
width: 100%;
height: 504px;
}
.content-info{
.content-info {
width: calc(100% - 60px);
background: #FFF;
background: #fff;
box-shadow: 0px 4px 20px 0px rgba(0, 0, 0, 0.12);
border-radius: 8px;
position: absolute;
@@ -86,32 +86,32 @@ export default {
left: 30px;
z-index: 99;
margin-bottom: 32px;
.title{
.title {
display: flex;
justify-content: space-between;
padding: 32px 32px 32px 48px;
h2{
h2 {
font-size: 36px;
font-family: PingFang-SC-Heavy, PingFang-SC;
font-weight: 800;
color: #333;
line-height: 50px;
}
div{
div {
font-size: 26px;
font-family: PingFangSC-Regular, PingFang SC;
color: #999;
line-height: 36px;
}
}
.tab-content{
.tab-content {
padding-bottom: 20px;
.tab-item{
.tab-item {
display: inline-block;
width: 33%;
text-align: center;
margin-bottom: 32px;
h2{
h2 {
font-size: 52px;
font-family: DINAlternate-Bold, DINAlternate;
font-weight: bold;
@@ -119,44 +119,44 @@ export default {
margin-bottom: 10px;
letter-spacing: -4px;
}
p{
p {
font-size: 28px;
font-family: PingFangSC-Regular, PingFang SC;
color: #999;
line-height: 40px;
}
.color-5AAD6A{
color: #5AAD6A;
.color-5AAD6A {
color: #5aad6a;
}
.color-4185F5{
color: #4185F5;
.color-4185F5 {
color: #4185f5;
}
.color-CD413A{
color: #CD413A;
.color-CD413A {
color: #cd413a;
}
}
}
}
}
.banner{
.banner {
width: 100%;
padding: 0 26px;
box-sizing: border-box;
margin: 306px 0 32px 0;
img{
img {
width: calc(50% - 18px);
height: 136px;
}
.mar-r18{
.mar-r18 {
margin-right: 18px;
}
}
.echart-content{
.echart-content {
width: 100%;
background-color: #fff;
padding: 0 32px 38px;
box-sizing: border-box;
.title{
.title {
font-size: 32px;
font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500;
@@ -164,31 +164,31 @@ export default {
line-height: 96px;
margin-bottom: 16px;
}
.echart{
.echart {
width: 100%;
height: 464px;
background: #F9F9F9;
background: #f9f9f9;
border-radius: 8px;
margin-bottom: 32px;
}
.type-text{
.type-text {
font-size: 28px;
font-family: PingFangSC-Regular, PingFang SC;
color: #666;
line-height: 40px;
text-align: center;
.tips{
.tips {
display: inline-block;
width: 16px;
height: 16px;
border-radius: 2px;
margin-right: 20px;
}
.bg-32C5FF{
background: #32C5FF;
.bg-32C5FF {
background: #32c5ff;
}
.bg-FFAA44{
background: #FFAA44;
.bg-FFAA44 {
background: #ffaa44;
margin-left: 80px;
}
}