parent
066f4e9f1e
commit
4f69adeb95
After Width: | Height: | Size: 2.2 KiB |
@ -0,0 +1,70 @@
|
|||||||
|
<!-- 危化物品 -->
|
||||||
|
<template>
|
||||||
|
<div class="endanger_box">
|
||||||
|
<!-- 模块标题 -->
|
||||||
|
<div class="title">
|
||||||
|
<div class="img_box">
|
||||||
|
<!-- <img src="@/assets/safetyIndex/装饰009991.png" alt="" /> -->
|
||||||
|
</div>
|
||||||
|
<div class="title_text">危化物品</div>
|
||||||
|
</div>
|
||||||
|
<!-- 危化物品表 -->
|
||||||
|
<div class="chart_box">
|
||||||
|
<div id="barchart"></div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
<script>
|
||||||
|
export default {
|
||||||
|
name: "Endanger",
|
||||||
|
data() {
|
||||||
|
return {};
|
||||||
|
},
|
||||||
|
methods:{
|
||||||
|
},
|
||||||
|
};
|
||||||
|
</script>
|
||||||
|
<style lang="less" scoped>
|
||||||
|
.endanger_box {
|
||||||
|
margin-top: 10px;
|
||||||
|
width: 24vw;
|
||||||
|
height: 28vh;
|
||||||
|
// border: 0.1px solid #495e70;
|
||||||
|
background: url("~@/assets/safetyIndex/back001.png") no-repeat;
|
||||||
|
background-size: 100% 100%;
|
||||||
|
/* 盒子标题 */
|
||||||
|
.title {
|
||||||
|
width: 24vw;
|
||||||
|
height: 2.7vh;
|
||||||
|
display: flex;
|
||||||
|
font-size: 16px;
|
||||||
|
color: #d9e7ff;
|
||||||
|
font-weight: 500;
|
||||||
|
/* 图片盒子 */
|
||||||
|
.img_box {
|
||||||
|
width: 1.5vw;
|
||||||
|
height: 2.7vh;
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
img {
|
||||||
|
width: 16px;
|
||||||
|
height: 16px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.title_text {
|
||||||
|
width: 4vw;
|
||||||
|
height: 3.2vh;
|
||||||
|
line-height: 3.2vh;
|
||||||
|
text-align: right;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.chart_box {
|
||||||
|
margin-top: 1vh;
|
||||||
|
margin-left: 1vw;
|
||||||
|
width: 22vw;
|
||||||
|
height: 22vh;
|
||||||
|
border: 0.1px solid #495e70;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</style>
|
Loading…
Reference in new issue