修改界面

master
夜笙歌 5 months ago
parent a0a0182d58
commit cb6abd016d

@ -147,7 +147,10 @@
</div>
<div v-if="isMap">
<Chart ref="mapChart" class="mapChart"></Chart>
<el-button type="primary" style="position:absolute;bottom: 4%;left: 50%;transform: translateX(-50%)"
<el-button type="primary" style="position:absolute;bottom: 4%;left: 49%;transform: translateX(-100%)"
@click="goBack">返回
</el-button>
<el-button type="primary" style="position:absolute;bottom: 4%;left: 51%;transform: translateX(0%)"
@click="toRealMap">打开地图
</el-button>
</div>
@ -808,6 +811,9 @@ export default {
this.chartDblClick(this.code)
});
},
goBack(){
this.chartDblClick(this.code)
},
async chartDblClick(val) {
let a = val.toString().substr(0, 2)
let b = val.toString().substr(2, 2)

Loading…
Cancel
Save