Compare commits

..

2 Commits

Author SHA1 Message Date
guangyin 5be45aef7a feat:更新飞渡依赖信息 2023-09-26 15:05:55 +08:00
guangyin 780ae493ad fixed:修改本地缓存菜单 2023-07-10 10:50:57 +08:00
5 changed files with 774 additions and 772 deletions

763
public/ac.min.js vendored

File diff suppressed because one or more lines are too long

763
src/assets/ac.min.js vendored

File diff suppressed because one or more lines are too long

View File

@ -54,8 +54,8 @@ export default class HeaderComponent extends Vue {
public timer;
public showPageList = false;
public pageList = pageListData;
public currentPage = JSON.parse(localStorage.getItem("currentPage") as any) || this.pageList[0];
public currentNav = localStorage.getItem("currentNav") || this.currentPage.children[0].value;
public currentPage = JSON.parse(localStorage.getItem("currentPage-train") as any) || this.pageList[0];
public currentNav = localStorage.getItem("currentNav-train") || this.currentPage.children[0].value;
public showArrow = false;
public showContent = true;
@ -87,9 +87,9 @@ export default class HeaderComponent extends Vue {
}
public selectPage(data){
this.currentPage = data;
localStorage.setItem("currentPage",JSON.stringify(data))
localStorage.setItem("currentPage-train",JSON.stringify(data))
this.currentNav = data.value;
localStorage.setItem("currentNav",data.value)
localStorage.setItem("currentNav-train",data.value)
this.navChange()
this.showPageList = false;
this.navLeft = 0;
@ -101,7 +101,7 @@ export default class HeaderComponent extends Vue {
public selectNav(data){
this.currentNav = data.value;
localStorage.setItem("currentNav",data.value)
localStorage.setItem("currentNav-train",data.value)
this.navChange()
}
@ -129,8 +129,8 @@ export default class HeaderComponent extends Vue {
beforeDestory(){
clearInterval(this.timer);
this.timer = null;
localStorage.removeItem("currentPage")
localStorage.removeItem("currentNav")
localStorage.removeItem("currentPage-train")
localStorage.removeItem("currentNav-train")
}
}

View File

@ -1,7 +1,7 @@
import MarkerOption from '@/models/marker.option.js'
import PolygonOption from '@/models/polygon.option.js';
import * as acapi from '../assets/ac.min.js'
import * as acapi from '../../public/ac.min.js'
// import acapi from 'ac.min.js'
export default class PlayerUtils{
public api:any;

View File

@ -162,14 +162,14 @@ export default class BaseComponent extends Vue {
coordinateType:layer.coordinateType?layer.coordinateType:0,
displayMode:2,
imagePath:layer.url || layer.urls[item.type],
imageSize:item.model?[30,30]:[48,48],
imageSize:item.model?[30*1.5,30*1.5]:[48*1.5,48*1.5],
popupSize:[480,388],
popupOffset:[50,0],
autoHidePopupWindow:false,
// popupURL:,
lineSize:item.hasPop?[0,0]:[2,40],
useTextAnimation: false,
lineOffset:item.hasPop?[0,0]:[24,0],
lineOffset:item.hasPop?[0,0]:[24*1.5,0],
autoHeight:true,
})
})