邓洁 : 修改首屏弹窗样式

This commit is contained in:
dengj
2023-12-15 12:58:24 +08:00
parent 15bb5c40e1
commit 32e425a926
5 changed files with 42 additions and 35 deletions

View File

@@ -5,10 +5,13 @@
<gas-info-item v-for="item in badGasList" :key="item.equipmentId" :gasInfo="item" @click="handleOpenChart"/>
</div>
<div class="digital-tunnel">
<el-dialog v-model="isVisited" title="有害气体监控数据" width="1365px" :modal="false">
<el-dialog v-model="isVisited" title="有害气体监控数据" width="2400px" :modal="false">
<div class="left-top-icon"></div>
<div class="right-top-icon"></div>
<div id="container"></div>
<div class="chat-dialog">
<div id="container"></div>
<div style="width: 1px;"></div>
</div>
<div class="time-select">
<time-range-btn
:buttonList="timeList"
@@ -57,11 +60,11 @@ watch(() => props.badGasData, (now) => {
}, {deep: true});
const timeSelect = (index) => {
console.log('选择时间', index)
if(index===0){
if (index === 0) {
console.log('--年')
}else if(index===1){
} else if (index === 1) {
console.log('--月')
}else if(index===2){
} else if (index === 2) {
console.log('--日')
}
};
@@ -109,7 +112,7 @@ const initChart = () => {
left: 0,
textStyle: {
color: '#FFFFFF',
fontSize: 28
fontSize: 40
},
// itemWidth: 20,
// itemHeight: 20
@@ -130,10 +133,10 @@ const initChart = () => {
//X轴
xAxis: {
type: 'category',
data: ['00:00', '01:00', '02:00', '03:00', '04:00', '05:00', '06:00','07:00', '08:00', '09:00', '10:00', '11:00', '12:00', '13:00', '14:00', '15:00', '16:00', '17:00', '18:00','19:00', '20:00', '21:00', '22:00', '23:00','24:00'],
data: ['00:00', '01:00', '02:00', '03:00', '04:00', '05:00', '06:00', '07:00', '08:00', '09:00', '10:00', '11:00', '12:00', '13:00', '14:00', '15:00', '16:00', '17:00', '18:00', '19:00', '20:00', '21:00', '22:00', '23:00', '24:00'],
axisLabel: {
textStyle: {
fontSize: 24,
fontSize: 45,
color: '#D6F1FA'
},
},
@@ -143,7 +146,7 @@ const initChart = () => {
type: 'value',
axisLabel: {
textStyle: {
fontSize: 24,
fontSize: 45,
color: '#D6F1FA'
},
},