ggfwjsc/src/view/hygiene.vue

691 lines
14 KiB
Vue
Raw Normal View History

2024-04-12 09:26:48 +08:00
<template>
<div class="module">
2024-04-17 14:20:33 +08:00
<div class="displayFlex left_bg">
<div class="flex1" style="flex: 0.8">
<div class="yd_title left_1">
<span class="text">
<img
v-if="leftchoose.first == '1'"
src="@/assets/images/hygiene/yb_1.png"
style="width: 130px; height: 30px; cursor: pointer"
/>
<img
v-else
src="@/assets/images/hygiene/yb_1_1.png"
style="width: 130px; height: 30px; cursor: pointer"
@click="change('first', '1')"
/>
<img
v-if="leftchoose.first == '2'"
src="@/assets/images/hygiene/yb_2.png"
style="width: 130px; height: 30px; cursor: pointer"
/>
<img
v-else
src="@/assets/images/hygiene/yb_1_1.png"
style="width: 130px; height: 30px; cursor: pointer"
@click="change('first', '2')"
/>
</span>
2024-04-12 09:26:48 +08:00
</div>
2024-04-17 14:20:33 +08:00
<ePie v-if="leftchoose.first == '1'"></ePie>
<ePie2 v-else></ePie2>
2024-04-12 09:26:48 +08:00
</div>
2024-04-17 14:20:33 +08:00
<div class="flex1" style="margin-top: 10px">
<div class="yd_title left_2"></div>
<eP2></eP2>
</div>
<div class="flex1" style="margin-top: 10px">
<div class="yd_title left_3"></div>
<eP3></eP3>
</div>
</div>
<div class="displayFlex center_bg">
<div class="flex1" style="flex: 0.8">
<div class="yd_title center_1"></div>
<div class="minTopPart">
<div class="mtpImg1"></div>
2024-04-17 15:45:52 +08:00
<div class="mtpImg2">建档份数</div>
2024-04-17 14:20:33 +08:00
<div class="mtpText2">33.67</div>
2024-04-12 09:26:48 +08:00
</div>
2024-04-17 14:20:33 +08:00
<div class="minTopPart2">
<div class="left">
2024-04-17 15:25:25 +08:00
<div class="leftImg"><eP4></eP4></div>
2024-04-17 14:20:33 +08:00
<div class="left_me">
<div>建档率</div>
<div>92.96%</div>
2024-04-12 09:26:48 +08:00
</div>
2024-04-17 14:20:33 +08:00
</div>
<div class="right">
<div class="rightImg"></div>
<div class="right_me">
<div>家庭医生</div>
<div>2000</div>
2024-04-12 09:26:48 +08:00
</div>
</div>
</div>
</div>
2024-04-17 14:20:33 +08:00
<div class="flex1" style="margin-top: 20px">
<div class="yd_title familyPlanning"></div>
<!-- 计划生育 -->
<!-- <div style="width: 100%; "> -->
<eP5></eP5>
<!-- </div> -->
2024-04-12 09:26:48 +08:00
</div>
</div>
2024-04-17 14:20:33 +08:00
<div class="displayFlex right_bg">
2024-04-17 15:25:25 +08:00
<div class="flex1" style="flex:0.9">
2024-04-17 14:20:33 +08:00
<div class="yd_title mechanism"></div>
<eP6></eP6>
2024-04-12 09:26:48 +08:00
</div>
2024-04-17 15:25:25 +08:00
<div class="flex1" style="flex:1.1;">
2024-04-17 14:20:33 +08:00
<div class="yd_title service"></div>
<eP7></eP7>
2024-04-12 09:26:48 +08:00
</div>
2024-04-17 16:52:47 +08:00
<div class="flex1" >
2024-04-17 14:20:33 +08:00
<div class="yd_title last"></div>
<div class="table">
2024-04-17 16:52:47 +08:00
<div class="item" v-for="i in 15">3月2日健康日在龙中公园进行健康活动宣</div>
2024-04-12 09:26:48 +08:00
</div>
</div>
2024-04-17 14:20:33 +08:00
</div>
2024-04-12 09:26:48 +08:00
</div>
</template>
<script setup>
2024-04-17 14:20:33 +08:00
import ePie from "./echarts_hygiene/pie.vue";
import ePie2 from "./echarts_hygiene/pie2.vue";
import eP2 from "./echarts_hygiene/eP2.vue";
import eP3 from "./echarts_hygiene/eP3.vue";
import eP7 from "./echarts_hygiene/eP7.vue";
import eP6 from "./echarts_hygiene/eP6.vue";
import eP5 from "./echarts_hygiene/eP5.vue";
2024-04-17 15:25:25 +08:00
import eP4 from "./echarts_hygiene/eP4.vue";
2024-04-17 14:20:33 +08:00
import { ref, onMounted, onBeforeMount } from "vue";
const leftchoose = ref({
first: "1",
second: "1",
third: "1",
});
const change = (name, index) => {
leftchoose.value[name] = index;
};
2024-04-12 09:26:48 +08:00
</script>
<style lang="scss" scoped>
.displayFlex {
2024-04-17 14:20:33 +08:00
box-sizing: border-box;
height: 100%;
2024-04-12 09:26:48 +08:00
display: flex;
flex-direction: column;
2024-04-17 14:20:33 +08:00
// flex: 1;
width: 33.333333333%;
2024-04-12 09:26:48 +08:00
}
2024-04-17 14:20:33 +08:00
2024-04-12 09:26:48 +08:00
.flex1 {
flex: 1;
2024-04-17 14:20:33 +08:00
// padding: 0 28px;
box-sizing: border-box;
}
.flex2 {
// flex: 1;
// padding: 0 38px;
2024-04-12 09:26:48 +08:00
box-sizing: border-box;
}
2024-04-17 14:20:33 +08:00
2024-04-12 09:26:48 +08:00
.module {
display: flex;
2024-04-17 14:20:33 +08:00
width: 100%;
2024-04-12 09:26:48 +08:00
}
.yd_title {
2024-04-17 14:20:33 +08:00
// background-image: url(@/assets/img_04.png);
// background-repeat: no-repeat;
// background-size: 100% 100%;
2024-04-12 09:26:48 +08:00
box-sizing: border-box;
2024-04-17 14:20:33 +08:00
width: 94%;
2024-04-12 09:26:48 +08:00
height: 36px;
position: relative;
2024-04-17 14:20:33 +08:00
2024-04-12 09:26:48 +08:00
.text {
2024-04-17 14:20:33 +08:00
display: flex;
position: absolute;
2024-04-12 09:26:48 +08:00
font-size: 16px;
font-family: SourceHanSansCN;
font-weight: bold;
color: #ffffff;
position: absolute;
2024-04-17 14:20:33 +08:00
right: 5px;
2024-04-12 09:26:48 +08:00
top: 3px;
}
}
2024-04-17 14:20:33 +08:00
.familyPlanning {
background-image: url(@/assets/images/hygiene/center_title_2.png);
background-repeat: no-repeat;
background-size: 100% 100%;
}
.mechanism {
background-image: url(@/assets/images/hygiene/right_title_1.png);
background-repeat: no-repeat;
background-size: 100% 100%;
}
.service {
background-image: url(@/assets/images/hygiene/right_title_2.png);
background-repeat: no-repeat;
background-size: 100% 100%;
}
.last {
background-image: url(@/assets/images/hygiene/right_title_3.png);
background-repeat: no-repeat;
background-size: 100% 100%;
}
.serviceBox {
display: flex;
flex-direction: column;
box-sizing: border-box;
.serviceimg {
width: 182px;
height: 35px;
}
.serviceTop {
display: flex;
justify-content: space-between;
padding: 10px 36px 0px 20px;
box-sizing: border-box;
.visit {
display: flex;
flex-direction: column;
align-items: center;
}
.medicalService {
display: flex;
flex-direction: column;
align-items: center;
.ylimg {
width: 200px;
height: 220px;
}
.medicalServiceTop {
position: relative;
span {
position: absolute;
left: 39px;
top: 35%;
font-weight: bold;
font-size: 32px;
color: #ffffff;
line-height: 41px;
letter-spacing: 1px;
text-align: center;
font-style: normal;
font-family: DINAlternate, DINAlternate;
}
}
}
}
}
.mealAssistance {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
.mealAssistanceimg {
width: 495px;
height: 35px;
}
}
.left_1 {
background-image: url(@/assets/images/hygiene/left_title_1.png);
background-repeat: no-repeat;
background-size: 100% 100%;
}
.left_2 {
background-image: url(@/assets/images/hygiene/left_title_2.png);
background-repeat: no-repeat;
background-size: 100% 100%;
}
.left_3 {
background-image: url(@/assets/images/hygiene/left_title_3.png);
background-repeat: no-repeat;
background-size: 100% 100%;
}
.center_1 {
background-image: url(@/assets/images/hygiene/center_title_1.png);
background-repeat: no-repeat;
background-size: 100% 100%;
}
.left_bg {
width: 642px;
// height: 100%;
box-sizing: border-box;
padding-left: 50px;
margin-right: 28px;
background-image: url(@/assets/images/left_bg.png);
background-repeat: no-repeat;
background-size: 100% 100%;
}
.center_bg {
width: 582px;
// height: 100%;
box-sizing: border-box;
padding-left: 10px;
margin-right: 28px;
background-image: url(@/assets/images/center_bg.png);
background-repeat: no-repeat;
background-size: 100% 100%;
}
.right_bg {
width: 642px;
box-sizing: border-box;
padding-left: 10px;
margin-right: 28px;
background-image: url(@/assets/images/right_bg.png);
background-repeat: no-repeat;
background-size: 100% 100%;
}
2024-04-12 09:26:48 +08:00
.basicInformation {
display: flex;
flex-direction: row;
flex-wrap: wrap;
padding-top: 22px;
2024-04-17 14:20:33 +08:00
2024-04-12 09:26:48 +08:00
.basicInformation_item {
flex: 0 0 50%;
padding: 0 2px;
margin-bottom: 10px;
margin-top: 10px;
box-sizing: border-box;
display: flex;
align-items: center;
2024-04-17 14:20:33 +08:00
2024-04-12 09:26:48 +08:00
.icon {
width: 79px;
height: 47px;
}
2024-04-17 14:20:33 +08:00
2024-04-12 09:26:48 +08:00
.right {
margin-left: 4px;
.label {
background-image: url(@/assets/img_11.png);
background-size: 100%;
background-repeat: no-repeat;
background-position: bottom;
margin-bottom: 4px;
2024-04-17 14:20:33 +08:00
2024-04-12 09:26:48 +08:00
span {
font-size: 12px;
font-weight: 400;
color: #eff0f1;
line-height: 19px;
margin-left: 2px;
}
}
2024-04-17 14:20:33 +08:00
2024-04-12 09:26:48 +08:00
p {
font-size: 16px;
font-weight: bold;
color: #6acbff;
line-height: 24px;
}
}
}
}
.visitLog {
.visitLog_item {
display: flex;
align-items: center;
background-image: url(@/assets/img_12.png);
background-size: 100% 100%;
margin-top: 16px;
padding: 15px 8px;
box-sizing: border-box;
2024-04-17 14:20:33 +08:00
2024-04-12 09:26:48 +08:00
img {
display: inline-block;
margin-right: 10px;
}
2024-04-17 14:20:33 +08:00
2024-04-12 09:26:48 +08:00
.visitLog_item_box {
flex: auto;
2024-04-17 14:20:33 +08:00
2024-04-12 09:26:48 +08:00
h4 {
font-size: 18px;
font-family: MicrosoftYaHei;
font-weight: bold;
color: #0096ff;
margin-bottom: 2px;
}
2024-04-17 14:20:33 +08:00
2024-04-12 09:26:48 +08:00
p {
font-size: 12px;
font-family: SourceHanSansCN;
font-weight: 400;
color: #ffffff;
margin-top: 6px;
}
}
2024-04-17 14:20:33 +08:00
2024-04-12 09:26:48 +08:00
.check {
font-size: 12px;
font-family: SourceHanSansCN;
font-weight: 400;
color: #0096ff;
line-height: 20px;
}
}
}
.history {
padding-top: 12px;
2024-04-17 14:20:33 +08:00
display: flex;
justify-content: space-around;
.history1 {
font-size: 26px;
color: #ffffff;
line-height: 30px;
letter-spacing: 1px;
text-align: center;
font-style: normal;
font-family: PangMenZhengDao;
display: flex;
flex-direction: column;
align-items: center;
.unit {
font-weight: 500;
font-size: 14px;
color: #9cdeff;
line-height: 20px;
text-align: left;
font-style: normal;
font-family: PingFangSC, PingFang SC;
}
.historyimg {
width: 182px;
height: 35px;
}
}
img {
width: 154px;
height: 136px;
}
2024-04-12 09:26:48 +08:00
p {
margin-top: 12px;
font-size: 12px;
font-weight: 400;
color: #ffffff;
line-height: 28px;
border-bottom: 13px solid rgba(57, 59, 109, 1);
}
}
.concernLabel {
display: flex;
align-items: center;
justify-content: center;
margin: 12px 0 20px;
2024-04-17 14:20:33 +08:00
2024-04-12 09:26:48 +08:00
span {
text-align: center;
background: rgba(0, 89, 130, 0.73);
border-radius: 10px;
width: 118px;
height: 49px;
line-height: 49px;
font-size: 18px;
font-weight: 400;
color: #ffffff;
margin: 0 10px;
}
}
2024-04-17 14:20:33 +08:00
2024-04-12 09:26:48 +08:00
.property {
display: flex;
padding: 14px 0 10px;
2024-04-17 14:20:33 +08:00
2024-04-12 09:26:48 +08:00
.property_box {
background-image: url(@/assets/img_05.png);
background-size: 100% 100%;
background-repeat: no-repeat;
width: 179px;
height: 91px;
margin: 0 12px;
text-align: center;
2024-04-17 14:20:33 +08:00
2024-04-12 09:26:48 +08:00
h5 {
font-size: 14px;
font-weight: 400;
color: #ffffff;
margin: 9px 0 16px;
}
2024-04-17 14:20:33 +08:00
2024-04-12 09:26:48 +08:00
p {
font-size: 21px;
font-weight: bold;
color: #48ece7;
}
}
}
2024-04-17 14:20:33 +08:00
2024-04-12 09:26:48 +08:00
.activity {
h5 {
font-size: 14px;
font-weight: bold;
color: rgba(0, 164, 250, 0.8);
line-height: 47px;
border-bottom: 2px solid rgba(0, 164, 250, 1);
margin-bottom: 17px;
}
2024-04-17 14:20:33 +08:00
2024-04-12 09:26:48 +08:00
.activity_content {
margin: 0 -6px 12px;
display: flex;
2024-04-17 14:20:33 +08:00
2024-04-12 09:26:48 +08:00
.activity_box {
width: 50%;
display: inline-block;
margin: 0 6px;
box-sizing: border-box;
background-color: rgba(15, 28, 54, 1);
padding: 12px 12px 19px;
2024-04-17 14:20:33 +08:00
2024-04-12 09:26:48 +08:00
p {
font-size: 14px;
font-weight: 400;
color: #ffffff;
line-height: 27px;
height: 100%;
}
}
}
}
2024-04-17 14:20:33 +08:00
2024-04-12 09:26:48 +08:00
.monitor {
.monitor_box {
display: flex;
padding: 8px 0;
border-bottom: 2px solid rgba(255, 255, 255, 0.67);
2024-04-17 14:20:33 +08:00
2024-04-12 09:26:48 +08:00
img {
width: 115px;
height: 84px;
margin-right: 21px;
}
2024-04-17 14:20:33 +08:00
2024-04-12 09:26:48 +08:00
.monitor_box_text {
display: flex;
flex-direction: column;
justify-content: space-between;
2024-04-17 14:20:33 +08:00
2024-04-12 09:26:48 +08:00
h4 {
font-size: 14px;
font-weight: 400;
color: #ffffff;
line-height: 20px;
}
2024-04-17 14:20:33 +08:00
2024-04-12 09:26:48 +08:00
p {
font-size: 14px;
font-weight: 400;
color: #818181;
line-height: 23px;
}
}
}
}
2024-04-17 14:20:33 +08:00
.minTopPart {
width: 498px;
height: 99px;
background-image: url(@/assets/images/hygiene/shang.png);
background-repeat: no-repeat;
background-size: 100% 100%;
margin: 50px auto;
position: relative;
.mtpImg1 {
width: 152px;
height: 164px;
background-image: url(@/assets/images/hygiene/shang_left.png);
background-repeat: no-repeat;
background-size: 100% 100%;
position: absolute;
top: -30px;
left: 63px;
}
.mtpImg2 {
width: 140px;
2024-04-17 15:45:52 +08:00
height: 50px;
background-image: url(@/assets/images/hygiene/jd.png);
2024-04-17 14:20:33 +08:00
background-repeat: no-repeat;
background-size: 100% 100%;
position: absolute;
top: 59px;
right: 50px;
2024-04-17 15:45:52 +08:00
text-align: center;
color: #ffffff;
letter-spacing: 5px;
font-size: 20px;
2024-04-17 14:20:33 +08:00
}
.mtpText2 {
width: 140px;
height: 30px;
position: absolute;
top: 14px;
right: 50px;
text-align: center;
line-height: 30px;
font-weight: 600;
font-size: 26px;
color: #ffffff;
}
}
.minTopPart2 {
width: 498px;
height: 118px;
background-image: url(@/assets/images/hygiene/xia.png);
background-repeat: no-repeat;
background-size: 100% 100%;
margin: 0px auto;
position: relative;
display: flex;
margin-top: 80px;
.left {
display: flex;
align-items: center;
justify-content: center;
margin-left: 60px;
2024-04-17 15:25:25 +08:00
margin-top: -10px;
2024-04-17 14:20:33 +08:00
.leftImg {
2024-04-17 15:25:25 +08:00
width: 105px;
height: 105px;
2024-04-17 14:20:33 +08:00
}
.left_me {
margin-left: 10px;
display: flex;
flex-direction: column;
color: #ccc;
}
}
.right {
display: flex;
align-items: center;
// justify-content: center;
2024-04-17 15:25:25 +08:00
margin-left: 40px;
2024-04-17 14:20:33 +08:00
.rightImg {
width: 81px;
height: 81px;
background-image: url(@/assets/images/hygiene/xia_right.png);
background-repeat: no-repeat;
background-size: 100% 100%;
}
.right_me {
margin-left: 10px;
display: flex;
flex-direction: column;
color: #ccc;
}
}
}
.table {
2024-04-17 16:52:47 +08:00
box-sizing: border-box;
2024-04-17 16:03:20 +08:00
margin-top: 10px;
2024-04-17 14:20:33 +08:00
width: 95%;
2024-04-17 17:01:31 +08:00
height: 200px;
2024-04-17 16:52:47 +08:00
// height: calc(100% - 115px);
2024-04-17 15:25:25 +08:00
// background: red;
2024-04-17 16:52:47 +08:00
overflow-y: auto;
2024-04-17 15:25:25 +08:00
.item {
2024-04-17 16:52:47 +08:00
box-sizing: border-box;
2024-04-17 15:25:25 +08:00
margin-top: 10px;
padding: 16px 20px;
background-image: url(@/assets/images/hygiene/table_bg.png);
background-repeat: no-repeat;
background-size: 100% 100%;
color: #ffffff;
}
2024-04-17 16:52:47 +08:00
2024-04-17 14:20:33 +08:00
}
2024-04-17 15:45:52 +08:00
/* 滚动条整体部分 */
.table::-webkit-scrollbar {
2024-04-17 16:03:20 +08:00
width: 5px;
// height: 10px;
2024-04-17 15:45:52 +08:00
}
/* 滚动槽 */
.table::-webkit-scrollbar-track {
border-radius: 1px;
background: rgba(41, 157, 255, 0.56);
-webkit-box-shadow: inset 0 0 6px rgba(139, 139, 139, 0.3);
}
/* 滚动条滑块样式 */
.table::-webkit-scrollbar-thumb {
background-clip: content-box;
border-radius: 6px;
background: rgba(41, 157, 255, 1);
-webkit-box-shadow: inset 0 0 6px rgba(20, 20, 20, 0.3);
}
2024-04-12 09:26:48 +08:00
</style>