5.1
This commit is contained in:
@@ -3,7 +3,9 @@
|
||||
<div class="flex">
|
||||
<div class="box mr-8">
|
||||
<Title1 title="排队信息" />
|
||||
<div class="count-box flex justify-between">
|
||||
<div @click="handleLineUp()"
|
||||
style="cursor: pointer;"
|
||||
class="count-box flex justify-between">
|
||||
<count-item
|
||||
label="今日入园人数"
|
||||
:count="scenicStore.scenicQueueData.header.jrjdrs"
|
||||
@@ -308,12 +310,13 @@
|
||||
:shipList="scenicStore.carShipData.ship.list"
|
||||
/>
|
||||
<traMap :longitude="longitude" :latitude="latitude" v-model="traMapShow"></traMap>
|
||||
<all-list :events="scenicSpotId" v-model="allShow" />
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import countup from 'vue-countup-v3'
|
||||
import PubSub from 'pubsub-js'
|
||||
|
||||
import allList from './allList'
|
||||
import carIcon from '@/assets/images/car.png'
|
||||
import carStopIcon from '@/assets/images/car-stop.png'
|
||||
import carOfflineIcon from '@/assets/images/car-offline.png'
|
||||
@@ -330,10 +333,24 @@
|
||||
import { useRouter } from 'vue-router'
|
||||
import { useMap } from '@/hooks/map'
|
||||
import { useScenicStore } from '@/stores/scenic'
|
||||
let props = defineProps({
|
||||
scenicSpotId: {
|
||||
type: String,
|
||||
default: () => ''
|
||||
}
|
||||
})
|
||||
const router = useRouter()
|
||||
const scenicStore = useScenicStore()
|
||||
const { initMap, addMarker, marker } = useMap()
|
||||
|
||||
//景区排队
|
||||
let allShow = ref(false)
|
||||
let events = ref({})
|
||||
|
||||
const handleLineUp = (item)=>{
|
||||
allShow.value = true
|
||||
events.value = item
|
||||
console.log(item,7777777)
|
||||
}
|
||||
let show = ref(false)
|
||||
let scenicChange = null
|
||||
let carOverlays = ref([])
|
||||
|
||||
Reference in New Issue
Block a user