Vue Echarts Bmap

  • 目录结构

Vue Echarts Bmap_第1张图片

  • 运行结果

  • 代码链接

https://github.com/15657318057/Vue-Echarts-Bmap

  • 代码实现

 创建vue项目 https://www.jianshu.com/p/ff1c485f0454

安装echarts https://www.jianshu.com/p/cf0a54374419

详细代码

main.ts

import Vue from 'vue'
import App from './App.vue'
import router from './router'
import echarts from "echarts"

Vue.prototype.$echarts = echarts

Vue.config.productionTip = false

new Vue({
  router,
  render: h => h(App)
}).$mount('#app')

App.vue




index.ts

import Vue from 'vue'
import VueRouter, { RouteConfig } from 'vue-router'
import Home from '../views/Home.vue'
import Maps from '../views/Maps.vue'

Vue.use(VueRouter)

  const routes: Array = [
  {
    path: '/',
    name: 'Home',
    component: Home
  },
  {
    path: '/map',
    name: 'map',
    component:Maps
  },
  {
    path: '/about',
    name: 'About',
    // route level code-splitting
    // this generates a separate chunk (about.[hash].js) for this route
    // which is lazy-loaded when the route is visited.
    component: () => import(/* webpackChunkName: "about" */ '../views/About.vue')
  }
]

const router = new VueRouter({
  mode: 'history',
  base: process.env.BASE_URL,
  routes
})

export default router

index.html



  
    
    
    
    
    
  
  
    
    

common.css

body::-webkit-scrollbar {
    display: none;
}
@font-face {
    font-family: letsgoLED;
    src: url("../../assets/fonts/Lets-go-Digital.TTF");
    /* IE9+  HTML节点的lang="en" 记得去掉,不然会谷歌浏览器会自动翻译导致字体不正确 */
}

.BMap_cpyCtrl {
    display: none;
}

.anchorBL {
    display: none;
}

.yui-toast-mask {
    position: fixed;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
    top: 0;
    left: 0;
    z-index: 1000;
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    align-items: center;
}

.yui-toast-mask .yui-toast {
    background: rgba(0, 0, 0, 0.5);
    min-height: 3rem;
    min-width: 3rem;
    border-radius: .5rem;
    margin: 0 auto;
    overflow: hidden;
    color: #FFFFFF;
    font-size: 14px;
    padding: 10px;
    max-height: 90%;
    max-width: 90%;
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    align-items: center;
}

* {
    margin: 0;
    padding: 0;
    list-style: none;
    text-decoration: none;
}

/* CSS Document */
::-webkit-scrollbar-track {
    border-radius: 10px;
    box-shadow: inset 0 0 6px rgba(0, 0, 0, 0);
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0);
}

/*滚动条的滑轨背景颜色*/
::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.05);
    border-radius: 10px;
    box-shadow: inset 1px 1px 0 rgba(75, 75, 75, 0.58);
    -webkit-box-shadow: inset 1px 1px 0 rgba(75, 75, 75, 0.58);
}

/*滑块颜色*/
::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    box-shadow: inset 1px 1px 0 rgba(48, 48, 48, 0.92);
    -webkit-box-shadow: inset 1px 1px 0 rgba(48, 48, 48, 0.92);
}

::-webkit-scrollbar {
    width: 16px;
    height: 16px;
}

/* 滑块整体设置*/
::-webkit-scrollbar-track,
::-webkit-scrollbar-thumb {
    border-radius: 999px;
    border: 5px solid transparent;
}

::-webkit-scrollbar-track {
    box-shadow: 1px 1px 5px rgba(0, 0, 0, .2) inset;
}

::-webkit-scrollbar-thumb {
    min-height: 20px;
    background-clip: content-box;
    box-shadow: 0 0 0 5px rgba(255, 255, 255, .5) inset;
}

::-webkit-scrollbar-corner {
    background: transparent;
}

