index.vue 848 Bytes
<!-- 弹窗 -->
<template>
    <div class="subheading-ctnr">
        <span class="sign"></span>
        <span class="subheading">{{title}}</span>
    </div>
</template>

<script>
export default {
    name: 'subheading',
    data() {
        return {}
    },
    props: {
        title: {
            type: String,
            default: ''
        },
    },

    methods: {
    }
}
</script>
<style scoped lang="scss">
.subheading-ctnr {
    margin-bottom: 8px;
    .sign {
        display: inline-block;
        width: 3px;
        height: 12px;
        background-color: #8360FE;
        border-radius: 2px;
        margin-right: 4px;
    }

    .subheading {
        line-height: 25px;
        font-family: PingFangSC-Medium;
        font-weight: 600;
        font-size: 18px;
        color: #333333;
        letter-spacing: 0;
    }
}
</style>