修改首页图片,水房大屏文字显示

This commit is contained in:
hzz 2023-06-19 08:15:49 +08:00
parent 19c73f664c
commit 54792bd244
2 changed files with 11 additions and 6 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 66 KiB

After

Width:  |  Height:  |  Size: 97 KiB

View File

@ -39,7 +39,9 @@
</el-row>
<el-row v-for="item in mathList">
<el-col :span="12" class="p-left10" style="display: flex;justify-content: start;align-items: center;">
<div :style="{ 'background': item.color, 'width': '25px', 'height': '20px', 'margin-right': '5px' }"></div>
<div
:style="{ 'background': item.color, 'width': '25px', 'height': '20px', 'margin-right': '5px' }">
</div>
<text>{{ item.name }}</text>
</el-col>
<el-col :span="4">{{ item.max }}</el-col>
@ -56,7 +58,7 @@
</div>
<div class="progress">
<el-progress type="circle" :width="150" :percentage="allData.xl" />
<div class="progress-text">{{ t('messages.效') }}</div>
<div class="progress-text">{{ t('messages.效') }}</div>
</div>
</div>
</div>
@ -145,19 +147,22 @@ function init() {
{
name: '进水量',
type: 'line',
data: [0,2,1,1,2,0,1]
smooth: true,
data: [0, 2, 1, 1, 2, 0, 1]
},
{
name: '出水量',
type: 'line',
smooth: true,
yAxisIndex: 0,
data: [0,0,0,0,0,0,0]
data: [0, 0, 0, 0, 0, 0, 0]
},
{
name: '用电量',
type: 'line',
smooth: true,
yAxisIndex: 1,
data: [1.0907,0.595,0.9884,1.625,1.7888,1.9918,1.6647]
data: [1.0907, 0.595, 0.9884, 1.625, 1.7888, 1.9918, 1.6647]
}
]
};