<template>
    <main class="container">
        <section class="layout-box box-shadow">
            <div class="accont-title clearfix">
                <h3>选择税局</h3>
                <span class="cl-red">*请准确填写并确认税局信息，避免影响您的缴税进度</span>
                <a href="javascript:;" class="back-btn" @click="goBack">返回</a>
            </div>
            <el-form :model="ruleForm" :rules="rules" ref="ruleForm" class="form-ruleForm">
                <el-form-item prop="platform" class="platform">
                    <el-radio-group v-model="ruleForm.platform" @change="changeSite">
                        <el-radio label="NORTH_AMERICA_SITE">
                            <img src="~assets/images/icon-vat-England.png" alt />
                            <span>英国税务局</span>
                        </el-radio>
                        <el-radio label="CANADA">
                            <img src="~assets/images/icon-vat-Germany.png" alt />
                            <span>德国税务局</span>
                        </el-radio>
                        <el-radio label="EUROPE">
                            <img src="~assets/images/icon-vat-France.png" alt />
                            <span>法国税务局</span>
                        </el-radio>
                        <el-radio label="ENGLAND">
                            <img src="~assets/images/icon-vat-Italy.png" alt />
                            <span>意大利税务局</span>
                        </el-radio>
                        <el-radio label="ENGLAND">
                            <img src="~assets/images/icon-vat-Spain.png" alt />
                            <span>西班牙税务局</span>
                        </el-radio>
                    </el-radio-group>
                </el-form-item>
            </el-form>
        </section>
        <section class="layout-box box-shadow" style="margin-top:20px;">
            <div class="accont-title clearfix">
                <h3>温馨提示</h3>
            </div>
            <ol class="notice">
                <li>
                    您发起VAT缴税申请后，我们将在1-2个工作日内处理您的申请，处理成功后，会短时间内为您付款至税务机构。税务机构需要10-14个工作日进行处理。
                    <br />请您根据您的付款期限按时提交付款，您将不会被收取滞纳金或罚款；
                </li>
                <li>VAT缴税申请提交成功后，您可在付款单中查看状态，确认交易是否成功；</li>
                <li>为了您的资金安全，请准确填写并确认您的付款信息，谨防上当受骗。</li>
            </ol>
        </section>
    </main>
</template>

<script>
export default {
    name: "paymentIndex",
    components: {},
    methods: {
        goBack() {
            this.$router.go(-1);
        },
        changeSite(val) {
            // console.log(val);

            this.ruleForm.platform = val;
        }
    },
    data() {
        return {
            ruleForm: {
                platform: "NORTH_AMERICA_SITE"
            },
            rules: []
        };
    }
};
</script>

<style lang="less" scoped>
@import "../../assets/styles/common.css";
.platform /deep/ .el-radio-group {
    .el-radio {
        position: relative;
        float: left;
        margin-right: 20px;
        width: 166px;
        height: 44px;
        line-height: 44px;
        border: 1px solid #e6e6e6;
        box-sizing: border-box;
        .el-radio__input {
            display: none;
        }
        .el-radio__label {
            display: block;
            width: 100%;
            height: 100%;
            padding-left: 0;
            img {
                vertical-align: middle;
                margin: -4px 10px 0 0;
            }
        }
    }
    width: 1000px;
}
.platform /deep/ .el-radio.is-checked {
    border: 1px solid #3d86e9;
    &::after {
        content: "";
        position: absolute;
        right: 0;
        bottom: 0;
        width: 20px;
        height: 20px;
        background: url(~assets/images/icon-platform-select.png) no-repeat;
    }
}
.container {
    background: #f7f7f7;
}
main {
    display: block;
    margin-top: 60px;
    padding: 30px 0;
    min-height: calc(100vh - 184px);
}
.layout-box {
    background: #fff;
}
.accont-title {
    position: relative;
    span {
        font-size: 12px;
        margin-left: 10px;
    }
}
.back-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    padding-left: 22px;
    font-size: 14px;
    background: url(~assets/images/icon-center-back.png) left center no-repeat;
    color: #3d86e9;
}
.form-ruleForm {
    margin-top: 20px;
}

.notice {
    padding: 0 20px 20px 40px;
    li {
        font-size: 14px;
        line-height: 24px;
        text-align: left;
        list-style: decimal;
        color: #666;
    }
}
</style>
