<template>
    <div>
        <div :class="'mainTopBg' + skinId"></div>
        <div :class="'mainBox' + skinId">
            <div class="mainTitle">{{newsDetail.con_title}} <em></em></div>
            <div v-html="newsDetail.content" class="mainContent"></div>
        </div>
        <div :class="'mainBottomBg' + skinId"></div>
    </div>
</template>

<script setup>
const props = defineProps({
    newsDetail: Object,//新闻详情
    skinId: Number,//皮肤id
});
</script>

<style lang="less" scoped>
//基本样式 start ---------------------------------------->
.mainBox1 {
    box-sizing: border-box;
    padding:27px 80px;
    min-height: 600px;
    .mainTitle {
        font-size: 26px;
        color:#333;
        height: 65px;
        font-weight: bold;
        text-align: center;
        border-bottom: 1px solid #D9D9D9;
        margin-bottom: 40px;
    }
    div {
        text-indent: 2em;
        font-size: 20px;
        line-height: 36px;
        color:#333;
    }
    background:url('http://img.bjzxtw.org.cn/pre/image/png/20250624/1750754885628516.png') repeat-y;
}
.mainTopBg1 {
    width: 1200px;
    height: 7px;
    background: url('http://img.bjzxtw.org.cn/pre/image/png/20250624/1750754872561241.png') no-repeat;
    margin-top: 28px;
}
.mainBottomBg1 {
    width: 1200px;
    height: 7px;
    background: url('http://img.bjzxtw.org.cn/pre/image/png/20250624/1750754893326585.png') no-repeat center center;
}
.mainContent {
    min-height: 600px;
}
//基本样式 end ---------------------------------------->

// 样式7 start ---------------------------------------->
.mainTitle {
    font-size: 20px;
    color:#A72213;
    height: 47px;
    line-height: 47px;
    font-weight: bold;
    border-bottom: 1px solid #DCDDDF;
    border-top: 2px solid #A72213;
    margin-bottom: 30px;
}
// 样式7 end ---------------------------------------->
</style>
