<template>
  <div class="manyPictureSectorBox">
    <div class="manyPictureSectorBoxTitle">
      <editBtn :id="id" :sort="0" :type="7" :size="1"/>
      <convertBtn :id="id" :sort="0" :type="2"/>
      <div v-if="this.$store.state.template.pageData.index[id].content.componentList[0].component_style == 1">
        <title1Style />
      </div>
    </div>
    <div class="manyPictureSectorBox">
      <editBtn :id="id" :sort="1" :type="6"/>
      <convertBtn :id="id" :sort="1" :type="7"/>
      <div v-if="this.$store.state.template.pageData.index[id].content.componentList[1].component_style == 1">
        <staticHtml1Style />
      </div>
    </div>
    <div class="manyPictureNewsBox">
      <div class="manyPictureNewsItem">
        <editBtn :id="id" :sort="2" :type="1" :size="5"/>
        <convertBtn :id="id" :sort="2" :type="6"/>
        <div v-if="this.$store.state.template.pageData.index[id].content.componentList[2].component_style == 1">
          <list1Style />
        </div>
      </div>
      <div class="manyPictureNewsItem">
        <!-- <listNews :id="id" :sort="4"/> -->
      </div>
    </div>
  </div>
</template>

<script>
//编辑按钮
import editBtn from '../../public/editBtn.vue'
import convertBtn from '../../public/convertBtn.vue'
//标题组件
import title1Style from './components/title/1.vue'
//静态组件
import staticHtml1Style from './components/staticHtml/1.vue'
//新闻列表组件
import list1Style from './components/list/1.vue'


export default {
  components: {
    editBtn,
    convertBtn,
    title1Style,
    staticHtml1Style,
    list1Style
    // styleTitle,
    // fivePicture,
    // listNews
  },
  props: {
    id:{
      type:Number,
      default:0
    }
  },
  data() {
    return {
      
    };
  },
  methods: {
    
  },
  mounted() {
    
  },
};
</script>

<style scoped lang="less">
  .manyPictureSectorBox {
    display: flex;
    flex-direction: column;
    align-items: center;
    width:100%;
    position: relative;
    .manyPictureSectorBoxTitle {
      width: 80%;
      border: 1px dashed #5570F1;
      height: 41px;
      display: flex;
      justify-content: center;
      align-items: center;
      position: relative;
    }
    .manyPictureSectorBox {
      width: 80%;
      border: 1px dashed #5570F1;
    }
    .manyPictureNewsBox {
      width: 80%;
      border: 1px dashed #5570F1;
      display: flex;
      align-items: center;
      justify-content: space-between;
      .manyPictureNewsItem {
        width: 50%;
        border: 1px dashed #5570F1;
        box-sizing: border-box;
      }
      .manyPictureNewsItem:nth-child(1) {
        padding-right: 10px;
      }
      .manyPictureNewsItem:nth-child(2) {
        padding-left: 10px;
      }
    }
  }
</style>

