Parcourir la source

5.11再次修改

liuqiao il y a 4 ans
Parent
commit
b06893cbf4

+ 2 - 1
src/layout/index.vue

@@ -11,7 +11,7 @@
        @click="routerclik()" />
       </div>
 
-      <div class="count">
+      <div class="count" v-show="zhucenum"> 
         <div class="item">
           <el-image class="icon" :src="count" fit="cover" alt="icon" />
           <span
@@ -171,6 +171,7 @@ export default {
   },
   data() {
     return {
+      zhucenum:false,
       logo:logo,
       qylogo:qylogo,
       yingyong:false,

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

@@ -67,10 +67,10 @@ export default {
     }
   },
   methods: {
-    setHeight() {
-      console.log(this.$refs.home.clientWidth)
-       this.height = (720 / 1920) * this.$refs.home.clientWidth + 'px'
-    },
+    // setHeight() {
+    //   console.log(this.$refs.home.clientWidth)
+    //    this.height = (720 / 1920) * this.$refs.home.clientWidth + 'px'
+    // },
   },
 }
 </script>

+ 1 - 1
src/views/index/indexLayout.vue

@@ -130,7 +130,7 @@
        <img class="background" src="../../assets/index/background.png" />
       
       </div>
-        <div class="image imgtupian"  @click="xiaoxi()"></div>
+        <!-- <div class="image imgtupian"  @click="xiaoxi()"></div> -->
     </div>
     <Workbench
       :workbench-config="workbenchConfig"

+ 4 - 3
src/views/user/userLayout.vue

@@ -93,16 +93,17 @@ export default {
 @import '@/styles/mixin.scss';
 // @import '@/styles/transition.scss';
 .user {
-  padding: 10px 0;
+ // padding: 10px 0;
   @include w_h(100%, 100%);
-  background: $color_f2;
+  //background: $color_f2;
  //background-color: #3d70b2;
    //background-color: rgba($color: #0158a8, $alpha: 0.8);
 
   .container {
     @include flex(space-between, normal);
     @include w_h(100%, 830px);
-    padding: 0 $pad;
+   // padding: 0 $pad;
+   padding: 0;
     .user-slider {
       @include w_h(180px);
     background-color: rgba($color: #0158a8, $alpha: 1.0);