|
@@ -33,7 +33,7 @@
|
|
content="搜索"
|
|
content="搜索"
|
|
placement="right"
|
|
placement="right"
|
|
>
|
|
>
|
|
- <div class="tools-item __hover">
|
|
|
|
|
|
+ <div class="tools-item __hover" @click="state.tools.showSearch = !state.tools.showSearch">
|
|
<img src="@/assets/images/web/tools-search.png"/>
|
|
<img src="@/assets/images/web/tools-search.png"/>
|
|
</div>
|
|
</div>
|
|
</el-tooltip>
|
|
</el-tooltip>
|
|
@@ -70,6 +70,7 @@
|
|
<warningCom v-model:show="state.tools.showWarning"/>
|
|
<warningCom v-model:show="state.tools.showWarning"/>
|
|
<exampleCom v-if="state.mapFunc" v-model:show="state.tools.showExample" :mapHeight="state.mapFunc.mapHeight" :mapWidth="state.mapFunc.mapWidth"/>
|
|
<exampleCom v-if="state.mapFunc" v-model:show="state.tools.showExample" :mapHeight="state.mapFunc.mapHeight" :mapWidth="state.mapFunc.mapWidth"/>
|
|
<trackCom v-model:show="state.tools.showTrack"/>
|
|
<trackCom v-model:show="state.tools.showTrack"/>
|
|
|
|
+ <searchCom v-model:show="state.tools.showSearch"/>
|
|
<trackPointCom ref="ref_trackPoint"/>
|
|
<trackPointCom ref="ref_trackPoint"/>
|
|
<trackArchiveCom/>
|
|
<trackArchiveCom/>
|
|
</div>
|
|
</div>
|
|
@@ -84,6 +85,7 @@ import configCom from './config/index.vue'
|
|
import archiveCom from './archive/index.vue'
|
|
import archiveCom from './archive/index.vue'
|
|
import warningCom from './warning/index.vue'
|
|
import warningCom from './warning/index.vue'
|
|
import trackCom from './track/index.vue'
|
|
import trackCom from './track/index.vue'
|
|
|
|
+import searchCom from './search/index.vue'
|
|
import exampleCom from './example.vue'
|
|
import exampleCom from './example.vue'
|
|
import trackArchiveCom from './track/archive.vue'
|
|
import trackArchiveCom from './track/archive.vue'
|
|
import {useShipMapStore} from "@/stores";
|
|
import {useShipMapStore} from "@/stores";
|
|
@@ -100,6 +102,7 @@ const state: any = reactive({
|
|
showArchive: false,
|
|
showArchive: false,
|
|
showWarning: false,
|
|
showWarning: false,
|
|
showExample: false,
|
|
showExample: false,
|
|
|
|
+ showSearch: true,
|
|
},
|
|
},
|
|
})
|
|
})
|
|
const ref_web = ref()
|
|
const ref_web = ref()
|