/* 横向滚动条和纵向滚动条相交处尖角的颜色 */

body {
    font-size: 100%;
    height: 100%;
    background-color: #081832;
}

a:hover {
    text-decoration: none;
}

.left {
    float: left;
}

.right {
    float: right;
}

.clear {
    clear: both;
}

.div_left,
.div_center,
.div_right {
    position: absolute;
    top: 0;
    bottom: 0;
}

.div_left {
    left: 0;
}

.div_center {
    width: 100%;
}

.div_right {
    right: 0;
}

.text_right {
    text-align: right;
}

.header {
    position: relative;
    text-align: center;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
}

.header_pose {
    position: absolute;
    left: 0;
    right: 0;
    text-align: center;
    color: #FFFFff;
    font-family: "微软雅黑" !important;
}
.header_center{
    position: absolute;
    left: 0;
    right: 0;
    text-align: center;
    color: #FFFFff;
    font-family: "微软雅黑" !important;
    top: 0;
    margin: auto;
    width: 20%;
}
.header_bg {
    position: absolute;
    left: 0;
    right: 0;
    text-align: center;
    color: #FFFFff;
    font-family: "微软雅黑" !important;
    top: 0;
    margin: 10px auto;
    width: 20%;
    height: 50px;
    background-color: black;
    border: 3px solid #009acd;
    opacity: 0.5;
    background-image: url("../../assets/images/title_bg.png");
    background-repeat: no-repeat;
    background-size: 100% 100%;
}
.header_center2{
    top: 80px;
    margin: auto;
    width: 50%;
    height: 20px;
    line-height: 20px;
}
.header_bg2 {
    top: 80px;
    margin: auto;
    width: 50%;
    height: 20px;
    background-color: black;
    border: 1px solid #009acd;
    opacity: 0.5;
    text-align: right !important;
    padding-right: 10px;
    box-sizing: border-box;
}
.header_bg2 img {
    width: 20px;
    display: inline-block;
    margin-bottom: 3px;
}
.header_dialog{
    top: 100px;
    margin: auto;
    width: 50%;
    height: 200px;
    line-height: 20px;
}
.header_dialog_bg {
    top: 100px;
    margin: auto;
    width: 50%;
    height: 200px;
    background-color: black;
    border: 1px solid #009acd;
    opacity: 0.5;
    text-align: right !important;
    padding-right: 10px;
    box-sizing: border-box;
}

.header_center h2 {
    padding-top: 24px !important;
    font-size: 22px !important;
}
.color_font {
    color: #e8f7fe !important;
    font-size: 12px !important;
}

.header_logo {
    margin-left: 1%;
    margin-top: 12px;
}

.header_logo img {
    height: 56px;
}
.header_number{
    width: 92%;
    height: 20%;
    margin: 0 4%;
    padding-top: 10%;
    text-align: center;
    color: #00FFFF;
    font-size: 25px;
}
.header_flex{
    display: flex;
    padding: 10px;
    color: white;
    font-size: 12px;
    justify-content: center;
}
.header_flex div{
    margin-left: 40px;
}

/* 菜单 */
.nav {
    width: 35%;
}


.nav>ul>li {
    display: inline-block;
    width: 120px;
    text-align: center;
    height: 50px;
    position: relative;
    line-height: 50px;
    margin-top: 15px;
    box-sizing: border-box;
    border-radius: 5px;

}

.nav>ul>li:hover {
    box-shadow: -10px 0px 15px #034c6a inset,
        0px -10px 15px #034c6a inset,
        10px 0px 15px #034c6a inset,
        0px 10px 15px #034c6a inset;

    box-sizing: border-box;
}

.nav>ul>li i {
    width: 16px;
    height: 16px;
    display: inline-block;
    position: relative;
    top: 3px;
    margin-right: 5px;
}

.nav>ul>li>a {
    color: #ffffff;
    /*display: inline-block;*/
    /*padding: 0 15px 0 5px;*/
    font-size: 14px;
}

