1 changed files with 28 additions and 0 deletions
@ -0,0 +1,28 @@ |
|||||
|
<template> |
||||
|
<div class=""> |
||||
|
<iframe :src="URL" class="iframe" frameborder="no"/> |
||||
|
</div> |
||||
|
</template> |
||||
|
|
||||
|
<script> |
||||
|
import Cookies from 'js-cookie' |
||||
|
export default { |
||||
|
data () { |
||||
|
return { |
||||
|
URL: '' |
||||
|
} |
||||
|
}, |
||||
|
created () { |
||||
|
this.URL = `${window.SITE_CONFIG['iframeBaseUrl']}/communityService-policy-policyList?token=${Cookies.get('token')}` |
||||
|
}, |
||||
|
methods: { |
||||
|
} |
||||
|
} |
||||
|
</script> |
||||
|
<style lang="scss" scoped> |
||||
|
.iframe { |
||||
|
width: 100%; |
||||
|
min-height: calc(100vh - 123px); |
||||
|
// min-height: calc(calc(100vh - 50px - 38px - 30px) - 2px - 45px); |
||||
|
} |
||||
|
</style> |
Loading…
Reference in new issue