|
|
@ -3,7 +3,6 @@ |
|
|
|
<!-- <h1>全景图</h1> --> |
|
|
|
<div class="warehouse-left"> |
|
|
|
<div class="left-3d"> |
|
|
|
<!-- <button @click="invokeHtmlMethod">调用html种方法</button> --> |
|
|
|
<iframe |
|
|
|
id="myIframe" |
|
|
|
ref="myIframe" |
|
|
@ -16,33 +15,46 @@ |
|
|
|
<ul class="msg-list"> |
|
|
|
<li> |
|
|
|
<svg-icon icon-class="temperature" class-name="msg-list-svg" /> |
|
|
|
<div class="msg-txt"> |
|
|
|
<span class="msg-list-num">60</span> |
|
|
|
<p class="msg-list-unit">温度℃</p> |
|
|
|
</div> |
|
|
|
</li> |
|
|
|
<li class="li-warn"> |
|
|
|
<svg-icon icon-class="shidu" class-name="msg-list-svg" /> |
|
|
|
<div class="msg-txt"> |
|
|
|
<span class="msg-list-num">60</span> |
|
|
|
<p class="msg-list-unit">湿度%</p> |
|
|
|
</div> |
|
|
|
</li> |
|
|
|
<li> |
|
|
|
<svg-icon icon-class="co2" class-name="msg-list-svg" /> |
|
|
|
<div class="msg-txt"> |
|
|
|
<span class="msg-list-num">60</span> |
|
|
|
<p class="msg-list-unit">CO2ppm</p> |
|
|
|
</div> |
|
|
|
</li> |
|
|
|
<li> |
|
|
|
<svg-icon icon-class="voc" class-name="msg-list-svg" /> |
|
|
|
<div class="msg-txt"> |
|
|
|
<span class="msg-list-num">60</span> |
|
|
|
<p class="msg-list-unit">VOCmg/m³</p> |
|
|
|
</div> |
|
|
|
</li> |
|
|
|
<li> |
|
|
|
<svg-icon icon-class="pm2.5" class-name="msg-list-svg" style="font-size:46px;margin-left:25px;padding-bottom:10px" /> |
|
|
|
<li class="msg-pm"> |
|
|
|
<!-- style="font-size:46px;margin-left:25px;padding-bottom:10px" --> |
|
|
|
<svg-icon icon-class="pm2.5" class-name="msg-list-svg" /> |
|
|
|
<div class="msg-txt"> |
|
|
|
<span class="msg-list-num">60</span> |
|
|
|
<p class="msg-list-unit">PM2.5ug/m³</p> |
|
|
|
</div> |
|
|
|
</li> |
|
|
|
<li> |
|
|
|
<svg-icon icon-class="pm10" class-name="msg-list-svg" style="font-size:46px;margin-left:25px;padding-bottom:10px" /> |
|
|
|
<li class="msg-pm"> |
|
|
|
<svg-icon icon-class="pm10" class-name="msg-list-svg" /> |
|
|
|
<div class="msg-txt"> |
|
|
|
<span class="msg-list-num">60</span> |
|
|
|
<p class="msg-list-unit">PM10ug/m³</p> |
|
|
|
</div> |
|
|
|
</li> |
|
|
|
</ul> |
|
|
|
</div> |
|
|
@ -59,7 +71,7 @@ |
|
|
|
<el-table |
|
|
|
ref="table" |
|
|
|
style="min-width: 100%;" |
|
|
|
height="300px" |
|
|
|
height="100%" |
|
|
|
:data="tableData" |
|
|
|
class="warehose-el-table" |
|
|
|
:row-class-name="rowBgColor" |
|
|
@ -79,7 +91,7 @@ |
|
|
|
<el-table |
|
|
|
ref="table" |
|
|
|
style="min-width: 100%;" |
|
|
|
height="calc(100vh - 620px)" |
|
|
|
height="100%" |
|
|
|
:data="tableData" |
|
|
|
class="warehose-el-table" |
|
|
|
:row-class-name="rowBgColor" |
|
|
@ -192,17 +204,23 @@ export default { |
|
|
|
position: absolute; |
|
|
|
top: 0; |
|
|
|
left: 0; |
|
|
|
width: calc(100vw - 800px); |
|
|
|
li{ |
|
|
|
flex: 1; |
|
|
|
width: 165px; |
|
|
|
display: flex; |
|
|
|
flex-wrap: nowrap; |
|
|
|
align-items: center; |
|
|
|
align-content: center; |
|
|
|
justify-content: center; |
|
|
|
// width: calc(100%/6); |
|
|
|
height: 80px; |
|
|
|
margin-right: 20px; |
|
|
|
background: url('~@/assets/images/data_border_default.png') no-repeat; |
|
|
|
background-size: 165px 80px; |
|
|
|
background-size: 100% 100%; |
|
|
|
position: relative; |
|
|
|
&.li-warn{ |
|
|
|
background: url('~@/assets/images/data_border_warn.png') no-repeat; |
|
|
|
background-size: 165px 80px; |
|
|
|
background-size: 100% 100%; |
|
|
|
} |
|
|
|
.msg-list-svg{ |
|
|
|
font-size: 36px; |
|
|
@ -211,27 +229,37 @@ export default { |
|
|
|
line-height: 80px; |
|
|
|
margin-left: 30px; |
|
|
|
} |
|
|
|
.msg-pm{ |
|
|
|
font-size: 46px; |
|
|
|
} |
|
|
|
.msg-txt{ |
|
|
|
position: relative; |
|
|
|
flex: 1; |
|
|
|
height: 80px; |
|
|
|
text-align: center; |
|
|
|
} |
|
|
|
.msg-list-unit{ |
|
|
|
position: absolute; |
|
|
|
right: 10px; |
|
|
|
bottom: 10px; |
|
|
|
width: 90px; |
|
|
|
text-align: center; |
|
|
|
left: 0; |
|
|
|
bottom: 12px; |
|
|
|
width: 100%; |
|
|
|
font-size: 14px; |
|
|
|
} |
|
|
|
.msg-list-num{ |
|
|
|
color: #fff; |
|
|
|
font-size: 26px; |
|
|
|
position: absolute; |
|
|
|
right: 20px; |
|
|
|
top: 20px; |
|
|
|
width: 50px; |
|
|
|
left: 0; |
|
|
|
top: 14px; |
|
|
|
width: 100%; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
.container-wrap{ |
|
|
|
min-height: calc(100vh - 573px) |
|
|
|
min-height: auto; |
|
|
|
height: calc(100%/2 - 10px); |
|
|
|
overflow: hidden; |
|
|
|
} |
|
|
|
|
|
|
|
</style> |