sr před 4 roky
rodič
revize
fe23651d29
1 změnil soubory, kde provedl 10 přidání a 8 odebrání
  1. 10 8
      ruoyi-ui/src/views/index.vue

+ 10 - 8
ruoyi-ui/src/views/index.vue

@@ -113,7 +113,9 @@
                    <div style="height: 84%;">
                         <div style="height: 85%;">
                           <h3 style="text-align: center; margin: 35px 0;">{{tieku}}</h3>
-                                        <p class="index_profilep" > {{comg}}	</p>
+                          <pre>
+                            <div class="index_profilep" v-html="comg"></div>
+                          </pre>
                         </div>
                                       <!-- {{getLisprofileone[0].info_content}} -->
                                       <div class="index_haderPagin">
@@ -245,7 +247,9 @@
            <div class="index_headertan" >
                <p v-html="actingk.notice_title == undefined? '暂无数据' : actingk.notice_title"></p>
                <p>{{actingk.create_time == undefined? '暂无数据' : actingk.create_time}} 发布人:{{actingk.create_by}}</p>
-               <p v-html="actingk.notice_content"></p>
+               <pre>
+                 <div v-html="actingk.notice_content"></div>
+               </pre>
            </div>
 
   </el-dialog>
@@ -1129,7 +1133,6 @@ export default {
     margin-bottom: 20px;
     height: 590px;
     .index_profilep{
-
       font-size: 12px;
       font-family: PingFang SC;
       font-weight: bold;
@@ -1281,7 +1284,6 @@ export default {
   margin: 0 30px;
   p{
     margin: 0;
-    text-indent:2em;
   }
   p:nth-child(1){
     font-size: 24px;
@@ -1302,16 +1304,16 @@ export default {
     text-align: center;
     margin-bottom: 20px;
     text-indent:0em;
-
   }
-  p:nth-child(3){
+  pre{
     font-size: 16px;
     font-family: PingFang SC;
     font-weight: 400;
     color: #343434;
-    line-height: 24px;
-
   }
 }
+  pre{
+    white-space:pre-wrap;
+  }
 
 </style>