<template>
    <div class="LinkTokuaidi" style="height:100%">
        <iframe :src="linkUrl"  scrolling="no"  style="width: 100%;height: 100%;" frameborder="0" ></iframe>
    </div>
</template>
 
<script>
    export default {
        data() {
            return {
                linkUrl: ''
            }
        },
        created(){
            let query = window.vm.$route.query
            console.log(JSON.stringify(query))
            let src = query.EXPRESSQUERYADDRESS+'&company_tag='+query.company_tag+'&company_name='+query.company_name+'&mail_no='+query.mail_no+'&carrier_code='+query.carrier_code+'&user_name='+query.user_name+'&receiver_province='+query.receiver_province+'&receiver_city='+query.receiver_city+'&receiver_county='+query.receiver_county;
            this.linkUrl = src;
            console.log(src)
            // this.linkUrl = 'https://admin-test.luckygo365.com/kd100?kuaidi100_url=https%3A%2F%2Fwww.kuaidi100.com%2Fchaxun%3Fcom%3Dzhongtong%26nu%3D78668746300609&company_tag=lark-demo&company_name=demo&mail_no=78668746300609&carrier_code=zhongtong&user_name=admin&receiver_province=%E6%B1%9F%E8%8B%8F%E7%9C%81&receiver_city=%E5%8D%97%E4%BA%AC%E5%B8%82&receiver_county=%E9%9B%A8%E8%8A%B1%E5%8F%B0%E5%8C%BA78668746300609'
        }
    }
</script>
 
<style lang="scss">
    #content {
        &:has(.LinkTokuaidi) {
            padding: 0 !important;
        }
    }
    
</style>