|
@@ -1,60 +1,72 @@
|
|
|
<template>
|
|
|
<div class="background" style="height: 100%;overflow: hidden">
|
|
|
- <div class="background2" v-if="background"></div>
|
|
|
+ <!-- <div class="background2" v-if="background"></div> -->
|
|
|
+ <div class="top-left">
|
|
|
+ <LeftTitle/>
|
|
|
+ </div>
|
|
|
<div class="title"><span class="titleFont">12345市民服务热线可视化系统</span></div>
|
|
|
<div class="back" @click="back"></div>
|
|
|
<div class="time">{{date}}</div>
|
|
|
- <div class="rectangle1" @click="hotlineDistrictFunction" @change="changeNumber" id="rectangle1">
|
|
|
- <hotline-distric ref="HotlineDistric" @change="changeNumber" @click="hotlineDistrictFunction"></hotline-distric>
|
|
|
- </div>
|
|
|
- <div class="rectangle2" id="rectangle2" @click="municipal">
|
|
|
- <Municipal ref="Municipal" @click="municipal"></Municipal>
|
|
|
+ <div class="rectangle-left1 panel">
|
|
|
+ <div class="inner">
|
|
|
+ <RiskTrend></RiskTrend>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
- <div class="rectangle3" @click="sourceStatisticsFunction" id="rectangle3">
|
|
|
- <source-statistics ref="sourceStatistics" @click="sourceStatisticsFunction"></source-statistics>
|
|
|
+ <div class="rectangle-left2 panel" id="rectangle-left2">
|
|
|
+ <div class="inner">
|
|
|
+ <Municipal></Municipal>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
- <div class="rectangle4" @click="acceptanceTrendFunction" id="rectangle4">
|
|
|
- <AcceptanceTrend ref="AcceptanceTrend"></AcceptanceTrend>
|
|
|
+ <div class="rectangle-left3 panel" id="rectangle-left3">
|
|
|
+ <div class="inner">
|
|
|
+ <CountySituation></CountySituation>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
- <div class="rectangle5" @click="acceptanceAppealFunction" id="rectangle5">
|
|
|
- <AcceptanceAppeal ref="AcceptanceAppeal"></AcceptanceAppeal>
|
|
|
+
|
|
|
+ <div class="rectangle-center1 panel">
|
|
|
+ <div class="inner">
|
|
|
+ <CenterTop></CenterTop>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
- <div class="rectangle6" @click="overdueChartFunction" id="rectangle6">
|
|
|
- <div class="rectangle6" style="position: absolute;background-color: transparent !important;"
|
|
|
- id="rectangle6Inner"></div>
|
|
|
- <overdueChart ref="overdueChart"></overdueChart>
|
|
|
+ <div class="rectangle-center2">
|
|
|
+ <CenterMap></CenterMap>
|
|
|
</div>
|
|
|
- <div class="rectangle7" @click="DissatisfiedFunction" id="rectangle7">
|
|
|
- <dissatisfied ref="Dissatisfied" @click="DissatisfiedFunction"></dissatisfied>
|
|
|
+
|
|
|
+ <div class="rectangle-right1 panel">
|
|
|
+ <div class="inner">
|
|
|
+ <AcceptTickets></AcceptTickets>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
- <div class="rectangle8" id="rectangle8" @click="hotspot">
|
|
|
- <hot-spot ref="hotspot" @click="hotspot"></hot-spot>
|
|
|
+ <div class="rectangle-right2 panel">
|
|
|
+ <div class="inner">
|
|
|
+ <TicketsSource></TicketsSource>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
-
|
|
|
- <div
|
|
|
- style="background-color: rgba(15, 235, 255, 0.1);position: absolute;width:32.5%;height:46.6%;top:8.5%;left:33.5%"></div>
|
|
|
- <div class="stage">
|
|
|
- <figure class="ball"></figure>
|
|
|
- <div class="light"></div>
|
|
|
- <div class="logo"></div>
|
|
|
- <div class="circle1"></div>
|
|
|
- <div class="circle2"></div>
|
|
|
- <div class="circle3"></div>
|
|
|
+ <div class="rectangle-right3 panel">
|
|
|
+ <div class="inner">
|
|
|
+ <TodayAcceptance></TodayAcceptance>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
-
|
|
|
-
|
|
|
</div>
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
|
import AcceptanceAppeal from './AcceptanceAppeal'
|
|
|
import overdueChart from './overdue'
|
|
|
- import Municipal from './middle/municipal'
|
|
|
import HotSpot from './middle/hotSpot'
|
|
|
import HotlineDistric from './HotlineDistric';
|
|
|
import Dissatisfied from './Dissatisfied';
|
|
|
import AcceptanceTrend from "./acceptanceTrend";
|
|
|
import sourceStatistics from './sourceStatistics'
|
|
|
+ import RiskTrend from './RiskTrend/index.vue'
|
|
|
+ import Municipal from './Municipal/index.vue'
|
|
|
+ import CountySituation from './CountySituation/index.vue'
|
|
|
+ import CenterTop from './CenterTop/index.vue'
|
|
|
+ import CenterMap from './CenterMap/index.vue'
|
|
|
+ import AcceptTickets from './AcceptTickets/index.vue'
|
|
|
+ import TicketsSource from './TicketsSource/index.vue'
|
|
|
+ import TodayAcceptance from './TodayAcceptance/index.vue';
|
|
|
+ import LeftTitle from './LeftTitle/index.vue'
|
|
|
|
|
|
export default {
|
|
|
data() {
|
|
@@ -77,8 +89,8 @@
|
|
|
},
|
|
|
created() {
|
|
|
window['municipalResize'] = (item) => {
|
|
|
- this.$refs.Municipal.drawMonthChart(0);
|
|
|
- this.$refs.Municipal.getChartData(this.municipalCount);//调用子组件的重新渲染图表函数
|
|
|
+ // this.$refs.Municipal.drawMonthChart(0);
|
|
|
+ // this.$refs.Municipal.getChartData(this.municipalCount);//调用子组件的重新渲染图表函数
|
|
|
};
|
|
|
window['hotspotResize'] = (item) => {
|
|
|
this.$refs.hotspot.getChartData1(this.hotSpot);
|
|
@@ -168,24 +180,6 @@
|
|
|
this.background = false;
|
|
|
}
|
|
|
},
|
|
|
- municipal() {
|
|
|
- let flag = sessionStorage.getItem('municipalDateChange');
|
|
|
- if (flag !== JSON.stringify(1)) {
|
|
|
- document.getElementById("rectangle2").classList.toggle("rectangle2Click"); //改变样式
|
|
|
- this.$elementQueries.ResizeSensor(document.getElementById("rectangle2"), function () {
|
|
|
- window.municipalResize();
|
|
|
- });
|
|
|
- setTimeout(() => {this.$refs.Municipal.changeDate(this.municipalCount)}, 100);
|
|
|
- this.municipalCount++;
|
|
|
- if (this.municipalCount % 2 !== 0) {
|
|
|
- this.background = true;
|
|
|
- } else {
|
|
|
- this.background = false;
|
|
|
- }
|
|
|
- } else {
|
|
|
- sessionStorage.removeItem('municipalDateChange')
|
|
|
- }
|
|
|
- },
|
|
|
hotspot() {
|
|
|
document.getElementById("rectangle8").classList.toggle("rectangle8Click"); //改变样式
|
|
|
this.$elementQueries.ResizeSensor(document.getElementById("rectangle8"), function () {
|
|
@@ -251,7 +245,15 @@
|
|
|
HotSpot,
|
|
|
HotlineDistric,
|
|
|
Dissatisfied,
|
|
|
- sourceStatistics
|
|
|
+ sourceStatistics,
|
|
|
+ RiskTrend,
|
|
|
+ CountySituation,
|
|
|
+ CenterTop,
|
|
|
+ CenterMap,
|
|
|
+ AcceptTickets,
|
|
|
+ TicketsSource,
|
|
|
+ TodayAcceptance,
|
|
|
+ LeftTitle
|
|
|
}
|
|
|
}
|
|
|
</script>
|
|
@@ -259,8 +261,9 @@
|
|
|
.background {
|
|
|
width: 100%;
|
|
|
height: 100%;
|
|
|
- background-image: url("../../../assets/images/background.png");
|
|
|
- background-size: cover;
|
|
|
+ background-image: url("../../../assets/images/12345-bg.jpg") ;
|
|
|
+ /* background-color: #101129; */
|
|
|
+ background-size: 100% 100%;
|
|
|
position: relative;
|
|
|
}
|
|
|
|
|
@@ -276,6 +279,15 @@
|
|
|
z-index: 100
|
|
|
}
|
|
|
|
|
|
+ .top-left {
|
|
|
+ position: absolute;
|
|
|
+ color: white;
|
|
|
+ left: 8vw;
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ height: 6.7%;
|
|
|
+ }
|
|
|
+
|
|
|
.title {
|
|
|
height: 6.7%;
|
|
|
width: 100%;
|
|
@@ -293,12 +305,9 @@
|
|
|
.titleFont {
|
|
|
padding-top: 0.3%;
|
|
|
padding-bottom: 0.3%;
|
|
|
- /*width: 36%;*/
|
|
|
height: 80%;
|
|
|
color: #0febff;
|
|
|
font-size: 173%;
|
|
|
- /*margin: 0 auto;*/
|
|
|
- /*text-align: center;*/
|
|
|
}
|
|
|
|
|
|
body {
|
|
@@ -334,82 +343,6 @@
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- .ball {
|
|
|
- display: inline-block;
|
|
|
- width: 89%;
|
|
|
- height: 92%;
|
|
|
- margin: 0;
|
|
|
- border-radius: 50%;
|
|
|
- position: absolute;
|
|
|
- -webkit-transform-style: preserve-3d;
|
|
|
- background: url("../../../assets/images/earth.png") repeat-x;
|
|
|
- background-size: auto 100%;
|
|
|
- -webkit-animation: move-map 30s infinite linear;
|
|
|
- -moz-animation: move-map 30s infinite linear;
|
|
|
- -o-animation: move-map 30s infinite linear;
|
|
|
- animation: move-map 30s infinite linear;
|
|
|
- }
|
|
|
-
|
|
|
- .ball:before {
|
|
|
- content: "";
|
|
|
- position: absolute;
|
|
|
- top: 0;
|
|
|
- left: 0;
|
|
|
- width: 100%;
|
|
|
- height: 100%;
|
|
|
- border-radius: 50%;
|
|
|
- box-shadow: -40px 10px 70px 10px rgba(0, 0, 0, 0.5) inset;
|
|
|
- z-index: 2;
|
|
|
- }
|
|
|
-
|
|
|
- .ball:after {
|
|
|
- content: "";
|
|
|
- position: absolute;
|
|
|
- border-radius: 50%;
|
|
|
- width: 100%;
|
|
|
- height: 100%;
|
|
|
- top: 0;
|
|
|
- left: 0;
|
|
|
- -webkit-filter: blur(0);
|
|
|
- opacity: 0.4;
|
|
|
- background: radial-gradient(circle at 50% 80%, #81e8f6, #76deef 10%, #055194 66%, #062745 100%);
|
|
|
- }
|
|
|
-
|
|
|
- .ball .shadow {
|
|
|
- position: absolute;
|
|
|
- width: 89%;
|
|
|
- height: 92%;
|
|
|
- background: radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.1) 40%, rgba(0, 0, 0, 0) 50%);
|
|
|
- -webkit-transform: rotateX(90deg) translateZ(-150px);
|
|
|
- -moz-transform: rotateX(90deg) translateZ(-150px);
|
|
|
- -ms-transform: rotateX(90deg) translateZ(-150px);
|
|
|
- -o-transform: rotateX(90deg) translateZ(-150px);
|
|
|
- transform: rotateX(90deg) translateZ(-150px);
|
|
|
- z-index: -1;
|
|
|
- }
|
|
|
-
|
|
|
- /*body {*/
|
|
|
- /*width: 300px;*/
|
|
|
- /*margin: 20px auto;*/
|
|
|
- /*background: linear-gradient(to bottom, rgba(100, 100, 100, 0.2) 0%, rgba(255, 255, 255, 0.5) 40%, #ffffff 100%);*/
|
|
|
- /*background-repeat: no-repeat;*/
|
|
|
- /*}*/
|
|
|
- .stage {
|
|
|
- display: inline-block;
|
|
|
- position: absolute;
|
|
|
- top: 16.9%;
|
|
|
- left: 41.5%;
|
|
|
- width: 18.5vw;
|
|
|
- height: 18vw;
|
|
|
- /*margin: 20px;*/
|
|
|
- /*-webkit-perspective: 1200px;*/
|
|
|
- /*-moz-perspective: 1200px;*/
|
|
|
- /*perspective: 1200px;*/
|
|
|
- /*-webkit-perspective-origin: 50% 50%;*/
|
|
|
- /*-moz-perspective-origin: 50% 50%;*/
|
|
|
- /*perspective-origin: 50% 50%;*/
|
|
|
- }
|
|
|
-
|
|
|
@-moz-keyframes move-map {
|
|
|
0% {
|
|
|
background-position: -849px 0;
|
|
@@ -455,187 +388,121 @@
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- .light {
|
|
|
- display: inline-block;
|
|
|
- animation: content 5s linear both infinite;
|
|
|
- animation-direction: alternate;
|
|
|
- background: url("../../../assets/images/lightPoint.png") no-repeat center 0;
|
|
|
- background-size: 100% 100%;
|
|
|
- position: absolute;
|
|
|
- top: -13%;
|
|
|
- left: -11%;
|
|
|
- width: 100%;
|
|
|
- height: 100%;
|
|
|
- }
|
|
|
-
|
|
|
- .logo {
|
|
|
- display: inline-block;
|
|
|
- animation: content 5s linear both infinite;
|
|
|
- animation-direction: alternate;
|
|
|
- position: absolute;
|
|
|
- top: 30%;
|
|
|
- left: 17%;
|
|
|
- width: 60%;
|
|
|
- height: 50%;
|
|
|
- opacity: 0.8;
|
|
|
- background: url("../../../assets/images/12345logo.png") no-repeat center 0;
|
|
|
- background-size: auto 60%;
|
|
|
- }
|
|
|
-
|
|
|
- .circle1 {
|
|
|
- border: 1px solid #c32c1c;
|
|
|
- width: 110%;
|
|
|
- height: 110%;
|
|
|
- border-radius: 50%;
|
|
|
- position: absolute;
|
|
|
- top: -9%;
|
|
|
- left: -10%;
|
|
|
- animation: content2 5s linear both infinite;
|
|
|
- animation-direction: alternate;
|
|
|
- }
|
|
|
-
|
|
|
- .circle2 {
|
|
|
- border: 1px solid #c32c1c;
|
|
|
- width: 100%;
|
|
|
- height: 100%;
|
|
|
- border-radius: 50%;
|
|
|
- position: absolute;
|
|
|
- top: -4%;
|
|
|
- left: -5%;
|
|
|
- animation: content 5s linear both infinite;
|
|
|
- animation-direction: alternate;
|
|
|
+ .panel {
|
|
|
+ /* 边框 */
|
|
|
+ box-sizing: border-box;
|
|
|
+ border: 2px solid red;
|
|
|
+ border-image: url("../../../assets/images/border-12345.png") 51 38 21 132;
|
|
|
+ border-width: 2.125rem 1.583rem 0.875rem 5.5rem;
|
|
|
+ position: relative;
|
|
|
+ margin-bottom: 0.833rem;
|
|
|
+ background-color: rgba(1, 1, 1, 0.35);
|
|
|
+ border-top-right-radius: 30px;
|
|
|
}
|
|
|
|
|
|
- .circle3 {
|
|
|
- border: 1px solid #c32c1c;
|
|
|
- width: 120%;
|
|
|
- height: 120%;
|
|
|
- border-radius: 50%;
|
|
|
+ .panel .inner {
|
|
|
+ /* 装内容 */
|
|
|
+ /* height: 60px; */
|
|
|
position: absolute;
|
|
|
- top: -14%;
|
|
|
- left: -16%;
|
|
|
- animation: content3 5s linear both infinite;
|
|
|
- animation-direction: alternate;
|
|
|
- opacity: 0.6;
|
|
|
+ top: -2.7rem;
|
|
|
+ right: -1.583rem;
|
|
|
+ bottom: -0.875rem;
|
|
|
+ left: -7rem;
|
|
|
+ padding: 1rem 1.5rem;
|
|
|
}
|
|
|
|
|
|
- .rectangle1 {
|
|
|
+ .rectangle-left1 {
|
|
|
position: absolute;
|
|
|
- width: 32.7%;
|
|
|
- height: 41.5%;
|
|
|
- /*background: url("../../../assets/images/rectangle1.png");*/
|
|
|
+ width: 32%;
|
|
|
+ height: 28.5%;
|
|
|
background-size: 100% 100%;
|
|
|
- background-color: rgba(15, 235, 255, 0.1);
|
|
|
+
|
|
|
top: 8.6%;
|
|
|
- left: 0.4%;
|
|
|
+ left: 0.7%;
|
|
|
transition: width 1s, height 1s, margin-left 1s, margin-top 1s;
|
|
|
-webkit-transition: width 1s, height 1s, margin-top 2s, margin-left 2s;
|
|
|
z-index: 99;
|
|
|
}
|
|
|
|
|
|
- .rectangle2 {
|
|
|
+ .rectangle-left2 {
|
|
|
position: absolute;
|
|
|
- width: 32.7%;
|
|
|
- height: 48%;
|
|
|
- /*background: url("../../../assets/images/rectangle2.png");*/
|
|
|
+ width: 32%;
|
|
|
+ height: 29%;
|
|
|
background-size: 100% 100%;
|
|
|
- background-color: rgba(15, 235, 255, 0.1);
|
|
|
- top: 51%;
|
|
|
- left: 0.4%;
|
|
|
+ top: 39%;
|
|
|
+ left: 0.7%;
|
|
|
transition: width 1s, height 1s, margin-left 1s, margin-top 1s;
|
|
|
-webkit-transition: width 1s, height 1s, margin-top 2s, margin-left 2s;
|
|
|
z-index: 99;
|
|
|
}
|
|
|
|
|
|
- .rectangle3 {
|
|
|
+ .rectangle-left3 {
|
|
|
position: absolute;
|
|
|
- width: 32.5%;
|
|
|
- height: 24.2%;
|
|
|
- /*background: url("../../../assets/images/rectangle3.png");*/
|
|
|
- background-color: rgba(15, 235, 255, 0.1);
|
|
|
+ width: 32%;
|
|
|
+ height: 29%;
|
|
|
background-size: 100% 100%;
|
|
|
- top: 55.9%;
|
|
|
- left: 33.5%;
|
|
|
+ top: 70%;
|
|
|
+ left: 0.7%;
|
|
|
transition: width 1s, height 1s, margin-left 1s, margin-top 1s;
|
|
|
-webkit-transition: width 1s, height 1s, margin-top 2s, margin-left 2s;
|
|
|
z-index: 99;
|
|
|
}
|
|
|
|
|
|
- .rectangle4 {
|
|
|
+ .rectangle-center1 {
|
|
|
position: absolute;
|
|
|
width: 32.5%;
|
|
|
- height: 18.1%;
|
|
|
- /*background: url("../../../assets/images/rectangle4.png");*/
|
|
|
- background-color: rgba(15, 235, 255, 0.1);
|
|
|
+ height: 14.2%;
|
|
|
background-size: 100% 100%;
|
|
|
- top: 80.9%;
|
|
|
+ top: 8.6%;
|
|
|
left: 33.5%;
|
|
|
transition: width 1s, height 1s, margin-left 1s, margin-top 1s;
|
|
|
-webkit-transition: width 1s, height 1s, margin-top 2s, margin-left 2s;
|
|
|
z-index: 99;
|
|
|
}
|
|
|
|
|
|
- .rectangle5 {
|
|
|
+ .rectangle-center2 {
|
|
|
position: absolute;
|
|
|
- width: 15.8%;
|
|
|
- height: 18.7%;
|
|
|
- /*background: url("../../../assets/images/rectangle5.png");*/
|
|
|
+ width: 32.5%;
|
|
|
+ height: 75.7%;
|
|
|
background-size: 100% 100%;
|
|
|
- background-color: rgba(15, 235, 255, 0.1);
|
|
|
- top: 8.6%;
|
|
|
- left: 66.4%;
|
|
|
+ top: 23.7%;
|
|
|
+ left: 33.5%;
|
|
|
transition: width 1s, height 1s, margin-left 1s, margin-top 1s;
|
|
|
-webkit-transition: width 1s, height 1s, margin-top 2s, margin-left 2s;
|
|
|
z-index: 99;
|
|
|
}
|
|
|
|
|
|
- .rectangle6 {
|
|
|
+ .rectangle-right1 {
|
|
|
position: absolute;
|
|
|
- width: 17.2%;
|
|
|
- height: 18.7%;
|
|
|
- /*background: url("../../../assets/images/rectangle6.png");*/
|
|
|
+ width: 32.4%;
|
|
|
+ height: 28.5%;
|
|
|
background-size: 100% 100%;
|
|
|
- background-color: rgba(15, 235, 255, 0.1);
|
|
|
top: 8.6%;
|
|
|
- left: 82.7%;
|
|
|
+ left: 66.8%;
|
|
|
transition: width 1s, height 1s, margin-left 1s, margin-top 1s;
|
|
|
-webkit-transition: width 1s, height 1s, margin-top 2s, margin-left 2s;
|
|
|
z-index: 99;
|
|
|
}
|
|
|
|
|
|
- /*.rectangle6InnerClick{*/
|
|
|
- /*position: absolute;*/
|
|
|
- /*width: 80%;*/
|
|
|
- /*height: 60%;*/
|
|
|
- /*background-color: rgba(0, 0, 0, 0.78) !important;*/
|
|
|
- /*background-size: 100% 100%;*/
|
|
|
- /*margin-top: 7%;*/
|
|
|
- /*margin-left: -88%;*/
|
|
|
- /*z-index: 80;*/
|
|
|
- /*}*/
|
|
|
- .rectangle7 {
|
|
|
+ .rectangle-right2 {
|
|
|
position: absolute;
|
|
|
- width: 33.4%;
|
|
|
- height: 19.8%;
|
|
|
- /*background: url("../../../assets/images/rectangle7.png");*/
|
|
|
+ width: 32.4%;
|
|
|
+ height: 29%;
|
|
|
background-size: 100% 100%;
|
|
|
- background-color: rgba(15, 235, 255, 0.1);
|
|
|
- top: 28.1%;
|
|
|
- left: 66.4%;
|
|
|
+ top: 39%;
|
|
|
+ left: 66.8%;
|
|
|
transition: width 1s, height 1s, margin-left 1s, margin-top 1s;
|
|
|
-webkit-transition: width 1s, height 1s, margin-top 2s, margin-left 2s;
|
|
|
z-index: 99;
|
|
|
}
|
|
|
|
|
|
- .rectangle8 {
|
|
|
+ .rectangle-right3 {
|
|
|
position: absolute;
|
|
|
- width: 33.4%;
|
|
|
- height: 50%;
|
|
|
- /*background: url("../../../assets/images/rectangle8.png");*/
|
|
|
+ width: 32.4%;
|
|
|
+ height: 29%;
|
|
|
background-size: 100% 100%;
|
|
|
- background-color: rgba(15, 235, 255, 0.1);
|
|
|
- top: 48.9%;
|
|
|
- left: 66.4%;
|
|
|
+ top: 70%;
|
|
|
+ left: 66.8%;
|
|
|
transition: width 1s, height 1s, margin-left 1s, margin-top 1s;
|
|
|
-webkit-transition: width 1s, height 1s, margin-top 2s, margin-left 2s;
|
|
|
z-index: 99;
|