This commit is contained in:
takeshita
2025-11-28 18:13:42 +08:00
6 changed files with 30 additions and 19 deletions

Binary file not shown.

File diff suppressed because one or more lines are too long

View File

@ -209,7 +209,7 @@ const routeImport = () => {
filters: [
{
name: '路网', //、底图
extensions: ['pbf']
extensions: ['pbf', 'pbfl']
}
]
}

View File

@ -141,7 +141,6 @@ const activeName = ref('authorize')
const isShowPup = ref(false)
const open = (data) => {
isShowPup.value = true
console.log(data, 'kkkkkkkk')
if (data !== 'current') {
//如果不是传curent打开就回到第一个tab
activeName.value = 'authorize'
@ -159,7 +158,6 @@ const changeTab = (x, j) => {
default:
break
}
console.log(x, j, 'activeName.value')
}
const close = () => {
isShowPup.value = false

View File

@ -13,10 +13,18 @@
</div>
</div>
</div> -->
<el-tooltip v-for="(item, i) of setList" :key="item.id" :content="t('iconTitle.' + item.name)" effect="customized"
:hide-after="0">
<div class="set_item" :class="{ 'last-item': i === setList.length - 1, 'first-item': i === 0 }"
@click="item.callback">
<el-tooltip
v-for="(item, i) of setList"
:key="item.id"
:content="t('iconTitle.' + item.name)"
effect="customized"
:hide-after="0"
>
<div
class="set_item"
:class="{ 'last-item': i === setList.length - 1, 'first-item': i === 0 }"
@click="item.callback"
>
<svg-icon :name="item.icon" :size="20"></svg-icon>
</div>
</el-tooltip>
@ -65,8 +73,10 @@ const logout = async (e) => {
// localStorage.clear()
}
})
.catch(() => {
})
.catch(() => {})
}
const openSet = () => {
setPupRef.value?.open()
}
const fullScreen = (item) => {
@ -96,7 +106,8 @@ const setList = ref([
name: 'set',
className: 'header_public',
dbcallback: null,
callback: setShow
// callback: setShow
callback: openSet
},
{
id: 2,
@ -122,11 +133,11 @@ const setList = ref([
icon: 'beidou',
name: 'locate',
className: 'header_public',
dbcallback: (e) => { },
callback: (e) => { }
dbcallback: (e) => {},
callback: (e) => {}
// dbcallback: this.flyTo,
// callback: this.locate,
},
}
])
ipcRenderer.invoke('getIsFullScreen').then((res) => {
@ -171,10 +182,12 @@ ipcRenderer.on('fullscreen-status-changed', (event, isFullscreen) => {
top: 0;
bottom: 0;
width: 1px;
background: linear-gradient(180deg,
background: linear-gradient(
180deg,
rgba(var(--color-base1), 0),
rgba(var(--color-base1), 1),
rgba(204, 204, 204, 0));
rgba(204, 204, 204, 0)
);
}
.set_item.first-item::after {