黔西南大屏

This commit is contained in:
yanran200730
2023-04-26 14:14:29 +08:00
parent 927747e95d
commit b77c5cc7ee
2 changed files with 218 additions and 220 deletions

View File

@@ -122,7 +122,7 @@
</div>
</div>
<div class="wrapper" style="position: relative;">
<DvMap style="width: 100%; height: 376px;"></DvMap>
<DvMap :instance="instance" style="width: 100%; height: 376px;"></DvMap>
<div class="total-info">
<div class="total-info__item">
<img src="https://cdn.cunwuyun.cn/dvcp/dv/qxn/icon3.png">
@@ -623,7 +623,7 @@
methods: {
init (gridId) {
this.gridId = ''
this.gridParentId = gridId
this.gridParentId = gridId || 'gr3AePMwAAFWlqlNvfJboAWkRNbnA14A'
this.instance.post(`/wxgridinfo/tree`, null, {
params: {
gridParentId: gridId || '',
@@ -638,6 +638,12 @@
}
}
})
this.getInfo()
},
getInfo () {
},
Hex2RGBA(color, alpha = 1) {
@@ -944,6 +950,7 @@
padding: 30px 14px 14px;
background-image: linear-gradient(0deg, rgba(40, 182, 253, 0.08) 1%, rgba(0, 102, 154, 0.2) 100%);
border-radius: 6px;
box-shadow: inset 0 -1px 0 0 transparent;
transition: all ease 0.3s;
&:hover {