新版式

This commit is contained in:
duanliang
2025-11-26 23:36:37 +08:00
parent d05a0f645e
commit b7f4cca716
2 changed files with 7 additions and 3 deletions

View File

@@ -151,7 +151,7 @@
<style lang="scss" scoped>
.age {
width: vw(240);
width: vw(260);
height: vh(800);
}
</style>

View File

@@ -193,7 +193,11 @@ import pubSub from 'pubsub-js'
const carBearXAxisData = computed(() => {
return scenicStore.stopCarData.dataList.map((item) => item.name)
})
const carTotal = computed(() => {
return dataLists.value.reduce((pre, cur) => {
return pre + parseInt(cur.count)
}, 0)
})
const garageList = computed(() => {
return scenicStore.stopCarData.headList
})
@@ -202,7 +206,7 @@ import pubSub from 'pubsub-js'
watch(
() => scenicStore.stopCarData.dataLists,
(val) => {
// console.log(val.length, 'watch 监听')
console.log(val.length, 'dataListsdataListsdataLists')
if (val.length) {
dataLists.value = val
} else {