fix: 开关列表中增加定时状态。
This commit is contained in:
@@ -463,6 +463,7 @@
|
||||
<text class="switch-status" v-if="switchItem.isOpen === 1">运行中</text>
|
||||
<text class="switch-status off" v-else>已关闭</text>
|
||||
<text class="link-control-tag" v-if="switchItem.isLinkedCtrl">联动中</text>
|
||||
<text class="timing-control-tag" v-if="switchItem.isTimingCtrl">定时中</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
@@ -2540,6 +2541,15 @@ defineExpose({
|
||||
border-radius: 3px;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.timing-control-tag {
|
||||
font-size: 20px;
|
||||
color: #1589E9;
|
||||
background: rgba(21, 137, 233, 0.1);
|
||||
padding: 2px 8px;
|
||||
border-radius: 3px;
|
||||
white-space: nowrap;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user