From 4b040b2d12c09369b1793b79bc8cae99fe236203 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E4=B8=B9?= <> Date: Thu, 20 Feb 2025 18:14:50 +0800 Subject: [PATCH] . --- pages/dev-ops/valve.vue | 133 +++++++++++++++++++++++++++------------- static/scss/app.css | 8 ++- 2 files changed, 95 insertions(+), 46 deletions(-) diff --git a/pages/dev-ops/valve.vue b/pages/dev-ops/valve.vue index cced632..76e1dbb 100644 --- a/pages/dev-ops/valve.vue +++ b/pages/dev-ops/valve.vue @@ -4,7 +4,53 @@ - + + + + + {{ item.wo.showName }}:{{ item.device.deviceCode }} + + + + + + + + + + + + 电量: + {{ dc.dataObj[item.device.deviceCode]?.adc.b || '-' }}% + + + 频段:{{ dataObj[item.device.deviceCode]?.lf || item.device.deviceExtendValve.rolaFrequency}} + + + 软/硬件版本: + {{ dataObj[item.device.deviceCode]?.sv || item.device.softVer}} / + {{ dataObj[item.device.deviceCode]?.dv || item.device.deviceVersion }} + + + 压力:{{ dc.dataObj[item.device.deviceCode]?.adc.p || '-' }} + + + + + 重启 + 修改频段 + 获取配置 + + + + + + + @@ -70,10 +117,10 @@ - + @@ -248,48 +295,48 @@ \ No newline at end of file diff --git a/static/scss/app.css b/static/scss/app.css index 0bcbcf0..47c613e 100644 --- a/static/scss/app.css +++ b/static/scss/app.css @@ -1,3 +1,5 @@ +em{font-style: normal;} + /* 表单 */ .uni-forms { background-color: #fff !important; @@ -199,11 +201,11 @@ } .cards-title view view { - font-size: 0.8rem; + font-size: 15px;margin-right: 10px; } .cards-title view .text { - font-size: 0.875rem; + font-size: 16px; margin-right: 10px; color: #39ac4f; font-weight: bold; @@ -226,7 +228,7 @@ /* 文字列表 */ .txt-list {display: flex;} -.txt-list .list2,.txt-list .list1 { +.txt-list .list2,.txt-list .list1 {font-size: 14px; color: #666;line-height: 24px; flex: 1 1 0%;display: flex; flex-wrap: wrap;}