From 4e475294999e7053036cc162de388010f6ee3132 Mon Sep 17 00:00:00 2001
From: schangxiang@126.com <schangxiang@126.com>
Date: 周三, 08 1月 2025 07:33:02 +0800
Subject: [PATCH] 202518-修复op35设备状态不对的问题
---
yiqi_screen/src/components/EquipmentRunStatus.vue | 23 ++++++++++-------------
1 files changed, 10 insertions(+), 13 deletions(-)
diff --git a/yiqi_screen/src/components/EquipmentRunStatus.vue b/yiqi_screen/src/components/EquipmentRunStatus.vue
index 8a0583c..1feb910 100644
--- a/yiqi_screen/src/components/EquipmentRunStatus.vue
+++ b/yiqi_screen/src/components/EquipmentRunStatus.vue
@@ -1,6 +1,6 @@
<template>
<!-- <img :src="require(`@/assets/images/huan.png`)" class="huan" /> -->
- <div class="box-container quan" id="echarts1"></div>
+ <div class="box-container quan" id="echarts1"></div>
</template>
<script>
@@ -66,7 +66,6 @@
this.option = {
// #00ff99 #fffff0 #0a0d7f #ffcc00 #fe0000
color: ["#00ff99", "#fffff0", "#0a0d7f", "#ffcc00", "#fe0000"],
-
legend: {
orient: "vertical",
top: "28%",
@@ -90,17 +89,15 @@
{
type: "pie",
center: ["33%", "50%"],
- radius: ["29%", "39%"],
+ radius: ["30%", "37%"],
padAngle: 5, //鐜笌鐜箣闂寸殑闂撮殭
- // avoidLabelOverlap: false,
- // left: "-30%",
- // top: "10%",
label: {
show: true,
formatter: `{d}%`,
- color: "#fff",
+ // color: "#fff",
fontSize: 11,
position: "outside",
+ color: "inherit", //缁ф壙涓婇潰鐨勯鑹�
},
labelLine: {
show: true,
@@ -111,10 +108,10 @@
borderRadius: 3,
borderColor: "transparent",
borderWidth: 10,
- shadowColor: 'rgba(0, 0, 0, 0.5)', // 闃村奖棰滆壊
- shadowBlur: 10, // 闃村奖妯$硦绋嬪害
- shadowOffsetX: 20, // 姘村钩闃村奖鍋忕Щ
- shadowOffsetY: 20 // 鍨傜洿闃村奖鍋忕Щ
+ // shadowColor: 'rgba(0, 0, 0, 0.5)', // 闃村奖棰滆壊
+ // shadowBlur: 10, // 闃村奖妯$硦绋嬪害
+ // shadowOffsetX: 20, // 姘村钩闃村奖鍋忕Щ
+ // shadowOffsetY: 20, // 鍨傜洿闃村奖鍋忕Щ
},
emphasis: {
label: {
@@ -212,10 +209,10 @@
background-repeat: no-repeat;
content: "";
width: 56px;
- height: 32px;
+ height: 29px;
z-index: -1;
/* opacity: 0.5; */
- top: 101px;
+ top: 103px;
left: 73px;
transform: scaleY(2);
}
--
Gitblit v1.9.3