Browse Source

overview的样式与正文一致

cxmo 2 years ago
parent
commit
b670644e66
1 changed files with 10 additions and 1 deletions
  1. 10 1
      src/views/reportEn/detail.vue

+ 10 - 1
src/views/reportEn/detail.vue

@@ -44,7 +44,7 @@
         <!-- <div id="resetcss" style="overflow:hidden;" v-html="reportInfo.Content"></div> -->
         <!-- <div id="resetcss" style="overflow:hidden;" v-html="reportInfo.Content"></div> -->
         <div id="overview" style="margin-bottom:10px;">
         <div id="overview" style="margin-bottom:10px;">
           <p><strong>Overview:</strong></p>
           <p><strong>Overview:</strong></p>
-          {{reportInfo.Overview||''}}
+          <p id="overview-content">{{reportInfo.Overview||''}}</p>
         </div>
         </div>
         <div id="resetcss" style="overflow:hidden;">
         <div id="resetcss" style="overflow:hidden;">
         <ul>
         <ul>
@@ -171,6 +171,15 @@ export default {
     $("#resetcss")
     $("#resetcss")
       .find("pre")
       .find("pre")
       .css({ display: "block", whiteSpace: "pre-wrap" });
       .css({ display: "block", whiteSpace: "pre-wrap" });
+    $("#overview")
+      .find("p")
+      .css({
+        margin: "0 auto 0",
+        font: "0.7rem/1.5 'segoe'",
+        color: "#333",
+        letterSpacing: "0",
+        lineHeight: "1.3rem",
+      });
   },
   },
   methods: {
   methods: {
     showTips() {
     showTips() {