优化监控中心前台样式
This commit is contained in:
@@ -2,8 +2,9 @@
|
||||
<template>
|
||||
<div class="parent-container">
|
||||
<div class="ns-tree-title">
|
||||
<ns-icon name="common" size="11" style="margin-right: 3px" />
|
||||
<span>数据点位</span>
|
||||
<ns-icon name="common" size="11" style="margin-top: 10px" />
|
||||
<!-- <span>数据点位</span> -->
|
||||
<div class="title">数据点位</div>
|
||||
</div>
|
||||
|
||||
<a-select
|
||||
@@ -383,7 +384,7 @@
|
||||
deviceInfoCodes: mode.value == '0' ? checkedKeys.value : [], // 设备需要传 device_info_code
|
||||
energyQueryType: mode.value, // 0 设备 1 节点
|
||||
|
||||
nodeIds: mode.value == '1' ? checkedKeys.value : [],
|
||||
nodeIds: mode.value == '1' ? checkedKeys.value.checked : [],
|
||||
startDate: startTime,
|
||||
endDate: endTime,
|
||||
})
|
||||
@@ -647,8 +648,9 @@
|
||||
|
||||
<style lang="less" scoped>
|
||||
.ns-tree-title {
|
||||
display: flex;
|
||||
user-select: text;
|
||||
margin-bottom: 5px;
|
||||
margin-bottom: 12px;
|
||||
padding-bottom: 10px;
|
||||
padding-top: 10px;
|
||||
border-bottom: 1px solid #e9e9e9;
|
||||
@@ -690,4 +692,14 @@
|
||||
.ant-radio-button-wrapper:not(:first-child)::before {
|
||||
width: 0;
|
||||
}
|
||||
|
||||
.title {
|
||||
text-align: left;
|
||||
height: 32px;
|
||||
line-height: 32px;
|
||||
font-weight: bold;
|
||||
user-select: text;
|
||||
position: relative;
|
||||
padding-left: 9px;
|
||||
}
|
||||
</style>
|
||||
|
Reference in New Issue
Block a user