ggfwjsc/src/view/yl.vue

706 lines
16 KiB
Vue

<template>
<div class="module">
<div class="displayFlex left_bg" >
<div class="flex1" >
<div class="yd_title left_1">
<span class="text">
<img
v-if="leftchoose.first == '1'"
src="@/assets/images/ylbx_1.png"
style="width: 130px; height: 30px; cursor: pointer"
/>
<img
v-else
src="@/assets/images/ylbx_1_1.png"
style="width: 130px; height: 30px; cursor: pointer"
@click="change('first', '1')"
/>
<img
v-if="leftchoose.first == '2'"
src="@/assets/images/ylbx_1.png"
style="width: 130px; height: 30px; cursor: pointer"
/>
<img
v-else
src="@/assets/images/ylbx_2_1.png"
style="width: 130px; height: 30px; cursor: pointer"
@click="change('first', '2')"
/>
</span>
</div>
<ePie v-if="leftchoose.first == '1'" ></ePie>
<ePie2 v-else></ePie2>
</div>
<div class="flex1" style="margin-top:10px;">
<div class="yd_title left_2">
<span class="text">
<img
v-if="leftchoose.second == '1'"
src="@/assets/images/gllrbt_1.png"
style="width: 130px; height: 30px; cursor: pointer"
/>
<img
v-else
src="@/assets/images/gllrbt_1_1.png"
style="width: 130px; height: 30px; cursor: pointer"
@click="change('second', '1')"
/>
<img
v-if="leftchoose.second == '2'"
src="@/assets/images/gllrbt_1.png"
style="width: 130px; height: 30px; cursor: pointer"
/>
<img
v-else
src="@/assets/images/gllrbt_2_1.png"
style="width: 130px; height: 30px; cursor: pointer"
@click="change('second', '2')"
/>
</span>
</div>
<eP2 v-if="leftchoose.second == '1'"></eP2>
<eP2_2 v-else/>
</div>
<div class="flex1" style="margin-top:10px;">
<div class="yd_title left_3">
<span class="text">
<img
v-if="leftchoose.third == '1'"
src="@/assets/images/tkjz_1.png"
style="width: 130px; height: 30px; cursor: pointer"
/>
<img
v-else
src="@/assets/images/tkjz_1_1.png"
style="width: 130px; height: 30px; cursor: pointer"
@click="change('third', '1')"
/>
<img
v-if="leftchoose.third == '2'"
src="@/assets/images/tkjz_1.png"
style="width: 130px; height: 30px; cursor: pointer"
/>
<img
v-else
src="@/assets/images/tkjz_2_1.png"
style="width: 130px; height: 30px; cursor: pointer"
@click="change('third', '2')"
/>
</span>
</div>
<eP3 v-if="leftchoose.third == '1'"></eP3>
<eP3_2 v-else></eP3_2>
</div>
</div>
<div class="displayFlex center_bg">
<div class="flex1">
<div class="yd_title center_1">
</div>
<div class="minTopPart">
<div class="mtpImg1"></div>
<div class="mtpImg2"></div>
<div class="mtpImg3"></div>
<div class="mtpText1">5888811</div>
<div class="mtpText2">18%</div>
</div>
<ePie3d></ePie3d>
</div>
<div class="flex1">
<div class="yd_title familyPlanning">
<!-- <span class="text">计划生育</span> -->
</div>
<div style="width: 100%; height: 280px">
<ylJHSY></ylJHSY>
</div>
</div>
</div>
<div class="displayFlex center_bg">
<div class="flex2">
<div class="yd_title mechanism">
<!-- <span class="text">养老机构</span> -->
</div>
<div class="history">
<div class="history1">
<div>
<span>16<span class="unit">个</span></span>
</div>
<img src="@/assets/YLimg/ylimg2.png" alt="" />
<img class="historyimg" src="@/assets/YLimg/ylimg5.png" alt="" />
</div>
<div class="history1">
<div>
<span>239 <span class="unit">个</span> </span>
</div>
<img src="@/assets/YLimg/ylimg3.png" alt="" />
<img class="historyimg" src="@/assets/YLimg/ylimg6.png" alt="" />
</div>
<div class="history1">
<div>
<span>139<span class="unit">个</span></span>
</div>
<img src="@/assets/YLimg/ylimg4.png" alt="" />
<img class="historyimg" src="@/assets/YLimg/ylimg10.png" alt="" />
</div>
</div>
</div>
<div class="flex1">
<div class="yd_title service">
<!-- <span class="text">助老服务</span> -->
</div>
<div class="serviceBox">
<div class="serviceTop">
<div class="visit">
<img class="serviceimg" src="@/assets/YLimg/ylimg8.png" alt="" />
<div style="width: 340px;height: 220px">
<ylSMFW></ylSMFW>
</div>
</div>
<div class="medicalService">
<img class="serviceimg" src="@/assets/YLimg/ylimg9.png" alt="" />
<div class="medicalServiceTop">
<img class="ylimg" src="@/assets/YLimg/ylimg1.png" alt="" />
<span>18,789</span>
</div>
</div>
</div>
<div class="mealAssistance">
<img
class="mealAssistanceimg"
src="@/assets/YLimg/ylimg7.png"
alt=""
/>
<div style="width: 490px;height: 150px">
<ylXZZC></ylXZZC>
</div>
</div>
</div>
</div>
</div>
</div>
</template>
<script setup>
import eBubble from "./echarts/bubble.vue";
import ePie from "./echarts/pie.vue";
import eP2 from "./echarts/eP2.vue";
import eP2_2 from "./echarts/eP2_2.vue";
import eP3 from "./echarts/eP3.vue";
import eP3_2 from "./echarts/eP3_2.vue";
import ePie2 from "./echarts/pie2.vue";
import eGraph from "./echarts/graph.vue";
import ePie3d from "./echarts/pie3d.vue";
// import waterBall from "./echarts/waterBall.vue";
import ylJHSY from "./echarts/ylJHSY.vue";
import ylSMFW from "./echarts/ylSMFW.vue";
import ylXZZC from "./echarts/ylXZZC.vue";
import { ref, onMounted, onBeforeMount } from "vue";
const leftchoose = ref({
first: "1",
second: "1",
third: "1",
});
const change = (name, index) => {
leftchoose.value[name] = index;
};
</script>
<style lang="scss" scoped>
.displayFlex {
box-sizing: border-box;
height: 100%;
display: flex;
flex-direction: column;
// flex: 1;
width: 33.333333333%;
}
.flex1 {
flex: 1;
// padding: 0 28px;
box-sizing: border-box;
}
.flex2 {
// flex: 1;
// padding: 0 38px;
box-sizing: border-box;
}
.module {
display: flex;
width: 100%;
height: calc(100vh - 112px);
}
.yd_title {
// background-image: url(@/assets/img_04.png);
// background-repeat: no-repeat;
// background-size: 100% 100%;
box-sizing: border-box;
width: 94%;
height: 36px;
position: relative;
.text {
display: flex;
position: absolute;
font-size: 16px;
font-family: SourceHanSansCN;
font-weight: bold;
color: #ffffff;
position: absolute;
right: 5px;
top: 3px;
}
}
.familyPlanning {
background-image: url(@/assets/YLTitle/titleImg9.png);
background-repeat: no-repeat;
background-size: 100% 100%;
}
.mechanism {
background-image: url(@/assets/YLTitle/titleImg10.png);
background-repeat: no-repeat;
background-size: 100% 100%;
}
.service {
background-image: url(@/assets/YLTitle/titleImg11.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/ylbx.png);
background-repeat: no-repeat;
background-size: 100% 100%;
}
.left_2 {
background-image: url(@/assets/images/gllrbt.png);
background-repeat: no-repeat;
background-size: 100% 100%;
}
.left_3 {
background-image: url(@/assets/images/tkjz.png);
background-repeat: no-repeat;
background-size: 100% 100%;
}
.center_1 {
background-image: url(@/assets/YLTitle/titleImg8.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%;
}
.basicInformation {
display: flex;
flex-direction: row;
flex-wrap: wrap;
padding-top: 22px;
.basicInformation_item {
flex: 0 0 50%;
padding: 0 2px;
margin-bottom: 10px;
margin-top: 10px;
box-sizing: border-box;
display: flex;
align-items: center;
.icon {
width: 79px;
height: 47px;
}
.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;
span {
font-size: 12px;
font-weight: 400;
color: #eff0f1;
line-height: 19px;
margin-left: 2px;
}
}
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;
img {
display: inline-block;
margin-right: 10px;
}
.visitLog_item_box {
flex: auto;
h4 {
font-size: 18px;
font-family: MicrosoftYaHei;
font-weight: bold;
color: #0096ff;
margin-bottom: 2px;
}
p {
font-size: 12px;
font-family: SourceHanSansCN;
font-weight: 400;
color: #ffffff;
margin-top: 6px;
}
}
.check {
font-size: 12px;
font-family: SourceHanSansCN;
font-weight: 400;
color: #0096ff;
line-height: 20px;
}
}
}
.history {
padding-top: 12px;
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;
}
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;
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;
}
}
.property {
display: flex;
padding: 14px 0 10px;
.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;
h5 {
font-size: 14px;
font-weight: 400;
color: #ffffff;
margin: 9px 0 16px;
}
p {
font-size: 21px;
font-weight: bold;
color: #48ece7;
}
}
}
.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;
}
.activity_content {
margin: 0 -6px 12px;
display: flex;
.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;
p {
font-size: 14px;
font-weight: 400;
color: #ffffff;
line-height: 27px;
height: 100%;
}
}
}
}
.monitor {
.monitor_box {
display: flex;
padding: 8px 0;
border-bottom: 2px solid rgba(255, 255, 255, 0.67);
img {
width: 115px;
height: 84px;
margin-right: 21px;
}
.monitor_box_text {
display: flex;
flex-direction: column;
justify-content: space-between;
h4 {
font-size: 14px;
font-weight: 400;
color: #ffffff;
line-height: 20px;
}
p {
font-size: 14px;
font-weight: 400;
color: #818181;
line-height: 23px;
}
}
}
}
.minTopPart {
width: 530px;
height: 174px;
background-image: url(@/assets/minTopBg.png);
background-repeat: no-repeat;
background-size: 100% 100%;
margin: 4px auto;
position: relative;
.mtpImg1 {
width: 140px;
height: 24px;
background-image: url(@/assets/minTop1.png);
background-repeat: no-repeat;
background-size: 100% 100%;
position: absolute;
top: 49px;
left: 23px;
}
.mtpImg2 {
width: 140px;
height: 24px;
background-image: url(@/assets/minTop2.png);
background-repeat: no-repeat;
background-size: 100% 100%;
position: absolute;
top: 49px;
right: 23px;
}
.mtpImg3 {
width: 125px;
height: 36px;
background-image: url(@/assets/minTop3.png);
background-repeat: no-repeat;
background-size: 100% 100%;
position: absolute;
top: 316px;
left: 84px;
}
.mtpText1 {
width: 140px;
height: 30px;
position: absolute;
top: 94px;
left: 23px;
text-align: center;
line-height: 30px;
font-weight: bold;
font-size: 26px;
color: #FFFFFF;
}
.mtpText2 {
width: 140px;
height: 30px;
position: absolute;
top: 94px;
right: 23px;
text-align: center;
line-height: 30px;
font-weight: bold;
font-size: 26px;
color: #FFFFFF;
}
}
</style>