修改乡镇模块页面及数据

main
jinna 3 years ago
parent e37ea66ff0
commit 17e9399b4a
  1. 550
      src/views/dashboard/homepage.vue

@ -13,32 +13,86 @@
</div> </div>
<div class="left_cen"> <div class="left_cen">
<div class="title_box"> <div class="title_box">
<div class="left_tit">收件量</div> <div class="left_tit">{{ activeName }}</div>
<div class="right_tit"> <div class="right_tit">
<div class="btn"></div> <div class="btn" :class="isActive == 1 ? 'active' : ''" @click="changeBtn(1)"></div>
<div class="btn"></div> <div class="btn" :class="isActive == 2 ? 'active' : ''" @click="changeBtn(2)"></div>
<div class="btn"></div> <div class="btn" :class="isActive == 3 ? 'active' : ''" @click="changeBtn(3)"></div>
<div class="btn"></div> <div class="btn" :class="isActive == 4 ? 'active' : ''" @click="changeBtn(4)"></div>
<div class="btn"></div> <div class="btn" :class="isActive == 5 ? 'active' : ''" @click="changeBtn(5)"></div>
</div>
</div>
<div class="cen_con">
<!-- <swiper :options="swiperOptions">
<swiper-slide v-for="(item, index) in slideList" :key="index">
<table>
<tr>
<th>排名</th>
<th>乡镇</th>
<th>运单量</th>
</tr>
<tr v-for="item1 in item.arr" :key="item1.no">
<td>{{item1.no}}</td>
<td>{{item1.name}}</td>
<td>{{item1.count}}</td>
</tr>
</table>
</swiper-slide>
</swiper> -->
<!-- <div class="swiper_box">
<div class="swiper-wrapper">
<div class="swiper-slide" v-for="(item, index) in slideList" :key="index">
<table>
<tr>
<th>排名</th>
<th>乡镇</th>
<th>运单量</th>
</tr>
<tr v-for="item1 in item.arr" :key="item1.no">
<td>{{ item1.no }}</td>
<td>{{ item1.name }}</td>
<td>{{ item1.count }}</td>
</tr>
</table>
</div>
</div>
</div> -->
<div class="swiper-container" v-if="isSlide">
<div class="swiper-wrapper">
<div class="swiper-slide" v-for="(item, index) in slideList" :key="index">
<table>
<tr>
<th>排名</th>
<th>乡镇</th>
<th>运单量</th>
</tr>
<tr v-for="item1 in item.arr" :key="item1.no">
<td>{{ item1.no }}</td>
<td>{{ item1.name }}</td>
<td>{{ item1.count }}</td>
</tr>
</table>
</div>
<!-- <div class="swiper-slide">Slide 2</div> -->
</div>
</div> </div>
</div> </div>
<div class="cen_con"></div>
</div> </div>
<div class="left_bot"> <div class="left_bot">
<div class="title_box"> <div class="title_box">
<div class="tit">村点信息</div> <div class="tit">村点信息</div>
</div> </div>
<div class="table_box"> <div class="table_box">
<table cellspacing=30> <table cellspacing="30">
<tr> <tr>
<th>站点名称</th> <th>站点名称</th>
<th>上行</th> <th>上行</th>
<th>下行</th> <th>下行</th>
</tr> </tr>
<tr v-for="item in villageData" :key="item.name"> <tr v-for="item in villageData" :key="item.name">
<td>{{item.name}}</td> <td>{{ item.name }}</td>
<td>{{item.upData}}</td> <td>{{ item.upData }}</td>
<td>{{item.downData}}</td> <td>{{ item.downData }}</td>
</tr> </tr>
</table> </table>
</div> </div>
@ -51,16 +105,20 @@
<div class="cen_data"> <div class="cen_data">
<div class="data_top"> <div class="data_top">
<div class="left_btn"> <div class="left_btn">
<div class="txt txt_left" :class="active == 1 ? 'active' : ''" @click="changeData(1)">按日</div> <div class="txt txt_left" :class="active == 1 ? 'active' : ''" @click="changeData(1)">
<div class="txt txt_right" :class="active == 2 ? 'active' : ''" @click="changeData(2)">按月</div> 按日
</div>
<div class="txt txt_right" :class="active == 2 ? 'active' : ''" @click="changeData(2)">
按月
</div>
</div> </div>
<div class="right_time">数据更新时间:2022-01-09</div> <div class="right_time">数据更新时间:2022-01-09</div>
</div> </div>
<div class="data_bot"> <div class="data_bot">
<div class="data_box" v-for="item in totalData" :key="item.name"> <div class="data_box" v-for="item in totalData" :key="item.name">
<div class="data_txt">{{item.name}}</div> <div class="data_txt">{{ item.name }}</div>
<div class="data_txt" style="font-size:0.38rem">{{item.data}}</div> <div class="data_txt" style="font-size: 0.38rem">{{ item.data }}</div>
<div class="data_txt">环比{{item.huanbi}}</div> <div class="data_txt">环比{{ item.huanbi }}</div>
</div> </div>
</div> </div>
</div> </div>
@ -78,14 +136,14 @@
</div> </div>
<div class="right_box"> <div class="right_box">
<div class="full_btn"> <div class="full_btn">
<img v-show="!isFullFlag" src="~@/assets/images/full.png" @click="clickFun" alt=""> <img v-show="!isFullFlag" src="~@/assets/images/full.png" @click="clickFun" alt="" />
<img v-show="isFullFlag" src="~@/assets/images/nofull.png" @click="clickFun" alt=""> <img v-show="isFullFlag" src="~@/assets/images/nofull.png" @click="clickFun" alt="" />
</div> </div>
<div class="right_top"> <div class="right_top">
<div class="title_box"> <div class="title_box">
<div class="tit">派件入库量占比</div> <div class="tit">派件入库量占比</div>
</div> </div>
<div class="pie_box" id="pieChart"></div> <div class="pie_box" id="pieChart"></div>
</div> </div>
<div class="right_center"> <div class="right_center">
<div class="title_box"> <div class="title_box">
@ -104,18 +162,24 @@
</template> </template>
<script> <script>
import Swiper from "swiper";
import axios from "axios"; import axios from "axios";
import * as XLSX from "xlsx/xlsx.mjs"; import * as XLSX from "xlsx/xlsx.mjs";
import PathMap from '../components/pathMap'; import PathMap from "../components/pathMap";
import ShowMap from '../components/showmap'; import ShowMap from "../components/showmap";
import CarMile from '../components/carMile'; import CarMile from "../components/carMile";
import CarWarn from '../components/carWarn'; import CarWarn from "../components/carWarn";
import { queryWeath } from "@/api/base";
import { swiper, swiperSlide } from "vue-awesome-swiper";
import "swiper/css/swiper.min.css";
export default { export default {
components: { components: {
PathMap, PathMap,
CarMile, CarMile,
CarWarn, CarWarn,
ShowMap, ShowMap,
// swiper,
// swiperSlide,
}, },
data() { data() {
return { return {
@ -124,29 +188,169 @@ export default {
time: "", time: "",
date: "", date: "",
week: "", week: "",
isFullFlag:false, isFullFlag: false,
isSupport:false, isSupport: false,
dayData:[], dayData: [],
monthData:[], monthData: [],
totalData:[], totalData: [],
active:1, active: 1,
xData:[], xData: [],
yData1:[], yData1: [],
yData2:[], yData2: [],
villageData:[ villageData: [],
] mySwiper:null,
swiperOptions: {
autoplay: {
delay: 2500,
disableOnInteraction: true,
stopOnLastSlide: false,
},
loop: true,
// effect: "cube",
// cube: {
// slideShadows: true,
// shadow: true,
// shadowOffset: 100,
// shadowScale: 0.6,
// },
navigation: {
nextEl: ".swiper-button-next",
prevEl: ".swiper-button-prev",
},
pagination: {
el: ".swiper-pagination",
type: "bullets",
clickable: true,
// progressbarOpposite: true,
},
},
slideList: [
{
arr: [],
},
{
arr: [],
},
],
shouData: [],
faData: [],
daoData: [],
paiData: [],
qianData: [],
isActive: 1,
activeName: "收件量",
isSlide:false
}; };
}, },
created() { created() {
this.getTime(); this.getTime();
this.readExcelFile("http://192.168.1.35:8081/excel/wuliu.xlsx"); this.readExcelFile("http://192.168.1.35:8080/excel/wuliu.xlsx");
}, },
mounted() { mounted() {
this.isSupport=document.fullscreenEnabled this.isSupport = document.fullscreenEnabled;
queryWeath().then((res) => {
console.log(res);
});
}, },
methods: { methods: {
readExcelFile(url) { run() {
this.mySwiper = new Swiper(".swiper-container", {
// direction: "vertical", //
loop: true, //
autoplay: true, //
delay: 5000, //1
observer:true,
observeParents: true, //swiperswiper
// onSlideChangeEnd: function (swiper) {
// console.log('')
// //SwiperupdateContainerSizeupdateSlidesSizeupdateProgressupdatePaginationupdateClassesswiper
// swiper.update();
// //slideslidesPerView
// swiper.reLoop();
// //
// swiper.startAutoplay();
// },
//
// pagination: {
// el: ".swiper-pagination",
// },
// 退
// navigation: {
// nextEl: ".swiper-button-next",
// prevEl: ".swiper-button-prev",
// },
//
// scrollbar: {
// el: ".swiper-scrollbar",
// },
});
},
changeBtn(val) {
this.isActive = val;
this.slideList = [{ arr: [] }, { arr: [] }];
this.isSlide = false
if (val == 1) {
this.activeName = "收件量";
this.shouData.map((item, index) => {
if (index <= 10) {
this.slideList[0].arr.push({ no: index + 1, name: item.name, count: item.count });
} else {
this.slideList[1].arr.push({ no: index + 1, name: item.name, count: item.count });
}
});
} else if (val == 2) {
this.activeName = "发件量";
this.faData.map((item, index) => {
if (index <= 10) {
this.slideList[0].arr.push({ no: index + 1, name: item.name, count: item.count });
} else {
this.slideList[1].arr.push({ no: index + 1, name: item.name, count: item.count });
}
});
} else if (val == 3) {
this.activeName = "到件量";
this.daoData.map((item, index) => {
if (index <= 10) {
this.slideList[0].arr.push({ no: index + 1, name: item.name, count: item.count });
} else {
this.slideList[1].arr.push({ no: index + 1, name: item.name, count: item.count });
}
});
} else if (val == 4) {
this.activeName = "派件量";
this.paiData.map((item, index) => {
if (index <= 10) {
this.slideList[0].arr.push({ no: index + 1, name: item.name, count: item.count });
} else {
this.slideList[1].arr.push({ no: index + 1, name: item.name, count: item.count });
}
});
} else if (val == 5) {
this.activeName = "签件量";
this.qianData.map((item, index) => {
if (index <= 10) {
this.slideList[0].arr.push({ no: index + 1, name: item.name, count: item.count });
} else {
this.slideList[1].arr.push({ no: index + 1, name: item.name, count: item.count });
}
});
}
if(this.slideList){
this.isSlide = true;
}
this.$nextTick(() => {
// console.log(this.slideList)
// this.mySwiper.update()
// this.run()
});
},
readExcelFile(url) {
axios axios
.get(url, { .get(url, {
responseType: "arraybuffer", responseType: "arraybuffer",
@ -154,11 +358,11 @@ export default {
.then((res) => { .then((res) => {
// console.log(res); // console.log(res);
let data = new Uint8Array(res); let data = new Uint8Array(res);
// console.log(data); // console.log(data);
let wb = XLSX.read(data, { let wb = XLSX.read(data, {
type: "array", type: "array",
}); });
// console.log(wb); // console.log(wb);
let sheets = wb.Sheets; // let sheets = wb.Sheets; //
// console.log(sheets); // console.log(sheets);
this.content = this.transformSheets(sheets); this.content = this.transformSheets(sheets);
@ -169,46 +373,80 @@ export default {
for (const key in sheets) { for (const key in sheets) {
content1.push(XLSX.utils.sheet_to_json(sheets[key])); content1.push(XLSX.utils.sheet_to_json(sheets[key]));
} }
console.log(content1); // console.log(content1);/
this.dayData.push( this.dayData.push(
{name:'收件量',data:content1[0][0].日总收件量,huanbi:content1[0][0].收件量日总环比}, { name: "收件量", data: content1[0][0].日总收件量, huanbi: content1[0][0].收件量日总环比 },
{name:'发件量',data:content1[0][0].日总发件量,huanbi:content1[0][0].发件量日总环比}, { name: "发件量", data: content1[0][0].日总发件量, huanbi: content1[0][0].发件量日总环比 },
{name:'到件量',data:content1[0][0].日总到件量,huanbi:content1[0][0].到件量日总环比}, { name: "到件量", data: content1[0][0].日总到件量, huanbi: content1[0][0].到件量日总环比 },
{name:'派件量',data:content1[0][0].日总派件量,huanbi:content1[0][0].派件量日总环比}, { name: "派件量", data: content1[0][0].日总派件量, huanbi: content1[0][0].派件量日总环比 },
{name:'签件量',data:content1[0][0].日总签件量,huanbi:content1[0][0].签件量日总环比}, { name: "签件量", data: content1[0][0].日总签件量, huanbi: content1[0][0].签件量日总环比 }
) );
this.monthData.push( this.monthData.push(
{name:'收件量',data:content1[0][0].月总收件量,huanbi:content1[0][0].收件量月总环比}, { name: "收件量", data: content1[0][0].月总收件量, huanbi: content1[0][0].收件量月总环比 },
{name:'发件量',data:content1[0][0].月总发件量,huanbi:content1[0][0].发件量月总环比}, { name: "发件量", data: content1[0][0].月总发件量, huanbi: content1[0][0].发件量月总环比 },
{name:'到件量',data:content1[0][0].月总到件量,huanbi:content1[0][0].到件量月总环比}, { name: "到件量", data: content1[0][0].月总到件量, huanbi: content1[0][0].到件量月总环比 },
{name:'派件量',data:content1[0][0].月总派件量,huanbi:content1[0][0].派件量月总环比}, { name: "派件量", data: content1[0][0].月总派件量, huanbi: content1[0][0].派件量月总环比 },
{name:'签件量',data:content1[0][0].月总签件量,huanbi:content1[0][0].签件量月总环比}, { name: "签件量", data: content1[0][0].月总签件量, huanbi: content1[0][0].签件量月总环比 }
) );
this.totalData = this.dayData this.totalData = this.dayData;
content1[1].map(item =>{ content1[1].map((item) => {
this.xData.unshift(item.日期.substring(item.日期.length-5).replace('.','-')) this.xData.unshift(item.日期.substring(item.日期.length - 5).replace(".", "-"));
this.yData1.push(item.到件量) this.yData1.push(item.到件量);
this.yData2.push(item.派件量) this.yData2.push(item.派件量);
}) });
content1[3].map(item =>{ content1[3].map((item) => {
this.villageData.push({name:item.村点名称,upData:item.上行,downData:item.下行}) this.villageData.push({ name: item.村点名称, upData: item.上行, downData: item.下行 });
}) });
console.log(this.villageData) content1[2].map((item, index) => {
this.$nextTick(() =>{ this.shouData.push({ name: item.名称, count: item.收件量 });
this.createChart() this.shouData = this.shouData.sort(function (a, b) {
}) return b.count - a.count;
});
this.faData.push({ name: item.名称, count: item.发件量 });
this.faData = this.faData.sort(function (a, b) {
return b.count - a.count;
});
this.daoData.push({ name: item.名称, count: item.到件量 });
this.daoData = this.daoData.sort(function (a, b) {
return b.count - a.count;
});
this.paiData.push({ name: item.名称, count: item.派件量 });
this.paiData = this.paiData.sort(function (a, b) {
return b.count - a.count;
});
this.qianData.push({ name: item.名称, count: item.签件量 });
this.qianData = this.qianData.sort(function (a, b) {
return b.count - a.count;
});
});
this.shouData.map((item, index) => {
if (index <= 10) {
this.slideList[0].arr.push({ no: index + 1, name: item.name, count: item.count });
} else {
this.slideList[1].arr.push({ no: index + 1, name: item.name, count: item.count });
}
});
console.log(this.slideList);
if(this.slideList){
this.isSlide = true
}
this.$nextTick(() => {
this.createChart();
this.run();
});
}, },
// //
changeData(val){ changeData(val) {
this.active = val this.active = val;
if(val == 1){ if (val == 1) {
this.totalData = this.dayData this.totalData = this.dayData;
}else if(val == 2){ } else if (val == 2) {
this.totalData = this.monthData this.totalData = this.monthData;
} }
}, },
clickFun(){ clickFun() {
if (this.isSupport) { if (this.isSupport) {
if (document.fullscreenElement) { if (document.fullscreenElement) {
//document.exitFullscreen()退 //document.exitFullscreen()退
@ -219,17 +457,17 @@ export default {
document.documentElement.requestFullscreen(); document.documentElement.requestFullscreen();
this.isFullFlag = true; this.isFullFlag = true;
} }
} }
console.log(this.isFullFlag) // console.log(this.isFullFlag);
// this.isFullFlag =!this.isFullFlag // this.isFullFlag =!this.isFullFlag
// if (!screenfull.enabled) { // if (!screenfull.enabled) {
// this.$message({ // this.$message({
// message: 'Your browser does not work', // message: 'Your browser does not work',
// type: 'warning' // type: 'warning'
// }) // })
// return false // return false
// } // }
// screenfull.toggle() // screenfull.toggle()
}, },
createChart() { createChart() {
@ -238,7 +476,7 @@ export default {
this.trendChart.resize(); this.trendChart.resize();
}); });
var option = { var option = {
color: ["#91cc75", "#4cabce", ], color: ["#91cc75", "#4cabce"],
title: { title: {
text: "仓库收件量趋势", text: "仓库收件量趋势",
textStyle: { textStyle: {
@ -266,10 +504,10 @@ export default {
boundaryGap: false, boundaryGap: false,
data: this.xData, data: this.xData,
axisLine: { axisLine: {
lineStyle: { lineStyle: {
color: "#fff" color: "#fff",
} },
} },
}, },
yAxis: { yAxis: {
type: "value", type: "value",
@ -289,13 +527,13 @@ export default {
name: "派件量", name: "派件量",
type: "line", type: "line",
smooth: true, smooth: true,
data:this.yData2, data: this.yData2,
}, },
], ],
}; };
this.trendChart.setOption(option); this.trendChart.setOption(option);
}, },
fn(str) { fn(str) {
let num = null; let num = null;
str >= 10 ? (num = str) : (num = "0" + str); str >= 10 ? (num = str) : (num = "0" + str);
@ -334,6 +572,24 @@ export default {
background-size: 100% 100%; background-size: 100% 100%;
display: flex; display: flex;
.swiper-slide {
font-size: 0.18rem;
color: #fff;
}
tr {
th {
font-size: 0.18rem;
color: #fff;
padding: 0.1rem 0;
}
td {
font-size: 0.18rem;
color: #fff;
padding: 0.04rem 0;
}
}
.left_box { .left_box {
width: 25%; width: 25%;
height: 100%; height: 100%;
@ -393,7 +649,7 @@ export default {
color: #fff; color: #fff;
display: flex; display: flex;
height: 70%; height: 70%;
border: 0.5px solid #0e94ea; // border: 0.5px solid #0e94ea;
border-radius: 10px; border-radius: 10px;
justify-content: space-between; justify-content: space-between;
align-items: center; align-items: center;
@ -405,20 +661,42 @@ export default {
display: flex; display: flex;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
border-right: 0.5px solid #0e94ea; border: 0.5px solid #0e94ea;
border-right: none;
cursor: pointer; cursor: pointer;
font-size: 0.18rem; font-size: 0.18rem;
color: #fff; color: #fff;
&:last-child { &:last-child {
border-right: none; border-right: 0.5px solid #0e94ea;
border-top-right-radius: 0.2rem;
border-bottom-right-radius: 0.2rem;
} }
&:first-child {
border-top-left-radius: 0.2rem;
border-bottom-left-radius: 0.2rem;
}
}
.active {
background: #0e94ea;
} }
} }
} }
.cen_con { .cen_con {
width: 100%; width: 100%;
height: 89%; height: 89%;
table {
width: 100%;
tr {
th {
&:first-child {
width: 35%;
}
}
}
}
} }
} }
@ -445,26 +723,26 @@ export default {
padding-left: 0.4rem; padding-left: 0.4rem;
} }
} }
.table_box{ .table_box {
width: 100%; width: 100%;
height:88%; height: 88%;
overflow-y:auto ; overflow-y: auto;
} }
table{ table {
width: 100%; width: 100%;
tr{ tr {
th{ th {
font-size: 0.18rem; font-size: 0.18rem;
color: #fff; color: #fff;
padding: 0.1rem 0; padding: 0.1rem 0;
&:first-child{ &:first-child {
width: 40%; width: 40%;
} }
} }
td{ td {
font-size:0.18rem; font-size: 0.18rem;
color: #fff; color: #fff;
padding: 0.08rem 0; padding: 0.08rem 0;
} }
@ -475,8 +753,8 @@ export default {
.center_box { .center_box {
width: 45%; width: 45%;
height: 100%; height: 100%;
.center_top{ .center_top {
width: 100%; width: 100%;
height: 8.8%; height: 8.8%;
background: red; background: red;
@ -485,23 +763,23 @@ export default {
justify-content: center; justify-content: center;
align-items: center; align-items: center;
.top_tit{ .top_tit {
color: #cdddf7; color: #cdddf7;
font-size: 0.52rem; font-size: 0.52rem;
} }
} }
.cen_data{ .cen_data {
width: 100%; width: 100%;
height: 15%; height: 15%;
.data_top{ .data_top {
width: 100%; width: 100%;
height: 30%; height: 30%;
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: space-between; justify-content: space-between;
.left_btn{ .left_btn {
width: 15%; width: 15%;
height: 65%; height: 65%;
display: flex; display: flex;
@ -510,7 +788,7 @@ export default {
border-radius: 0.1rem; border-radius: 0.1rem;
margin-left: 0.1rem; margin-left: 0.1rem;
.txt{ .txt {
font-size: 0.18rem; font-size: 0.18rem;
color: #fff; color: #fff;
width: 50%; width: 50%;
@ -522,25 +800,25 @@ export default {
align-items: center; align-items: center;
cursor: pointer; cursor: pointer;
&:last-child{ &:last-child {
border-left: none; border-left: none;
} }
} }
.txt_left{ .txt_left {
border-top-left-radius: 0.1rem; border-top-left-radius: 0.2rem;
border-bottom-left-radius: 0.1rem; border-bottom-left-radius: 0.2rem;
} }
.txt_right{ .txt_right {
border-top-right-radius: 0.1rem; border-top-right-radius: 0.2rem;
border-bottom-right-radius: 0.1rem; border-bottom-right-radius: 0.2rem;
} }
.active{ .active {
background:#0e94ea ; background: #0e94ea;
} }
} }
.right_time{ .right_time {
width: 25%; width: 25%;
height: 100%; height: 100%;
color: #fff; color: #fff;
@ -550,13 +828,13 @@ export default {
} }
} }
.data_bot{ .data_bot {
width: 100%; width: 100%;
height: 70%; height: 70%;
display: flex; display: flex;
// background: rebeccapurple; // background: rebeccapurple;
.data_box{ .data_box {
width: 20%; width: 20%;
height: 100%; height: 100%;
// background: green; // background: green;
@ -565,7 +843,7 @@ export default {
justify-content: space-around; justify-content: space-around;
align-items: center; align-items: center;
.data_txt{ .data_txt {
color: #fff; color: #fff;
font-size: 0.18rem; font-size: 0.18rem;
} }
@ -573,21 +851,21 @@ export default {
} }
} }
.center_cen{ .center_cen {
width: 100%; width: 100%;
height: 46%; height: 46%;
background: red; background: red;
} }
.cen_bot{ .cen_bot {
width: 100%; width: 100%;
height: 30%; height: 30%;
display: flex; display: flex;
// background: green; // background: green;
.echarts{ .echarts {
width: 50%; width: 50%;
height: 100%; height: 100%;
.trend_box{ .trend_box {
width: 100%; width: 100%;
height: 100%; height: 100%;
} }
@ -599,7 +877,7 @@ export default {
height: 100%; height: 100%;
background: url(~@/assets/images/line_img.png) top left repeat-y; background: url(~@/assets/images/line_img.png) top left repeat-y;
.full_btn{ .full_btn {
width: 92%; width: 92%;
height: 3%; height: 3%;
// background: red; // background: red;
@ -608,7 +886,7 @@ export default {
align-items: center; align-items: center;
} }
.right_top{ .right_top {
width: 92%; width: 92%;
height: 30%; height: 30%;
margin: 0 auto; margin: 0 auto;
@ -618,7 +896,7 @@ export default {
width: 100%; width: 100%;
height: 0.42rem; height: 0.42rem;
background: url(~@/assets/images/box_title.png) top left no-repeat; background: url(~@/assets/images/box_title.png) top left no-repeat;
background-size:100% 100% ; background-size: 100% 100%;
.tit { .tit {
width: 30%; width: 30%;
@ -631,23 +909,23 @@ export default {
} }
} }
.pie_box{ .pie_box {
width: 100%; width: 100%;
height: 80%; height: 80%;
// background: red; // background: red;
} }
} }
.right_center{ .right_center {
width: 92%; width: 92%;
height: 45%; height: 45%;
// background: red; // background: red;
margin:0 auto; margin: 0 auto;
.title_box { .title_box {
width: 100%; width: 100%;
height: 0.42rem; height: 0.42rem;
background: url(~@/assets/images/box_title.png) top left no-repeat; background: url(~@/assets/images/box_title.png) top left no-repeat;
background-size:100% 100% ; background-size: 100% 100%;
.tit { .tit {
width: 30%; width: 30%;
@ -661,16 +939,16 @@ export default {
} }
} }
.right_bot{ .right_bot {
width: 92%; width: 92%;
height: 20%; height: 20%;
// background: green; // background: green;
margin:0 auto; margin: 0 auto;
.title_box { .title_box {
width: 100%; width: 100%;
height: 0.42rem; height: 0.42rem;
background: url(~@/assets/images/box_title.png) top left no-repeat; background: url(~@/assets/images/box_title.png) top left no-repeat;
background-size:100% 100% ; background-size: 100% 100%;
.tit { .tit {
width: 30%; width: 30%;

Loading…
Cancel
Save