Forráskód Böngészése

题卡模板调整

zhangjie 2 éve
szülő
commit
7e504d0342

+ 0 - 113
src/modules/card/cardTemps.js

@@ -1,113 +0,0 @@
-// A3
-export const temp1 = {
-  elements: [
-    {
-      type: "CARD_HEAD",
-      modelType: "MODEL_ONE",
-    },
-  ],
-  sideLeft: [
-    {
-      type: "GUTTER",
-      direction: "left",
-      x: 60,
-      w: 30,
-    },
-    {
-      type: "FILL_FIELD",
-      fieldCountPerLine: 2,
-      w: 440,
-      h: 40,
-      y: 980,
-      x: 26,
-      fields: [
-        {
-          name: "考生编号",
-          code: "",
-        },
-        {
-          name: "姓名",
-          code: "",
-        },
-      ],
-    },
-    {
-      type: "FILL_FIELD",
-      w: 220,
-      h: 40,
-      y: 210,
-      x: 26,
-      fields: [
-        {
-          name: "考生确认签名",
-          code: "",
-        },
-      ],
-    },
-  ],
-  sideRight: [
-    {
-      type: "GUTTER",
-      direction: "right",
-      x: 0,
-      w: 30,
-    },
-  ],
-};
-
-// 8K
-export const temp2 = {
-  elements: [
-    {
-      type: "CARD_HEAD",
-      modelType: "MODEL_ONE",
-    },
-  ],
-  sideLeft: [
-    {
-      type: "GUTTER",
-      direction: "left",
-      x: 60,
-      w: 30,
-    },
-    {
-      type: "FILL_FIELD",
-      fieldCountPerLine: 2,
-      w: 400,
-      h: 30,
-      y: 870,
-      x: 26,
-      fields: [
-        {
-          name: "考生编号",
-          code: "",
-        },
-        {
-          name: "姓名",
-          code: "",
-        },
-      ],
-    },
-    {
-      type: "FILL_FIELD",
-      w: 220,
-      h: 30,
-      y: 210,
-      x: 26,
-      fields: [
-        {
-          name: "考生确认签名",
-          code: "",
-        },
-      ],
-    },
-  ],
-  sideRight: [
-    {
-      type: "GUTTER",
-      direction: "right",
-      x: 0,
-      w: 30,
-    },
-  ],
-};

+ 55 - 0
src/modules/card/datas/8K.json

@@ -0,0 +1,55 @@
+{
+  "elements": [
+    {
+      "type": "CARD_HEAD",
+      "modelType": "MODEL_ONE"
+    }
+  ],
+  "sideLeft": [
+    {
+      "type": "GUTTER",
+      "direction": "left",
+      "x": 60,
+      "w": 30
+    },
+    {
+      "type": "FILL_FIELD",
+      "fieldCountPerLine": 2,
+      "w": 400,
+      "h": 30,
+      "y": 870,
+      "x": 26,
+      "fields": [
+        {
+          "name": "考生编号",
+          "code": ""
+        },
+        {
+          "name": "姓名",
+          "code": ""
+        }
+      ]
+    },
+    {
+      "type": "FILL_FIELD",
+      "w": 220,
+      "h": 30,
+      "y": 470,
+      "x": 26,
+      "fields": [
+        {
+          "name": "考生确认签名",
+          "code": ""
+        }
+      ]
+    }
+  ],
+  "sideRight": [
+    {
+      "type": "GUTTER",
+      "direction": "right",
+      "x": 0,
+      "w": 30
+    }
+  ]
+}

+ 55 - 0
src/modules/card/datas/A3.json

@@ -0,0 +1,55 @@
+{
+  "elements": [
+    {
+      "type": "CARD_HEAD",
+      "modelType": "MODEL_ONE"
+    }
+  ],
+  "sideLeft": [
+    {
+      "type": "GUTTER",
+      "direction": "left",
+      "x": 60,
+      "w": 30
+    },
+    {
+      "type": "FILL_FIELD",
+      "fieldCountPerLine": 2,
+      "w": 440,
+      "h": 40,
+      "y": 980,
+      "x": 26,
+      "fields": [
+        {
+          "name": "考生编号",
+          "code": ""
+        },
+        {
+          "name": "姓名",
+          "code": ""
+        }
+      ]
+    },
+    {
+      "type": "FILL_FIELD",
+      "w": 220,
+      "h": 40,
+      "y": 510,
+      "x": 26,
+      "fields": [
+        {
+          "name": "考生确认签名",
+          "code": ""
+        }
+      ]
+    }
+  ],
+  "sideRight": [
+    {
+      "type": "GUTTER",
+      "direction": "right",
+      "x": 0,
+      "w": 30
+    }
+  ]
+}

+ 0 - 0
src/modules/card/card-online.temp.json → src/modules/card/datas/card-online.temp.json


+ 0 - 0
src/modules/card/card-underline.temp.json → src/modules/card/datas/card-underline.temp.json