<template>
    <EDialogEmpty :title="$t('chooseToken')" :visible="visible">
        <div class="choose-chain-content">
            <img src="@/assets/images/public/closeGrayCircle.png" alt="" class="close pointer" @click="handleClose">
            <div class="_title">{{$t('errChain')}}</div>
            <div class="text">{{$t('errChainText')}}</div>
        </div>
    </EDialogEmpty>
</template>

<script>
import EDialogEmpty from './EDialogEmpty';
export default {
    name: 'NetworkErrorModal',
    props: {
        visible: {
            type: Boolean,
            default: false
        }
    },
    components: {
        EDialogEmpty
    },
    data() {
        return {

        }
    },
    methods: {
        handleClose() {
            this.$emit('close')
        },

    }
}
</script>

<style scoped lang="scss">
.choose-chain-content {
    width: 6rem;
    height: 2rem;
    border-radius: .2rem;
    background: #FFF;
    margin: 0 auto;
    position: relative;
    text-align: center;
    color: #333;
    padding-top: .32rem;
    .close {
        width: .3rem;
        height: .3rem;
        position: absolute;
        top: .18rem;
        right: .18rem;
    }
    ._title {
        font-size: .32rem;
        color: #333;
    }
    .text {
        font-size: .26rem;
        color: #333;
        margin-top: .76rem;
    }
}
</style>
