12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364 |
- <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">
- <reportData :tableData="tableData"></reportData>
- </el-col>
- </el-col>
- </el-row>
- </div>
- </template>
- <script>
- import topInfo from '@/layout/public/top.vue';
- import searchInfo from '@/layout/report/searchInfo.vue';
- import reportData from '@/layout/report/reportData.vue';
- export default {
- name: 'index',
- props: {},
- components: {
- topInfo, //头部标题
- searchInfo, //搜索
- reportData, //新闻信息列表
- },
- data: () => ({
- topTitle: '上报通知管理',
- tableData: [
- {
- title: '标题',
- url: 'www.baidu.com',
- startDate: '2019-01-14',
- endDate: '2019-01-14',
- content: '简述',
- 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>
|