123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118 |
- <template>
- <div id="index">
- <el-row>
- <el-col :span="24" class="main">
- <div class="w_1200">
- <el-col :span="24" class="one">
- <el-col :span="12" class="left">
- <userTwo></userTwo>
- </el-col>
- <el-col :span="12" class="right">
- <expertCom></expertCom>
- </el-col>
- </el-col>
- <el-col :span="24" class="two">
- <el-image :src="centerImage"></el-image>
- </el-col>
- <el-col :span="24" class="thr">
- <el-col :span="12" class="left">
- <achieveFiled></achieveFiled>
- </el-col>
- <el-col :span="12" class="right">
- <achieveCom></achieveCom>
- </el-col>
- </el-col>
- </div>
- </el-col>
- </el-row>
- </div>
- </template>
- <script>
- // 数据整理
- import userTwo from './parts/userTwo.vue';
- // 专家一览
- import expertCom from './parts/expertCom.vue';
- // 成果领域
- import achieveFiled from './parts/achieveFiled.vue';
- // 成果单位
- import achieveCom from './parts/achieveCom.vue';
- import { mapState, createNamespacedHelpers } from 'vuex';
- export default {
- metaInfo() {
- return { title: this.$route.meta.title };
- },
- name: 'index',
- props: {},
- components: {
- userTwo,
- expertCom,
- achieveFiled,
- achieveCom,
- },
- data: function() {
- return {
- centerImage: require('@common/src/assets/center/sjdt.png'),
- };
- },
- created() {},
- methods: {},
- computed: {
- ...mapState(['user']),
- },
- watch: {},
- };
- </script>
- <style lang="less" scoped>
- .main {
- min-height: 500px;
- padding: 10px 0;
- .one {
- margin: 0 0 10px 0;
- .left {
- width: 49%;
- height: 530px;
- background: #ffffff;
- padding: 15px;
- border-radius: 20px;
- margin: 0 24px 0 0;
- box-shadow: 0 0 5px #409eff;
- }
- .right {
- width: 49%;
- height: 530px;
- background: #ffffff;
- border-radius: 20px;
- padding: 15px;
- box-shadow: 0 0 5px #409eff;
- }
- }
- .two {
- height: 140px;
- overflow: hidden;
- margin: 0 0 10px 0;
- }
- .thr {
- margin: 0 0 10px 0;
- .left {
- width: 49%;
- height: 530px;
- background: #ffffff;
- padding: 15px;
- border-radius: 20px;
- margin: 0 24px 0 0;
- box-shadow: 0 0 5px #409eff;
- }
- .right {
- width: 49%;
- height: 530px;
- background: #ffffff;
- border-radius: 20px;
- padding: 15px;
- box-shadow: 0 0 5px #409eff;
- }
- }
- }
- </style>
|