| | |
| | | <template> |
| | | <div class="mobilePopupOurOnce"> |
| | | <div class="mobilePopupOurOnce_center"> |
| | | <div |
| | | class="mobilePopupOurOnce_center" |
| | | :style="{ |
| | | borderBottom: !ends ? '#d4d4d4 dashed 1px' : '', |
| | | marginBottom: !ends ? '6px' : '', |
| | | }" |
| | | > |
| | | <div class="mobilePopupOurOnce_left"> |
| | | <img src="img/cc/cc.png" alt="" /> |
| | | </div> |
| | |
| | | <script> |
| | | import { mapGetters } from "vuex"; |
| | | export default { |
| | | props: ["onceData"], |
| | | props: ["onceData", "ends"], |
| | | name: "mobilePopupOurOnce", |
| | | created() { |
| | | this.DC = global.DC; |
| | | }, |
| | | data() { |
| | | return { |
| | | DC: "", |
| | | }; |
| | | }, |
| | | computed: { |
| | | ...mapGetters(["mviewer"]), |
| | | seebut() { |
| | |
| | | }, |
| | | methods: { |
| | | openOnce(val) { |
| | | console.log(val, this.onceData.name); |
| | | // 定位 |
| | | // this.mviewer.zoomToPosition( |
| | | // new DC.Position( |
| | | // e.wgs84Position.lng, |
| | | // e.wgs84Position.lat - 0.016, |
| | | // 1530, |
| | | // 0, |
| | | // -45 |
| | | // ) |
| | | // ); |
| | | let that = this; |
| | | console.log(val, this.onceData); |
| | | if (val == "定位") { |
| | | this.$store.commit("MSET_BIGPOPUP", false); |
| | | setTimeout(() => { |
| | | // 定制化窗体 |
| | | let d = { |
| | | position: that.onceData.Cartesian3, |
| | | lntLat: that.onceData.position, |
| | | query: this.onceData, |
| | | }; |
| | | that.popupsDom = that.$store.dispatch("setMobileWindows", d); |
| | | }, 500); |
| | | } |
| | | }, |
| | | }, |
| | | }; |
| | |
| | | padding: 0 0; |
| | | margin: 0 8px; |
| | | .mobilePopupOurOnce_center { |
| | | margin-bottom: 8px; |
| | | // margin-bottom: 8px; |
| | | height: 80px; |
| | | border-bottom: #d4d4d4 dashed 1px; |
| | | // border-bottom: #d4d4d4 dashed 1px; |
| | | padding-bottom: 8px; |
| | | @extend .flexCenter; |
| | | .mobilePopupOurOnce_left { |