/*.nav>ul>li:hover .li_ul{*/
/*display: block;*/
/*}*/

.li_ul {
    position: absolute;
    background-color: #030829;
    width: 100%;
    /*border-top:4px solid #4b8df8;*/
    display: none;
    z-index: 999;

}

.li_ul li {
    line-height: 40px !important;
}

.li_ul li:hover {
    background-color: #4b8df8;
}

.li_ul li a {
    color: #ffffff;
    font-size: 13px;
}

.nav_1 {
    background: url("../../assets/images/nav_1.png");
}

.nav_2 {
    background-image: url("../../assets/images/nav_2.png");
}

.nav_3 {
    background-image: url("../../assets/images/nav_3.png");

}

/* .nav_4 { */
    /* background-image: url("../../assets/images/nav_4.png"); */
/* } */

/* .nav_5 { */
    /* background-image: url("../../assets/images/nav_5.png"); */
/* }

.nav_6 { */
    /* background-image: url("../../assets/images/nav_6.png"); */
/* }

.nav_7 { */
    /* background-image: url("../../assets/images/nav_7.png"); */
/* }

.nav_8 { */
    /* background-image: url("../../assets/images/nav_9.png"); */
/* } */

.nav_active {
    border-bottom: 4px solid #4b8df8;
    box-shadow: -10px 0px 15px #034c6a inset,
        /*左边阴影*/
        0px -10px 15px #034c6a inset,
        /*上边阴影*/
        10px 0px 15px #034c6a inset,
        /*å³è¾¹é˜´å½±*/
        0px 10px 15px #034c6a inset;

    box-sizing: border-box;
}

.container {
    width: 100%;
    background-color: #081832;
    padding-bottom: 20px;
}

.con1 {
    width: 100%;
    background-color: #081832cc;
    /*padding-bottom: 4px;*/
    box-sizing: border-box;
    overflow: auto;

    ;
}

.find_expend {
    display: none;
}

.con1::before {
    content: "";
    display: block;
    clear: both;
    visibility: hidden;
    height: 0;
}

.select_time {
    width: 140px;
    height: 36px;

    margin-bottom: 25px;
    margin-left: 1%;
    padding-left: 20px;
    ;

}

.select_time img {
    height: 18px;
    margin-top: 9px;
}

.select_time input {
    border: none;
    background-color: transparent;
    width: 80px;
    height: 20px;
    top: -5px;
    margin-left: 10px;
    position: relative;
    text-indent: 1em;
    outline: none;
}

.con_div {
    height: 110px;
    width: 98%;
    margin-left: 1%;
    margin-bottom: 25px;
}

.con_div_text {
    height: 100%;
    background-color: #034c6a;
    width: 32%;
    margin-right: 1.3%;
}

.con_div_text01 {
    width: 50%;
    height: 100%;
}

.text01_img {
    width: 40px;
    height: 40px;
    margin-left: 5%;
    margin-top: 35px;
}

.text01_div {
    margin-top: 15px;
    margin-left: 5%;
    text-align: center;

}

.text01_div p {
    line-height: 35px;
}

.text01_div p:nth-child(1) {
    font-size: 13px;
    color: #ffffff;
}

.text01_div p:nth-child(2) {
    font-size: 28px;
    color: #ffff43;
    font-weight: 600;

}

.red {
    color: red !important;
}

.sky {
    color: #25f3e6 !important;
}

.org {
    color: #ff4e4e !important;
}

.div_any {
    margin-bottom: 25px;
    height: 960px;
    position: relative;
}

.div_any00 {
    background-color: black;
    opacity: 0.5;
    width: 23%;
    z-index: 5;
    height: 960px;
}

.div_any01 {
    width: 21%;
    z-index: 10;
    left: 1%;
}

