增加了iframe嵌套组态
parent
881a986408
commit
3df47fc2a7
|
@ -108,7 +108,6 @@ export default {
|
||||||
if (data.topic === `iot/push/plc_01`) {
|
if (data.topic === `iot/push/plc_01`) {
|
||||||
var res = data.data;
|
var res = data.data;
|
||||||
store.commit("setPlcData", res);
|
store.commit("setPlcData", res);
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,16 +1,19 @@
|
||||||
<template>
|
<template>
|
||||||
<div class="index">
|
<div class="index">
|
||||||
<div class="index-left"></div>
|
<div class="index-left">
|
||||||
|
<iframe src="https://zutai1.shikicc.com/view?name=mn" height="100%" width="100%">
|
||||||
|
</iframe>
|
||||||
|
</div>
|
||||||
<div class="index-right">
|
<div class="index-right">
|
||||||
<div class="one-card">
|
<div class="one-card">
|
||||||
<div class="one-card-content">
|
<div class="one-card-content">
|
||||||
<div>
|
<div>
|
||||||
<p>节水量</p>
|
<p>节水量</p>
|
||||||
<font><span class="font26">{{ baseData && baseData.vd2716.toFixed(2) }}</span>m³</font>
|
<font><span class="font26">{{ baseData && baseData.vd2716.toFixed(2) }}</span>m³</font>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<p>节碳量</p>
|
<p>节碳量</p>
|
||||||
<font><span class="font26">{{ baseData && (baseData.vd2716 * 0.168).toFixed(2) }}</span>kg</font>
|
<font><span class="font26">{{ baseData && (baseData.vd2716 * 0.168).toFixed(2) }}</span>kg</font>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<p>原水箱液位:<span class="font26">{{ baseData && baseData.vd500.toFixed(2) }}</span>m</p>
|
<p>原水箱液位:<span class="font26">{{ baseData && baseData.vd500.toFixed(2) }}</span>m</p>
|
||||||
|
|
Loading…
Reference in New Issue