export default {
  canvas: {
    width: '80mm',
    height: '130mm',
    lineHeight: 1.4,
    borderTop: '1px dashed #ddd',
    position: 'relative',
    direction: 'vertical',
    remark: '',
    reverse: false
  },
  elements: [
    {
      type: 'orderNo',
      name: '订单号',
      style: {
        fontSize: '16px',
        fontWeight: 'bold',
        left: '17px',
        top: '14px',
        position: 'absolute',
        width: '270px',
        format: '订单号：'
      }
    },
    {
      type: 'ticketId',
      name: '票号',
      style: {
        fontSize: '16px',
        fontWeight: 'bold',
        left: '17px',
        top: '42px',
        position: 'absolute',
        width: '270px',
        format: '票号：'
      }
    },
    {
      type: 'createTime',
      name: '出票时间',
      style: {
        fontSize: '16px',
        fontWeight: 'bold',
        left: '17px',
        top: '70px',
        width: '250px',
        position: 'absolute',
        format: '出票时间：'
      }
    },
    {
      type: 'guestName',
      name: '游客姓名',
      style: {
        fontSize: '16px',
        fontWeight: 'bold',
        left: '14px',
        top: '120px',
        position: 'absolute',
        width: '140px',
        display: 'none',
        format: '游客姓名：',
        showId: false
      }
    },
    {
      type: 'saleAdminName',
      name: '售票员',
      style: {
        fontSize: '16px',
        fontWeight: 'bold',
        left: '170px',
        top: '120px',
        position: 'absolute',
        width: '140px',
        display: 'none',
        format: '售票员：'
      }
    },
    {
      type: 'teamName',
      name: '团体名称',
      style: {
        fontSize: '16px',
        fontWeight: 'bold',
        left: '80px',
        top: '287px',
        position: 'absolute',
        width: '270px',
        display: 'none',
        format: '团体名称'
      }
    },
    {
      type: 'ticketTypeName',
      name: '票种名称',
      style: {
        fontSize: '18px',
        textAlign: 'center',
        fontWeight: 'bold',
        left: '0px',
        top: '140px',
        width: '300px',
        position: 'absolute',
        format: ''
      }
    },
    {
      type: 'qrcode',
      name: '二维码',
      style: {
        fontSize: '16px',
        textAlign: 'center',
        marginTop: '10px',
        fontWeight: 'bold',
        left: '0px',
        top: '150px',
        height: '136px',
        width: '300px',
        position: 'absolute',
        format: '二维码：'
      }
    },
    {
      type: 'playDateBegin',
      name: '游玩日期',
      style: {
        fontSize: '14px',
        textAlign: 'center',
        fontWeight: 'bold',
        left: '0px',
        top: '348px',
        width: '300px',
        position: 'absolute',
        format: '游玩日期：'
      }
    },
    {
      type: 'checkNum',
      name: '检票人数',
      style: {
        fontSize: '14px',
        textAlign: 'center',
        fontWeight: 'bold',
        left: '0px',
        top: '330px',
        width: '300px',
        position: 'absolute',
        format: '检票人数：'
      }
    },
    {
      type: 'orderRemark',
      name: '订单备注',
      style: {
        minWidth: '100px',
        fontSize: '14px',
        textAlign: 'center',
        fontWeight: 'bold',
        left: '0px',
        top: '280px',
        width: '250px',
        display: 'none',
        position: 'absolute',
        format: '订单备注：'
      }
    },
    {
      type: 'fixedText',
      name: '固定文字',
      style: {
        minWidth: '100px',
        fontSize: '14px',
        textAlign: 'center',
        fontWeight: 'bold',
        left: '0px',
        top: '310px',
        width: '300px',
        display: 'none',
        position: 'absolute',
        format: '固定文字'
      }
    },
    {
      type: 'batchConfigName',
      name: '场次',
      style: {
        minWidth: '100px',
        fontSize: '14px',
        textAlign: 'center',
        fontWeight: 'bold',
        left: '0px',
        top: '290px',
        width: '300px',
        display: 'none',
        position: 'absolute',
        format: '场次：'
      }
    },
    {
      type: 'price',
      name: '价格',
      style: {
        fontSize: '16px',
        textAlign: 'center',
        fontWeight: 'bold',
        left: '0px',
        top: '367px',
        width: '300px',
        position: 'absolute',
        format: '价格'
      }
    },
    {
      type: 'singlePrice',
      name: '单价',
      style: {
        fontSize: '16px',
        textAlign: 'center',
        fontWeight: 'bold',
        left: '0px',
        top: '350px',
        width: '300px',
        position: 'absolute',
        display: 'none',
        format: '单价'
      }
    }
  ]
}
