Blame view

label-template-template-1773999322132.json 6.73 KB
dbc9750f   李曜臣   成员模块实现
1
  {
2748a56b   李曜臣   实现标签模块
2
    "id": "template-1773999322132",
dbc9750f   李曜臣   成员模块实现
3
4
    "name": "未命名模板",
    "labelType": "PRICE",
2748a56b   李曜臣   实现标签模块
5
6
7
    "unit": "cm",
    "width": 21,
    "height": 29.7,
dbc9750f   李曜臣   成员模块实现
8
9
10
11
12
    "appliedLocation": "ALL",
    "showRuler": true,
    "showGrid": true,
    "elements": [
      {
2748a56b   李曜臣   实现标签模块
13
        "id": "el-1773999335969-ugvoy6v",
dbc9750f   李曜臣   成员模块实现
14
        "type": "TEXT_STATIC",
2748a56b   李曜臣   实现标签模块
15
16
        "x": 392,
        "y": 48,
dbc9750f   李曜臣   成员模块实现
17
18
19
20
21
22
23
24
25
26
27
28
29
        "width": 120,
        "height": 24,
        "rotation": "horizontal",
        "border": "none",
        "config": {
          "text": "文本",
          "fontFamily": "Arial",
          "fontSize": 14,
          "fontWeight": "normal",
          "textAlign": "left"
        }
      },
      {
2748a56b   李曜臣   实现标签模块
30
        "id": "el-1773999339450-cc9y2lv",
dbc9750f   李曜臣   成员模块实现
31
        "type": "QRCODE",
2748a56b   李曜臣   实现标签模块
32
33
        "x": 200,
        "y": 24,
dbc9750f   李曜臣   成员模块实现
34
35
36
37
38
39
40
41
42
43
        "width": 80,
        "height": 80,
        "rotation": "horizontal",
        "border": "none",
        "config": {
          "data": "https://example.com",
          "errorLevel": "M"
        }
      },
      {
2748a56b   李曜臣   实现标签模块
44
        "id": "el-1773999341556-c795unj",
dbc9750f   李曜臣   成员模块实现
45
        "type": "BARCODE",
2748a56b   李曜臣   实现标签模块
46
47
        "x": 8,
        "y": 48,
dbc9750f   李曜臣   成员模块实现
48
49
50
51
52
53
54
55
56
57
58
59
        "width": 160,
        "height": 48,
        "rotation": "horizontal",
        "border": "none",
        "config": {
          "barcodeType": "CODE128",
          "data": "123456789",
          "showText": true,
          "orientation": "horizontal"
        }
      },
      {
2748a56b   李曜臣   实现标签模块
60
        "id": "el-1773999346493-onxkjxn",
dbc9750f   李曜臣   成员模块实现
61
        "type": "BLANK",
2748a56b   李曜臣   实现标签模块
62
63
64
65
        "x": 40,
        "y": 120,
        "width": 40,
        "height": 24,
dbc9750f   李曜臣   成员模块实现
66
67
68
69
70
        "rotation": "horizontal",
        "border": "none",
        "config": {}
      },
      {
2748a56b   李曜臣   实现标签模块
71
        "id": "el-1773999351836-igrbrib",
dbc9750f   李曜臣   成员模块实现
72
        "type": "TEXT_PRICE",
2748a56b   李曜臣   实现标签模块
73
        "x": 520,
dbc9750f   李曜臣   成员模块实现
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
        "y": 24,
        "width": 80,
        "height": 24,
        "rotation": "horizontal",
        "border": "none",
        "config": {
          "text": "0.00",
          "prefix": "¥",
          "decimal": 2,
          "fontFamily": "Arial",
          "fontSize": 14,
          "fontWeight": "bold",
          "textAlign": "right"
        }
      },
      {
2748a56b   李曜臣   实现标签模块
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
        "id": "el-1773999357328-0jof4kh",
        "type": "IMAGE",
        "x": 480,
        "y": 96,
        "width": 60,
        "height": 60,
        "rotation": "horizontal",
        "border": "none",
        "config": {
          "src": "",
          "scaleMode": "contain"
        }
      },
      {
        "id": "el-1773999360132-bwle4nb",
dbc9750f   李曜臣   成员模块实现
105
        "type": "IMAGE",
2748a56b   李曜臣   实现标签模块
106
107
        "x": 152,
        "y": 120,
dbc9750f   李曜臣   成员模块实现
108
109
110
111
112
113
114
115
116
117
        "width": 60,
        "height": 60,
        "rotation": "horizontal",
        "border": "none",
        "config": {
          "src": "",
          "scaleMode": "contain"
        }
      },
      {
2748a56b   李曜臣   实现标签模块
118
        "id": "el-1773999364492-yxs89ov",
dbc9750f   李曜臣   成员模块实现
119
        "type": "TEXT_PRODUCT",
2748a56b   李曜臣   实现标签模块
120
121
        "x": 272,
        "y": 120,
dbc9750f   李曜臣   成员模块实现
122
123
124
125
126
127
128
129
130
131
132
133
134
        "width": 120,
        "height": 24,
        "rotation": "horizontal",
        "border": "none",
        "config": {
          "text": "商品名",
          "fontFamily": "Arial",
          "fontSize": 14,
          "fontWeight": "normal",
          "textAlign": "left"
        }
      },
      {
2748a56b   李曜臣   实现标签模块
135
        "id": "el-1773999367121-3uesy24",
dbc9750f   李曜臣   成员模块实现
136
        "type": "TEXT_STATIC",
2748a56b   李曜臣   实现标签模块
137
138
        "x": 48,
        "y": 216,
dbc9750f   李曜臣   成员模块实现
139
140
141
142
143
144
145
146
147
148
149
150
151
        "width": 120,
        "height": 24,
        "rotation": "horizontal",
        "border": "none",
        "config": {
          "text": "文本",
          "fontFamily": "Arial",
          "fontSize": 14,
          "fontWeight": "normal",
          "textAlign": "left"
        }
      },
      {
2748a56b   李曜臣   实现标签模块
152
        "id": "el-1773999369332-fib58lw",
dbc9750f   李曜臣   成员模块实现
153
        "type": "QRCODE",
2748a56b   李曜臣   实现标签模块
154
155
        "x": 160,
        "y": 208,
dbc9750f   李曜臣   成员模块实现
156
157
158
159
160
161
162
163
164
165
        "width": 80,
        "height": 80,
        "rotation": "horizontal",
        "border": "none",
        "config": {
          "data": "https://example.com",
          "errorLevel": "M"
        }
      },
      {
2748a56b   李曜臣   实现标签模块
166
        "id": "el-1773999371501-p1ot3id",
dbc9750f   李曜臣   成员模块实现
167
        "type": "BARCODE",
2748a56b   李曜臣   实现标签模块
168
169
        "x": 280,
        "y": 224,
dbc9750f   李曜臣   成员模块实现
170
171
172
173
174
175
176
177
178
179
180
181
        "width": 160,
        "height": 48,
        "rotation": "horizontal",
        "border": "none",
        "config": {
          "barcodeType": "CODE128",
          "data": "123456789",
          "showText": true,
          "orientation": "horizontal"
        }
      },
      {
2748a56b   李曜臣   实现标签模块
182
        "id": "el-1773999374282-ux37cow",
dbc9750f   李曜臣   成员模块实现
183
        "type": "NUTRITION",
2748a56b   李曜臣   实现标签模块
184
185
        "x": 480,
        "y": 200,
dbc9750f   李曜臣   成员模块实现
186
187
188
189
190
191
192
193
194
195
196
197
198
        "width": 200,
        "height": 120,
        "rotation": "horizontal",
        "border": "none",
        "config": {
          "calories": 120,
          "fat": "5g",
          "protein": "3g",
          "carbs": "10g",
          "layout": "standard"
        }
      },
      {
2748a56b   李曜臣   实现标签模块
199
        "id": "el-1773999377353-n90ved8",
dbc9750f   李曜臣   成员模块实现
200
        "type": "TEXT_PRICE",
2748a56b   李曜臣   实现标签模块
201
202
        "x": 664,
        "y": 152,
dbc9750f   李曜臣   成员模块实现
203
204
205
206
207
208
209
210
211
212
213
214
215
        "width": 80,
        "height": 24,
        "rotation": "horizontal",
        "border": "none",
        "config": {
          "text": "0.00",
          "prefix": "¥",
          "decimal": 2,
          "fontFamily": "Arial",
          "fontSize": 14,
          "fontWeight": "bold",
          "textAlign": "right"
        }
2748a56b   李曜臣   实现标签模块
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
      },
      {
        "id": "el-1773999389265-sukmurs",
        "type": "DATE",
        "x": 40,
        "y": 320,
        "width": 120,
        "height": 24,
        "rotation": "horizontal",
        "border": "none",
        "config": {
          "format": "YYYY-MM-DD",
          "offsetDays": 0
        }
      },
      {
        "id": "el-1773999392135-3ub707o",
        "type": "TIME",
        "x": 144,
        "y": 320,
        "width": 100,
        "height": 24,
        "rotation": "horizontal",
        "border": "none",
        "config": {
          "format": "HH:mm",
          "offsetDays": 0
        }
      },
      {
        "id": "el-1773999394947-3y8li6m",
        "type": "DURATION",
        "x": 272,
        "y": 320,
        "width": 120,
        "height": 24,
        "rotation": "horizontal",
        "border": "none",
        "config": {
          "format": "YYYY-MM-DD",
          "offsetDays": 3
        }
      },
      {
        "id": "el-1773999399456-nbglmfa",
        "type": "IMAGE",
        "x": 464,
        "y": 304,
        "width": 60,
        "height": 60,
        "rotation": "horizontal",
        "border": "none",
        "config": {
          "src": "",
          "scaleMode": "contain"
        }
      },
      {
        "id": "el-1773999401976-wzmsx8f",
        "type": "TEXT_STATIC",
        "x": 600,
        "y": 320,
        "width": 120,
        "height": 24,
        "rotation": "horizontal",
        "border": "none",
        "config": {
          "text": "文本",
          "fontFamily": "Arial",
          "fontSize": 14,
          "fontWeight": "normal",
          "textAlign": "left"
        }
      },
      {
        "id": "el-1773999407826-91if0px",
        "type": "TEXT_STATIC",
        "x": 40,
        "y": 368,
        "width": 120,
        "height": 24,
        "rotation": "horizontal",
        "border": "none",
        "config": {
          "text": "文本",
          "fontFamily": "Arial",
          "fontSize": 14,
          "fontWeight": "normal",
          "textAlign": "left"
        }
      },
      {
        "id": "el-1773999417908-lje3b3w",
        "type": "TEXT_STATIC",
        "x": 200,
        "y": 368,
        "width": 120,
        "height": 24,
        "rotation": "horizontal",
        "border": "none",
        "config": {
          "text": "文本",
          "fontFamily": "Arial",
          "fontSize": 14,
          "fontWeight": "normal",
          "textAlign": "left"
        }
dbc9750f   李曜臣   成员模块实现
323
324
325
      }
    ]
  }