Files
iMES_Net/iMES.WebApi/wwwroot/Print-Designer/apis/example_23.json
2026-02-06 18:34:35 +08:00

198 lines
10 KiB
JSON

{
"data": {
"unit": "px",
"page": {
"readonly": false,
"width": 791,
"height": 1120,
"pages": 1,
"xOffset": 0,
"yOffset": 0,
"title": "",
"background": "#ffffff",
"backgroundImage": "",
"backgroundRepeat": "full",
"backgroundWidth": 0,
"backgroundHeight": 0,
"backgroundXOffset": 0,
"backgroundYOffset": 0
},
"groups": [],
"elements": [
{
"id": "e_303",
"type": "data-repeater",
"unit": "px",
"props": {
"rows": [
{
"height": 226,
"cols": [
{
"width": 300,
"elements": [
{
"id": "e_307",
"type": "qrcode",
"unit": "px",
"props": {
"x": 24,
"y": 50,
"width": 97,
"height": 97,
"rotate": 0,
"alpha": 1,
"text": "",
"bind": {
"tag": "apis/person.json",
"id": "3",
"fields": [
{
"name": "性别",
"key": "gender"
}
]
},
"ename": "二维码",
"locked": false
}
},
{
"id": "e_342",
"type": "qrcode",
"unit": "px",
"props": {
"pinX": false,
"pinY": false,
"x": 153,
"y": 50,
"width": 97,
"height": 97,
"rotate": 0,
"alpha": 1,
"text": "",
"bind": {
"tag": "apis/person.json",
"id": "3",
"fields": [
{
"name": "身份证号",
"key": "idn"
}
]
},
"ename": "二维码",
"locked": false
}
},
{
"id": "e_348",
"type": "barcode",
"unit": "px",
"props": {
"x": 24,
"y": 159,
"width": 226,
"height": 67,
"rotate": 0,
"alpha": 1,
"text": "",
"bind": {
"tag": "apis/person.json",
"id": "3",
"fields": [
{
"name": "身份证号",
"key": "idn"
}
]
},
"format": "code128",
"showText": true,
"color": "#000000",
"linewidth": 2,
"ename": "条形码",
"locked": false
}
},
{
"id": "e_368",
"type": "text",
"unit": "px",
"props": {
"x": 24,
"y": 14,
"width": 200,
"height": 25,
"rotate": 0,
"text": "",
"bind": {
"tag": "apis/person.json",
"id": "3",
"fields": [
{
"name": "姓名",
"key": "name"
}
]
},
"format": "",
"autoHeight": false,
"fontsize": 14,
"fontfamily": "tahoma",
"alpha": 1,
"letterspacing": 0,
"background": "",
"forecolor": "#000000",
"styleBold": false,
"styleUnderline": false,
"styleItalic": false,
"styleStrike": false,
"styleOverline": false,
"hpos": "flex-start",
"vpos": "flex-start",
"borderwidth": 0,
"bordertype": "solid",
"bordercolor": "#000000",
"ename": "文本",
"locked": false
}
}
],
"borderLeftStyle": "solid",
"borderLeftWidth": 0,
"borderRadius": "0% 0% 0% 0%/0% 0% 0% 0%",
"borderLeftColor": "#000000",
"borderTopStyle": "solid",
"borderTopWidth": 0,
"borderTopColor": "#000000",
"borderRightStyle": "solid",
"borderRightWidth": 0,
"borderRightColor": "#000000",
"borderBottomStyle": "solid",
"borderBottomWidth": 0,
"borderBottomColor": "#000000"
}
]
}
],
"x": 64,
"y": 88,
"width": 300,
"height": 226,
"alpha": 1,
"bind": {
"id": 3,
"tag": "apis/person.json",
"fields": []
},
"hspace": 20,
"vspace": 20,
"ename": "重复容器",
"locked": false
}
}
]
},
"success": true
}