Browse Source

修改头部遗漏的问题

秦鹏 3 years ago
parent
commit
da000f99da
2 changed files with 5 additions and 64 deletions
  1. 3 32
      src/views/teacher-dev/Preview.vue
  2. 2 32
      src/views/teacher-dev/Viewmore.vue

+ 3 - 32
src/views/teacher-dev/Preview.vue

@@ -1,10 +1,8 @@
 <template>
 <template>
   <!-- 预览 -->
   <!-- 预览 -->
   <div class="tarcer-dev-Preview" v-loading="loading">
   <div class="tarcer-dev-Preview" v-loading="loading">
-    <div class="header">
-      <Header />
-      <div class="shade"></div>
-    </div>
+    <Header />
+
     <HeaderOne v-if="!Ispreview && data" :text="data.name" :allList="allList" />
     <HeaderOne v-if="!Ispreview && data" :text="data.name" :allList="allList" />
     <div class="main" v-if="data">
     <div class="main" v-if="data">
       <div class="flassify">
       <div class="flassify">
@@ -360,34 +358,7 @@ export default {
 <style lang="scss" scoped>
 <style lang="scss" scoped>
 .tarcer-dev-Preview {
 .tarcer-dev-Preview {
   height: 100%;
   height: 100%;
-  .header {
-    height: 64px;
-    background: url("../../assets/teacherdev/Homebg2.png") no-repeat;
-    background-size: 100% 100%;
-    position: relative;
-    .shade {
-      position: absolute;
-      top: 0;
-      width: 100%;
-      height: 100%;
-      background: rgba(0, 0, 0, 0.5);
-      display: flex;
-      color: #fff;
-      font-weight: bold;
-      font-size: 18px;
-      justify-content: space-around;
-      align-items: center;
-      .el-menu-demo {
-        background: rgba(0, 0, 0, 0);
-        li:hover {
-          background: none;
-        }
-        li {
-          background: none;
-        }
-      }
-    }
-  }
+
   .main {
   .main {
     min-height: 543px;
     min-height: 543px;
     background: #f6f6f6;
     background: #f6f6f6;

+ 2 - 32
src/views/teacher-dev/Viewmore.vue

@@ -1,10 +1,8 @@
 <template>
 <template>
   <!-- 查看更多 -->
   <!-- 查看更多 -->
   <div class="Viewmore">
   <div class="Viewmore">
-    <div class="header">
-      <Header />
-      <div class="shade"></div>
-    </div>
+    <Header />
+
     <HeaderOne :changeKeycode="changeKeycode" :keycode="keycode" :text="text" />
     <HeaderOne :changeKeycode="changeKeycode" :keycode="keycode" :text="text" />
     <div class="main" v-loading="loading">
     <div class="main" v-loading="loading">
       <!-- 
       <!-- 
@@ -309,34 +307,6 @@ export default {
 .Viewmore {
 .Viewmore {
   min-height: 100vh;
   min-height: 100vh;
   background: #f6f6f6;
   background: #f6f6f6;
-  .header {
-    height: 64px;
-    background: url("../../assets/teacherdev/Homebg2.png") no-repeat;
-    background-size: 100% 100%;
-    position: relative;
-    .shade {
-      position: absolute;
-      top: 0;
-      width: 100%;
-      height: 100%;
-      background: rgba(0, 0, 0, 0.5);
-      display: flex;
-      color: #fff;
-      font-weight: bold;
-      font-size: 18px;
-      justify-content: space-around;
-      align-items: center;
-      .el-menu-demo {
-        background: rgba(0, 0, 0, 0);
-        li:hover {
-          background: none;
-        }
-        li {
-          background: none;
-        }
-      }
-    }
-  }
   .main {
   .main {
     background: #f6f6f6;
     background: #f6f6f6;
     min-height: 568px;
     min-height: 568px;