健康监测
This commit is contained in:
		@@ -1,7 +1,7 @@
 | 
				
			|||||||
<template>
 | 
					<template>
 | 
				
			||||||
  <div class="AppEpidemicSituation">
 | 
					  <div class="AppEpidemicSituation">
 | 
				
			||||||
    <div class="header">
 | 
					    <div class="header">
 | 
				
			||||||
      <img src="./components/img/header.png" alt="">
 | 
					      <img src="./components/img/header.png" alt="" />
 | 
				
			||||||
      <div class="content-info">
 | 
					      <div class="content-info">
 | 
				
			||||||
        <div class="title">
 | 
					        <div class="title">
 | 
				
			||||||
          <h2>实时数据统计</h2>
 | 
					          <h2>实时数据统计</h2>
 | 
				
			||||||
@@ -36,16 +36,13 @@
 | 
				
			|||||||
      </div>
 | 
					      </div>
 | 
				
			||||||
    </div>
 | 
					    </div>
 | 
				
			||||||
    <div class="banner">
 | 
					    <div class="banner">
 | 
				
			||||||
      <img src="./components/img/fxry.png" alt="" class="mar-r18">
 | 
					      <img src="./components/img/fxry.png" alt="" class="mar-r18" />
 | 
				
			||||||
      <img src="./components/img/jkjc.png" alt="">
 | 
					      <img src="./components/img/jkjc.png" alt="" @click="toHealth" />
 | 
				
			||||||
    </div>
 | 
					    </div>
 | 
				
			||||||
    <div class="echart-content">
 | 
					    <div class="echart-content">
 | 
				
			||||||
      <div class="title">返乡数据统计</div>
 | 
					      <div class="title">返乡数据统计</div>
 | 
				
			||||||
      <div class="echart"></div>
 | 
					      <div class="echart"></div>
 | 
				
			||||||
      <div class="type-text">
 | 
					      <div class="type-text"><span class="tips bg-32C5FF"></span>新增返乡人数 <span class="tips bg-FFAA44"></span>新增异常人数</div>
 | 
				
			||||||
        <span class="tips bg-32C5FF"></span>新增返乡人数
 | 
					 | 
				
			||||||
        <span class="tips bg-FFAA44"></span>新增异常人数
 | 
					 | 
				
			||||||
      </div>
 | 
					 | 
				
			||||||
    </div>
 | 
					    </div>
 | 
				
			||||||
  </div>
 | 
					  </div>
 | 
				
			||||||
</template>
 | 
					</template>
 | 
				
			||||||
@@ -54,16 +51,19 @@
 | 
				
			|||||||
import { mapState } from 'vuex'
 | 
					import { mapState } from 'vuex'
 | 
				
			||||||
 | 
					
 | 
				
			||||||
