parent
b536820b43
commit
a7397d7cd2
@ -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://58.216.50.41/CZCL/login.shtml'
|
||||||
|
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…
Reference in new issue