Преглед изворни кода

Merge branch 'cnpc2.1' into custom

shanbinzhang пре 1 месец
родитељ
комит
3353cfa24a
1 измењених фајлова са 14 додато и 12 уклоњено
  1. 14 12
      src/views/report/reportExternalDetail.vue

+ 14 - 12
src/views/report/reportExternalDetail.vue

@@ -21,7 +21,7 @@
 
       <div style="padding: 0.6rem; box-sizing: border-box; overflow: hidden">
 
-        <div style="marin-bottom:10px;" v-html="reportInfo.OutsideReportBO.Abstract" v-if="reportInfo.OutsideReportBO.Abstract"></div>
+        <div class="abstract_cont" v-if="reportInfo.OutsideReportBO.Abstract">摘要:{{reportInfo.OutsideReportBO.Abstract}}</div>
         <div id="resetcss" style="overflow:hidden;" v-html="reportInfo.OutsideReportBO.Content" v-if="reportInfo.OutsideReportBO.Content"></div>
 
         <div id="tipsAlert">
@@ -356,17 +356,19 @@ export default {
     }
   }
 
-  #abstract {
-    padding: 0.6rem;
-    box-sizing: border-box;
-    font-size: 0.7rem;
-    line-height: 1.4rem;
-    letter-spacing: 0.1rem;
-    .abstract_cont {
-      border-left: 0.2rem solid #007aff;
-      padding: 0.14rem 0.4rem;
-      box-sizing: border-box;
-      color: #333;
+ 
+  .abstract_cont {
+    padding:5px 20px;
+    margin: 10px 0;
+    position: relative;
+    &::after {
+      position: absolute;
+      width: 5px;
+      height: 100%;
+      content: '';
+      background:#007aff;
+      top: 0;
+      left: 0;
     }
   }
   #noaccess {