shaogen1995 пре 3 година
родитељ
комит
064623b8e2
2 измењених фајлова са 57 додато и 4 уклоњено
  1. 16 4
      hot/src/views/Home.vue
  2. 41 0
      hot/src/views/data.js

+ 16 - 4
hot/src/views/Home.vue

@@ -89,7 +89,7 @@
       <p v-html="data.content[myInd]"></p>
     </div>
   </div>
-  <!-- <h3></h3> -->
+  <!-- <h3></h3> <p>11111111<br/>11111111</p>-->
 </template>
 
 <script>
@@ -328,9 +328,6 @@ export default {
   width: 100%;
   height: 100%;
   position: relative;
-  .ismtop {
-    padding-top: 40px !important;
-  }
   .content {
     width: 100%;
     height: 80%;
@@ -399,6 +396,21 @@ export default {
       font-size: 16px;
     }
   }
+    .ismtop {
+    max-height: 100vh;
+    height: 100vh;
+    display: flex;
+    flex-direction: column;
+    justify-content: center;
+    &>p{
+      padding-right: 20px;
+      max-height: 90%;
+      overflow-y: auto;
+      /deep/p{
+        margin-bottom: 15px;
+      }
+    }
+  }
 }
 
 @media screen and (max-width: 1400px) {

Разлика између датотеке није приказан због своје велике величине
+ 41 - 0
hot/src/views/data.js