Procházet zdrojové kódy

更新科技数据

wuhongyuq před 5 roky
rodič
revize
f392be293d

+ 136 - 0
src/components/shuju/shuju.vue

@@ -0,0 +1,136 @@
+<template>
+  <div id="shuju">
+    <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="12" class="liftcont">
+            <el-col :span="5" class="fenlei">aaaaa</el-col>
+            <el-col :span="19" class="between">sssssss</el-col>
+          </el-col>
+          <el-col :span="12" class="rightcont">
+            dasda
+          </el-col>
+
+          <el-col :span="12" class="gonggao">32323</el-col><el-col :span="12" class="shangbao">sssssszz</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';
+
+export default {
+  name: 'shuju',
+  props: {
+    info: null, //站点信息
+  },
+  components: {
+    top, //头部
+    logo, //logo
+    menuInfo, //导航
+    foot, //底部
+  },
+  shuju: () => ({}),
+  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 {
+  height: 730px;
+  overflow: hidden;
+  margin: 10px 0;
+}
+.liftcont {
+  width: 800px;
+  height: 420px;
+  overflow: hidden;
+
+  margin: 0 10px 0 0;
+}
+
+.rightcont {
+  width: 390px;
+  height: 350px;
+  overflow: hidden;
+  background: #fff;
+}
+.fenlei {
+  float: left;
+  width: 240px;
+  height: 420px;
+  margin: 0 10px 0 0;
+  background-color: #fff;
+}
+
+.between {
+  float: left;
+  width: 550px;
+  background-color: #fff;
+  height: 420px;
+}
+.gonggao {
+  width: 800px;
+  height: 270px;
+  background-color: #fff;
+
+  margin: 10px 10px 0 0;
+}
+.shangbao {
+  background-color: #fff;
+  width: 390px;
+  height: 340px;
+  margin: 10px 0 0 0;
+  float: left;
+}
+
+.foot {
+  float: left;
+  width: 100%;
+  height: 120px;
+  overflow: hidden;
+}
+</style>

+ 1 - 1
src/layout/policy/rightcont.vue

@@ -36,7 +36,7 @@ export default {
     contentList: null,
   },
   components: {},
-  data: () => ({}),
+  data: () => ({ currentPage4: 1 }),
   created() {},
   computed: {},
   methods: {

+ 7 - 0
src/router/index.js

@@ -74,11 +74,18 @@ const routes = [
     name: 'government',
     component: () => import('../views/government/government.vue'),
   },
+  //科技政策
   {
     path: '/policy/policy',
     name: 'policy',
     component: () => import('../views/policy/policy.vue'),
   },
+  //科技数据
+  {
+    path: '/shuju/shuju',
+    name: 'shuju',
+    component: () => import('../views/shuju/shuju.vue'),
+  },
 ];
 
 const router = new VueRouter({

+ 33 - 0
src/views/shuju/shuju.vue

@@ -0,0 +1,33 @@
+<template>
+  <div id="shuju">
+    <shuju-detail :info="info"></shuju-detail>
+  </div>
+</template>
+
+<script>
+import shujuDetail from '@/components/shuju/shuju.vue';
+export default {
+  name: 'shuju',
+  props: {},
+  components: {
+    shujuDetail,
+  },
+  shuju: () => ({
+    info: {
+      logo: require('@/assets/logo.png'),
+      banquan: '版权所有:吉林省计算中心',
+      jishu: '技术支持:长春市福瑞科技有限公司',
+      youbian: '邮编:130000',
+      chuanzhen: '传真:239823982',
+      address: '地址:吉林省长春市朝阳区前进大街1244号',
+      phone: '电话:0431-1234567',
+      email: '邮箱:123456@163.com',
+    },
+  }),
+  created() {},
+  computed: {},
+  methods: {},
+};
+</script>
+
+<style lang="scss" scoped></style>