xiejiacheng 5 年之前
父节点
当前提交
df91e52b93

+ 4 - 4
src/layout/altai/index/foot.vue

@@ -1,7 +1,7 @@
 <template>
   <div id="foot">
     <el-row>
-      <div class="w_626">
+      <div class="w_650">
         <el-col :span="24">
           <p>{{foot.banquan}}</p>
           <p>{{foot.jishu}}</p>
@@ -41,13 +41,13 @@ p {
 p:first-child {
   float: none;
 }
-.w_626 {
-  width: 626px;
+.w_650 {
+  width: 650px;
   margin: 0 auto;
   color: #858f9b;
   font-size: 14px;
 }
-.w_626 div {
+.w_650 div {
   margin: 20px auto;
 }
 </style>

+ 4 - 2
src/layout/altai/index/top.vue

@@ -2,7 +2,7 @@
   <div id="top">
     <el-row>
       <el-col :span="24" class="title">
-        阿拉泰地区科技创新创业服务平台
+        {{ foot.logoTitle }}
       </el-col>
     </el-row>
   </div>
@@ -11,7 +11,9 @@
 <script>
 export default {
   name: 'top',
-  props: {},
+  props: {
+    foot: null,
+  },
   components: {},
   data: () => ({}),
   created() {},

+ 4 - 4
src/views/altai/index.vue

@@ -3,7 +3,7 @@
     <el-row>
       <div class="w_1200">
         <el-col :span="24" class="top">
-          <top></top>
+          <top :foot="foot"></top>
         </el-col>
         <el-col :span="24" class="nav">
           <native></native>
@@ -49,13 +49,13 @@ import native from '../../layout/altai/index/native.vue';
 export default {
   name: 'index',
   props: {
-    mapUrl: null,
+    mapUrl: null,//首页地图图片
     ziXunList:null,
     noticeList:null,
     lawList:null,
     keJiList:null,
-    linkList: null,
-    foot:null,
+    linkList: null,//友情链接
+    foot:null,//头部信息+底部信息
   },
   components: {
     top,//头部

+ 9 - 4
src/views/altai/info.vue

@@ -4,7 +4,7 @@
       <div class="w_1200">
         <el-col :span="24">
           <el-col :span="24" class="top">
-            <top></top>
+            <top :foot="foot"></top>
           </el-col>
           <el-col :span="24" class="nav">
             <native></native>
@@ -26,7 +26,9 @@
               友情链接
             </el-col>
           </el-col>
-          <el-col :span="24" class="foot"> </el-col>
+          <el-col :span="24" class="foot">
+            <foot :foot="foot"></foot>
+          </el-col>
         </el-col>
       </div>
     </el-row>
@@ -36,12 +38,16 @@
 <script>
 import top from '../../layout/altai/index/top.vue';
 import native from '../../layout/altai/index/native.vue';
+import foot from '../../layout/altai/index/foot.vue';
 export default {
   name: 'info',
-  props: {},
+  props: {
+    foot: null,
+  },
   components: {
     top, //头部
     native, //导航
+    foot, //底部
   },
   data: () => ({}),
   created() {},
@@ -60,7 +66,6 @@ export default {
   height: 100px;
   overflow: hidden;
   color: #f2f5fa;
-  padding: 35px 0;
 }
 .nav {
   height: 50px;

+ 9 - 6
src/views/altai/natural.vue

@@ -4,7 +4,7 @@
       <div class="w_1200">
         <el-col :span="24">
           <el-col :span="24" class="top">
-            <top></top>
+            <top :foot="foot"></top>
           </el-col>
           <el-col :span="24" class="nav">
             <native></native>
@@ -13,7 +13,7 @@
             科技资源
           </el-col>
           <el-col :span="24" class="foot">
-            底部
+            <foot :foot="foot"></foot>
           </el-col>
         </el-col>
       </div>
@@ -24,12 +24,16 @@
 <script>
 import top from '../../layout/altai/index/top.vue';
 import native from '../../layout/altai/index/native.vue';
+import foot from '../../layout/altai/index/foot.vue';
 export default {
   name: 'info',
-  props: {},
+  props: {
+    foot: null,
+  },
   components: {
     top, //头部
     native, //导航
+    foot, //底部
   },
   data: () => ({}),
   created() {},
@@ -48,7 +52,6 @@ export default {
   height: 100px;
   overflow: hidden;
   color: #f2f5fa;
-  padding: 35px 0;
 }
 .nav {
   height: 50px;
@@ -57,8 +60,8 @@ export default {
 }
 .main {
   margin: 10px 0 0 0;
-  min-height:500px;
-  border:1px solid #ccc;
+  min-height: 500px;
+  border: 1px solid #ccc;
 }
 .foot {
   overflow: hidden;

+ 7 - 4
src/views/altai/service.vue

@@ -4,7 +4,7 @@
       <div class="w_1200">
         <el-col :span="24">
           <el-col :span="24" class="top">
-            <top></top>
+            <top :foot="foot"></top>
           </el-col>
           <el-col :span="24" class="nav">
             <native></native>
@@ -28,7 +28,7 @@
             </el-col>
           </el-col>
           <el-col :span="24" class="foot">
-            底部
+            <foot :foot="foot"></foot>
           </el-col>
         </el-col>
       </div>
@@ -39,12 +39,16 @@
 <script>
 import top from '../../layout/altai/index/top.vue';
 import native from '../../layout/altai/index/native.vue';
+import foot from '../../layout/altai/index/foot.vue';
 export default {
   name: 'service',
-  props: {},
+  props: {
+    foot: null,
+  },
   components: {
     top, //头部
     native, //导航
+    foot, //底部
   },
   data: () => ({}),
   created() {},
@@ -63,7 +67,6 @@ export default {
   height: 100px;
   overflow: hidden;
   color: #f2f5fa;
-  padding: 35px 0;
 }
 .nav {
   height: 50px;

+ 7 - 4
src/views/altai/train.vue

@@ -4,7 +4,7 @@
       <div class="w_1200">
         <el-col :span="24">
           <el-col :span="24" class="top">
-            <top></top>
+            <top :foot="foot"></top>
           </el-col>
           <el-col :span="24" class="nav">
             <native></native>
@@ -21,7 +21,7 @@
             </el-col>
           </el-col>
           <el-col :span="24" class="foot">
-            底部
+            <foot :foot="foot"></foot>
           </el-col>
         </el-col>
       </div>
@@ -32,12 +32,16 @@
 <script>
 import top from '../../layout/altai/index/top.vue';
 import native from '../../layout/altai/index/native.vue';
+import foot from '../../layout/altai/index/foot.vue';
 export default {
   name: 'info',
-  props: {},
+  props: {
+    foot: null,
+  },
   components: {
     top, //头部
     native, //导航
+    foot, //底部
   },
   data: () => ({}),
   created() {},
@@ -56,7 +60,6 @@ export default {
   height: 100px;
   overflow: hidden;
   color: #f2f5fa;
-  padding: 35px 0;
 }
 .nav {
   height: 50px;