|
|
@@ -36,10 +36,7 @@
|
|
|
>
|
|
|
<view class="device-header">
|
|
|
<view class="device-info">
|
|
|
- <text class="device-name">
|
|
|
- {{ device.name }}
|
|
|
- <text v-if="device.hasPa" class="pa-badge-list">PA</text>
|
|
|
- </text>
|
|
|
+ <text class="device-name">{{ device.name }}</text>
|
|
|
<view class="device-meta">
|
|
|
<text class="device-id">ID: {{ device.shortId }}</text>
|
|
|
<view class="device-status" :style="getDeviceStatusStyle(getDeviceStatusValue(device))">
|
|
|
@@ -445,24 +442,29 @@ const getStatusValue = (filterIndex) => {
|
|
|
min-width: 0;
|
|
|
}
|
|
|
|
|
|
-.device-name {
|
|
|
+.device-name-wrap {
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ margin-bottom: 10rpx;
|
|
|
+}
|
|
|
+
|
|
|
+.device-name-text {
|
|
|
font-size: 30rpx;
|
|
|
font-weight: 600;
|
|
|
color: #1A1A1A;
|
|
|
- display: block;
|
|
|
- margin-bottom: 10rpx;
|
|
|
+ flex-shrink: 0;
|
|
|
}
|
|
|
|
|
|
.pa-badge-list {
|
|
|
- display: inline-block;
|
|
|
- margin-left: 10rpx;
|
|
|
+ margin-left: 8rpx;
|
|
|
padding: 2rpx 10rpx;
|
|
|
background: #C6171E;
|
|
|
color: #FFFFFF;
|
|
|
border-radius: 6rpx;
|
|
|
font-size: 20rpx;
|
|
|
font-weight: 700;
|
|
|
- vertical-align: middle;
|
|
|
+ line-height: 1.4;
|
|
|
+ flex-shrink: 0;
|
|
|
}
|
|
|
|
|
|
.device-meta {
|