|
@@ -5,11 +5,14 @@
|
|
|
<transition name='fade'>
|
|
|
<div class="map-tit" v-show="mapshow">
|
|
|
<div class="top-tit">
|
|
|
- <i class="iconfont sj-icon-jkzx" @click="openTvwall()"></i>
|
|
|
+ <i class="iconfont sj-icon-jkzx"></i>
|
|
|
<span><img src="../assets/images/close.svg" @click="mapshow=false" /></span>
|
|
|
</div>
|
|
|
<div class="map-txt" v-html="bindPopupHtml">
|
|
|
</div>
|
|
|
+ <el-button size="mini" type="primary" class="sj-icon-btn" @click="openTvwall()" v-if="_click!=''">
|
|
|
+ 查看
|
|
|
+ </el-button>
|
|
|
<div id="super2" />
|
|
|
</div>
|
|
|
</transition>
|
|
@@ -194,6 +197,9 @@
|
|
|
"Cun_yitong@SiPing#1",
|
|
|
],
|
|
|
],
|
|
|
+ vdivcesiumContainer: "",
|
|
|
+ _click: null,
|
|
|
+ _parameter: null,
|
|
|
}
|
|
|
},
|
|
|
watch: {},
|
|
@@ -827,9 +833,11 @@
|
|
|
});
|
|
|
},
|
|
|
openTvwall() {
|
|
|
- if(this.openZt){
|
|
|
- this.mapshow=false;
|
|
|
+ this.mapshow = false;
|
|
|
+ if (this.openZt) {
|
|
|
this.$emit('fatherMethod', this.dianshiqiang, this.longitude, this.latitude, this.userList);
|
|
|
+ } else {
|
|
|
+ this.$emit(this._click, this._parameter);
|
|
|
}
|
|
|
},
|
|
|
/**
|
|
@@ -878,6 +886,8 @@
|
|
|
that.bindPopupHtml = html
|
|
|
that.mapshow = true
|
|
|
that.openZt = false
|
|
|
+ that._click = id._click;
|
|
|
+ that._parameter = id._parameter;
|
|
|
} else {
|
|
|
that.mapshow = false
|
|
|
}
|
|
@@ -1012,4 +1022,4 @@
|
|
|
opacity: 0;
|
|
|
transform: translateY(-10rem);
|
|
|
}
|
|
|
-</style>
|
|
|
+</style>
|