修改首页图片,水房大屏文字显示
This commit is contained in:
parent
19c73f664c
commit
54792bd244
Binary file not shown.
Before Width: | Height: | Size: 66 KiB After Width: | Height: | Size: 97 KiB |
@ -39,7 +39,9 @@
|
|||||||
</el-row>
|
</el-row>
|
||||||
<el-row v-for="item in mathList">
|
<el-row v-for="item in mathList">
|
||||||
<el-col :span="12" class="p-left10" style="display: flex;justify-content: start;align-items: center;">
|
<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>
|
<text>{{ item.name }}</text>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="4">{{ item.max }}</el-col>
|
<el-col :span="4">{{ item.max }}</el-col>
|
||||||
@ -56,7 +58,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="progress">
|
<div class="progress">
|
||||||
<el-progress type="circle" :width="150" :percentage="allData.xl" />
|
<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>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -145,17 +147,20 @@ function init() {
|
|||||||
{
|
{
|
||||||
name: '进水量',
|
name: '进水量',
|
||||||
type: 'line',
|
type: 'line',
|
||||||
|
smooth: true,
|
||||||
data: [0, 2, 1, 1, 2, 0, 1]
|
data: [0, 2, 1, 1, 2, 0, 1]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: '出水量',
|
name: '出水量',
|
||||||
type: 'line',
|
type: 'line',
|
||||||
|
smooth: true,
|
||||||
yAxisIndex: 0,
|
yAxisIndex: 0,
|
||||||
data: [0, 0, 0, 0, 0, 0, 0]
|
data: [0, 0, 0, 0, 0, 0, 0]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: '用电量',
|
name: '用电量',
|
||||||
type: 'line',
|
type: 'line',
|
||||||
|
smooth: true,
|
||||||
yAxisIndex: 1,
|
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]
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user