Browse Source

fix:pc文章详情页数据固定

shenchunlv 1 year ago
parent
commit
b428271048
1 changed files with 3 additions and 3 deletions
  1. 3 3
      pages/list.vue

+ 3 - 3
pages/list.vue

@@ -37,10 +37,10 @@
     <h1 class="my-[20px] font-black text-[30px]">
         {{title}}
       </h1>
-    <div class="w-[1000px]">
-      <p v-html="list">
+    <!-- <div > -->
+      <p v-html="list" class="w-[1000px] h-[80vh] overflow-y-scroll">
       </p>
-    </div>
+    <!-- </div> -->
   </div>
   <div class="w-full bg-[#1f1d2a] pt-[20px] pb-[10px] relative" id="contact">
     <div class="w-[1200px] m-auto">