<template>
    <div>
        <div :class="'mainTopBg' + skinId"></div>
        <div :class="'mainBox' + skinId">
            <div class="mainTitle">{{newsDetail.con_title}}</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 ---------------------------------------->
//样式2 start ---------------------------------------->
//样式2
.mainBox2 {
    box-sizing: border-box;
    padding:27px 80px;
    .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/20250723/1753239637376332.png') repeat-y;
}
.mainTopBg2 {
    width: 1200px;
    height: 7px;
    background: url('http://img.bjzxtw.org.cn/pre/image/png/20250723/1753239184498080.png') no-repeat;
    margin-top: 28px;
}
.mainBottomBg2 {
    width: 1200px;
    height: 7px;
    background: url('http://img.bjzxtw.org.cn/pre/image/png/20250723/1753239195441541.png') no-repeat center center;
}
//样式2 end ---------------------------------------->

// 样式3 start ---------------------------------------->
.mainBox3 {
    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/20250723/1753239637376332.png') repeat-y;
}
.mainTopBg3 {
    width: 1200px;
    height: 7px;
    background: url('http://img.bjzxtw.org.cn/pre/image/png/20250723/1753239184498080.png') no-repeat;
    margin-top: 28px;
}
.mainBottomBg3 {
    width: 1200px;
    height: 7px;
    background: url('http://img.bjzxtw.org.cn/pre/image/png/20250723/1753239195441541.png') no-repeat center center;
}
// 样式3 end ---------------------------------------->
// 样式4 start ---------------------------------------->
.mainBox4 {
    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('https://img.bjzxtw.org.cn/pre/image/png/20251023/1761187890917568.png') repeat-y;
}
.mainTopBg4 {
    width: 1200px;
    height: 7px;
    background: url('https://img.bjzxtw.org.cn/pre/image/png/20251023/1761187834157945.png') no-repeat;
    margin-top: 28px;
}
.mainBottomBg4 {
    width: 1200px;
    height: 7px;
    background: url('https://img.bjzxtw.org.cn/pre/image/png/20251023/1761187876795714.png') no-repeat center center;
}
// 样式4 end ---------------------------------------->
// 样式5 start ---------------------------------------->
.mainBox5 {
    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('https://img.bjzxtw.org.cn/pre/image/png/20251023/1761187890917568.png') repeat-y;
}
.mainTopBg5 {
    width: 1200px;
    height: 7px;
    background: url('https://img.bjzxtw.org.cn/pre/image/png/20251023/1761187834157945.png') no-repeat;
    margin-top: 28px;
}
.mainBottomBg5 {
    width: 1200px;
    height: 7px;
    background: url('https://img.bjzxtw.org.cn/pre/image/png/20251023/1761187876795714.png') no-repeat center center;
}
// 样式5 end ---------------------------------------->
</style>