<template>
    <div class="articleBigBox">
        <div class="articleBox">
            <div class="listRouterBox">
                <templateBreadcrumb :routeId="routeId" :articleName="articleData.title" />
            </div>
            <div class="articleContentBox">
                <div class="articleContentBoxLeft">
                    <article1Style :templateData="articleData" :skinId="skinId" />
                </div>
                <div class="articleContentBoxRight">
                    <div class="articleContentBoxRightTop">
                        <div v-if="skinId==7">
                            <!--最新资讯皮肤7-->
                            <news7style :componentStyle="templateData[1].component_style" />
                        </div>
                    </div>
                    <div class="articleContentBoxRightBottom">
                        <div v-if="skinId==7">
                            <!--热点资讯皮肤7-->
                            <hotNews7style :componentStyle="templateData[2].component_style" />
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</template>

<script setup>
//引入vue
import {ref} from 'vue';
import {ElPagination} from 'element-plus';
//引入面包屑路径组件
import templateBreadcrumb from '@/components/template/component/public/breadcrumb.vue'
//正文组件
import article1Style from '@/components/template/component/article/900x1384/1.vue'
//最新资讯
import news7style from '@/components/template/component/list/270x450/7.vue'
//热点精选
import hotNews7style from '@/components/template/component/list/270x580/7.vue'
const props = defineProps({
    skinId: Number,//皮肤id
    articleData:Object,//新闻正文
    templateData:Object,//其他组件
    routeId: Number,//导航池id
});
</script>

<style lang="less" scoped>
//基本样式 start ---------------------------------------->
.articleBigBox{
    width: 100%;
    margin-bottom: 30px;
    .articleBox{
        width: 1200px;
        margin: 0 auto;
        .listRouterBox{
            border-bottom: 1px solid #D9D9D9;
        }
        .articleContentBox {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            margin-top: 17px;
            .articleContentBoxLeft {
                width: 900px;
                position: relative;
            }
            .articleContentBoxRight {
                width: 270px;
                height: 1050px;
                margin-bottom: 30px;
                .articleContentBoxRightTop {
                    width: 270px;
                    height: 440px;
                    margin-bottom: 30px;
                    position: relative;
                }
                .articleContentBoxRightBottom {
                    width: 270px;
                    height: 580px;
                    position: relative;
                }
            }
        }
    }
}
//基本样式 end ---------------------------------------->
</style>
