guhongwei 5 лет назад
Родитель
Сommit
e465d39e88
2 измененных файлов с 4 добавлено и 24 удалено
  1. 0 19
      src/layout/altai/index/image.vue
  2. 4 5
      src/views/altai/index.vue

+ 0 - 19
src/layout/altai/index/image.vue

@@ -1,19 +0,0 @@
-<template>
-  <div id="image">
-    <p>image</p>
-  </div>
-</template>
-
-<script>
-export default {
-  name: 'image',
-  props: {},
-  components: {},
-  data: () => ({}),
-  created() {},
-  computed: {},
-  methods: {},
-};
-</script>
-
-<style lang="scss" scoped></style>

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

@@ -31,9 +31,6 @@
         <el-col :span="24" class="foot">
           <foot :foot="foot"></foot>
         </el-col>
-        <el-col :span="24" class="img">
-          <imageInfo></imageInfo>
-        </el-col>
       </div>
     </el-row>
   </div>
@@ -49,7 +46,6 @@ import keji from '../../layout/altai/index/keji.vue';
 import lianjie from '../../layout/altai/index/lianjie.vue';
 import foot from '../../layout/altai/index/foot.vue';
 import native from '../../layout/altai/index/native.vue';
-import imageInfo from '../../layout/altai/index/image.vue';
 export default {
   name: 'index',
   props: {
@@ -71,7 +67,6 @@ export default {
     lianjie,
     foot,
     native, //导航
-    imageInfo, //图片飘动
   },
   data: () => ({}),
   created() {},
@@ -150,5 +145,9 @@ export default {
 .img {
   position: fixed;
   top: 0;
+  width: 200px;
+  height: 100px;
+  border: 1px solid #ccc;
+  background-color: #fff;
 }
 </style>