.div_any02 {
    width: 21%;
    z-index: 10;
    right: 1%;
}
.div_any02_e {
    width: 25%;
    z-index: 10;
    right: 1%;
}

.div_any03 {
    width: 98%;
    margin: 15px auto;

}

.div_any_child {
    width: 100%;
    height: 300px;
    /* box-shadow: -10px 0px 15px #034c6a inset,
        0px -10px 15px #034c6a inset,
        10px 0px 15px #034c6a inset,
        0px 10px 15px #034c6a inset; */
    border-radius: 10px;
    border: 2px solid #009ACD;
    box-sizing: border-box;
    position: relative;
    margin-top: 15px;
}

.div_any_child01 {
    width: 48%;

    box-shadow: -10px 0px 15px #034c6a inset,
        0px -10px 15px #034c6a inset,
        10px 0px 15px #034c6a inset,
        0px 10px 15px #034c6a inset;
    border: 1px solid #034c6a;
    box-sizing: border-box;
    position: relative;
    margin-right: 2%;

}

.div_any_child01_wh {
    width: 98% !important;
}

.div_height01 {
    height: auto !important;
    padding: 5px;
}

.char_table {
    height: 200px;
}

.p_chart {
    height: 288px;
    padding: 5px 10px;
}

#map_div {
    width: 96%;
    height: 94%;
}

.div_height {
    height: 960px !important;
    margin-top: 0 !important;
}

/* .div_any_title {
    background-color: #034c6a;
    border-radius: 18px;
    position: absolute;
    height: 35px;
    width: 70%;
    top: -15px;
    color: #ffffff;
    font-weight: bold;
    font-size: 16px;
    left: 15%;
    line-height: 35px;
    text-align: center;
} */
.div_any_title {
    position: absolute;
    top: -4px;
    color: #ffffff;
    font-weight: bold;
    font-size: 14px;
    left: 20px;
    text-align: center;
    border-top: 3px solid;
}

.div_any_title img {
    width: 18px;
    height: 18px;
    position: relative;
    top: 2px;
    margin-right: 5px;
}

.any_title_width {
    width: 30% !important;
    left: 35% !important;
}

.div_table {
    width: 98%;
    margin-left: 1%;
    margin-bottom: 25px;
    height: 280px;
}

.div_table_box {
    width: 23%;
    margin-right: 2%;
}

.table_p {
    height: 93%;
    margin-top: 7%;
    position: relative;
    overflow: hidden;
}

.table_p01 {
    height: auto !important;
    margin-top: 0 !important;
    position: relative;


}

.table_p01 table td {
    padding: 6px 0;
}

.table_p table {
    height: 100%;
    border-collapse: collapse;
    position: absolute;
    text-align: center;
}
.table_p table:first-child {
    width: 57%;
    left: 0;
}
.table_p table:last-child {
    width: 40%;
    right: -1px
}

.table_p table thead th {
    color: #61d2f7;
    font-size: 14px;
    font-weight: 600;
    padding-top: 5px;
    padding-bottom: 5px;
}

.table_p table tbody {
    color: #ffffff;
    font-size: 11px;
}

.table_p table tbody tr:nth-child(2n+1) {
    background-color: #072951;
    box-shadow: -10px 0px 15px #034c6a inset,
        10px 0px 15px #034c6a inset;
}

.car_left {
    width: 18%;
    height: 100%;
    background-color: #081832;
}

.car_center {

    height: 100%;
    background-color: #081832;
    width: 50.5%;
    margin-left: 0.5%;
}

.car_center video {
    width: 49.5%;
    height: 49%;


    box-sizing: border-box;
    box-shadow: -10px 0px 15px #034c6a inset,
        10px 0px 15px #034c6a inset;
    float: left;
}

.magin_top {
    margin-top: 1%;
}

.magin_left {
    margin-left: 1%;
}

.car_right {
    width: 31%;
    height: 100%;
}

.text_center {
    text-align: center;
}

