fix:登录页调试,大屏事件打点修改,地图控制器位置调整
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
* @Author: SunTao 328867980@qq.com
|
||||
* @Date: 2024-10-14 10:46:23
|
||||
* @LastEditors: SunTao 328867980@qq.com
|
||||
* @LastEditTime: 2024-10-31 17:35:26
|
||||
* @LastEditTime: 2024-11-05 10:46:24
|
||||
* @FilePath: \znxjxt-ui\src\views\xj\inspection\task-management\components\fssm-map.vue
|
||||
* @Description: 公共地图
|
||||
-->
|
||||
@@ -10,7 +10,7 @@
|
||||
<template>
|
||||
<div class="map-container">
|
||||
<div ref="container" :id="`map-${mapId}`"></div>
|
||||
<div ref="mapController" class="control-container">
|
||||
<div ref="mapController" :style="controlStyle" class="control-container">
|
||||
<!-- 绘制图形 -->
|
||||
<div class="draw-map" v-if="showDraw">
|
||||
<i class="el-icon-edit" @click="drawMap()"></i>
|
||||
@@ -87,6 +87,11 @@ export default {
|
||||
type: Boolean,
|
||||
default: false,
|
||||
},
|
||||
// 地图控件位置
|
||||
controlStyle: {
|
||||
type: Object,
|
||||
default: () => {},
|
||||
},
|
||||
// 用于区分同一个页面多个地图的id
|
||||
mapId: {
|
||||
type: String,
|
||||
@@ -555,8 +560,8 @@ export default {
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
position: absolute;
|
||||
left: 1rem;
|
||||
top: 1rem;
|
||||
// left: 1rem;
|
||||
// top: 1rem;
|
||||
|
||||
.draw-map {
|
||||
width: 1.5rem;
|
||||
|
||||
Reference in New Issue
Block a user