2 changed files with 63 additions and 0 deletions
@ -0,0 +1,41 @@ |
|||||
|
<template> |
||||
|
<div class="innerIframePage"> |
||||
|
<iframe |
||||
|
:src="url" |
||||
|
></iframe> |
||||
|
</div> |
||||
|
</template> |
||||
|
|
||||
|
<script> |
||||
|
export default { |
||||
|
name: 'innerIframePage', |
||||
|
data() { |
||||
|
return { |
||||
|
} |
||||
|
}, |
||||
|
props:{ |
||||
|
// 地址 |
||||
|
url: { |
||||
|
type: String, |
||||
|
default: null |
||||
|
}, |
||||
|
}, |
||||
|
mounted(){ |
||||
|
|
||||
|
}, |
||||
|
methods: { |
||||
|
} |
||||
|
} |
||||
|
</script> |
||||
|
|
||||
|
<style scoped lang="scss"> |
||||
|
.innerIframePage{ |
||||
|
width:100%; |
||||
|
height:100%; |
||||
|
iframe{ |
||||
|
width:100%; |
||||
|
height:100%; |
||||
|
border:none |
||||
|
} |
||||
|
} |
||||
|
</style> |
@ -0,0 +1,22 @@ |
|||||
|
<template> |
||||
|
<div class="page-box" style="height:100%"> |
||||
|
<innerIframePage :url="url"></innerIframePage> |
||||
|
</div> |
||||
|
</template> |
||||
|
<script> |
||||
|
import innerIframePage from "@/components/innerIframePage" |
||||
|
export default { |
||||
|
name: "comingFromOut", |
||||
|
components:{ |
||||
|
innerIframePage |
||||
|
}, |
||||
|
data() { |
||||
|
return { |
||||
|
url:`${localStorage.getItem('interfaceBoardUrl')}#/InspectNotice?isSinglePage=true&loginName=${localStorage.getItem('userName')}` |
||||
|
}; |
||||
|
}, |
||||
|
methods: { |
||||
|
|
||||
|
} |
||||
|
} |
||||
|
</script> |
Loading…
Reference in new issue