From 799cb00eb72632af7017fb3b1a39c5ad00ab44d0 Mon Sep 17 00:00:00 2001 From: haoxuan <haoxuan> Date: 星期三, 01 十一月 2023 19:38:33 +0800 Subject: [PATCH] 本机设备,云端设备编码 组件开发+知识库组件开发 还有报错需要处理 --- src/views/dashboard/components/DeviceStatusInfo.vue | 23 ++++++++++++++++++----- 1 files changed, 18 insertions(+), 5 deletions(-) diff --git a/src/views/dashboard/components/DeviceStatusInfo.vue b/src/views/dashboard/components/DeviceStatusInfo.vue index 1593dc7..146ff75 100644 --- a/src/views/dashboard/components/DeviceStatusInfo.vue +++ b/src/views/dashboard/components/DeviceStatusInfo.vue @@ -71,7 +71,10 @@ </span> </span> <div class="device-info">涓昏妭鐐�</div> - <div class="device-b title-bng"><span>鑺傜偣鏁�</span> <i>120</i></div> + <div class="device-b title-bng"> + <img src="~@/assets/images/leaf.png" /> + <span>鑺傜偣鏁�</span> <i>120</i> + </div> </div> </div> </template> @@ -164,20 +167,30 @@ border-radius: 8px; } .title-bng { - height: 32px; - line-height: 32px; - background: url('../../../assets/images/number.png') no-repeat center center / cover; + width: calc(90% - 1px); + margin: 10px auto 0; + height: 29px; + line-height: 29px; + font-size: 14px; + background: url('../../../assets/images/nodeNumber.png') no-repeat center center / cover; + img { + height: 16px; + display: inline-block; + float: left; + margin: 8px 5px 0 5px; + } span { height: 32px; display: inline-block; text-align: center; display: inline-block; float: left; - margin-left: 35%; + font-weight: bold; } i { float: right; margin-right: 15px; + font-weight: bold; } } } -- Gitblit v1.8.0