<template>
  <div id="index">
    <el-row>
      <el-col :span="24" class="info">
        <el-col :span="24" class="top">
          <topInfo :topTitle="topTitle"></topInfo>
        </el-col>
        <el-col :span="24" class="search">
          <searchInfo></searchInfo>
        </el-col>
        <el-col :span="24" class="main">
          <mainData :tableData="tableData"></mainData>
        </el-col>
      </el-col>
    </el-row>
  </div>
</template>

<script>
import topInfo from '@/layout/public/top.vue';
import searchInfo from '@/layout/news/searchInfo.vue';
import mainData from '@/layout/news/mainData.vue';
export default {
  name: 'index',
  props: {},
  components: {
    topInfo, //头部标题
    searchInfo, //搜索
    mainData, //新闻信息列表
  },
  data: () => ({
    topTitle: '政策解读',
    tableData: [
      {
        name: '测试人员',
        title: '国内外参展商和广大客户的广泛好评。尤其是参展的“太阳能无线充电移动电源”、“超声波智能水槽',
        date: '2019-01-13',
        state: '不需审核',
      },
      {
        name: '测试人员',
        title: '十条数据',
        date: '2019-01-13',
        state: '不需审核',
      },
    ],
  }),
  created() {},
  computed: {},
  methods: {},
};
</script>

<style lang="less" scoped>
.top {
  height: 40px;
  background-color: #f5f5f5;
}
.search {
  height: 40px;
  line-height: 40px;
  padding: 0 15px;
}
.main {
  width: 97%;
  margin: 0 15px;
}
</style>
