From 10384e70225cb684529251aa60eed550f0bb5cfb Mon Sep 17 00:00:00 2001 From: duxp Date: Thu, 10 Aug 2023 10:25:15 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/main.stml | 30 ++++++++++++++++++++++++------ pages/main/set.stml | 9 ++++++++- 2 files changed, 32 insertions(+), 7 deletions(-) diff --git a/pages/main.stml b/pages/main.stml index 2190e97..99b5e54 100644 --- a/pages/main.stml +++ b/pages/main.stml @@ -7,13 +7,13 @@ v-for="item in listData" > - {{item.circuitName}}路电流: - {{item.current}}A + {{item.circuitName}}路电流: + {{item.current}}A - {{item.typeName}}: + {{item.typeName}}: - {{item.isTypeOpen === '1'?'开':'关'}} + {{item.isTypeOpen === '1'?'开':'关'}} @@ -453,7 +453,7 @@ export default { margin: 10px 0; } .inline_item{ - margin: 0 40px; + margin: 0 5px; display: flex; flex-direction: row; align-items: center; @@ -462,7 +462,25 @@ export default { font-size: 40px; font-weight: bold; color: #ffffff; - margin: 0 10px; + margin: 0 5px; + width: 340px; + text-align: left; +} +.inline_item_text_clu{ + font-size: 40px; + font-weight: bold; + color: #ffffff; + margin: 0 5px; + width: 160px; + text-align: left; +} +.inline_item_text_type{ + font-size: 40px; + font-weight: bold; + color: #ffffff; + margin: 0 5px; + width: 60px; + text-align: left; } .inline_item_circle_open{ width: 40px; diff --git a/pages/main/set.stml b/pages/main/set.stml index 6cf78dd..4baec12 100644 --- a/pages/main/set.stml +++ b/pages/main/set.stml @@ -14,7 +14,7 @@ --> - {{item.typeName}}: + {{item.typeName}}: {{item.circuitName}}路电流 @@ -240,6 +240,13 @@ export default { font-weight: bold; color: #ffffff; } + .item_label_name{ + font-size: 40px; + font-weight: bold; + color: #ffffff; + width: 200px; + text-align: left; + } .item_content{ display: flex; flex-direction: row;