|
@@ -1,6 +1,14 @@
|
|
|
<template>
|
|
<template>
|
|
|
<div class="df">
|
|
<div class="df">
|
|
|
- <div class="left-top">
|
|
|
|
|
|
|
+ <div
|
|
|
|
|
+ class="left-top"
|
|
|
|
|
+ :style="{
|
|
|
|
|
+ height:
|
|
|
|
|
+ this.$store.state.firstTitle == '主页'
|
|
|
|
|
+ ? 'calc(100vh - 142px)'
|
|
|
|
|
+ : 'calc(100vh - 238px)',
|
|
|
|
|
+ }"
|
|
|
|
|
+ >
|
|
|
<div id="map-container" class="map-container"></div>
|
|
<div id="map-container" class="map-container"></div>
|
|
|
<div class="df aic tabs">
|
|
<div class="df aic tabs">
|
|
|
<div
|
|
<div
|
|
@@ -41,7 +49,15 @@
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
- <div class="right-top">
|
|
|
|
|
|
|
+ <div
|
|
|
|
|
+ class="right-top"
|
|
|
|
|
+ :style="{
|
|
|
|
|
+ height:
|
|
|
|
|
+ this.$store.state.firstTitle == '主页'
|
|
|
|
|
+ ? 'calc(100vh - 142px)'
|
|
|
|
|
+ : 'calc(100vh - 238px)',
|
|
|
|
|
+ }"
|
|
|
|
|
+ >
|
|
|
<div class="cards card-1">
|
|
<div class="cards card-1">
|
|
|
<div>总航次数</div>
|
|
<div>总航次数</div>
|
|
|
<div>{{ indexData.totalVoyageNum }}</div>
|
|
<div>{{ indexData.totalVoyageNum }}</div>
|
|
@@ -397,7 +413,7 @@ function drawPie(type) {
|
|
|
},
|
|
},
|
|
|
series: [
|
|
series: [
|
|
|
{
|
|
{
|
|
|
- center: ["50%", "65%"],
|
|
|
|
|
|
|
+ center: ["50%", "50%"],
|
|
|
type: "pie",
|
|
type: "pie",
|
|
|
radius: "80%",
|
|
radius: "80%",
|
|
|
data: [
|
|
data: [
|
|
@@ -605,13 +621,13 @@ onMounted(() => {
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
.left-top {
|
|
.left-top {
|
|
|
- width: calc(100% - 280px);
|
|
|
|
|
|
|
+ width: calc(100% - 400px);
|
|
|
height: calc(100vh - 238px);
|
|
height: calc(100vh - 238px);
|
|
|
position: relative;
|
|
position: relative;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
.right-top {
|
|
.right-top {
|
|
|
- width: 280px;
|
|
|
|
|
|
|
+ width: 400px;
|
|
|
height: calc(100vh - 238px);
|
|
height: calc(100vh - 238px);
|
|
|
background: #fff;
|
|
background: #fff;
|
|
|
text-align: center;
|
|
text-align: center;
|
|
@@ -619,16 +635,16 @@ onMounted(() => {
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
.left-bottom {
|
|
.left-bottom {
|
|
|
- width: calc(100% - 280px);
|
|
|
|
|
- height: 100px;
|
|
|
|
|
|
|
+ width: calc(100% - 400px);
|
|
|
|
|
+ height: 80px;
|
|
|
background: #fff;
|
|
background: #fff;
|
|
|
display: flex;
|
|
display: flex;
|
|
|
justify-content: center;
|
|
justify-content: center;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
.right-bottom {
|
|
.right-bottom {
|
|
|
- width: 280px;
|
|
|
|
|
- height: 100px;
|
|
|
|
|
|
|
+ width: 400px;
|
|
|
|
|
+ height: 80px;
|
|
|
text-align: center;
|
|
text-align: center;
|
|
|
display: flex;
|
|
display: flex;
|
|
|
justify-content: space-around;
|
|
justify-content: space-around;
|
|
@@ -639,31 +655,21 @@ onMounted(() => {
|
|
|
width: 800px;
|
|
width: 800px;
|
|
|
}
|
|
}
|
|
|
.cards {
|
|
.cards {
|
|
|
- height: 12%;
|
|
|
|
|
|
|
+ height: 10%;
|
|
|
border-bottom: 1px solid grey;
|
|
border-bottom: 1px solid grey;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
.cards > div:first-child {
|
|
.cards > div:first-child {
|
|
|
- font-size: 2vh;
|
|
|
|
|
- padding-top: 6%;
|
|
|
|
|
- padding-bottom: 6%;
|
|
|
|
|
|
|
+ font-size: 1.8vh;
|
|
|
|
|
+ padding-top: 4%;
|
|
|
|
|
+ padding-bottom: 2%;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
.cards > div:last-child {
|
|
.cards > div:last-child {
|
|
|
font-size: 1.5vh;
|
|
font-size: 1.5vh;
|
|
|
}
|
|
}
|
|
|
-/*
|
|
|
|
|
-.cards {
|
|
|
|
|
-}
|
|
|
|
|
-.card-1 {
|
|
|
|
|
-}
|
|
|
|
|
-.card-2 {
|
|
|
|
|
-}
|
|
|
|
|
-.card-3 {
|
|
|
|
|
-}
|
|
|
|
|
-.card-4 {
|
|
|
|
|
-} */
|
|
|
|
|
|
|
+
|
|
|
.card-5 {
|
|
.card-5 {
|
|
|
- height: 40%;
|
|
|
|
|
|
|
+ height: 50%;
|
|
|
}
|
|
}
|
|
|
</style>
|
|
</style>
|