.carNo_input {
    width: 75%;
    height: 25px;
    margin-top: 5px;
    margin-bottom: 5px;
    text-indent: 2em;
    margin-left: 5%;

    border: 1px solid #072951;
    border-radius: 3px;
}

.find_but {
    height: 25px;
    background-image: url("../../assets/images/find.png");
    width: 25px;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    position: relative;
    top: 8px;
    border: none;
    background-color: transparent;
}

.find_but1 {
    height: 25px;
    background-image: url("../../assets/images/find.png");
    width: 25px;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    position: relative;
    top: 8px;
    border: 1px solid #4b8df8;
    background-color: transparent;
}

.set_list {
    padding: 10px 5%;
    color: #eee;
    font-size: 14px;
}

.list_i {
    width: 16px;
    height: 16px;
    display: inline-block;

    background-image: url("../../assets/images/nav_1.png");
    top: 3px;
    position: relative;
}

.left_up {

    height: 58%;

}

.left_table {

    height: 98%;

    border-radius: 5px;
    width: 18% !important;
    background-color: #081832;


}

.right_table {
    height: 98%;

    border-radius: 5px;
    width: 81.5% !important;
    background-color: #081832;
    margin-left: 0.5%;
}

.center_table {
    height: 100%;
    border-radius: 5px;
    width: 100%;
    background-color: #081832;
    margin: 0 auto;
}

.bow_shadow {
    box-shadow: -8px 0px 10px #034c6a inset,
        8px 0px 10px #034c6a inset;
    width: 100%;
    box-sizing: border-box;
}

.ztree li a {
    color: #FFFFff !important;
}

.left_down {
    height: 40%;
    margin-top: 2%;
}

.tab_a {
    width: 45%;
    height: 30px;
    line-height: 30px;
    color: #FFFFff;
    background-color: #667fa7;
    display: inline-block;
    margin-right: 1%;
    margin-top: 5px;
    font-size: 14px;
}

.tab_aActive {
    background-color: #034c6a !important;
    font-weight: 600;
}

.car_content {
    margin-left: 5%;

    font-size: 13px;
    color: #eeeeee;
}

.car_content p {
    padding-top: 5px;
    padding-bottom: 5px;
}

.table2_find {
    background-color: #072951;
    box-shadow: -10px 0px 15px #034c6a inset, 10px 0px 15px #034c6a inset;
    width: 100%;
    padding: 5px 0;
    color: #FFFFff;
}


.table2_find input[type=text] {
    background-color: transparent;
    width: 16%;
    height: 24px;
    border-radius: 3px;
    text-indent: 1em;
    border: 1px solid #7EC4CC;

}


.table_find {
    width: 100%;
    padding: 8px 0;
    border-bottom: 2px solid #a5c5f83b;
    font-size: 13px;
}

.more_find {

    cursor: pointer;
    position: relative;
    top: 5px;
}

.table_find .glyphicon {
    margin-right: 5px;
}

.table_find button {
    padding: 4px 10px;
}

.table_find p {
    margin-top: 8px;
}

.table_find label {

    color: #eeeeee;

    width: 8%;
    display: inline-block;
    text-align: right;

}

.table_find input[type=text],
.table_find input[type=date] {
    width: 16%;
    height: 24px;
    border-radius: 3px;
    text-indent: 1em;
    border: 1px solid#4b8df8;
    background-color: #cccccc4f;
}

.table_find select {
    width: 12%;
    height: 24px;
    border-radius: 3px;
    text-indent: 1em;
    border: 1px solid #4b8df8;
    background-color: #cccccc4f;
}

.table_find input[type=checkbox] {
    width: 14px;
    height: 14px;
    position: relative;
    top: 3px;
    margin-right: 5px;
}

.table_find span {
    color: #b2cbf3;

    margin-right: 2%;
}

