export default {
  canvas: {
    width: '163mm',
    height: '80mm',
    lineHeight: 1.4,
    borderTop: '1px dashed #ddd',
    position: 'relative',
    direction: 'horizen',
    reverse: false,
    remark: '',
    remark2: ''
  },
  elements: [
    {
      type: 'sign',
      name: '渠道标识',
      style: {
        fontSize: '14px',
        fontWeight: 'bold',
        left: '518px',
        top: '10px',
        position: 'absolute',
        format: '渠道标识：'
      }
    },
    {
      type: 'orderId',
      name: '订单号',
      style: {
        fontSize: '14px',
        fontWeight: 'bold',
        left: '14px',
        top: '10px',
        position: 'absolute',
        width: '270px',
        format: '订单号：'
      }
    },
    {
      type: 'ticketId',
      name: '票号',
      style: {
        fontSize: '14px',
        fontWeight: 'bold',
        left: '14px',
        top: '35px',
        position: 'absolute',
        width: '270px',
        format: '票号：'
      }
    },
    {
      type: 'ticketSeqId',
      name: '序列号',
      style: {
        fontSize: '14px',
        fontWeight: 'bold',
        left: '14px',
        top: '135px',
        position: 'absolute',
        width: '270px',
        format: '序列号：'
      }
    },
    {
      type: 'createTime',
      name: '出票时间',
      style: {
        fontSize: '14px',
        textAlign: 'left',
        fontWeight: 'bold',
        left: '14px',
        top: '60px',
        width: '250px',
        position: 'absolute',
        format: '出票时间：'
      }
    },
    {
      type: 'guestName',
      name: '游客',
      style: {
        fontSize: '14px',
        fontWeight: 'bold',
        left: '14px',
        top: '110px',
        position: 'absolute',
        width: '270px',
        display: 'none',
        format: '游客：',
        showId: false
      }
    },
    {
      type: 'seller',
      name: '售票员',
      style: {
        fontSize: '16px',
        fontWeight: 'bold',
        left: '200px',
        top: '270px',
        position: 'absolute',
        width: '200px',
        display: 'none',
        format: '售票员：'
      }
    },
    {
      type: 'agency',
      name: '旅行社',
      style: {
        fontSize: '16px',
        fontWeight: 'bold',
        left: '20px',
        top: '270px',
        position: 'absolute',
        width: '200px',
        display: 'none',
        format: '旅行社：'
      }
    },
    {
      type: 'scenic',
      name: '景点信息',
      style: {
        fontSize: '14px',
        fontWeight: 'bold',
        left: '14px',
        top: '88px',
        position: 'absolute',
        width: '270px',
        format: '景点信息：',
        number: 2,
        direction: 'inline' // column
      }
    },
    {
      type: 'scenics',
      name: '多景点显示',
      style: {
        fontSize: '14px',
        fontWeight: 'bold',
        left: '14px',
        top: '224px',
        position: 'absolute',
        width: '360px',
        display: 'none',
        format: '多景点显示：'
      }
    },
    {
      type: 'ticketTitle',
      name: '票种名称',
      style: {
        fontSize: '16px',
        textAlign: 'center',
        fontWeight: 'bold',
        left: '364px',
        top: '36px',
        width: '250px',
        position: 'absolute',
        format: ''
      }
    },
    {
      type: 'qrcode',
      name: '二维码',
      style: {
        fontSize: '16px',
        textAlign: 'center',
        marginTop: '10px',
        fontWeight: 'bold',
        left: '364px',
        top: '50px',
        height: '126px',
        width: '250px',
        position: 'absolute',
        format: '二维码：'
      }
    },
    {
      type: 'invoiceQrcode',
      name: '发票二维码',
      style: {
        fontSize: '16px',
        textAlign: 'center',
        marginTop: '10px',
        fontWeight: 'bold',
        left: '15px',
        top: '180px',
        height: '89px',
        width: '89px',
        position: 'absolute',
        format: '发票二维码'
      }
    },
    {
      type: 'allInvoiceQrcode',
      name: '统一开票入口',
      style: {
        fontSize: '16px',
        textAlign: 'center',
        marginTop: '10px',
        fontWeight: 'bold',
        left: '15px',
        top: '180px',
        height: '89px',
        width: '89px',
        position: 'absolute',
        format: '统一开票入口'
      }
    },
    {
      type: 'des',
      name: '游玩日期',
      style: {
        fontSize: '14px',
        textAlign: 'center',
        fontWeight: 'bold',
        left: '364px',
        top: '205px',
        width: '250px',
        position: 'absolute',
        format: '游玩日期：'
      }
    },
    {
      type: 'checkNum',
      name: '检票人数',
      style: {
        fontSize: '14px',
        textAlign: 'center',
        fontWeight: 'bold',
        left: '364px',
        top: '225px',
        width: '250px',
        position: 'absolute',
        format: '检票人数：'
      }
    },
    {
      type: 'orderRemark',
      name: '订单备注',
      style: {
        minWidth: '100px',
        fontSize: '14px',
        textAlign: 'center',
        fontWeight: 'bold',
        left: '364px',
        top: '179px',
        width: '250px',
        display: 'none',
        position: 'absolute',
        format: '订单备注：'
      }
    },
    {
      type: 'remark',
      name: '备注',
      style: {
        minWidth: '100px',
        fontSize: '14px',
        textAlign: 'center',
        fontWeight: 'bold',
        left: '364px',
        top: '209px',
        width: '250px',
        display: 'none',
        position: 'absolute',
        format: '备注：'
      }
    },
    {
      type: 'fixedText',
      name: '固定文字',
      style: {
        minWidth: '100px',
        fontSize: '14px',
        textAlign: 'center',
        fontWeight: 'bold',
        left: '364px',
        top: '209px',
        width: '250px',
        display: 'none',
        position: 'absolute',
        format: '固定文字'
      }
    },
    {
      type: 'queueSerialNumber',
      name: '排队序列号',
      style: {
        minWidth: '100px',
        fontSize: '14px',
        textAlign: 'center',
        fontWeight: 'bold',
        left: '364px',
        top: '209px',
        width: '250px',
        display: 'none',
        position: 'absolute',
        format: '排队序列号：'
      }
    },
    {
      type: 'pricePlan',
      name: '价格方案',
      style: {
        fontSize: '14px',
        textAlign: 'center',
        fontWeight: 'bold',
        left: '364px',
        top: '185px',
        width: '250px',
        display: 'none',
        position: 'absolute',
        format: '价格方案：'
      }
    },
    {
      type: 'batch',
      name: '场次',
      style: {
        fontSize: '14px',
        textAlign: 'center',
        fontWeight: 'bold',
        left: '364px',
        top: '185px',
        width: '250px',
        display: 'none',
        position: 'absolute',
        format: '场次：'
      }
    },
    {
      type: 'serialNumber',
      name: '场次内序号',
      style: {
        fontSize: '14px',
        textAlign: 'left',
        fontWeight: 'bold',
        left: '18px',
        top: '120px',
        width: '180px',
        display: 'none',
        position: 'absolute'
      }
    },
    {
      type: 'schedule',
      name: '班次',
      style: {
        fontSize: '14px',
        textAlign: 'center',
        fontWeight: 'bold',
        left: '364px',
        top: '205px',
        width: '250px',
        display: 'none',
        position: 'absolute',
        format: '班次：'
      }
    },
    {
      type: 'scheduleSerialNumber',
      name: '班次内序号',
      style: {
        fontSize: '14px',
        textAlign: 'left',
        fontWeight: 'bold',
        left: '18px',
        top: '140px',
        width: '180px',
        display: 'none',
        position: 'absolute'
      }
    },
    {
      type: 'areaName',
      name: '区域',
      style: {
        fontSize: '14px',
        textAlign: 'left',
        fontWeight: 'bold',
        left: '13px',
        top: '110px',
        width: '250px',
        display: 'none',
        position: 'absolute',
        format: '区域：'
      }
    },
    {
      type: 'performName',
      name: '节目名',
      style: {
        fontSize: '14px',
        fontWeight: 'bold',
        left: '375px',
        top: '25px',
        position: 'absolute',
        width: '222px',
        display: 'none',
        format: '节目：'
      }
    },
    {
      type: 'seatNameNew',
      name: '座位名',
      style: {
        fontSize: '14px',
        textAlign: 'left',
        fontWeight: 'bold',
        left: '13px',
        top: '110px',
        width: '50px',
        display: 'none',
        position: 'absolute',
        format: '座位：'
      }
    },
    {
      type: 'rowTag',
      name: '排号',
      style: {
        fontSize: '14px',
        textAlign: 'left',
        fontWeight: 'bold',
        left: '460px',
        top: '180px',
        width: '50px',
        display: 'none',
        position: 'absolute',
        format: '排'
      }
    },
    {
      type: 'seatName',
      name: '座位号',
      style: {
        fontSize: '14px',
        textAlign: 'left',
        fontWeight: 'bold',
        left: '490px',
        top: '180px',
        width: '50px',
        display: 'none',
        position: 'absolute',
        format: '座'
      }
    },
    {
      type: 'price',
      name: '价格',
      style: {
        fontSize: '18px',
        textAlign: 'center',
        fontWeight: 'bold',
        left: '364px',
        top: '258px',
        width: '250px',
        position: 'absolute',
        format: '价格'
      }
    },
    {
      type: 'singlePrice',
      name: '单价',
      style: {
        fontSize: '18px',
        textAlign: 'center',
        fontWeight: 'bold',
        left: '364px',
        top: '240px',
        width: '250px',
        position: 'absolute',
        display: 'none',
        format: '单价'
      }
    },
    {
      type: 'num',
      name: '序号',
      style: {
        fontSize: '14px',
        textAlign: 'center',
        fontWeight: 'bold',
        left: '364px',
        top: '276px',
        width: '250px',
        position: 'absolute',
        format: '序号：'
      }
    }
  ]
}
