Răsfoiți Sursa

fix:题卡字体限制为宋体

zhangjie 2 ani în urmă
părinte
comite
16ec838356

+ 20 - 19
card/assets/styles/card-preview.scss

@@ -30,6 +30,7 @@
   background: #fff;
   margin: 0 auto;
   font-weight: normal;
+  font-family: "宋体", "宋体-简", Arial, sans-serif;
 
   .page-main {
     height: 100%;
@@ -188,7 +189,7 @@
     bottom: 0;
     right: 0;
     z-index: 1;
-    border: 1px solid #333;
+    border: 1px solid #000;
     overflow: hidden;
     &::before {
       content: "";
@@ -260,7 +261,7 @@
         left: 0;
         box-sizing: border-box;
         z-index: 2;
-        border: 1px solid #333;
+        border: 1px solid #000;
         border-top: 0;
       }
 
@@ -293,14 +294,14 @@
       }
       &-type-last {
         &::before {
-          border-bottom: 1px solid #333;
+          border-bottom: 1px solid #000;
         }
       }
     }
     &:last-child {
       .element-item {
         &::before {
-          border-bottom: 1px solid #333;
+          border-bottom: 1px solid #000;
         }
       }
       .element-item-card-head.element-item-type-pre {
@@ -407,7 +408,7 @@
     display: table-cell;
     width: 50%;
     vertical-align: top;
-    border: 1px solid #333;
+    border: 1px solid #000;
     &-dash {
       border-style: dashed;
       vertical-align: middle;
@@ -467,7 +468,7 @@
         display: block;
         position: absolute;
         width: 100%;
-        border-bottom: 1px solid #333;
+        border-bottom: 1px solid #000;
         bottom: 6px;
         left: 0;
         z-index: 1;
@@ -519,7 +520,7 @@
         &-rect {
           font-size: 0;
           height: 27px;
-          border-bottom: 1px solid #333;
+          border-bottom: 1px solid #000;
         }
         &-number {
           display: inline-block;
@@ -527,7 +528,7 @@
           width: 7.692%;
           height: 100%;
           &:not(:last-child) {
-            border-right: 1px solid #333;
+            border-right: 1px solid #000;
           }
         }
 
@@ -540,7 +541,7 @@
           z-index: 9;
 
           > h5 {
-            border-bottom: 1px solid #333;
+            border-bottom: 1px solid #000;
             line-height: 24px;
             font-size: 16px;
             font-weight: bold;
@@ -814,7 +815,7 @@
           vertical-align: middle;
           text-align: center;
           &:not(:last-child) {
-            border-right: 1px solid #333;
+            border-right: 1px solid #000;
           }
         }
         &-fill {
@@ -857,7 +858,7 @@
     }
   }
   &-part {
-    border: 1px solid #333;
+    border: 1px solid #000;
     &:not(:last-child) {
       margin-bottom: 10px;
     }
@@ -920,7 +921,7 @@
     }
 
     &-item {
-      border: 1px solid #333;
+      border: 1px solid #000;
       &:nth-of-type(2) {
         margin-top: 10px;
       }
@@ -936,7 +937,7 @@
   text-align: center;
   .elem-body {
     padding: 0;
-    border: 1px solid #333;
+    border: 1px solid #000;
   }
   &-pad {
     padding-top: 10px;
@@ -945,7 +946,7 @@
     font-size: 16px;
     height: 29px;
     line-height: 28px;
-    border-bottom: 1px dotted #333;
+    border-bottom: 1px dotted #000;
     font-weight: normal;
   }
   p {
@@ -1069,7 +1070,7 @@
     border-spacing: 0;
     border-collapse: collapse;
     td {
-      border: 1px solid #333;
+      border: 1px solid #000;
     }
   }
   &-halving {
@@ -1337,7 +1338,7 @@
     &-rect {
       font-size: 0;
       height: 27px;
-      border-bottom: 1px solid #333;
+      border-bottom: 1px solid #000;
     }
     &-number {
       display: inline-block;
@@ -1345,7 +1346,7 @@
       width: 7.692%;
       height: 100%;
       &:not(:last-child) {
-        border-right: 1px solid #333;
+        border-right: 1px solid #000;
       }
     }
 
@@ -1353,7 +1354,7 @@
       height: 51px;
 
       > h5 {
-        border-bottom: 1px solid #333;
+        border-bottom: 1px solid #000;
         line-height: 24px;
         font-size: 16px;
         font-weight: bold;
@@ -1410,7 +1411,7 @@
       display: block;
       position: absolute;
       width: 100%;
-      border-bottom: 1px solid #333;
+      border-bottom: 1px solid #000;
       bottom: 2px;
       left: 0;
       z-index: 1;

+ 1 - 0
card/assets/styles/card-temp.css

@@ -25,6 +25,7 @@
   background: #fff;
   margin: 0 auto;
   font-weight: normal;
+  font-family: "宋体", "宋体-简", Arial, sans-serif;
 }
 .page-box .page-main {
   height: 100%;

Fișier diff suprimat deoarece este prea mare
+ 1 - 1
card/previewTemp.js


Unele fișiere nu au fost afișate deoarece prea multe fișiere au fost modificate în acest diff