bug修复

This commit is contained in:
renpy 2023-07-25 09:45:07 +08:00
parent 8a2d62b33a
commit cdf1a5d066
4 changed files with 28 additions and 18 deletions

View File

@ -344,6 +344,12 @@ body {
} }
// 输入框样式 // 输入框样式
.ant-calendar-input{
background-color: transparent !important;
}
.ant-calendar-range-middle{
color: #fff;
}
.ant-input { .ant-input {
background-color: @formInputBgColor !important; background-color: @formInputBgColor !important;
border-color: @formInputBorderColor !important; border-color: @formInputBorderColor !important;

View File

@ -350,6 +350,7 @@ export default {
display: flex; display: flex;
align-items: center; align-items: center;
padding: 0 10px; padding: 0 10px;
background: rgba(12, 235, 201, 0.05);
.group-add{ .group-add{
background-color: #1397a3; background-color: #1397a3;
font-family: ArialMT; font-family: ArialMT;
@ -403,13 +404,13 @@ export default {
} }
.group-assign{ .group-assign{
position: relative; position: relative;
width: 672px; width: 690px;
margin: 0 auto; margin: 0 auto;
.ant-transfer { .ant-transfer {
margin-bottom: 10px; margin-bottom: 10px;
::v-deep { ::v-deep {
.ant-transfer-list { .ant-transfer-list {
width: 282px; width: 291px;
height: 411px; height: 411px;
padding-top: 0; padding-top: 0;
&-header { &-header {

View File

@ -18,7 +18,7 @@
<!-- :pagination="ipagination" --> <!-- :pagination="ipagination" -->
<template slot="info" slot-scope="{ record}"> <template slot="info" slot-scope="{ record}">
<div class="info-alarm">{{ record.alarmValue }}{{ JSON.parse(record.operator).units }}</div> <div class="info-alarm">{{ record.alarmValue }}{{ JSON.parse(record.operator).units }}</div>
<div>{{ JSON.parse(record.operator).name }} {{ JSON.parse(record.operator).operator }} {{ JSON.parse(record.operator).threshold }}</div> <div>{{ JSON.parse(record.operator).name }} {{ JSON.parse(record.operator).operator }} {{ JSON.parse(record.operator).threshold }}{{ JSON.parse(record.operator).units }}</div>
</template> </template>
</custom-table> </custom-table>
</div> </div>
@ -70,7 +70,7 @@ const columns = [
title: 'NAME', title: 'NAME',
align: 'left', align: 'left',
dataIndex: 'name', dataIndex: 'name',
width: 150, width: 250,
}, },
{ {
title: 'TYPE', title: 'TYPE',
@ -181,7 +181,7 @@ export default {
grid: { grid: {
left: '0%', left: '0%',
right: '0%', right: '0%',
bottom: '0%', bottom: '15',
containLabel: true containLabel: true
}, },
xAxis: { xAxis: {
@ -304,7 +304,7 @@ export default {
{ {
name: 'Access From', name: 'Access From',
type: 'pie', type: 'pie',
radius: ['40%', '70%'], radius: ['40%', '60%'],
data: this.pieData.map((item, index) => { data: this.pieData.map((item, index) => {
item.label = { item.label = {
color: this.pieColors[index] color: this.pieColors[index]
@ -312,6 +312,8 @@ export default {
return item; return item;
}), }),
itemStyle: { itemStyle: {
borderColor: '#02282b',
borderWidth: 5,
color: (params) => { color: (params) => {
var index = params.dataIndex; var index = params.dataIndex;
return this.pieColors[index]; return this.pieColors[index];
@ -359,8 +361,8 @@ export default {
grid: { grid: {
top:"3%", top:"3%",
left: '0%', left: '0%',
right: '1%', right: '30',
bottom: '2%', bottom: '20',
containLabel: true containLabel: true
}, },
xAxis: { xAxis: {

View File

@ -75,7 +75,7 @@ export default {
}, },
data() { data() {
return { return {
allVal: false, allVal: true,
typeOptions: [ typeOptions: [
{ {
label: "Server", label: "Server",
@ -142,6 +142,7 @@ export default {
border-bottom: 1px solid rgba(13, 235, 201, 0.3); border-bottom: 1px solid rgba(13, 235, 201, 0.3);
margin-left: 20px; margin-left: 20px;
padding: 8px 10px; padding: 8px 10px;
background: rgba(12, 235, 201, 0.05);
} }
.ant-input{ .ant-input{
width: 166px; width: 166px;
@ -203,13 +204,13 @@ export default {
position: relative; position: relative;
background: #03353f; background: #03353f;
} }
:global{
.asd{ // .asd{
.ant-calendar-range .ant-calendar-input , // .ant-calendar-range .ant-calendar-input ,
.ant-calendar-range .ant-calendar-time-picker-input{ // .ant-calendar-range .ant-calendar-time-picker-input{
color: red !important; // color: red !important;
background: none !important; // background: none !important;
} // }
} // }
}
</style> </style>