<template>
    <div class="app-container" v-loading="loading">
        <div v-if="link">
            <iframe :src="link" frameborder="0" width="100%" height="800px" scrolling="auto" id="iframe"
            class="iframe-container"></iframe>
        </div>
    </div>
</template>

<script>
import {getToken} from '@/utils/auth'
export default {
    data() {
        return {
            link: '',
            loading: false
        }
    },
    mounted() {
        const {link} = this.$route.query

        // this.link=link? link+`&token=${getToken()}&sysFlag=ibs`:''
        this.link=link? link:''

        // alert(getToken )
    }
}
</script>

<style  scoped>
.app-container {
    min-height: calc(100vh-130px);
}

.iframe-container {
    position: relative;
    width: 100%;
    min-height: calc(100vh-130px);
    border: none;
    padding-bottom: 16px;

}
</style>>

</style>