拖旺项目:聊城公交辅助决策系统
master
2022-04-29 941f6f70206d33c3f507c092c32fc5647a240c37
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
<template>
    <div class="in-box">
        <div class="header">
            <div class="in-top-box flex ju-sb align-c">
                <div class="header-title-i">车辆数量:{{clname}}</div>
                <div class="flex">
                    <div class="flex align-c"></div>
                    <div class="header-temp"></div>
                    <div class="flex align-c">
                        <img class="close-img-size" src="../../assets/map/icon_close_s@2x.png" alt="" @click="closediv">
                    </div>
                </div>
            </div>
        </div>
        <!-- <div class="container-info  color-white ">
            <div class="flex warp mt20">
                <div class="flex  item-info">
                    <div class="flex" >
                        <img class="img-size" src="../../assets/map/icon_shishikeliu.png" alt="">
                        <div class="divtext">
                            <div class="divnumber">{{typeof form.sumPassengerFlow == "number" ? form.sumPassengerFlow : '-'}}</div>
                            <div>实际客流</div>
                        </div>
                    </div>
 
                </div>
                <div class="flex  item-info">
                    <div class="flex" >
                        <img class="img-size" src="../../assets/map/icon_zuorikeliu.png" alt="">
                        <div class="divtext">
                            <div class="divnumber">{{typeof form.sumLine == "number" ? form.sumLine : '-'}}</div>
                            <div>昨日客流</div>
                        </div>
                    </div>
 
                </div>
            </div>
        </div> -->
 
    </div>
</template>
<script>
    import gauge1 from '../../components/echart/gauge1.vue'
    export default {
        name: 'cheliangcircleinfo',
        props: {
            data1: {
                type:Object,
                default(){
                    return{}
                }
            }
        },
        data() {
            return {
                show:false,
                clname: "",
                form: {
                    "companyId": 661,
                    "companyName": "横琴分公司",
                    "longitude": 113.559449,
                    "latitude": 22.273125,
                    "sumPassengerFlow": 5,
                    "sumLine": 62,
                    "sumVehicle": 190,
                    "sumVehicleMileage": null,
                    "sumDriver": 0,
                }
            }
        },
        components:{
            gauge1
        },
 
        methods: {
            getSelectDetailByName(params) {
            },
             closediv(){
                this.$emit("closediv","cheliangcircle")
            }
        },
        mounted() {
        },
        watch: {
            "$store.state.selAttr": function(newVal,oldVal){
            if(newVal.visa && newVal.type == "cheliangcircle"){
                this.clname = newVal.value.split(",").length
                this.getSelectDetailByName(newVal.value)
            }
        }
 
    }
    }
</script>
<style scoped>
    .in-box{
        width: 536px;
        height: 40px;
        opacity: 0.8;
        background: linear-gradient(180deg,#06203f, #08141c);
        border: 2px solid #2a488a;
    }
    .header{width:100%;height:44px;background:url("../../assets/png/header_bg_info.png") no-repeat center/cover;}
    .in-top-box{width:90%;height:34px; margin:0 auto;}
    .header-title-i{color:#333;font-weight: 600;font-size:16px;}
    .small-p{color:#00f09b;font-size:14px;}
    .more-img-size{width:12px;height:12px}
    .container-info{width:460px;margin:15px auto 0;}
    .item-info{width:33%;text-align: center;position:relative}
    .img-size{width:48px;height:48px;}
    .divtext {padding-left: 10px; text-align: left;}
    .divnumber {font-family:'Digital';font-size: 16px;color:aqua}
    .line-fg{height: 1px;opacity: 0.4;border: 1px solid #2a4a8e;}
    .title-b{position: absolute;bottom:0;left:0;right:0;margin:0 auto;font-size:12px;}
 
</style>