Procházet zdrojové kódy

eep的预览去掉padding

natasha před 2 týdny
rodič
revize
52dcb51b2f

+ 10 - 7
src/views/TextbookDetail.vue

@@ -1207,12 +1207,12 @@ export default {
     .Catalogue {
       margin: 24px auto;
       width: 1240px;
-      height: 710px;
+      height: 700px;
       background: #ffffff;
       display: flex;
       .left {
         width: 340px;
-        height: 710px;
+        height: 700px;
         border-right: 1px solid #d9d9d9;
         .title {
           width: 80%;
@@ -1235,13 +1235,13 @@ export default {
       }
       .right {
         width: 860px;
-        height: 710px;
+        height: 700px;
       }
     }
     .Resources {
       margin: 24px auto;
       width: 1240px;
-      min-height: 710px;
+      min-height: 700px;
       //   background: #ffffff;
       //   display: flex;
       box-sizing: border-box;
@@ -1480,11 +1480,14 @@ export default {
     }
   }
 }
-.bookDetail-eep {
-  width: 1610px !important;
-}
 </style>
 <style lang="scss">
+.bookDetail-eep {
+  width: 1570px !important;
+  .inner {
+    padding: 0 !important;
+  }
+}
 .buyWindow {
   .el-dialog__body {
     padding: 20px 32px;

+ 4 - 1
src/views/bookView.vue

@@ -38,6 +38,9 @@
           id="data-screen"
           class="inner"
           v-if="chapterFree == 'true' || bookIsBuy == 'true'"
+          :style="{
+            padding: category === 'EEP' ? '0' : '',
+          }"
         >
           <!-- 显示答案按钮 -->
           <!-- <a v-if="chapterId" :class="['answerShow',isAnswerShow?'answerShowTrue':'']" @click="handleAnswerShow">显示答案</a> -->
@@ -372,7 +375,7 @@ export default {
       .title-box {
         display: flex;
         align-items: center;
-        margin-bottom: 12px;
+        // margin-bottom: 12px;
         padding-right: 160px;
         position: relative;
         > img {

+ 1 - 0
src/views/courseView.vue

@@ -68,6 +68,7 @@
         :style="{
           background: isPhone ? themeColorPhone : '',
           marginLeft: isPad ? '0' : '',
+          padding: category === 'EEP' ? '0' : '',
         }"
         v-loading="loading"
       >

+ 3 - 0
src/views/courseWare.vue

@@ -9,6 +9,9 @@
         id="data-screen"
         v-loading="loading"
         :class="['inner', fullscreen ? 'inner-full' : '']"
+        :style="{
+          padding: category === 'EEP' ? '0' : '',
+        }"
       >
         <div class="resule-box" v-if="ViewMode === 'Result'">
           <span>用时:{{ handleDateTime(this.duration) }}</span>