| | |
| | | ><el-button |
| | | slot="append" |
| | | class="iconSearch" |
| | | icon="el-icon-search" |
| | | icon="el-icon-search icon" |
| | | @click="search" |
| | | ></el-button> |
| | | </el-input> |
| | | </div> |
| | |
| | | return { |
| | | viewer: null, |
| | | DC: null, |
| | | input: "", |
| | | }; |
| | | }, |
| | | created() { |
| | |
| | | initialize(viewer) { |
| | | viewer.scene.globe.depthTestAgainstTerrain = false; |
| | | this.viewer = viewer; |
| | | }, |
| | | search() { |
| | | let that = this; |
| | | this.$store.commit("MSET_BIGPOPUP", { search: true, value: that.input }); |
| | | that.input = ""; |
| | | }, |
| | | }, |
| | | }; |
| | |
| | | height: 30px; |
| | | padding-top: 0; |
| | | padding-bottom: 0; |
| | | background-color: rgb(33, 150, 243); |
| | | display: flex; |
| | | align-items: center; |
| | | justify-content: center; |
| | | font-size: 24px; |
| | | color: #fff; |
| | | } |
| | | } |
| | | } |