yrik 4 år sedan
förälder
incheckning
c3aac33f33
1 ändrade filer med 21 tillägg och 3 borttagningar
  1. 21 3
      ruoyi-ui/src/views/index.vue

+ 21 - 3
ruoyi-ui/src/views/index.vue

@@ -241,9 +241,9 @@
             </div>
   </el-dialog>
   <!-- 通知公告弹窗 -->
-  <el-dialog :close-on-click-modal="false" :title="title" :visible.sync="openety" width="980px" append-to-body>
+  <el-dialog class="index_ese" :close-on-click-modal="false" :title="title" :visible.sync="openety" width="980px" append-to-body>
            <div class="index_headertan" >
-               <p>{{actingk.notice_title == undefined? '暂无数据' : actingk.notice_title}}</p>
+               <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>
            </div>
@@ -848,6 +848,12 @@ export default {
 </script>
 
 <style lang="scss">
+  .index_ese{
+    .el-dialog__body{
+      padding-top: 10px !important;
+    }
+
+  }
   .home{
     .el-tabs__header{
      margin-bottom: 5px !important;
@@ -1275,15 +1281,17 @@ export default {
   margin: 0 30px;
   p{
     margin: 0;
+    text-indent:2em;
   }
   p:nth-child(1){
     font-size: 24px;
     font-family: PingFang SC;
     font-weight: bold;
     color: #343434;
-    line-height: 24px;
+    line-height: 42px;
     text-align: center;
     margin-bottom: 10px;
+    text-indent:0em;
   }
   p:nth-child(2){
     font-size: 16px;
@@ -1293,6 +1301,16 @@ export default {
     line-height: 24px;
     text-align: center;
     margin-bottom: 20px;
+    text-indent:0em;
+
+  }
+  p:nth-child(3){
+    font-size: 16px;
+    font-family: PingFang SC;
+    font-weight: 400;
+    color: #343434;
+    line-height: 24px;
+
   }
 }