export default {
  canvas: {
    width: '163mm',
    height: '80mm',
    lineHeight: 1.4,
    borderTop: '1px dashed #ddd',
    position: 'relative',
    direction: 'horizen',
    reverse: false,
    remark: '',
    remark2: ''
  },
  elements: [
    {
      type: 'orderNo',
      name: '订单号',
      style: {
        fontSize: '14px',
        fontWeight: 'bold',
        left: '389px',
        top: '208px',
        position: 'absolute',
        width: '270px',
        format: '订单号：',
        textAlign: 'center',
        display: 'none'
      }
    },
    {
      type: 'ticketId',
      name: '票号',
      style: {
        fontSize: '14px',
        fontWeight: 'bold',
        left: '424px',
        top: '207px',
        position: 'absolute',
        width: '270px',
        format: '票号：',
        display: 'block'
      }
    },
    {
      type: 'createTime',
      name: '出票时间',
      style: {
        fontSize: '14px',
        textAlign: 'left',
        fontWeight: 'bold',
        left: '425px',
        top: '24px',
        width: '250px',
        position: 'absolute',
        format: '出票时间：',
        display: 'none'
      }
    },
    {
      type: 'guestName',
      name: '游客姓名',
      style: {
        fontSize: '14px',
        fontWeight: 'bold',
        left: '14px',
        top: '110px',
        position: 'absolute',
        width: '270px',
        display: 'none',
        format: '游客姓名：',
        showId: false
      }
    },
    {
      type: 'saleAdminName',
      name: '售票员',
      style: {
        fontSize: '16px',
        fontWeight: 'bold',
        left: '200px',
        top: '270px',
        position: 'absolute',
        width: '200px',
        display: 'none',
        format: '售票员：'
      }
    },
    {
      type: 'teamName',
      name: '团体名称',
      style: {
        fontSize: '16px',
        fontWeight: 'bold',
        left: '20px',
        top: '270px',
        position: 'absolute',
        width: '200px',
        display: 'none',
        format: '团体名称：'
      }
    },
    {
      type: 'ticketTypeName',
      name: '票种名称',
      style: {
        fontSize: '16px',
        textAlign: 'center',
        fontWeight: 'bold',
        left: '398px',
        top: '77px',
        width: '250px',
        position: 'absolute',
        format: '',
        display: 'block'
      }
    },
    {
      type: 'qrcode',
      name: '二维码',
      style: {
        fontSize: '16px',
        textAlign: 'center',
        marginTop: '10px',
        fontWeight: 'bold',
        left: '407px',
        top: '92px',
        height: '105px',
        width: '230px',
        position: 'absolute',
        format: '二维码：'
      }
    },
    {
      type: 'playDateBegin',
      name: '游玩日期',
      style: {
        fontSize: '14px',
        textAlign: 'center',
        fontWeight: 'bold',
        left: '398px',
        top: '230px',
        width: '250px',
        position: 'absolute',
        format: '出票日期：',
        display: 'block'
      }
    },
    {
      type: 'checkNum',
      name: '检票人数',
      style: {
        fontSize: '14px',
        textAlign: 'center',
        fontWeight: 'bold',
        left: '405px',
        top: '249px',
        width: '250px',
        position: 'absolute',
        format: '检票人数：',
        display: 'block'
      }
    },
    {
      type: 'orderRemark',
      name: '订单备注',
      style: {
        minWidth: '100px',
        fontSize: '14px',
        textAlign: 'center',
        fontWeight: 'bold',
        left: '364px',
        top: '179px',
        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: 'batchConfigName',
      name: '场次',
      style: {
        fontSize: '14px',
        textAlign: 'center',
        fontWeight: 'bold',
        left: '364px',
        top: '185px',
        width: '250px',
        display: 'none',
        position: 'absolute',
        format: '场次：'
      }
    },
    {
      type: 'price',
      name: '价格',
      style: {
        fontSize: '18px',
        textAlign: 'center',
        fontWeight: 'bold',
        left: '403px',
        top: '268px',
        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: '单价'
      }
    }
  ]
}
