From fb89f71e5f56f9e02853c206154093af9b701511 Mon Sep 17 00:00:00 2001 From: liuying <1427574514@qq.com> Date: 周三, 30 10月 2024 13:30:33 +0800 Subject: [PATCH] 大屏整改 --- yiqi_screen/src/components/ProdlineHealthy.vue | 14 +++++++++++--- yiqi_screen/src/components/ProductionStatistics.vue | 10 ++++++---- yiqi_screen/README.md | 4 ++++ 3 files changed, 21 insertions(+), 7 deletions(-) diff --git a/yiqi_screen/README.md b/yiqi_screen/README.md index 8c21b67..e296c54 100644 --- a/yiqi_screen/README.md +++ b/yiqi_screen/README.md @@ -22,3 +22,7 @@ ### Customize configuration See [Configuration Reference](https://cli.vuejs.org/config/). + + +鍓嶇寮�鍙戝垎杈ㄧ巼锛�1920x1080 +鐜板満鍒嗚鲸鐜囦笉鏄�1920x1080锛寈杞磋鎷変几浜�2鍊嶏紝鐢变簬涓嶅湪鐜板満锛屾棤娉曟煡鎵惧叿浣撳儚绱犲�硷紝鎵�浠ュ彧鑳芥寜鐓�1920x1080鐨勫垎杈ㄧ巼杩涜璁捐銆� \ No newline at end of file diff --git a/yiqi_screen/src/components/ProdlineHealthy.vue b/yiqi_screen/src/components/ProdlineHealthy.vue index f40bab0..5459b18 100644 --- a/yiqi_screen/src/components/ProdlineHealthy.vue +++ b/yiqi_screen/src/components/ProdlineHealthy.vue @@ -17,7 +17,7 @@ this.option = { legend: { orient: "vertical", - bottom: '10%', + bottom: '30%', right: '6%', textStyle:{ color:'#fff' @@ -41,8 +41,10 @@ ], }, radar: { - center:['43%','55%'], - radius:'65%', + // center:['43%','55%'], + center: ["33%", "50%"], + // radius:'65%', + radius:'30%', indicator: [ { name: "浜�", max: 100, color: "#fff" }, { name: "鐜�", max: 100, color: "#fff" }, @@ -165,4 +167,10 @@ </script> <style> + #echarts2 { + width: 2.89rem; + height: 2.6rem; + transform: scaleY(2); + /* border: 1px solid red; */ + } </style> \ No newline at end of file diff --git a/yiqi_screen/src/components/ProductionStatistics.vue b/yiqi_screen/src/components/ProductionStatistics.vue index 65d8a59..02da441 100644 --- a/yiqi_screen/src/components/ProductionStatistics.vue +++ b/yiqi_screen/src/components/ProductionStatistics.vue @@ -59,7 +59,8 @@ { name: "Access From", type: "pie", - radius: ["25%", "40%"], + // radius: ["25%", "40%"], + radius: ["33%", "40%"],//鐜彉缁� center: ["26%", "47%"], avoidLabelOverlap: false, label: { @@ -74,7 +75,7 @@ scale: false, label: { show: true, - fontSize: 14, + fontSize: 15, fontWeight: "normal", }, }, @@ -91,7 +92,8 @@ { name: "Access From", type: "pie", - radius: ["25%", "40%"], + // radius: ["25%", "40%"], + radius: ["33%", "40%"],//鐜彉缁� center: ["74%", "47%"], avoidLabelOverlap: false, label: { @@ -110,7 +112,7 @@ scale: false, label: { show: true, - fontSize: 14, //楗煎浘涓棿鐨勫瓧浣撳ぇ灏� + fontSize: 15, //楗煎浘涓棿鐨勫瓧浣撳ぇ灏� fontWeight: "normal", }, }, -- Gitblit v1.9.3