style: chartminfi组件和chartSingValue,样式调整
This commit is contained in:
@@ -6,6 +6,7 @@
|
|||||||
.alarm-info__box {
|
.alarm-info__box {
|
||||||
height: calc(100% - 40px);
|
height: calc(100% - 40px);
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
overflow: auto;
|
||||||
|
|
||||||
.box__body {
|
.box__body {
|
||||||
display: flex;
|
display: flex;
|
||||||
@@ -13,7 +14,8 @@
|
|||||||
margin-right: 30px;
|
margin-right: 30px;
|
||||||
justify-content: flex-start;
|
justify-content: flex-start;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
height: calc(100% / 9);
|
//height: calc(100% / 9);
|
||||||
|
min-height: 78px;
|
||||||
border-bottom: 1px solid #E7EAED;
|
border-bottom: 1px solid #E7EAED;
|
||||||
|
|
||||||
.body__content {
|
.body__content {
|
||||||
@@ -43,7 +45,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.content__text-box {
|
.content__text-box {
|
||||||
margin-left: 17px;
|
margin: 2px 0 2px 17px;
|
||||||
|
|
||||||
.text-box__title {
|
.text-box__title {
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
@@ -69,12 +71,12 @@
|
|||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
|
|
||||||
&>div {
|
&>div {
|
||||||
margin-bottom: 4px;
|
margin-bottom: 8px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.text__time-box {
|
.text__time-box {
|
||||||
display: flex;
|
display: flex;
|
||||||
margin-left: 20px;
|
margin-right: 8px;
|
||||||
height: 14px;
|
height: 14px;
|
||||||
|
|
||||||
.cn-icon-time2 {
|
.cn-icon-time2 {
|
||||||
@@ -125,6 +127,7 @@
|
|||||||
max-width: 150px;
|
max-width: 150px;
|
||||||
padding-left: 2px;
|
padding-left: 2px;
|
||||||
padding-right: 2px;
|
padding-right: 2px;
|
||||||
|
margin-right: 8px;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
|||||||
@@ -66,7 +66,6 @@
|
|||||||
.single-value__content {
|
.single-value__content {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
width: 200px;
|
|
||||||
padding-right: 10px;
|
padding-right: 10px;
|
||||||
|
|
||||||
.content__data {
|
.content__data {
|
||||||
@@ -488,7 +487,7 @@
|
|||||||
|
|
||||||
.content__data {
|
.content__data {
|
||||||
margin-bottom: 5px;
|
margin-bottom: 5px;
|
||||||
font-size: 12px;
|
font-size: 14px;
|
||||||
color: #333333;
|
color: #333333;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -55,7 +55,6 @@
|
|||||||
{{value.startTime ? dateFormatByAppearance(value.startTime) : '-'}}
|
{{value.startTime ? dateFormatByAppearance(value.startTime) : '-'}}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<div class="text__duration-box">
|
<div class="text__duration-box">
|
||||||
<i class="cn-icon cn-icon-time2"></i>
|
<i class="cn-icon cn-icon-time2"></i>
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
></i>
|
></i>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="single-value__content" v-if="isCommonSingleValue(type)">
|
<div class="single-value__content" style="width: 200px;" v-if="isCommonSingleValue(type)">
|
||||||
<div class="content__data">
|
<div class="content__data">
|
||||||
<span>{{
|
<span>{{
|
||||||
handleSingleValue[0] || handleSingleValue[0] === 0
|
handleSingleValue[0] || handleSingleValue[0] === 0
|
||||||
|
|||||||
Reference in New Issue
Block a user