fedexFooter.vue 2.74 KB
<template>
    <div class="el-login-footer">
        <div class="footer-top">
            <div>{{ $t('login.loginIndex.title') }}</div>
            <div>
                <a :href="link.termsOfUse" target="_blank">{{ $t('login.loginIndex.termsOfUse') }}</a>
                <a :href="link.businessLicense" target="_blank">{{ $t('login.loginIndex.businessLicense') }}</a>
                <a :href="link.businessPermit" target="_blank">{{ $t('login.loginIndex.expressDeliveryBusinessLicense')
                }}</a>
            </div>
        </div>
        <div class="footer-bottom">
            <div v-show="false">version:{{ version }}</div>
            FedEx Express China <a :href="link.beian" target="_blank"> <el-image class="footerImg" :src="footerImg"
                    fit="contain"></el-image>沪公网安备
                31010102007222号 </a><span style='cursor:pointer' @click="toLink(link.beianMiit)">京ICP备18052618号-3</span>
        </div>
    </div>
</template>

<script>
import reportingImg from '@/assets/images/reporting.png'//公安logo

export default {
    data() {
        return {
            footerImg: reportingImg,
            link: {
                termsOfUse: process.env.VUE_APP_TERMS_OF_USE,
                businessLicense: process.env.VUE_APP_BUSINESS_LICENSE,
                businessPermit: process.env.VUE_APP_BUSINESS_PERMIT,
                beian: process.env.VUE_APP_SHANGHAI_FILLING_NUMBER,
                beianMiit: process.env.VUE_APP_BEIJING_FILLING_NUMBER,
            },
            version: process.env.VUE_APP_Version
        }
    },
    methods:{
        toLink(val){
            window.open('https://beian.miit.gov.cn/#/Integrated/recordQuery', '_black')
        }
    }
}
</script>

<style rel="stylesheet/scss" lang="scss">
@import '@/assets/styles/variables.scss';

.el-login-footer {
    height: 75px;
    background-color: $fedexColor;
    // position: fixed;
    // bottom: 0;
    // left: 0;
    width: 100%;
    color: #fff;
    font-family: Arial;
    font-size: 12px;
    letter-spacing: 1px;
    z-index: 10;
    text-align: center;

    .footer-top {
        width: 80%;
        height: 55px;
        line-height: 55px;
        margin: 0 auto;
        display: flex;
        justify-content: space-between;
        font-size: 14px;
        color: #fff;

        div:last-child {
            a {
                display: inline-block;
                margin-right: 30px;
                // font-weight: 600;
            }
        }
    }

    .footer-bottom {
        height: 10px;
        line-height: 10px;
        font-size: .625rem;
        color: rgba(255, 255, 255, 0.38);

        a,span {
            margin-left: 10px;
        }

        .footerImg {
            width: 10px;
            height: 10px;
        }
    }
}
</style>