diff --git a/.env.development b/.env.development index a76eccb..1397c6e 100644 --- a/.env.development +++ b/.env.development @@ -3,9 +3,9 @@ VITE_CLI_PORT = 8080 VITE_SERVER_PORT = 8888 VITE_BASE_API = /api VITE_FILE_API = /api -# VITE_BASE_PATH = http://192.168.1.9:8888 +VITE_BASE_PATH = http://192.168.1.9:8888 # VITE_BASE_PATH = http://192.168.110.98:8888 -VITE_BASE_PATH = https://www.xingoil.com/api +# VITE_BASE_PATH = https://www.xingoil.com/api VITE_POSITION = open VITE_EDITOR = code // VITE_EDITOR = webstorm 如果使用webstorm开发且要使用dom定位到代码行功能 请先自定添加 webstorm到环境变量 再将VITE_EDITOR值修改为webstorm diff --git a/index.html b/index.html index a53ed0a..2e173de 100644 --- a/index.html +++ b/index.html @@ -4,17 +4,12 @@ -
基础信息
设备号:
{{ device?.gatewayId || '未设置' }}
@@ -244,7 +202,9 @@
border: 1px solid rgba(0, 212, 255, 0.22);
border-radius: 16px;
background: linear-gradient(135deg, rgba(9, 24, 48, 0.88), rgba(5, 16, 32, 0.74));
- box-shadow: inset 0 0 22px rgba(0, 212, 255, 0.06), 0 12px 28px rgba(0, 0, 0, 0.22);
+ box-shadow:
+ inset 0 0 22px rgba(0, 212, 255, 0.06),
+ 0 12px 28px rgba(0, 0, 0, 0.22);
.title {
font-size: 17px;
@@ -276,7 +236,7 @@
padding-left: 25px;
// flex-direction: column;
gap: 40px;
- > div {
+ > .item {
display: flex;
flex-direction: column;
width: 30%;
diff --git a/src/view/masterStation/equipment/components/detail/components/trend/index.vue b/src/view/masterStation/equipment/components/detail/components/trend/index.vue
index 7c62a71..1abccf6 100644
--- a/src/view/masterStation/equipment/components/detail/components/trend/index.vue
+++ b/src/view/masterStation/equipment/components/detail/components/trend/index.vue
@@ -530,7 +530,9 @@
border: 1px solid rgba(0, 212, 255, 0.22);
border-radius: 16px;
background: linear-gradient(135deg, rgba(9, 24, 48, 0.88), rgba(5, 16, 32, 0.74));
- box-shadow: inset 0 0 22px rgba(0, 212, 255, 0.06), 0 12px 28px rgba(0, 0, 0, 0.22);
+ box-shadow:
+ inset 0 0 22px rgba(0, 212, 255, 0.06),
+ 0 12px 28px rgba(0, 0, 0, 0.22);
}
.left {
@@ -613,12 +615,17 @@
.ouliy {
padding: 7px 8px;
border-radius: 10px;
- transition: background 0.22s ease, color 0.22s ease, box-shadow 0.22s ease;
+ transition:
+ background 0.22s ease,
+ color 0.22s ease,
+ box-shadow 0.22s ease;
&.active {
color: var(--tech-text-strong);
background: rgba(0, 212, 255, 0.18);
- box-shadow: inset 3px 0 0 var(--tech-primary), 0 0 14px rgba(0, 212, 255, 0.14);
+ box-shadow:
+ inset 3px 0 0 var(--tech-primary),
+ 0 0 14px rgba(0, 212, 255, 0.14);
}
&:hover {
color: var(--tech-text-strong);
@@ -768,7 +775,10 @@
.chart-card {
padding: 16px;
margin-bottom: 16px;
- transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
+ transition:
+ transform 0.24s ease,
+ border-color 0.24s ease,
+ box-shadow 0.24s ease;
&:hover {
border-color: rgba(0, 212, 255, 0.5);
diff --git a/src/view/masterStation/equipment/components/detail/index.vue b/src/view/masterStation/equipment/components/detail/index.vue
index 6e8d9ce..33f7832 100644
--- a/src/view/masterStation/equipment/components/detail/index.vue
+++ b/src/view/masterStation/equipment/components/detail/index.vue
@@ -19,7 +19,6 @@