From bfe4d278908b08b5837400bbc63f5229a8d8a433 Mon Sep 17 00:00:00 2001 From: lb Date: Mon, 14 Nov 2022 11:17:04 +0800 Subject: [PATCH] update --- src/views/EquipmentManager/mockData.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/EquipmentManager/mockData.js b/src/views/EquipmentManager/mockData.js index 8cae009..e415ddd 100644 --- a/src/views/EquipmentManager/mockData.js +++ b/src/views/EquipmentManager/mockData.js @@ -174,7 +174,7 @@ const StatusComponent = { }, render: function(h) { return h('span', { style: { display: 'flex', /** justifyContent: 'center', */ alignItems: 'center', color: '#ffffffb3' }}, [ - h('span', { style: { width: '6px', height: '6px', borderRadius: '50%', backgroundColor: this.statusColor, boxShadow: '0 0 2px 2px ' + this.statusColor, marginRight: '8px' }}, ''), + h('span', { style: { width: 'calc(6px * var(--beilv))', height: 'calc(6px * var(--beilv))', borderRadius: '50%', backgroundColor: this.statusColor, boxShadow: '0 0 2px 2px ' + this.statusColor, marginRight: 'calc(8px * var(--beilv))' }}, ''), h('span', this.statusText) ]) }