13
This commit is contained in:
@@ -76,12 +76,13 @@
|
|||||||
<countup class="scenic-item__value" :end-val="trafficAiAnalyzeData.abnormalWarnings" />
|
<countup class="scenic-item__value" :end-val="trafficAiAnalyzeData.abnormalWarnings" />
|
||||||
</div>
|
</div>
|
||||||
<div class="scenic-item">
|
<div class="scenic-item">
|
||||||
<span class="scenic-item__label">已处理</span>
|
<span class="scenic-item__label">已解除</span>
|
||||||
<countup class="scenic-item__value" :end-val="trafficAiAnalyzeData.handled" />
|
<countup class="scenic-item__value" :end-val="trafficAiAnalyzeData.handled" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="flex pt-20">
|
<div class="flex pt-20">
|
||||||
<div class="box">
|
<div class="box">
|
||||||
|
<<<<<<< HEAD
|
||||||
<Title3 title="拥堵告警" />
|
<Title3 title="拥堵告警" />
|
||||||
<!-- <Line :width="760" :height="180" :data="jamlData" :xAxisData="jamXAxisData" /> -->
|
<!-- <Line :width="760" :height="180" :data="jamlData" :xAxisData="jamXAxisData" /> -->
|
||||||
|
|
||||||
@@ -89,6 +90,10 @@
|
|||||||
:series="jamlData[0].data"
|
:series="jamlData[0].data"
|
||||||
:data="jamXAxisData" :height="180" />
|
:data="jamXAxisData" :height="180" />
|
||||||
|
|
||||||
|
=======
|
||||||
|
<Title3 title="平均车速(KM/H)" />
|
||||||
|
<Line :width="760" :height="180" :data="jamlData" :xAxisData="jamXAxisData" />
|
||||||
|
>>>>>>> 7c696b91971ef42b6e755b7bd49f244dd77c25b4
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
@@ -131,7 +131,7 @@
|
|||||||
import { useRouter } from 'vue-router'
|
import { useRouter } from 'vue-router'
|
||||||
|
|
||||||
import { useScenicStore } from '@/stores/scenic'
|
import { useScenicStore } from '@/stores/scenic'
|
||||||
|
|
||||||
import { useMap } from '@/hooks/map'
|
import { useMap } from '@/hooks/map'
|
||||||
import {getPreviewUrlApi,getSpotTicketDate} from "@/api/home.js";
|
import {getPreviewUrlApi,getSpotTicketDate} from "@/api/home.js";
|
||||||
import pubSub from 'pubsub-js'
|
import pubSub from 'pubsub-js'
|
||||||
@@ -139,7 +139,7 @@ import pubSub from 'pubsub-js'
|
|||||||
const scenicStore = useScenicStore()
|
const scenicStore = useScenicStore()
|
||||||
const { initMap, addMarker, map, marker } = useMap()
|
const { initMap, addMarker, map, marker } = useMap()
|
||||||
import { useHomeStore } from '@/stores/home'
|
import { useHomeStore } from '@/stores/home'
|
||||||
|
|
||||||
const homeStore = useHomeStore()
|
const homeStore = useHomeStore()
|
||||||
let props = defineProps({
|
let props = defineProps({
|
||||||
scenicSpotId: {
|
scenicSpotId: {
|
||||||
@@ -210,7 +210,7 @@ import pubSub from 'pubsub-js'
|
|||||||
PubSub.subscribe('changeAmplify', (msg, data) => {
|
PubSub.subscribe('changeAmplify', (msg, data) => {
|
||||||
if(data&&myElement.value){
|
if(data&&myElement.value){
|
||||||
myElement.value.classList.add('coll-box');
|
myElement.value.classList.add('coll-box');
|
||||||
|
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
@@ -255,7 +255,7 @@ import pubSub from 'pubsub-js'
|
|||||||
}
|
}
|
||||||
&__left-item {
|
&__left-item {
|
||||||
position: relative;
|
position: relative;
|
||||||
width: vw(120);
|
width: vw(115);
|
||||||
height: vh(58);
|
height: vh(58);
|
||||||
padding-left: vw(10);
|
padding-left: vw(10);
|
||||||
display: flex;
|
display: flex;
|
||||||
@@ -364,7 +364,7 @@ import pubSub from 'pubsub-js'
|
|||||||
}
|
}
|
||||||
.bg {
|
.bg {
|
||||||
padding-left: vw(20);
|
padding-left: vw(20);
|
||||||
width: vw(243);
|
//width: vw(243);
|
||||||
height: vh(40);
|
height: vh(40);
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
|||||||
Reference in New Issue
Block a user