.find_button {
    width: 5%;
    height: 26px;
    border: none;
    border-radius: 2px;
    background-color: #4b8df8;
    color: #FFFFff;
    font-size: 14px;

}

.table2_style {
    color: #FFFFff;
    border: none !important;
    font-size: 13px;
}

.table2_style a {
    margin-right: 10px;
}

.table2_style tbody tr:nth-child(2n+1) {
    background-color: #072951;
    border-left: 4px solid #4b8df8;
    ;
}

.table2_style thead tr {
    color: #FFFFff;
    background-color: #4b8df8;
}

.table2_style td {
    border: none !important;
}

.table2_style thead th {
    border-bottom: none !important;
}

.table2_style tbody tr:nth-child(2n):hover {
    /*color: #072951;*/
    background-color: rgba(75, 141, 248, 0.65);

}

.table_style {
    color: #FFFFff;
    box-shadow: -8px 0px 10px #034c6a inset,
        8px 0px 10px #034c6a inset;
    border: none !important;
    font-size: 13px;
}

.table_style a {
    margin-right: 10px;
}

.table_style td {
    border: none !important;
}

.table_style tbody tr:nth-child(2n+1) {
    background-color: #072951;
    box-shadow: -10px 0px 15px #034c6a inset,
        10px 0px 15px #034c6a inset;
}

.table_style thead tr {
    color: #4b8df8;
}

.table_style thead th {
    border-bottom: none !important;
}

.table_style tbody tr:nth-child(2n):hover {
    /*color: #072951;*/
    background-color: rgba(75, 141, 248, 0.12);
}

.table_div {
    margin-top: 10px;
    color: #FFFFff;
}

.table_but {
    text-align: right;
    font-size: 13px;
    padding-bottom: 5px;
    padding-top: 10px;

}

.table_but a {
    margin-right: 15px;
    color: #FFFFff;
}

.table_but a i {
    margin-right: 5px;
}

.table_del {
    color: orangered;
}

.table_edit {
    color: #0D8BBD;
}

.span_left {
    padding: 5px;
}

/*地图界面样式*/
.map_con {
    width: 100%;
    padding: 0;
    background-color: #081832cc;
}

.map_left {
    width: 79%;
    height: 100%;


}

.map_right {
    width: 20.5%;
    height: 100%;
    background-color: #081832;
}

.map_box {
    width: 100%;
    height: 100%;

}

.map_top {
    position: absolute;
    top: 80px;
    left: 0;
    height: 35px;
    width: 79%;
    border-bottom: 1px solid #4b8df8;
    background-color: rgba(255, 255, 255, 0.84);
    z-index: 99;
}

.map_top>ul {
    list-style: none;
    font-size: 14px;
    float: right;
}

.map_top>ul>li {
    display: inline-block;
    line-height: 35px;
    padding: 0 10px;
}

.map_top>ul>li i {
    margin-right: 5px;
}

.map_top>ul>li a {
    color: #2E2D3C;
}

.map_top>ul .active,
.map_top>ul>li .active {
    color: #0D8BBD;
}

.map_select {
    position: fixed;
    top: 160px;
    right: 21.5%;
    box-shadow: -10px 0px 15px #034c6a inset,
        /*左边阴影*/
        0px -10px 15px #034c6a inset,
        /*上边阴影*/
        10px 0px 15px #034c6a inset,
        /*å³è¾¹é˜´å½±*/
        0px 10px 15px #034c6a inset;
    border: 1px solid #034c6a;
    width: 120px;
    height: 180px;
    border-radius: 5px;
    background-color: #081832e3;
}

.map_select p {
    padding: 8px 15px;
    color: #FFFFff;
    font-size: 14px;
}

.map_select p input[type=checkbox] {
    width: 15px;
    height: 15px;
    position: relative;
    top: 3px;
    margin-right: 10px;
}

.map_right_top {
    width: 100%;
    height: 35px;

    background-color: #034c6a;
}

