邓洁 : 风机接口对接及用电量弹窗大小
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="digital-tunnel">
|
||||
<el-dialog v-model="isVisited" width="1365px" :modal="false">
|
||||
<el-dialog v-model="isVisited" width="55%" :modal="false">
|
||||
<div class="left-top-icon"></div>
|
||||
<div class="right-top-icon"></div>
|
||||
<div class="top-tag">
|
||||
@@ -28,7 +28,10 @@
|
||||
<div class="value">345v</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="containerEle"></div>
|
||||
<div class="chat-dialog">
|
||||
<div id="containerEle"></div>
|
||||
<div style="width: 1px;"></div>
|
||||
</div>
|
||||
<div class="left-bottom-icon"></div>
|
||||
<div class="right-bottom-icon"></div>
|
||||
</el-dialog>
|
||||
@@ -106,16 +109,14 @@ const initChart = () => {
|
||||
left: 0,
|
||||
textStyle: {
|
||||
color: '#FFFFFF',
|
||||
fontSize: 28
|
||||
},
|
||||
// itemWidth: 20,
|
||||
// itemHeight: 20
|
||||
fontSize: 45
|
||||
}
|
||||
},
|
||||
//离容器四侧的距离
|
||||
grid: {
|
||||
left: 0, // 左边距
|
||||
right: 20, // 右边距
|
||||
// top: 80, // 顶边距
|
||||
top: 80, // 顶边距
|
||||
bottom: 20, // 底边距
|
||||
containLabel: true,
|
||||
},
|
||||
@@ -130,7 +131,7 @@ const initChart = () => {
|
||||
data: ['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12', '13', '14', '15', '16', '17', '18', '19', '20', '21', '22', '23', '24', '25', '26', '27', '28', '29', '30', '31'],
|
||||
axisLabel: {
|
||||
textStyle: {
|
||||
fontSize: 24,
|
||||
fontSize: 45,
|
||||
color: '#D6F1FA'
|
||||
},
|
||||
},
|
||||
@@ -140,7 +141,7 @@ const initChart = () => {
|
||||
type: 'value',
|
||||
axisLabel: {
|
||||
textStyle: {
|
||||
fontSize: 24,
|
||||
fontSize: 45,
|
||||
color: '#D6F1FA'
|
||||
},
|
||||
},
|
||||
@@ -148,9 +149,15 @@ const initChart = () => {
|
||||
//配置项
|
||||
series: [
|
||||
{
|
||||
name:'日用电量',
|
||||
data: [120, 200, 150, 80, 70, 110, 130, 100, 140, 130, 160, 150, 90, 130, 110, 120, 150, 140, 130, 120, 110, 100, 90, 80, 100, 140, 130, 160, 150, 24, 50],
|
||||
type: 'bar'
|
||||
},
|
||||
{
|
||||
name:'日节省量',
|
||||
data: [140, 130, 160, 150, 90, 130, 110, 120, 150, 140, 130, 120, 110, 100, 90, 80, 100, 140, 130, 160, 150, 24, 50,120, 200, 150, 80, 70, 110, 130, 100, ],
|
||||
type: 'bar'
|
||||
},
|
||||
]
|
||||
}
|
||||
myEcharts.setOption(option);
|
||||
@@ -165,6 +172,9 @@ const getImageUrl = (name) => {
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
:deep(.el-dialog__header) {
|
||||
padding: 0!important;
|
||||
}
|
||||
#used-ele {
|
||||
width: 830px;
|
||||
height: 90px;
|
||||
|
||||
Reference in New Issue
Block a user