diff --git a/src/assets/images/inputs/1.png b/src/assets/images/inputs/1.png new file mode 100644 index 0000000..40b5029 Binary files /dev/null and b/src/assets/images/inputs/1.png differ diff --git a/src/assets/images/inputs/2.png b/src/assets/images/inputs/2.png new file mode 100644 index 0000000..e574c33 Binary files /dev/null and b/src/assets/images/inputs/2.png differ diff --git a/src/assets/images/inputs/3.png b/src/assets/images/inputs/3.png new file mode 100644 index 0000000..a84c7a4 Binary files /dev/null and b/src/assets/images/inputs/3.png differ diff --git a/src/assets/images/inputs/4.png b/src/assets/images/inputs/4.png new file mode 100644 index 0000000..c004d15 Binary files /dev/null and b/src/assets/images/inputs/4.png differ diff --git a/src/assets/images/inputs/5.png b/src/assets/images/inputs/5.png new file mode 100644 index 0000000..d8081c9 Binary files /dev/null and b/src/assets/images/inputs/5.png differ diff --git a/src/assets/images/inputs/6.png b/src/assets/images/inputs/6.png new file mode 100644 index 0000000..eaa725e Binary files /dev/null and b/src/assets/images/inputs/6.png differ diff --git a/src/assets/images/inputs/bg_label.png b/src/assets/images/inputs/bg_label.png new file mode 100644 index 0000000..47d29b8 Binary files /dev/null and b/src/assets/images/inputs/bg_label.png differ diff --git a/src/assets/images/inputs/bg_title.png b/src/assets/images/inputs/bg_title.png new file mode 100644 index 0000000..946a461 Binary files /dev/null and b/src/assets/images/inputs/bg_title.png differ diff --git a/src/assets/images/inputs/bg_value.png b/src/assets/images/inputs/bg_value.png new file mode 100644 index 0000000..5c61e1c Binary files /dev/null and b/src/assets/images/inputs/bg_value.png differ diff --git a/src/assets/images/inputs/partbg1.png b/src/assets/images/inputs/partbg1.png deleted file mode 100644 index 98ea6bd..0000000 Binary files a/src/assets/images/inputs/partbg1.png and /dev/null differ diff --git a/src/assets/images/inputs/partbg2.png b/src/assets/images/inputs/partbg2.png deleted file mode 100644 index 2ef3ba7..0000000 Binary files a/src/assets/images/inputs/partbg2.png and /dev/null differ diff --git a/src/assets/images/inputs/partbg3.png b/src/assets/images/inputs/partbg3.png deleted file mode 100644 index 9361746..0000000 Binary files a/src/assets/images/inputs/partbg3.png and /dev/null differ diff --git a/src/components/custom-echart-maps/index.vue b/src/components/custom-echart-maps/index.vue index 04e8e58..8649598 100644 --- a/src/components/custom-echart-maps/index.vue +++ b/src/components/custom-echart-maps/index.vue @@ -68,10 +68,8 @@ export default { } setOptions(option); - onMapClick(({ name, data }) => { - console.info('onMapClick点击区域:', name); - console.info('onMapClick关联数据:', data); - emit('click', { name, data }); + onMapClick((data) => { + emit('click', data); }); startAutoPlay({ interval: 2000, diff --git a/src/components/custom-echart-pie-3d/index.vue b/src/components/custom-echart-pie-3d/index.vue index 48bf218..6c46cdf 100644 --- a/src/components/custom-echart-pie-3d/index.vue +++ b/src/components/custom-echart-pie-3d/index.vue @@ -33,7 +33,7 @@ export default { emits: ['click'], setup(props, { emit }) { const chartRef = ref(null); - const { setOptions, getInstance, resize } = useEcharts(chartRef); + const { setOptions, getInstance, resize, onMapClick } = useEcharts(chartRef); const option = reactive({ series: [], }); @@ -59,8 +59,11 @@ export default { option.series = props.chartData; setOptions(option); resize(); - getInstance()?.off('click', onClick); - getInstance()?.on('click', onClick); + onMapClick((data) => { + emit('click', data); + }); + // getInstance()?.off('click', onClick); + // getInstance()?.on('click', onClick); } function onClick(params) { diff --git a/src/components/custom-scroll-board/index.vue b/src/components/custom-scroll-board/index.vue index e85cb37..28ef7d1 100644 --- a/src/components/custom-scroll-board/index.vue +++ b/src/components/custom-scroll-board/index.vue @@ -1,6 +1,6 @@