| | |
| | | * @Author: shuishen 1109946754@qq.com |
| | | * @Date: 2022-08-18 16:18:17 |
| | | * @LastEditors: shuishen 1109946754@qq.com |
| | | * @LastEditTime: 2023-07-13 10:45:37 |
| | | * @LastEditTime: 2023-07-13 14:58:44 |
| | | * @FilePath: \srs-police-affairs\src\views\home\index.vue |
| | | * @Description: 小区-栋-层-房屋 |
| | | * |
| | |
| | | </div> |
| | | |
| | | <el-dialog :title="panoramaTitle" :visible.sync="panoramaVisible" :before-close="panoramaBeforeClose" :modal="true" |
| | | :modal-append-to-body="false" :close-on-click-modal="false" class="panorama-details-box"> |
| | | :modal-append-to-body="false" :close-on-click-modal="false" class="panorama-details-box" :class="{'panorama-amplification': panoramaIcon == 'el-icon-reduce-btn'}"> |
| | | <template slot="title"> |
| | | <div class="title-box"> |
| | | {{ panoramaTitle }} |
| | | |
| | | <span> |
| | | <i :class="panoramaIcon" @click="panoramaIconClick"></i> |
| | | </span> |
| | | </div> |
| | | </template> |
| | | |
| | | <!-- <iframe src="http://vr.jxpskj.com/JXSFKZQJ/QJ/" style="width: 100%; height: 100%;" frameborder="0"></iframe>--> |
| | | <iframe :src="panoramaVrUrl" style="width: 100%; height: 100%;" frameborder="0"></iframe> |
| | | </el-dialog> |
| | |
| | | policeSituationLayerShow: true, |
| | | panoramaTitle: '', |
| | | panoramaVrUrl: '', |
| | | panoramaIcon: '', |
| | | equimentTitle: '', |
| | | panoramaVisible: false, |
| | | equimentVisible: false, |
| | |
| | | |
| | | panoramaSiteClick (e) { |
| | | this.panoramaTitle = '全景' |
| | | |
| | | this.panoramaIcon = 'el-icon-amplification-btn' |
| | | |
| | | this.panoramaVrUrl = e.overlay.attrParams.vrurl |
| | | this.panoramaVisible = true |
| | | }, |
| | | |
| | | panoramaIconClick (e) { |
| | | if (this.panoramaIcon == 'el-icon-amplification-btn') { |
| | | this.panoramaIcon = 'el-icon-reduce-btn' |
| | | } else { |
| | | this.panoramaIcon = 'el-icon-amplification-btn' |
| | | } |
| | | }, |
| | | |
| | | phoneSiteClick (e) { |
| | | this.phoneTitle = e.overlay.attrParams.name |
| | | this.phoneDetails = e.overlay.attrParams |