![build]()
{
x2: 1,
y2: 0,
colorStops: [
- { offset: 0, color: "#E7F5A7" }, // 左側顏色
- { offset: 0.5, color: "#ebffe0" }, // 中間顏色
- { offset: 1, color: "#E7F5A7" }, // 右側顏色
+ { offset: 0, color: "#b4d12d" }, // 左側顏色
+ { offset: 0.5, color: "#E7F5A7" }, // 中間顏色
+ { offset: 1, color: "#b4d12d" }, // 右側顏色
],
};
@@ -190,9 +190,9 @@ const generateCylinderChartOption = (data) => {
symbolPosition: "end",
data: data.values[1].value,
itemStyle: {
- color: "#ebffe0",
+ color: "#E7F5A7",
borderWidth: 1,
- borderColor: "#E7F5A7",
+ borderColor: "#b4d12d",
borderType: "solid",
},
z: 12,
@@ -218,7 +218,7 @@ const generateCylinderChartOption = (data) => {
symbolPosition: "start",
data: data.values[1].value,
itemStyle: {
- color: "#E7F5A7",
+ color: "#b4d12d",
},
z: 12,
},
diff --git a/src/components/dashboard/dashboardStat.vue b/src/components/dashboard/dashboardStat.vue
index 9b0823e..6083761 100644
--- a/src/components/dashboard/dashboardStat.vue
+++ b/src/components/dashboard/dashboardStat.vue
@@ -21,7 +21,7 @@ const props = defineProps({
-
![icon]()
+
diff --git a/src/components/dashboard/dashboardTag.vue b/src/components/dashboard/dashboardTag.vue
index eadbb97..745d495 100644
--- a/src/components/dashboard/dashboardTag.vue
+++ b/src/components/dashboard/dashboardTag.vue
@@ -93,13 +93,19 @@ const handleClick = (ord) => {
.card {
box-shadow: 0 20px 27px rgb(0 0 0 / 5%);
}
+
.inner-card {
background-color: #69b0cf;
}
+
+.inner-card:hover {
+ opacity: 0.75;
+}
+
h5 {
margin: 0;
font-weight: 700;
- font-size: 33px;
+ font-size: 30px;
color: #141414;
}
diff --git a/src/components/forge/Forge.vue b/src/components/forge/Forge.vue
index d5e35bc..6db6cf2 100644
--- a/src/components/forge/Forge.vue
+++ b/src/components/forge/Forge.vue
@@ -52,7 +52,7 @@ const loadModel = (filePath) => {
onMounted(async () => {
console.log("Forge 加載");
await initViewer(forgeDom.value);
- const filePath = `${FILE_BASEURL}/file/UI_images/build/3D/0.svf`;
+ const filePath = `${FILE_BASEURL}/UI_images/build/3D/0.svf`;
loadModel(filePath);
});
diff --git a/src/components/navbar/LeftSidebar.vue b/src/components/navbar/LeftSidebar.vue
index a34a871..65343dd 100644
--- a/src/components/navbar/LeftSidebar.vue
+++ b/src/components/navbar/LeftSidebar.vue
@@ -65,9 +65,24 @@ watch(
:key="item.key"
@click="handleClick(item.ord)"
>
- {{ item.label }}
+
![Icon]()
+
{{ item.label }}
-
+
+
+
+ {{ item.label }}
+
.ant-menu-title-content,
+.sidebarMenu .ant-menu-item > .ant-menu-title-content {
+ display: flex;
+ align-items: center;
+ gap: 4px;
+}
+
.sidebarMenu .ant-menu-submenu-selected > .ant-menu-submenu-title {
color: #fff;
}
+
+.sidebarMenu .ant-menu-submenu-title:hover,
.sidebarMenu .ant-menu-item:hover {
background-color: #e7f5a7 !important;
}
+
+.sidebarMenu .ant-menu-submenu-title:hover img,
+.sidebarMenu .ant-menu-item:hover img {
+ filter: brightness(0);
+}
+
.sidebarMenu .ant-menu-item-selected {
background-color: #e7f5a7 !important;
color: #333 !important;
}
+
+.sidebarMenu .ant-menu-item-selected img {
+ filter: brightness(0);
+}
diff --git a/src/components/navbar/NavAlarm.vue b/src/components/navbar/NavAlarm.vue
index fab77e8..98f7d60 100644
--- a/src/components/navbar/NavAlarm.vue
+++ b/src/components/navbar/NavAlarm.vue
@@ -56,7 +56,7 @@ onBeforeUnmount(() => {
-
+
告警
diff --git a/src/components/navbar/NavWeather.vue b/src/components/navbar/NavWeather.vue
index acbed18..e672ab3 100644
--- a/src/components/navbar/NavWeather.vue
+++ b/src/components/navbar/NavWeather.vue
@@ -1,21 +1,24 @@
diff --git a/src/components/navbar/Navbar.vue b/src/components/navbar/Navbar.vue
index 90a0eb6..6e98306 100644
--- a/src/components/navbar/Navbar.vue
+++ b/src/components/navbar/Navbar.vue
@@ -72,7 +72,7 @@ const userList = computed(() => niagaraStore.userList?.children || []);
watch(
() => route.query.pagename,
(newPagename) => {
- activePageName.value = newPagename || "home" ; // 更新
+ activePageName.value = newPagename || "home"; // 更新
},
{
immediate: true,
@@ -89,7 +89,7 @@ watch(
}}
-