.map_right_top>ul>li {
    list-style: none;
    display: inline-block;
    line-height: 35px;
    font-size: 14px;
    text-align: center;
    width: 32%;
    color: #FFFFff;
    cursor: pointer;
}

.map_right_top>ul>li.li_active {
    background-color: #0D8BBD;
}

.map_chart {
    width: 100%;
    height: 250px;
    box-sizing: border-box;
    position: relative;
    margin-top: 25px;
}

.map_con {
    width: 100%;
}

.map_con_div {
    display: none;
}

.map_work {
    margin-top: 5px;
    border-top: 1px solid #0D8BBD;
    ;
}

.map_work>ul>li {
    list-style: none;
    display: inline-block;
    width: 32%;
    text-align: center;
    margin-top: 10px;
    margin-bottom: 10px;
    cursor: pointer;
    padding: 10px 0;

}

.map_work>ul>li:hover {
    box-shadow: -10px 0px 15px #034c6a inset,
        /*左边阴影*/
        0px -10px 15px #034c6a inset,
        /*上边阴影*/
        10px 0px 15px #034c6a inset,
        /*å³è¾¹é˜´å½±*/
        0px 10px 15px #034c6a inset;
}

.map_work>ul>li .img_div {
    width: 28px;
    height: 24px;
    margin: 0 auto;

}

/* .img_div01 { */

    /* background: url(../../assets/images/map_photo.png) no-repeat; */
    /* background-position: -126px -73px; */
/* } */

/* .img_div02 {
    background: url(../../assets/images/map_photo.png) no-repeat;
    background-position: -98px -122px;

} */

.img_div_text {
    color: #FFFFff;
    margin-top: 8px;
    font-size: 13px;
}

.back_i {
    position: relative;
    top: 2px;
    margin-right: 5px;
}

.map_resList {
    width: 96%;
    margin: 0 auto;
    font-size: 13px;
    display: none;
}

.map_resList>ul>li {
    list-style: none;
    margin-top: 8px;
}

.map_resList>ul>li p {
    padding: 5px 0;
    color: #eeeeee;
}

.map_resList>ul>li a {
    margin-right: 6px;
}

.map_resList>ul>li a img {
    width: 16px;

}

.map_resList>ul>li:nth-child(2n+1) {
    background-color: #0d8bbd36;
}

/*统计分析界面样式*/
.static_top {
    width: 140px;
    height: 36px;
    line-height: 36px;
    background-color: #04425f;
    margin-bottom: 25px;
    margin-left: 1%;
    padding-left: 20px;
    border-radius: 1px;
    box-shadow: 0px 3px 3px #61d2f7;

}

.static_top i {
    width: 16px;
    height: 16px;
    display: inline-block;
    position: relative;
    /* background-image: url("../../assets/images/nav_7.png"); */
    background-repeat: no-repeat;
    margin-right: 6px;
    top: 1px;
}

.static_top span {
    color: #25f3e6;
}

.stiatic_top_con {
    background-color: #034c6a;
    width: 96%;
    margin-left: 1%;
    margin-bottom: 25px;
    padding: 10px 1%;
    border-radius: 5px;
}

.stiatic_top_con table {
    width: 100%;
    border-collapse: collapse;
}

.stiatic_top_con table td {
    color: #FFFFff;
    padding: 5px;
    font-size: 13px;
    border: 1px solid #485f849c;
}

.stiatic_top_con table .labe_td {
    color: #61d2f7;
    font-size: 14px;
    width: 120px;
    text-align: right;
}

.layui-layer-title {
    /*box-shadow: -8px 0px 10px #034c6a inset,*/
    /*8px 0px 10px #034c6a inset;*/
    background-color: #081832d4 !important;
    color: #FFFFff !important;
    border-bottom: 3px solid #4b8df8 !important;
    box-sizing: border-box;
}


.hide {
    display: none !important;
}

