diff --git a/src/assets/images/hygiene/jd.png b/src/assets/images/hygiene/jd.png new file mode 100644 index 0000000..361f647 Binary files /dev/null and b/src/assets/images/hygiene/jd.png differ diff --git a/src/view/echarts_education/pieRose.vue b/src/view/echarts_education/pieRose.vue index d20b300..3d2eacf 100644 --- a/src/view/echarts_education/pieRose.vue +++ b/src/view/echarts_education/pieRose.vue @@ -3,11 +3,24 @@ diff --git a/src/view/echarts_hygiene/eP3.vue b/src/view/echarts_hygiene/eP3.vue index 7a3ebd5..981592d 100644 --- a/src/view/echarts_hygiene/eP3.vue +++ b/src/view/echarts_hygiene/eP3.vue @@ -1,7 +1,7 @@ @@ -27,7 +27,7 @@ let option = { }, grid: { - top: "20%", + top: "10%", left: "1%", right: "10%", bottom: "0%", @@ -41,7 +41,7 @@ let option = { formatter: function (params) { var str = ""; // 最终拼接成的字符串 var paramsLen = params.length; // 获取每项文字的个数 - var len = 4; // 每行能显示的字的个数(根据实际情况自己设置) + var len = 5; // 每行能显示的字的个数(根据实际情况自己设置) var rowNumber = Math.ceil(paramsLen / len); // 换行的话,需要显示几行,向上取整 if (paramsLen > len) { //大于设定的len就换行,不大于就不变化 @@ -67,7 +67,7 @@ let option = { textStyle: { color: "#ccc", }, - // rotate: 60, + rotate: 30, }, data: data1, }, diff --git a/src/view/echarts_hygiene/eP4.vue b/src/view/echarts_hygiene/eP4.vue index 83250eb..37897c8 100644 --- a/src/view/echarts_hygiene/eP4.vue +++ b/src/view/echarts_hygiene/eP4.vue @@ -11,7 +11,6 @@ const chart = ref(); // 创建DOM引用 const datas = { value: 92.96, - text: "留 守 儿 童" } let option = { diff --git a/src/view/echarts_hygiene/eP5.vue b/src/view/echarts_hygiene/eP5.vue index 7540f39..f220929 100644 --- a/src/view/echarts_hygiene/eP5.vue +++ b/src/view/echarts_hygiene/eP5.vue @@ -1,7 +1,7 @@ @@ -41,7 +41,7 @@ let option = { formatter: function (params) { var str = ""; // 最终拼接成的字符串 var paramsLen = params.length; // 获取每项文字的个数 - var len = 5; // 每行能显示的字的个数(根据实际情况自己设置) + var len = 6; // 每行能显示的字的个数(根据实际情况自己设置) var rowNumber = Math.ceil(paramsLen / len); // 换行的话,需要显示几行,向上取整 if (paramsLen > len) { //大于设定的len就换行,不大于就不变化 @@ -80,7 +80,7 @@ let option = { splitLine: { show: true, lineStyle: { - color: "rgba(226, 226, 226, 0.3)", + color: "rgba(226, 226, 226, 0.2)", width: 1, }, }, diff --git a/src/view/echarts_hygiene/pie.vue b/src/view/echarts_hygiene/pie.vue index e743c70..786f828 100644 --- a/src/view/echarts_hygiene/pie.vue +++ b/src/view/echarts_hygiene/pie.vue @@ -1,5 +1,5 @@