export default {
 | 
					export default {
 | 
				
			||||||
  name: "AppEpidemicSituation",
 | 
					  name: 'AppEpidemicSituation',
 | 
				
			||||||
  appName: "疫情防控",
 | 
					  appName: '疫情防控',
 | 
				
			||||||
  data() {
 | 
					  data() {
 | 
				
			||||||
    return {
 | 
					    return {}
 | 
				
			||||||
    }
 | 
					 | 
				
			||||||
  },
 | 
					  },
 | 
				
			||||||
  computed: { ...mapState(['user']) },
 | 
					  computed: { ...mapState(['user']) },
 | 
				
			||||||
  onShow() {
 | 
					  onShow() {},
 | 
				
			||||||
  },
 | 
					 | 
				
			||||||
  methods: {
 | 
					  methods: {
 | 
				
			||||||
 | 
					    toHealth(){
 | 
				
			||||||
 | 
					      uni.navigateTo({
 | 
				
			||||||
 | 
					        url:`./Health`
 | 
				
			||||||
 | 
					      })
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
  },
 | 
					  },
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
</script>
 | 
					</script>
 | 
				
			||||||
@@ -78,7 +78,7 @@ export default {
 | 
				
			|||||||
    }
 | 
					    }
 | 
				
			||||||
    .content-info {
 | 
					    .content-info {
 | 
				
			||||||
      width: calc(100% - 60px);
 | 
					      width: calc(100% - 60px);
 | 
				
			||||||
      background: #FFF;
 | 
					      background: #fff;
 | 
				
			||||||
      box-shadow: 0px 4px 20px 0px rgba(0, 0, 0, 0.12);
 | 
					      box-shadow: 0px 4px 20px 0px rgba(0, 0, 0, 0.12);
 | 
				
			||||||
      border-radius: 8px;
 | 
					      border-radius: 8px;
 | 
				
			||||||
      position: absolute;
 | 
					      position: absolute;
 | 
				
			||||||
@@ -126,13 +126,13 @@ export default {
 | 
				
			|||||||
            line-height: 40px;
 | 
					            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;
 | 
				
			||||||
          }
 | 
					          }
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
      }
 | 
					      }
 | 
				
			||||||
@@ -167,7 +167,7 @@ export default {
 | 
				
			|||||||
    .echart {
 | 
					    .echart {
 | 
				
			||||||
      width: 100%;
 | 
					      width: 100%;
 | 
				
			||||||
      height: 464px;
 | 
					      height: 464px;
 | 
				
			||||||
      background: #F9F9F9;
 | 
					      background: #f9f9f9;
 | 
				
			||||||
      border-radius: 8px;
 | 
					      border-radius: 8px;
 | 
				
			||||||
      margin-bottom: 32px;
 | 
					      margin-bottom: 32px;
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
@@ -185,10 +185,10 @@ export default {
 | 
				
			|||||||
        margin-right: 20px;
 | 
					        margin-right: 20px;
 | 
				
			||||||
      }
 | 
					      }
 | 
				
			||||||
      .bg-32C5FF {
 | 
					      .bg-32C5FF {
 | 
				
			||||||
        background: #32C5FF;
 | 
					        background: #32c5ff;
 | 
				
			||||||
      }
 | 
					      }
 | 
				
			||||||
      .bg-FFAA44 {
 | 
					      .bg-FFAA44 {
 | 
				
			||||||
        background: #FFAA44;
 | 
					        background: #ffaa44;
 | 
				
			||||||
        margin-left: 80px;
 | 
					        margin-left: 80px;
 | 
				
			||||||
      }
 | 
					      }
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										185
									
								
								src/apps/AppEpidemicSituation/Health.vue
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										185
									
								
								src/apps/AppEpidemicSituation/Health.vue
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,185 @@
 | 
				
			|||||||
 | 
					<template>
 | 
				
			||||||
 | 
					  <div class="Health">
 | 
				
			||||||
 | 
					    <div class="top">
 | 
				
			||||||
 | 
					      <div class="topCard">
 | 
				
			||||||
 | 
					        <div class="left">
 | 
				
			||||||
 | 
					          <span class="num1">274</span>
 | 
				
			||||||
 | 
					          <span class="hint">上报人员</span>
 | 
				
			||||||
 | 
					        </div>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        <div class="line"></div>
 | 
				
			||||||
 | 
					      </div>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					      <div class="topCard">
 | 
				
			||||||
 | 
					        <div class="left">
 | 
				
			||||||
 | 
					          <span class="num2">274</span>
 | 
				
			||||||
 | 
					          <span class="hint">上报人员</span>
 | 
				
			||||||
 | 
					        </div>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        <div class="line"></div>
 | 
				
			||||||
 | 
					      </div>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					      <div class="topCard">
 | 
				
			||||||
 | 
					        <div class="left">
 | 
				
			||||||
 | 
					          <span class="num3">274</span>
 | 
				
			||||||
 | 
					          <span class="hint">上报人员</span>
 | 
				
			||||||
 | 
					        </div>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        <div class="line"></div>
 | 
				
			||||||
 | 
					      </div>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					      <div class="topCard">
 | 
				
			||||||
 | 
					        <div class="left">
 | 
				
			||||||
 | 
					          <span class="num4">274</span>
 | 
				
			||||||
 | 
					          <span class="hint">上报人员</span>
 | 
				
			||||||
 | 
					        </div>
 | 
				
			||||||
 | 
					      </div>
 | 
				
			||||||
 | 
					    </div>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    <div class="middle">
 | 
				
			||||||
 | 
					      <div class="left">
 | 
				
			||||||
 | 
					        <AiAreaPicker v-model="areaId" all :areaId="user.areaId" @select="areaSelect" :name.sync="areaName" style="color: #666">
 | 
				
			||||||
 | 
					          <u-icon name="map-fill" color="#3192F4" size="20px" style="vertical-align: text-bottom"></u-icon>
 | 
				
			||||||
 | 
					          <span style="margin-left: 4px" v-if="areaName">{{ areaName }}</span>
 | 
				
			||||||
 | 
					          <span v-else>请选择</span>
 | 
				
			||||||
 | 
					          <u-icon name="arrow-down" color="#666" size="28" style="margin-left: 4px" />
 | 
				
			||||||
 | 
					        </AiAreaPicker>
 | 
				
			||||||
 | 
					      </div>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					      <u-search v-model="keyword" :clearabled="true" placeholder="请输入标题" :show-action="false" bg-color="#F5F5F5" search-icon-color="#999" color="#999" height="58" @search="handerSearch" @clear="handerClear"></u-search>
 | 
				
			||||||
 | 
					    </div>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    <div class="bottom">
 | 
				
			||||||
 | 
					      <u-tabs :list="tabList" :is-scroll="false" :current="currentTabs" height="96" bg-color="#fff" inactive-color="#333 " active-color="#135AB8 " @change="change"></u-tabs>
 | 
				
			||||||
 | 
					    </div>
 | 
				
			||||||
 | 
					  </div>
 | 
				
			||||||
 | 
					</template>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					<script>
 | 
				
			||||||
 | 
					import { mapState } from 'vuex'
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					export default {
 | 
				
			||||||
 | 
					  name: 'Health',
 | 
				
			||||||
 | 
					  components: {},
 | 
				
			||||||
 | 
					  props: {},
 | 
				
			||||||
 | 
					  data() {
 | 
				
			||||||
 | 
					    return {
 | 
				
			||||||
 | 
					      keyword: '',
 | 
				
			||||||
 | 
					      areaId: '',
 | 
				
			||||||
 | 
					      areaName: '',
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					      current: 1,
 | 
				
			||||||
 | 
					      size: 10,
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					      tabList: [
 | 
				
			||||||
 | 
					        {
 | 
				
			||||||
 | 
					          name: '上报人员',
 | 
				
			||||||
 | 
					        },
 | 
				
			||||||
 | 
					        {
 | 
				
			||||||
 | 
					          name: '异常人员',
 | 
				
			||||||
 | 
					        },
 | 
				
			||||||
 | 
					      ],
 | 
				
			||||||
 | 
					      currentTabs: 0,
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					  },
 | 
				
			||||||
 | 
					  computed: {
 | 
				
			||||||
 | 
					    ...mapState(['user']),
 | 
				
			||||||
 | 
					  },
 | 
				
			||||||
 | 
					  watch: {},
 | 
				
			||||||
 | 
					  onLoad() {
 | 
				
			||||||
 | 
					    this.areaId = this.user.areaId
 | 
				
			||||||
 | 
					    this.areaName = this.user.areaName
 | 
				
			||||||
 | 
					  },
 | 
				
			||||||
 | 
					  onShow() {},
 | 
				
			||||||
 | 
					  methods: {
 | 
				
			||||||
 | 
					    change(index) {
 | 
				
			||||||
 | 
					      // this.data = []
 | 
				
			||||||
 | 
					      this.areaId = this.user.areaId
 | 
				
			||||||
 | 
					      this.keyword = ''
 | 
				
			||||||
 | 
					      this.currentTabs = index
 | 
				
			||||||
 | 
					      this.current = 1
 | 
				
			||||||
 | 
					      // this.getList()
 | 
				
			||||||
 | 
					    },
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    handerSearch(e) {
 | 
				
			||||||
 | 
					      this.keyword = e
 | 
				
			||||||
 | 
					      // this.current = 1
 | 
				
			||||||
 | 
					      // this.getList()
 | 
				
			||||||
 | 
					    },
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    handerClear() {
 | 
				
			||||||
 | 
					      this.keyword = ''
 | 
				
			||||||
 | 
					      // this.current = 1
 | 
				
			||||||
 | 
					      // this.getList()
 | 
				
			||||||
 | 
					    },
 | 
				
			||||||
 | 
					  },
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					</script>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					<style scoped lang="scss">
 | 
				
			||||||
 | 
					.Health {
 | 
				
			||||||
 | 
					  height: 100%;
 | 
				
			||||||
 | 
					  background: #f5f5f5;
 | 
				
			||||||
 | 
					  .top {
 | 
				
			||||||
 | 
					    display: flex;
 | 
				
			||||||
 | 
					    padding: 48px 32px;
 | 
				
			||||||
 | 
					    background: #fff;
 | 
				
			||||||
 | 
					    .topCard {
 | 
				
			||||||
 | 
					      display: flex;
 | 
				
			||||||
 | 
					      .left {
 | 
				
			||||||
 | 
					        display: flex;
 | 
				
			||||||
 | 
					        flex-direction: column;
 | 
				
			||||||
 | 
					        align-items: center;
 | 
				
			||||||
 | 
					        padding: 0 28px;
 | 
				
			||||||
 | 
					        font-size: 52px;
 | 
				
			||||||
 | 
					        font-weight: bold;
 | 
				
			||||||
 | 
					        .num1 {
 | 
				
			||||||
 | 
					          color: #2c51ce;
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					        .num2 {
 | 
				
			||||||
 | 
					          color: #5aad6a;
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					        .num3 {
 | 
				
			||||||
 | 
					          color: #f5a319;
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					        .num4 {
 | 
				
			||||||
 | 
					          color: #cd413a;
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					        .hint {
 | 
				
			||||||
 | 
					          font-size: 28px;
 | 
				
			||||||
 | 
					          color: #999999;
 | 
				
			||||||
 | 
					          margin-top: 8px;
 | 
				
			||||||
 | 
					        }
 | 
				
			||||||
 | 
					      }
 | 
				
			||||||
 | 
					      .line {
 | 
				
			||||||
 | 
					        width: 1px;
 | 
				
			||||||
 | 
					        background: black;
 | 
				
			||||||
 | 
					        margin: 14px 0px;
 | 
				
			||||||
 | 
					      }
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  .middle {
 | 
				
			||||||
 | 
					    display: flex;
 | 
				
			||||||
 | 
					    align-items: center;
 | 
				
			||||||
 | 
					    padding: 24px 32px;
 | 
				
			||||||
 | 
					    background: #fff;
 | 
				
			||||||
 | 
					    margin-top: 4px;
 | 
				
			||||||
 | 
					    .left {
 | 
				
			||||||
 | 
					      width: 40%;
 | 
				
			||||||
 | 
					      display: flex;
 | 
				
			||||||
 | 
					      align-items: center;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					      img {
 | 
				
			||||||
 | 
					        width: 48px;
 | 
				
			||||||
 | 
					        height: 48px;
 | 
				
			||||||
 | 
					      }
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  .bottom {
 | 
				
			||||||
 | 
					    margin-top: 8px;
 | 
				
			||||||
 | 
					    background: #fff;
 | 
				
			||||||
 | 
					  }
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					</style>
 | 
				
			||||||
		Reference in New Issue
	
	Block a user