摘要: 一、地图上添加动画及箭头 <script setup> import { ref, onMounted } from 'vue'; import * as echarts from 'echarts'; import chinaMap from '../../assets/china1.json'; 阅读全文
posted @ 2025-04-19 21:56 百里屠苏top 阅读(54) 评论(0) 推荐(0)
摘要: 一、地图的引入 1.下载地图文件 https://datav.aliyun.com/portal/school/atlas/area_selector 2.新建mapchart.vue文件,并写入代码。 <script setup> import { ref,reactive,onMounted} 阅读全文
posted @ 2025-04-19 20:55 百里屠苏top 阅读(176) 评论(0) 推荐(0)
摘要: 一、模块4(测试路段) 1. 新建一个piechart.vue <template> <div ref="chart" style="width: 230px;height:230px;"></div> </template> <script> import * as echarts from 'e 阅读全文
posted @ 2025-04-19 19:36 百里屠苏top 阅读(31) 评论(0) 推荐(0)