{ "panels": [ { "index": 0, "name": 1, "height": 297, "width": 210, "paperHeader": 0, "paperFooter": 780, "printElements": [ { "options": { "left": 56, "top": 20, "height": 42, "width": 400, "title": "标题", "field": "title", "testData": "花掌柜 鲜花配送单", "fontSize": 29, "fontWeight": "bold", "textAlign": "center", "textContentVerticalAlign": "middle", "hideTitle": true, "fontFamily": "SimSun" }, "printElementType": { "title": "文本", "type": "text" } }, { "options": { "left": 420, "top": 28, "height": 32, "width": 140, "title": "批次号", "field": "batchNo", "testData": "#O24 [#3]", "fontSize": 19, "textAlign": "right", "textContentVerticalAlign": "middle", "hideTitle": true, "fontFamily": "SimSun" }, "printElementType": { "title": "文本", "type": "text" } }, { "options": { "left": 30, "top": 70, "height": 490, "width": 520, "borderWidth": 1 }, "printElementType": { "title": "矩形", "type": "rect" } }, { "options": { "left": 30, "top": 134, "height": 1, "width": 520, "borderWidth": 1 }, "printElementType": { "title": "横线", "type": "hline" } }, { "options": { "left": 30, "top": 230, "height": 1, "width": 520, "borderWidth": 1 }, "printElementType": { "title": "横线", "type": "hline" } }, { "options": { "left": 30, "top": 294, "height": 1, "width": 520, "borderWidth": 1 }, "printElementType": { "title": "横线", "type": "hline" } }, { "options": { "left": 30, "top": 467, "height": 1, "width": 520, "borderWidth": 1 }, "printElementType": { "title": "横线", "type": "hline" } }, { "options": { "left": 130, "top": 70, "height": 64, "width": 1, "borderWidth": 1 }, "printElementType": { "title": "竖线", "type": "vline" } }, { "options": { "left": 290, "top": 70, "height": 64, "width": 1, "borderWidth": 1 }, "printElementType": { "title": "竖线", "type": "vline" } }, { "options": { "left": 390, "top": 70, "height": 64, "width": 1, "borderWidth": 1 }, "printElementType": { "title": "竖线", "type": "vline" } }, { "options": { "left": 130, "top": 134, "height": 96, "width": 1, "borderWidth": 1 }, "printElementType": { "title": "竖线", "type": "vline" } }, { "options": { "left": 130, "top": 230, "height": 64, "width": 1, "borderWidth": 1 }, "printElementType": { "title": "竖线", "type": "vline" } }, { "options": { "left": 130, "top": 294, "height": 173, "width": 1, "borderWidth": 1 }, "printElementType": { "title": "竖线", "type": "vline" } }, { "options": { "left": 130, "top": 467, "height": 93, "width": 1, "borderWidth": 1 }, "printElementType": { "title": "竖线", "type": "vline" } }, { "options": { "left": 30, "top": 70, "height": 64, "width": 100, "title": "顾客姓名", "testData": "顾客姓名", "fontSize": 20, "fontWeight": "bold", "textAlign": "center", "textContentVerticalAlign": "middle", "hideTitle": true, "fontFamily": "SimSun" }, "printElementType": { "title": "文本", "type": "text" } }, { "options": { "left": 130, "top": 70, "height": 64, "width": 160, "title": "姓名", "field": "receiveUserName", "testData": "张女士", "fontSize": 21, "textAlign": "left", "textContentVerticalAlign": "middle", "hideTitle": true, "fontFamily": "SimSun" }, "printElementType": { "title": "文本", "type": "text" } }, { "options": { "left": 290, "top": 70, "height": 64, "width": 100, "title": "顾客电话", "testData": "顾客电话", "fontSize": 20, "fontWeight": "bold", "textAlign": "center", "textContentVerticalAlign": "middle", "hideTitle": true, "fontFamily": "SimSun" }, "printElementType": { "title": "文本", "type": "text" } }, { "options": { "left": 390, "top": 70, "height": 64, "width": 160, "title": "电话", "field": "receiveMobile", "testData": "13800138000", "fontSize": 21, "fontWeight": "bold", "textAlign": "left", "textContentVerticalAlign": "middle", "hideTitle": true, "fontFamily": "SimSun" }, "printElementType": { "title": "文本", "type": "text" } }, { "options": { "left": 30, "top": 134, "height": 96, "width": 100, "title": "顾客地址", "testData": "顾客地址", "fontSize": 20, "fontWeight": "bold", "textAlign": "center", "textContentVerticalAlign": "middle", "hideTitle": true, "fontFamily": "SimSun" }, "printElementType": { "title": "文本", "type": "text" } }, { "options": { "left": 135, "top": 134, "height": 96, "width": 410, "title": "地址", "field": "addressBlock", "testData": "福建省厦门市集美区前山路147号", "fontSize": 20, "fontWeight": "bold", "lineHeight": 29, "textAlign": "left", "textContentVerticalAlign": "middle", "hideTitle": true, "fontFamily": "SimSun" }, "printElementType": { "title": "文本", "type": "text" } }, { "options": { "left": 30, "top": 230, "height": 64, "width": 100, "title": "配送时间", "testData": "配送时间", "fontSize": 20, "fontWeight": "bold", "textAlign": "center", "textContentVerticalAlign": "middle", "hideTitle": true, "fontFamily": "SimSun" }, "printElementType": { "title": "文本", "type": "text" } }, { "options": { "left": 135, "top": 230, "height": 64, "width": 410, "title": "时间", "field": "reachTimeText", "testData": "预约配送 03月15日 下午", "fontSize": 21, "fontWeight": "bold", "textAlign": "left", "textContentVerticalAlign": "middle", "hideTitle": true, "fontFamily": "SimSun" }, "printElementType": { "title": "文本", "type": "text" } }, { "options": { "left": 30, "top": 340, "height": 36, "width": 100, "title": "商品描述", "testData": "商品描述", "fontSize": 19, "fontWeight": "bold", "textAlign": "center", "textContentVerticalAlign": "middle", "hideTitle": true, "fontFamily": "SimSun" }, "printElementType": { "title": "文本", "type": "text" } }, { "options": { "left": 30, "top": 380, "height": 36, "width": 100, "title": "参考照片", "testData": "参考照片", "fontSize": 19, "fontWeight": "bold", "textAlign": "center", "textContentVerticalAlign": "middle", "hideTitle": true, "fontFamily": "SimSun" }, "printElementType": { "title": "文本", "type": "text" } }, { "options": { "left": 145, "top": 308, "height": 147, "width": 133, "field": "productImage", "src": "", "fit": "cover" }, "printElementType": { "title": "图片", "type": "image" } }, { "options": { "left": 290, "top": 330, "height": 40, "width": 240, "title": "商品名", "field": "productName", "testData": "韩式抱抱桶", "fontSize": 21, "fontWeight": "bold", "textAlign": "left", "textContentVerticalAlign": "top", "hideTitle": true, "fontFamily": "SimSun" }, "printElementType": { "title": "文本", "type": "text" } }, { "options": { "left": 290, "top": 390, "height": 48, "width": 240, "title": "数量", "field": "productCountText", "testData": "共 1 个", "fontSize": 27, "fontWeight": "bold", "textAlign": "left", "textContentVerticalAlign": "top", "hideTitle": true, "fontFamily": "SimSun" }, "printElementType": { "title": "文本", "type": "text" } }, { "options": { "left": 30, "top": 467, "height": 93, "width": 100, "title": "贺卡内容", "testData": "贺卡内容", "fontSize": 20, "fontWeight": "bold", "textAlign": "center", "textContentVerticalAlign": "middle", "hideTitle": true, "fontFamily": "SimSun" }, "printElementType": { "title": "文本", "type": "text" } }, { "options": { "left": 135, "top": 467, "height": 93, "width": 410, "title": "贺卡", "field": "cardInfo", "testData": "生日快乐,愿你被鲜花和温柔包围。", "fontSize": 20, "lineHeight": 29, "textAlign": "left", "textContentVerticalAlign": "middle", "hideTitle": true, "fontFamily": "SimSun" }, "printElementType": { "title": "文本", "type": "text" } }, { "options": { "left": 30, "top": 580, "height": 36, "width": 520, "title": "客服提示", "field": "serviceTip", "testData": "如在制作,配送环节出现问题或疑问,欢迎随时致电: 400-000-0000", "fontSize": 16, "fontWeight": "bold", "textAlign": "center", "hideTitle": true, "fontFamily": "SimSun" }, "printElementType": { "title": "文本", "type": "text" } }, { "options": { "left": 222, "top": 640, "height": 133, "width": 133, "borderWidth": 3 }, "printElementType": { "title": "椭圆", "type": "oval" } }, { "options": { "left": 222, "top": 640, "height": 133, "width": 133, "title": "货号", "field": "sendNum", "testData": "3", "fontSize": 48, "fontWeight": "bold", "textAlign": "center", "textContentVerticalAlign": "middle", "hideTitle": true, "fontFamily": "SimSun" }, "printElementType": { "title": "文本", "type": "text" } } ], "paperNumberLeft": 565, "paperNumberTop": 819, "paperNumberDisabled": true, "paperNumberContinue": true, "fontFamily": "SimSun", "watermarkOptions": { "content": "", "rotate": 25, "timestamp": false, "format": "YYYY-MM-DD HH:mm", "fillStyle": "rgba(184, 184, 184, 0.3)", "fontSize": "14px", "width": 200, "height": 200 }, "panelLayoutOptions": { "layoutType": "column", "layoutRowGap": 0, "layoutColumnGap": 0 } } ] }