| | |
| | | <template> |
| | | <!-- 中间搜索 |
| | | mobileCortrolSearch |
| | | --> |
| | | <div class="m-left-mobileCortrolSearch"> |
| | | <div class="m-left-SearchMain"> |
| | | <el-input |
| | |
| | | |
| | | <script> |
| | | export default { |
| | | name: 'mobileCortrolSearch', |
| | | name: "mobileCortrolSearch", |
| | | computed: {}, |
| | | data () { |
| | | return { |
| | | viewer: null, |
| | | input: '' |
| | | } |
| | | input: "", |
| | | }; |
| | | }, |
| | | created () { |
| | | }, |
| | | created() {}, |
| | | mounted () { }, |
| | | methods: { |
| | | initialize (viewer) { |
| | | viewer.scene.globe.depthTestAgainstTerrain = false |
| | | this.viewer = viewer |
| | | viewer.scene.globe.depthTestAgainstTerrain = false; |
| | | this.viewer = viewer; |
| | | }, |
| | | search () { |
| | | const that = this |
| | | this.$store.commit('MSET_BIGPOPUP', { search: true, value: that.input }) |
| | | that.input = '' |
| | | } |
| | | } |
| | | } |
| | | const that = this; |
| | | this.$store.commit("MSET_BIGPOPUP", { search: true, value: that.input }); |
| | | that.input = ""; |
| | | }, |
| | | }, |
| | | }; |
| | | </script> |
| | | |
| | | <style scoped lang="scss"> |