.xc_layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #666666;
    opacity: 0.5;
    z-index: 1000;
}

.popBox {
    position: fixed;
    left: 45%;
    top: 10%;
    background-color: #081832;
    z-index: 1001;
    width: 90%;
    max-height: 84%;
    margin-left: -40%;
    border-radius: 5px;
    font-weight: bold;
    color: #ffffff;
    height: 100%;
}

.popBox .ttBox {
    height: 30px;
    line-height: 30px;
    padding: 14px 30px;
    border-bottom: solid 1px #eef0f1;
    text-align: center;
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
}

.popBox .ttBox .tt {
    font-size: 20px;
    display: inline-block;
    height: 30px;
}

.popBox .txtBox {
    height: calc(100% - 80px);
    overflow: auto;
    padding: 10px 0;
}
.div_number{
    width: 92%;
    height: 20%;
    margin: 0 4%;
    padding-top: 20%;
    text-align: center;
    color: #00FFFF;
    font-size: 25px;
    border-bottom: 2px solid;
}
.div_flex {
    display: flex;
    padding: 10px;
    color: white;
}
.div_flex div{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    color: white;
}
.div_flex div:first-child{
    font-size: 10px;
    flex: 1 1 190px;
}
.div_flex div:last-child{
    font-size: 8px;
    flex: 1 1 90px;
}

.header_pose_e {
    position: absolute;
    left: 0;
    right: 0;
    text-align: center;
    color: #FFFFff;
    font-family: "微软雅黑" !important;
    border-radius: 10px;
    border:2px solid #009ACD;
    box-sizing: border-box;
}
.div_center_e{
    width: 74%;
    position: relative;
}
.header_center2_e{
    position: relative !important;
    top: 80px;
    margin: auto;
    width: 96%;
    height: 200px;
    line-height: 20px;
}
.header_dialog_e {
    top: 295px;
    margin: auto;
    width: 96%;
    height: 495px;
    text-align: left !important;
    padding-right: 10px;
}
.revenue_money{
    position: relative;
    width: 65%;
    height: 90px;
    top: 25%;
}

.number{
    font-family: letsgoLED;
    color : #61E3F2;
    position: absolute;
    right: 30px;
}
.yuan {
    position: absolute;
    right: 10px;
    bottom: 0;
}

.to__led-number {
    font-size: 80px;
    width: 60px;
    height: 90px;
    line-height: 80px;
    padding: 0.25rem 0;
    text-align: center;
    border: 2px solid #3C62C0;
    background-color: rgba(13,28,73,0.7);
    display: inline-block;
    vertical-align: middle;
    box-sizing: border-box;
}

.to__led-number--no {
    width: 20px;
    background: unset;
    border: none;
    height: 49px;
    font-size: 60px;
}
.to__led-number:last-child,.to__led-number:nth-last-child(2){
    font-size: 40px;
    line-height: 40px;
    height: 40px;
    vertical-align: bottom;
    border: none;
    background: none;
    width: 40px;
}

.order {
    position: absolute;
    right: 30px;
    top: 20%;
    text-align: left;
    width: 25%;
    padding-left: 20px;
    border-left: 1px solid #009ACD;
}
.order p:first-child span{
    margin-top: 10px;
    font-size: 25px;
}
.order p:nth-child(2){
    margin-top: 40px;
}
.order p:last-child{
    margin: 10px 0;
}
.eletronic{
    position: absolute;
    bottom: 5%;
    display: flex;
    justify-content: center;
    width: 70%;
}
.eletronic div{
    margin-right: 20px;
}
.map_title{
    position: absolute;
    top: 40px;
    font-size: 8px;
    left: 30px;
    padding-left: 5px;
    border-left: 15px solid #61E3F2;
    transform: scale(0.8);
    -webkit-transform:scale(0.8)
}

Map.vue




ok,入门小练习完成~

你可能感兴趣的:(Charts,vue.js)