12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485 |
- <template>
- <div id="detail">
- <el-row>
- <el-col :span="24" class="top">
- <div class="w_1200">
- <top :topinfo="topinfo" :menulist="menulist"></top>
- </div>
- </el-col>
- <el-col :span="24" class="banner">
- <banner :bannerinfo="bannerinfo"></banner>
- </el-col>
- <el-col :span="24" class="main">
- <div class="w_1200">
- <el-col :span="4" class="mainLeft">
- <noticeleft :leftmenu="leftmenu"></noticeleft>
- </el-col>
- <el-col :span="20" class="mainRight">
- <noticeright :noticedetail="noticedetail"></noticeright>
- </el-col>
- </div>
- </el-col>
- <el-col :span="24" class="foot">
- <foot :footinfo="footinfo"></foot>
- </el-col>
- </el-row>
- </div>
- </template>
- <script>
- import top from '../../../layout/master/index/top.vue';
- import banner from '../../../layout/master/news/banner.vue';
- import noticeleft from '../../../layout/master/notice/noticeleft.vue';
- import noticeright from '../../../layout/master/notice/noticeright.vue';
- import foot from '../../../layout/master/index/foot.vue';
- export default {
- name: 'detail',
- props: {
- topinfo: null, //头部内容
- menulist: null, //导航
- bannerinfo: null, //banner图片
- leftmenu: null, //左侧导航
- noticedetail: null, //新闻详情
- footinfo: null, //底部信息
- },
- components: {
- top,
- banner,
- noticeleft,
- noticeright,
- foot,
- },
- data: () => ({}),
- created() {},
- computed: {},
- methods: {},
- };
- </script>
- <style lang="less" scoped>
- .w_1200 {
- width: 1200px;
- margin: 0 auto;
- }
- .top {
- height: 140px;
- }
- .banner {
- height: 529px;
- margin-bottom: 72px;
- }
- .main {
- height: 1622px;
- }
- .mainLeft {
- width: 303px;
- margin-right: 14px;
- text-align: center;
- }
- .mainRight {
- width: 883px;
- background-color: #f8f2f2;
- height: 1568px;
- text-align: center;
- }
- </style>
|