parent
682031ec2e
commit
747963cbf5
After Width: | Height: | Size: 3.4 KiB |
After Width: | Height: | Size: 2.1 KiB |
After Width: | Height: | Size: 2.2 KiB |
After Width: | Height: | Size: 2.2 KiB |
@ -0,0 +1,76 @@
|
|||||||
|
<template>
|
||||||
|
<div class="color-list">
|
||||||
|
<div class="list-item" v-for="(item, index) in colorListL" :key="index">
|
||||||
|
<div class="item-name">
|
||||||
|
{{ item.name }}
|
||||||
|
</div>
|
||||||
|
<div class="item-value">
|
||||||
|
<span>6160</span>
|
||||||
|
<span> 户 </span>
|
||||||
|
<span>20646</span>
|
||||||
|
<span> 人 </span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
import { mapGetters } from "vuex";
|
||||||
|
export default {
|
||||||
|
data() {
|
||||||
|
return {};
|
||||||
|
},
|
||||||
|
computed: {
|
||||||
|
...mapGetters(["colorListL"]),
|
||||||
|
},
|
||||||
|
};
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style lang="scss" scoped>
|
||||||
|
.color-list {
|
||||||
|
margin-top: 10px;
|
||||||
|
height: 550px;
|
||||||
|
background: url("~@/assets/images/ui/colorList_bg.png");
|
||||||
|
background-size: 100% 100%;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
padding: 25px;
|
||||||
|
.list-item {
|
||||||
|
flex: 1;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
justify-content: space-between;
|
||||||
|
border-bottom: 1px solid rgba(0, 156, 255, 0.2);
|
||||||
|
.item-name {
|
||||||
|
font-size: 15px;
|
||||||
|
color: #abc7ed;
|
||||||
|
font-family: "Alibaba-PuHuiTi-Regular.otf";
|
||||||
|
}
|
||||||
|
.item-value {
|
||||||
|
span:nth-child(odd) {
|
||||||
|
font-size: 16px;
|
||||||
|
color: #52ccff;
|
||||||
|
font-family: "DIN-Regular-2.otf";
|
||||||
|
}
|
||||||
|
span:nth-child(even) {
|
||||||
|
font-size: 14px;
|
||||||
|
color: #c9e1f5;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.list-item:nth-child(9) .item-value,
|
||||||
|
.list-item:nth-child(10) .item-value {
|
||||||
|
span:nth-child(odd) {
|
||||||
|
font-size: 16px;
|
||||||
|
color: #ffb400;
|
||||||
|
font-family: "DIN-Regular-2.otf";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.list-item:nth-child(9),
|
||||||
|
.list-item:nth-child(10) {
|
||||||
|
.item-name {
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</style>
|
@ -0,0 +1,78 @@
|
|||||||
|
<template>
|
||||||
|
<div class="three-cell">
|
||||||
|
<div class="cell-item">
|
||||||
|
<img src="@/assets/images/ui/icon_3.png" alt="" />
|
||||||
|
<div class="lable-value">
|
||||||
|
<div class="value-item">
|
||||||
|
<div class="value-data">17873</div>
|
||||||
|
<div class="value-lable">总户数</div>
|
||||||
|
</div>
|
||||||
|
<div class="value-item" style="margin-left: 6px">
|
||||||
|
<div class="value-data">39724</div>
|
||||||
|
<div class="value-lable">人口数</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="cell-item">
|
||||||
|
<img src="@/assets/images/ui/icon_1.png" alt="" />
|
||||||
|
<div class="value-item">
|
||||||
|
<div class="value-data">19</div>
|
||||||
|
<div class="value-lable">网格总数</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="cell-item">
|
||||||
|
<img src="@/assets/images/ui/icon_2.png" alt="" />
|
||||||
|
<div class="value-item">
|
||||||
|
<div class="value-data">19</div>
|
||||||
|
<div class="value-lable">楼幢总数</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
export default {};
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<style lang="scss" scoped>
|
||||||
|
.three-cell {
|
||||||
|
display: flex;
|
||||||
|
justify-content: space-between;
|
||||||
|
align-items: center;
|
||||||
|
.cell-item {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
align-items: center;
|
||||||
|
img {
|
||||||
|
display: block;
|
||||||
|
width: 60px;
|
||||||
|
height: 65px;
|
||||||
|
}
|
||||||
|
.lable-value {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
& > div {
|
||||||
|
flex: 1;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.value-item {
|
||||||
|
div {
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
.value-data {
|
||||||
|
margin: 2px 0;
|
||||||
|
font-size: 18px;
|
||||||
|
color: #ffffff;
|
||||||
|
font-family: "DIN-Medium-2.otf";
|
||||||
|
text-shadow: 0 0 10px #278873, 0 0 10px #278873, 0 0 30px #278873,
|
||||||
|
0 0 50px #278873;
|
||||||
|
}
|
||||||
|
.value-lable {
|
||||||
|
font-size: 15px;
|
||||||
|
color: #30ecf9;
|
||||||
|
font-family: "Alibaba-PuHuiTi-Medium.otf";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</style>
|
@ -1,13 +1,29 @@
|
|||||||
<template>
|
<template>
|
||||||
<div></div>
|
<div class="model-right">
|
||||||
|
<threeCell />
|
||||||
|
<colorList />
|
||||||
|
<pieChart />
|
||||||
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
import threeCell from "./components/threeCell.vue";
|
||||||
|
import colorList from "./components/colorList.vue";
|
||||||
|
import pieChart from "./components/pieChart.vue";
|
||||||
export default {
|
export default {
|
||||||
|
components: { threeCell, colorList, pieChart },
|
||||||
data() {
|
data() {
|
||||||
return {};
|
return {};
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style></style>
|
<style lang="scss" scoped>
|
||||||
|
.model-right {
|
||||||
|
flex: 1;
|
||||||
|
padding: 25px 0;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
Loading…
Reference in new issue