dengrui 6 mesi fa
parent
commit
97ddb2f8ec

BIN
public/fonts/FZXBSJW.TTF


+ 6 - 1
src/styles/index.scss

@@ -6,7 +6,12 @@
 // @import "https://cdn.jsdelivr.net/npm/@vue-flow/controls@latest/dist/style.css";
 // @import "https://cdn.jsdelivr.net/npm/@vue-flow/minimap@latest/dist/style.css";
 // @import "https://cdn.jsdelivr.net/npm/@vue-flow/node-resizer@latest/dist/style.css";
-
+@font-face {
+  font-family: 'FZXBSJW';
+  src: url('/fonts/FZXBSJW.TTF') format('truetype');
+  font-weight: normal;
+  font-style: normal;
+}
 .vue-flow__minimap {
   transform: scale(75%);
   transform-origin: bottom right;

+ 5 - 2
src/views/base/signature/components/opSignature.vue

@@ -216,7 +216,7 @@
         >
           <div class="showGJBox">
             <div v-if="form.jyName" ref="JYRef" class="JYBox">
-              检<span style="margin-left: 20px">{{ form.jyName }}</span>
+              检<span style="margin-left: 10px">{{ form.jyName }}</span>
             </div>
             <span v-else>请先设置检验编号</span>
           </div>
@@ -979,6 +979,7 @@ watch(
   .GJBox {
     font-size: 20px;
     padding: 0 3px;
+    font-family: "FZXBSJW", sans-serif;
     color: red;
     background-color: transparent !important;
     display: inline;
@@ -986,6 +987,7 @@ watch(
   }
   .JYBox {
     font-size: 20px;
+    font-family: "FZXBSJW", sans-serif;
     padding: 0 3px;
     color: red;
     background-color: transparent !important;
@@ -1002,9 +1004,10 @@ watch(
     font-weight: bolder;
     text-align: center;
     width: 120px;
+    font-family: "FZXBSJW", sans-serif;
     height: 120px;
     line-height: 50%;
-    padding-top: 25px;
+    padding-top: 30px;
     color: red;
     background-color: transparent !important;
     display: inline;