From cfb5cd079f5a90181f2ab3e29d98819e89f2b047 Mon Sep 17 00:00:00 2001 From: NewName <1048783178@qq.com> Date: Wed, 25 Mar 2026 10:51:08 +0800 Subject: [PATCH] =?UTF-8?q?refactor(assets):=20=E9=87=8D=E6=9E=84=E5=9B=BE?= =?UTF-8?q?=E7=89=87=E8=B5=84=E6=BA=90=E8=B7=AF=E5=BE=84=E5=B9=B6=E5=88=A0?= =?UTF-8?q?=E9=99=A4=E6=97=A0=E7=94=A8=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 将图片资源从views/scada/picture/icon移动到assets/picture目录 更新相关vue文件中的图片引用路径 删除不再使用的indieScada.vue和screenTwo.vue组件 --- .../186d8522e2d6e55baa46e71faf165feb.png | Bin .../2729bbc4b984dec97dbb2d97ceb39ae6.png | Bin .../371b06b22391dea6aa6adf7fb36c7d2b.png | Bin .../456a43f4c695ebae8f2492f5e9359792.png | Bin .../633bec62b4c6d35098f06c189591135d.png | Bin .../717e7f9585dc6976e1ff767149a0a4e6.png | Bin .../b257f08f180fba833e8302c54f815ba8.png | Bin .../b4875ec42c53f353804aad374e932828.png | Bin .../bd6e38dbad522c585493ffcd53980f9d.png | Bin .../icon => assets/picture}/beijing.png | Bin .../c354ee887a2f66c387ef3cd49be905b3.png | Bin .../c73de8bc60f90ef1a6e63178f6d8f862.png | Bin .../e69137a893851fdddaf3013504487e3a.png | Bin .../ec762b3fadbea0084002b97e1b9d299d.png | Bin .../f0f06ffbc9509f233fe5b4e670416c31.png | Bin .../fd251f403f7b69f579f73f323839e2d1.png | Bin src/views/scada/picture/indieScada.vue | 416 --------- src/views/scada/picture/monitor.vue | 8 +- src/views/scada/picture/screen.vue | 32 +- src/views/scada/picture/screenTwo.vue | 787 ------------------ 20 files changed, 20 insertions(+), 1223 deletions(-) rename src/{views/scada/picture/icon => assets/picture}/186d8522e2d6e55baa46e71faf165feb.png (100%) rename src/{views/scada/picture/icon => assets/picture}/2729bbc4b984dec97dbb2d97ceb39ae6.png (100%) rename src/{views/scada/picture/icon => assets/picture}/371b06b22391dea6aa6adf7fb36c7d2b.png (100%) rename src/{views/scada/picture/icon => assets/picture}/456a43f4c695ebae8f2492f5e9359792.png (100%) rename src/{views/scada/picture/icon => assets/picture}/633bec62b4c6d35098f06c189591135d.png (100%) rename src/{views/scada/picture/icon => assets/picture}/717e7f9585dc6976e1ff767149a0a4e6.png (100%) rename src/{views/scada/picture/icon => assets/picture}/b257f08f180fba833e8302c54f815ba8.png (100%) rename src/{views/scada/picture/icon => assets/picture}/b4875ec42c53f353804aad374e932828.png (100%) rename src/{views/scada/picture/icon => assets/picture}/bd6e38dbad522c585493ffcd53980f9d.png (100%) rename src/{views/scada/picture/icon => assets/picture}/beijing.png (100%) rename src/{views/scada/picture/icon => assets/picture}/c354ee887a2f66c387ef3cd49be905b3.png (100%) rename src/{views/scada/picture/icon => assets/picture}/c73de8bc60f90ef1a6e63178f6d8f862.png (100%) rename src/{views/scada/picture/icon => assets/picture}/e69137a893851fdddaf3013504487e3a.png (100%) rename src/{views/scada/picture/icon => assets/picture}/ec762b3fadbea0084002b97e1b9d299d.png (100%) rename src/{views/scada/picture/icon => assets/picture}/f0f06ffbc9509f233fe5b4e670416c31.png (100%) rename src/{views/scada/picture/icon => assets/picture}/fd251f403f7b69f579f73f323839e2d1.png (100%) delete mode 100644 src/views/scada/picture/indieScada.vue delete mode 100644 src/views/scada/picture/screenTwo.vue diff --git a/src/views/scada/picture/icon/186d8522e2d6e55baa46e71faf165feb.png b/src/assets/picture/186d8522e2d6e55baa46e71faf165feb.png similarity index 100% rename from src/views/scada/picture/icon/186d8522e2d6e55baa46e71faf165feb.png rename to src/assets/picture/186d8522e2d6e55baa46e71faf165feb.png diff --git a/src/views/scada/picture/icon/2729bbc4b984dec97dbb2d97ceb39ae6.png b/src/assets/picture/2729bbc4b984dec97dbb2d97ceb39ae6.png similarity index 100% rename from src/views/scada/picture/icon/2729bbc4b984dec97dbb2d97ceb39ae6.png rename to src/assets/picture/2729bbc4b984dec97dbb2d97ceb39ae6.png diff --git a/src/views/scada/picture/icon/371b06b22391dea6aa6adf7fb36c7d2b.png b/src/assets/picture/371b06b22391dea6aa6adf7fb36c7d2b.png similarity index 100% rename from src/views/scada/picture/icon/371b06b22391dea6aa6adf7fb36c7d2b.png rename to src/assets/picture/371b06b22391dea6aa6adf7fb36c7d2b.png diff --git a/src/views/scada/picture/icon/456a43f4c695ebae8f2492f5e9359792.png b/src/assets/picture/456a43f4c695ebae8f2492f5e9359792.png similarity index 100% rename from src/views/scada/picture/icon/456a43f4c695ebae8f2492f5e9359792.png rename to src/assets/picture/456a43f4c695ebae8f2492f5e9359792.png diff --git a/src/views/scada/picture/icon/633bec62b4c6d35098f06c189591135d.png b/src/assets/picture/633bec62b4c6d35098f06c189591135d.png similarity index 100% rename from src/views/scada/picture/icon/633bec62b4c6d35098f06c189591135d.png rename to src/assets/picture/633bec62b4c6d35098f06c189591135d.png diff --git a/src/views/scada/picture/icon/717e7f9585dc6976e1ff767149a0a4e6.png b/src/assets/picture/717e7f9585dc6976e1ff767149a0a4e6.png similarity index 100% rename from src/views/scada/picture/icon/717e7f9585dc6976e1ff767149a0a4e6.png rename to src/assets/picture/717e7f9585dc6976e1ff767149a0a4e6.png diff --git a/src/views/scada/picture/icon/b257f08f180fba833e8302c54f815ba8.png b/src/assets/picture/b257f08f180fba833e8302c54f815ba8.png similarity index 100% rename from src/views/scada/picture/icon/b257f08f180fba833e8302c54f815ba8.png rename to src/assets/picture/b257f08f180fba833e8302c54f815ba8.png diff --git a/src/views/scada/picture/icon/b4875ec42c53f353804aad374e932828.png b/src/assets/picture/b4875ec42c53f353804aad374e932828.png similarity index 100% rename from src/views/scada/picture/icon/b4875ec42c53f353804aad374e932828.png rename to src/assets/picture/b4875ec42c53f353804aad374e932828.png diff --git a/src/views/scada/picture/icon/bd6e38dbad522c585493ffcd53980f9d.png b/src/assets/picture/bd6e38dbad522c585493ffcd53980f9d.png similarity index 100% rename from src/views/scada/picture/icon/bd6e38dbad522c585493ffcd53980f9d.png rename to src/assets/picture/bd6e38dbad522c585493ffcd53980f9d.png diff --git a/src/views/scada/picture/icon/beijing.png b/src/assets/picture/beijing.png similarity index 100% rename from src/views/scada/picture/icon/beijing.png rename to src/assets/picture/beijing.png diff --git a/src/views/scada/picture/icon/c354ee887a2f66c387ef3cd49be905b3.png b/src/assets/picture/c354ee887a2f66c387ef3cd49be905b3.png similarity index 100% rename from src/views/scada/picture/icon/c354ee887a2f66c387ef3cd49be905b3.png rename to src/assets/picture/c354ee887a2f66c387ef3cd49be905b3.png diff --git a/src/views/scada/picture/icon/c73de8bc60f90ef1a6e63178f6d8f862.png b/src/assets/picture/c73de8bc60f90ef1a6e63178f6d8f862.png similarity index 100% rename from src/views/scada/picture/icon/c73de8bc60f90ef1a6e63178f6d8f862.png rename to src/assets/picture/c73de8bc60f90ef1a6e63178f6d8f862.png diff --git a/src/views/scada/picture/icon/e69137a893851fdddaf3013504487e3a.png b/src/assets/picture/e69137a893851fdddaf3013504487e3a.png similarity index 100% rename from src/views/scada/picture/icon/e69137a893851fdddaf3013504487e3a.png rename to src/assets/picture/e69137a893851fdddaf3013504487e3a.png diff --git a/src/views/scada/picture/icon/ec762b3fadbea0084002b97e1b9d299d.png b/src/assets/picture/ec762b3fadbea0084002b97e1b9d299d.png similarity index 100% rename from src/views/scada/picture/icon/ec762b3fadbea0084002b97e1b9d299d.png rename to src/assets/picture/ec762b3fadbea0084002b97e1b9d299d.png diff --git a/src/views/scada/picture/icon/f0f06ffbc9509f233fe5b4e670416c31.png b/src/assets/picture/f0f06ffbc9509f233fe5b4e670416c31.png similarity index 100% rename from src/views/scada/picture/icon/f0f06ffbc9509f233fe5b4e670416c31.png rename to src/assets/picture/f0f06ffbc9509f233fe5b4e670416c31.png diff --git a/src/views/scada/picture/icon/fd251f403f7b69f579f73f323839e2d1.png b/src/assets/picture/fd251f403f7b69f579f73f323839e2d1.png similarity index 100% rename from src/views/scada/picture/icon/fd251f403f7b69f579f73f323839e2d1.png rename to src/assets/picture/fd251f403f7b69f579f73f323839e2d1.png diff --git a/src/views/scada/picture/indieScada.vue b/src/views/scada/picture/indieScada.vue deleted file mode 100644 index f50ef96..0000000 --- a/src/views/scada/picture/indieScada.vue +++ /dev/null @@ -1,416 +0,0 @@ - - - - - diff --git a/src/views/scada/picture/monitor.vue b/src/views/scada/picture/monitor.vue index 5b21340..9f53963 100644 --- a/src/views/scada/picture/monitor.vue +++ b/src/views/scada/picture/monitor.vue @@ -184,7 +184,7 @@
设备布局 @@ -413,7 +413,7 @@ export default { flex-direction: column; height: 100vh; font-family: Arial, sans-serif; - background: url('./icon/b4875ec42c53f353804aad374e932828.png') no-repeat center !important; + background: url('../../../assets/picture/b4875ec42c53f353804aad374e932828.png') no-repeat center !important; background-size: cover !important; color: #ffffff; overflow: hidden; @@ -446,7 +446,7 @@ export default { } .device-sidebar { - background: url('./icon/c73de8bc60f90ef1a6e63178f6d8f862.png') no-repeat center; + background: url('../../../assets/picture/c73de8bc60f90ef1a6e63178f6d8f862.png') no-repeat center; background-size: cover; padding: 15px; display: flex; @@ -628,7 +628,7 @@ export default { } .maintenance-panel { - background: url('./icon/f0f06ffbc9509f233fe5b4e670416c31.png') no-repeat center; + background: url('../../../assets/picture/f0f06ffbc9509f233fe5b4e670416c31.png') no-repeat center; background-size: cover; padding: 15px; display: grid; diff --git a/src/views/scada/picture/screen.vue b/src/views/scada/picture/screen.vue index ec8595b..9183950 100644 --- a/src/views/scada/picture/screen.vue +++ b/src/views/scada/picture/screen.vue @@ -183,7 +183,7 @@
设备布局 @@ -446,7 +446,7 @@ export default { display: flex; flex-direction: column; font-family: Arial, sans-serif; - background: url('./icon/b4875ec42c53f353804aad374e932828.png') no-repeat center center; + background: url('../../../assets/picture/b4875ec42c53f353804aad374e932828.png') no-repeat center center; background-size: 100% 100%; color: #ffffff; overflow: hidden; @@ -473,7 +473,7 @@ export default { } .device-sidebar { - background: url('./icon/c73de8bc60f90ef1a6e63178f6d8f862.png') no-repeat center; + background: url('../../../assets/picture/c73de8bc60f90ef1a6e63178f6d8f862.png') no-repeat center; background-size: 100% 100%; padding: 15px; display: flex; @@ -675,7 +675,7 @@ export default { transform: scale(1.5); top: 45%; /* 相对于父元素高度的百分比 */ left: 16%; /* 相对于父元素宽度的百分比 */ - background-image: url('./icon/371b06b22391dea6aa6adf7fb36c7d2b.png'); + background-image: url('../../../assets/picture/371b06b22391dea6aa6adf7fb36c7d2b.png'); position: absolute; /* 确保使用绝对定位,父元素需设置相对定位 */ /* 可选:防止标记点变形 */ @@ -692,7 +692,7 @@ export default { transform: scale(1.5); top: 45%; /* 相对于父元素高度的百分比 */ left: 24.6%; /* 相对于父元素宽度的百分比 */ - background-image: url('./icon/371b06b22391dea6aa6adf7fb36c7d2b.png'); + background-image: url('../../../assets/picture/371b06b22391dea6aa6adf7fb36c7d2b.png'); position: absolute; /* 确保使用绝对定位,父元素需设置相对定位 */ /* 可选:防止标记点变形 */ @@ -709,7 +709,7 @@ export default { transform: scale(1.5); top: 45%; /* 相对于父元素高度的百分比 */ left: 33.5%; /* 相对于父元素宽度的百分比 */ - background-image: url('./icon/371b06b22391dea6aa6adf7fb36c7d2b.png'); + background-image: url('../../../assets/picture/371b06b22391dea6aa6adf7fb36c7d2b.png'); position: absolute; /* 确保使用绝对定位,父元素需设置相对定位 */ /* 可选:防止标记点变形 */ @@ -726,7 +726,7 @@ export default { transform: scale(1.5); top: 42%; /* 相对于父元素高度的百分比 */ left: 42.6%; /* 相对于父元素宽度的百分比 */ - background-image: url('./icon/371b06b22391dea6aa6adf7fb36c7d2b.png'); + background-image: url('../../../assets/picture/371b06b22391dea6aa6adf7fb36c7d2b.png'); position: absolute; /* 确保使用绝对定位,父元素需设置相对定位 */ /* 可选:防止标记点变形 */ @@ -743,7 +743,7 @@ export default { transform: scale(1.5); top: 55%; /* 相对于父元素高度的百分比 */ left: 26.6%; /* 相对于父元素宽度的百分比 */ - background-image: url('./icon/633bec62b4c6d35098f06c189591135d.png'); + background-image: url('../../../assets/picture/633bec62b4c6d35098f06c189591135d.png'); position: absolute; /* 确保使用绝对定位,父元素需设置相对定位 */ /* 可选:防止标记点变形 */ @@ -760,7 +760,7 @@ export default { transform: scale(1.5); top: 55%; /* 相对于父元素高度的百分比 */ left: 35.6%; /* 相对于父元素宽度的百分比 */ - background-image: url('./icon/633bec62b4c6d35098f06c189591135d.png'); + background-image: url('../../../assets/picture/633bec62b4c6d35098f06c189591135d.png'); position: absolute; /* 确保使用绝对定位,父元素需设置相对定位 */ /* 可选:防止标记点变形 */ @@ -776,7 +776,7 @@ export default { transform: scale(1.5); top: 55%; /* 相对于父元素高度的百分比 */ left: 44.6%; /* 相对于父元素宽度的百分比 */ - background-image: url('./icon/633bec62b4c6d35098f06c189591135d.png'); + background-image: url('../../../assets/picture/633bec62b4c6d35098f06c189591135d.png'); position: absolute; /* 确保使用绝对定位,父元素需设置相对定位 */ /* 可选:防止标记点变形 */ @@ -793,7 +793,7 @@ export default { transform: scale(1.5); top: 55%; /* 相对于父元素高度的百分比 */ left: 17.6%; /* 相对于父元素宽度的百分比 */ - background-image: url('./icon/633bec62b4c6d35098f06c189591135d.png'); + background-image: url('../../../assets/picture/633bec62b4c6d35098f06c189591135d.png'); position: absolute; /* 确保使用绝对定位,父元素需设置相对定位 */ /* 可选:防止标记点变形 */ @@ -810,7 +810,7 @@ export default { transform: scale(1.5); top: 10%; /* 相对于父元素高度的百分比 */ left: 64%; /* 相对于父元素宽度的百分比 */ - background-image: url('./icon/b257f08f180fba833e8302c54f815ba8.png'); + background-image: url('../../../assets/picture/b257f08f180fba833e8302c54f815ba8.png'); position: absolute; /* 确保使用绝对定位,父元素需设置相对定位 */ /* 可选:防止标记点变形 */ @@ -827,7 +827,7 @@ export default { transform: scale(1.5); top: 24%; /* 相对于父元素高度的百分比 */ left: 64.7%; /* 相对于父元素宽度的百分比 */ - background-image: url('./icon/b257f08f180fba833e8302c54f815ba8.png'); + background-image: url('../../../assets/picture/b257f08f180fba833e8302c54f815ba8.png'); position: absolute; /* 确保使用绝对定位,父元素需设置相对定位 */ /* 可选:防止标记点变形 */ @@ -844,7 +844,7 @@ export default { transform: scale(1.5); top: 39%; /* 相对于父元素高度的百分比 */ left: 65.3%; /* 相对于父元素宽度的百分比 */ - background-image: url('./icon/b257f08f180fba833e8302c54f815ba8.png'); + background-image: url('../../../assets/picture/b257f08f180fba833e8302c54f815ba8.png'); position: absolute; /* 确保使用绝对定位,父元素需设置相对定位 */ /* 可选:防止标记点变形 */ @@ -860,7 +860,7 @@ export default { transform: scale(1.5); top: 68%; /* 相对于父元素高度的百分比 */ left: 15%; /* 相对于父元素宽度的百分比 */ - background-image: url('./icon/2729bbc4b984dec97dbb2d97ceb39ae6.png'); + background-image: url('../../../assets/picture/2729bbc4b984dec97dbb2d97ceb39ae6.png'); position: absolute; /* 确保使用绝对定位,父元素需设置相对定位 */ /* 可选:防止标记点变形 */ @@ -896,7 +896,7 @@ export default { } .maintenance-panel { - background: url('./icon/f0f06ffbc9509f233fe5b4e670416c31.png') no-repeat center; + background: url('../../../assets/picture/f0f06ffbc9509f233fe5b4e670416c31.png') no-repeat center; background-size: 100% 100%; padding: 15px; display: grid; diff --git a/src/views/scada/picture/screenTwo.vue b/src/views/scada/picture/screenTwo.vue deleted file mode 100644 index bccb874..0000000 --- a/src/views/scada/picture/screenTwo.vue +++ /dev/null @@ -1,787 +0,0 @@ - - - - - \ No newline at end of file