fzqk.vue 2.43 KB
<template>
    <div class="fzqk">
        <div class="home-title">
            <span class="title-name">发证情况</span>
            <span class="title-more">更多>></span>
        </div>
        <div class="home-content">
            <div class="top">
                <div class="img">
                    <img :src="imgSrc" alt="" />
                </div>
                <div class="word">
                    <div class="name">发证总量</div>
                    <div class="num">{{ fzzl }}</div>
                    <div class="unit"></div>
                </div>
            </div>
            <div class="bottom">
                <div class="name">证书</div>
                <div class="smallnum">{{ zs }}</div>
                <div class="unit"></div>
            </div>
            <div class="bottom">
                <div class="name">证明</div>
                <div class="smallnum">{{ zm }}</div>
                <div class="unit"></div>
            </div>
        </div>
    </div>
</template>

<script>
export default {
    name: "fzqk",
    components: {},
    data () {
        return {
            fzzl: 132176,
            zs: 54237,
            zm: 77939,
            imgSrc: require("./images/zs.png"),
        };
    },
    methods: {},
};
</script>
<style scoped lang="scss">
@import "./home.scss";

.fzqk {
    width: 100%;
    height: 100%;

    .top {
        width: 100%;
        height: 50%;
        display: flex;
        align-items: center;

        .img {
            width: 100px;
            height: 100px;

            img {
                width: 80px;
                height: 80px;
                border-radius: 50%;
                background: #0f93f6;
                margin: 10px;
            }
        }

        .word {
            width: calc(100% - 100px);
            height: 80px;
            padding-left: 20px;
        }
    }

    .bottom {
        width: 50%;
        height: 50%;
        float: left;
    }

    .name {
        font-size: 16px;
        color: #606266;
        width: 100%;
        height: 40px;
        line-height: 40px;
    }

    .num,
    .smallnum {
        display: inline-block;
        font-size: 30px;
        color: #0f93f6;
        height: 40px;
        line-height: 40px;
    }

    .smallnum {
        font-size: 20px;
    }

    .unit {
        display: inline-block;
        font-size: 14px;
        color: #606266;
        height: 40px;
        line-height: 40px;
    }
}
</style>