Jelajahi Sumber

修改静态知识样式(2146)

zhangxc 5 tahun lalu
induk
melakukan
4aa679e23f

+ 7 - 1
src/common/less/base.less

@@ -49,7 +49,7 @@ button + button {
 
 html,body {
     font-size: @font-size-base; 
-    color: @B800;
+    // color: @B800;
     background: @body-bg;
 }
 :global(#root) {
@@ -64,3 +64,9 @@ html,body {
 :global(.mainsuit-box) {
     
 }
+:global(.ql-align-center) {
+    text-align: center;
+}
+:global(.ql-align-right) {
+    text-align: right;
+}

+ 12 - 0
src/components/PushItems/TipsMsg/index.less

@@ -1,5 +1,17 @@
 @import "~@less/variables.less";
+@import "~@less/base.less";
+
 .tips{
+   ul, ol {
+     padding: 0 0 0 15px;
+   }
+   ul li {
+     list-style: disc;
+   }
+   ol li{
+    list-style: decimal;
+  }
+  
     border:1px solid #EAEDF1;
     .tips-title,h1{
       font-size: 14px;

+ 1 - 1
src/store/async-actions/pushMessage.js

@@ -5,7 +5,7 @@ import { SET_CLICK_DIAG } from '../types/diagnosticList';
 import {storageLocal,getEMRParams} from '@utils/tools';
 import {SET_IMPORT_CHECKBODY_LABEL,PRESET} from "../types/checkBody";
 import dataLis from '@components/EmergencyProcedure/emergency';
-import { Notify} from '@commonComp';
+import  Notify from '@commonComp/Notify';
 import {pregetCheckbodyData} from '@store/async-actions/fetchModules';
 import {tabChange} from '@store/actions/tabTemplate';
 const api={