123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129 |
- <template>
- <div id="governmentDetail">
- <el-row>
- <el-col :span="24" class="top">
- <top></top>
- </el-col>
- <el-col :span="24" class="logo">
- <div class="w_1200">
- <logo :info="info"></logo>
- </div>
- </el-col>
- <el-col :span="24" class="menu">
- <div class="w_1200">
- <menuInfo></menuInfo>
- </div>
- </el-col>
- <el-col :span="24" class="main">
- <div class="w_1200">
- <el-col :span="5" class="left">
- <el-col :span="24" class="leftTop">
- <natives :nativeList="nativeList" v-on="$listeners"></natives>
- </el-col>
- <el-col :span="24" class="leftDiao">
- <examine></examine>
- </el-col>
- </el-col>
- <el-col :span="19" class="right">
- <rightcont v-on="$listeners" :columnName="columnName" :contentList="contentList" :total="total" v-if="display === 'list'"></rightcont>
- <policyrightcont v-else :columnTitle="columnTitle" :policyInfo="policyInfo"></policyrightcont>
- </el-col>
- </div>
- </el-col>
- <el-col :span="24" class="foot">
- <div class="w_1200">
- <foot :info="info"></foot>
- </div>
- </el-col>
- </el-row>
- </div>
- </template>
- <script>
- import top from '@/layout/index/top.vue';
- import logo from '@/layout/index/logo.vue';
- import menuInfo from '@/layout/index/menuInfo.vue';
- import foot from '@/layout/index/foot.vue';
- import natives from '@/layout/government/natives.vue';
- import examine from '@/layout/personCenter/question.vue';
- import message from '@/layout/government/message.vue';
- import rightcont from '@/layout/government/rightcont.vue';
- import policyrightcont from '@/layout/government/policyrightcont.vue';
- export default {
- name: 'government',
- props: {
- info: null, //站点信息
- nativeList: null, //标签栏
- columnTitle: null, //栏目名称
- columnName: null, //栏目标题
- contentList: null, //内容
- total: null,
- display: { type: String, default: 'list' },
- policyInfo: null, //信息详情
- },
- components: {
- top, //头部
- logo, //logo
- menuInfo, //导航
- foot, //底部
- natives, //列表-分类导航
- examine, //网上调查(引用于科技人才中的question)
- rightcont, //右边栏
- policyrightcont,
- },
- data: () => ({}),
- created() {},
- computed: {},
- methods: {},
- };
- </script>
- <style lang="less" scoped>
- .w_1200 {
- width: 1200px;
- margin: 0 auto;
- }
- .top {
- height: 40px;
- overflow: hidden;
- background-color: rgba(11, 58, 125, 0.8);
- }
- .logo {
- height: 200px;
- overflow: hidden;
- }
- .menu {
- height: 70px;
- overflow: hidden;
- }
- .main {
- min-height: 800;
- overflow: hidden;
- margin: 10px 0;
- }
- .main .left {
- width: 240px;
- min-height: 800px;
- margin: 0 10px 0 0;
- }
- .main .left .leftTop {
- height: 420px;
- background-color: #fff;
- margin: 0 0 10px 0;
- }
- .main .left .leftDiao {
- background: #fff;
- height: 370px;
- overflow: hidden;
- }
- .main .right {
- min-height: 800px;
- background-color: #fff;
- }
- .foot {
- float: left;
- width: 100%;
- height: 120px;
- overflow: hidden;
- }
- </style>
|