master
lion 8 months ago
parent 6c0be78d07
commit 9b8f19c415

@ -77,7 +77,7 @@ export const constantRoutes = [{
title: '系统首页',
icon: 'dashboard'
}
}, ]
}]
}
]

@ -0,0 +1,35 @@
<template>
</template>
<script>
export default{
data(){
return{
window: {
width: 0,
height: 0,
top: 0,
left: 0
},
}
},
created() {
this.window.width = screen.availWidth * 0.95
this.window.height = screen.availHeight * 0.95
this.window.top = (window.screen.height - 30 - this.window.height) / 2
this.window.left = (window.screen.width - 10 - this.window.width) / 2
this.toDisHome()
},
methods:{
toDisHome(){
let url = 'http://sstt.ali251.langye.net/'
let seeBuy = window.open(url, 'follow',
`top=${this.window.top},left=${this.window.left},width=${this.window.width},height=${this.window.height},location=0`
)
}
}
}
</script>
<style>
</style>
Loading…
Cancel
Save