<template>
    <div class="advisory_detail">
        <el-row>
            <div class="header">
                <img src="../assets/icon_zixun.png" />
                <span>{{ title }}</span>
            </div>
        </el-row>
        <el-row>
            <el-col>
                <div class="name">标题</div>
                <div class="content1">{{ caption }}</div>
            </el-col>
            <el-col>
                <div class="name">正文</div>
                <div class="content1" :v-html="content">
                    {{ content }}
                </div>
            </el-col>
            <el-col>
                <div class="name">姓名</div>
                <div class="content1">{{ name }}</div>
            </el-col>
            <el-col>
                <div class="name">时间</div>
                <div class="content1">{{ time }}</div>
            </el-col>
        </el-row>
    </div>
</template>

<script>
export default {
    name: 'advisoryDetail',
    props: ['title', 'caption', 'content', 'name', 'time'],
    data() {
        return {};
    }
};
</script>
<style lang="less" scoped>
div {
    box-sizing: border-box;
}
.advisory_detail {
    .header {
        width: 100%;
        height: 60px;
        line-height: 60px;
        display: flex;
        align-items: center;
        img {
            width: 24px;
            height: 24px;
        }
        span {
            color: #000;
            font-size: 16px;
            font-weight: 500;
            margin-left: 5px;
        }
    }
    .el-col {
        border: 1px solid #f2f3f5;
        display: flex;
        color: #000000;
        div {
            padding: 20px;
        }
        .name {
            width: 80px;
            line-height: 20px;
            border-right: 1px solid #f2f3f5;
            text-align: center;
        }

        .content {
            width: 821px;
            font-size: 14px;
            line-height: 24px;
            padding: 0 20px;
        }
        .content1 {
            font-size: 18px;
            width: 821px;
            font-size: 14px;
            line-height: 24px;
        }
    }
}
</style>
