export default {
  canvas: {
    width: '80mm',
    height: '130mm',
    lineHeight: 1.4,
    borderTop: '1px dashed #ddd',
    position: 'relative',
    direction: 'vertical',
    remark: '',
    reverse: false
  },
  elements: [
    {
      type: 'sign',
      name: '渠道标识',
      style: {
        fontSize: '14px',
        fontWeight: 'bold',
        left: '273px',
        top: '10px',
        position: 'absolute',
        format: '渠道标识：'
      }
    },
    {
      type: 'orderId',
      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: 'ticketSeqId',
      name: '序列号',
      style: {
        fontSize: '16px',
        fontWeight: 'bold',
        left: '13px',
        top: '400px',
        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: 'seller',
      name: '售票员',
      style: {
        fontSize: '16px',
        fontWeight: 'bold',
        left: '170px',
        top: '120px',
        position: 'absolute',
        width: '140px',
        display: 'none',
        format: '售票员：'
      }
    },
    {
      type: 'agency',
      name: '旅行社',
      style: {
        fontSize: '16px',
        fontWeight: 'bold',
        left: '80px',
        top: '287px',
        position: 'absolute',
        width: '270px',
        display: 'none',
        format: '旅行社：'
      }
    },
    {
      type: 'scenic',
      name: '景点信息',
      style: {
        fontSize: '16px',
        fontWeight: 'bold',
        left: '17px',
        top: '95px',
        position: 'absolute',
        width: '270px',
        format: '景点信息：',
        number: 2,
        direction: 'inline' // column
      }
    },
    {
      type: 'scenics',
      name: '多景点显示',
      style: {
        fontSize: '14px',
        fontWeight: 'bold',
        left: '14px',
        top: '339px',
        position: 'absolute',
        width: '250px',
        display: 'none',
        format: '多景点显示：'
      }
    },
    {
      type: 'ticketTitle',
      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: 'invoiceQrcode',
      name: '发票二维码',
      style: {
        fontSize: '16px',
        textAlign: 'center',
        marginTop: '10px',
        fontWeight: 'bold',
        left: '0px',
        top: '150px',
        height: '136px',
        width: '300px',
        position: 'absolute',
        format: '发票二维码'
      }
    },
    {
      type: 'allInvoiceQrcode',
      name: '统一开票入口',
      style: {
        fontSize: '16px',
        textAlign: 'center',
        marginTop: '10px',
        fontWeight: 'bold',
        left: '0px',
        top: '150px',
        height: '136px',
        width: '300px',
        position: 'absolute',
        format: '统一开票入口'
      }
    },
    {
      type: 'des',
      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: 'remark',
      name: '备注',
      style: {
        minWidth: '100px',
        fontSize: '14px',
        textAlign: 'center',
        fontWeight: 'bold',
        left: '0px',
        top: '310px',
        width: '300px',
        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: 'queueSerialNumber',
      name: '排队序列号',
      style: {
        minWidth: '100px',
        fontSize: '14px',
        textAlign: 'center',
        fontWeight: 'bold',
        left: '0px',
        top: '310px',
        width: '300px',
        display: 'none',
        position: 'absolute',
        format: '排队序列号：'
      }
    },
    {
      type: 'pricePlan',
      name: '价格方案',
      style: {
        minWidth: '100px',
        fontSize: '14px',
        textAlign: 'center',
        fontWeight: 'bold',
        left: '0px',
        top: '290px',
        width: '300px',
        display: 'none',
        position: 'absolute',
        format: '价格方案：'
      }
    },
    {
      type: 'batch',
      name: '场次',
      style: {
        minWidth: '100px',
        fontSize: '14px',
        textAlign: 'center',
        fontWeight: 'bold',
        left: '0px',
        top: '290px',
        width: '300px',
        display: 'none',
        position: 'absolute',
        format: '场次：'
      }
    },
    {
      type: 'serialNumber',
      name: '场次内序号',
      style: {
        fontSize: '14px',
        textAlign: 'left',
        fontWeight: 'bold',
        left: '106px',
        top: '415px',
        width: '115px',
        display: 'none',
        position: 'absolute'
      }
    },
    {
      type: 'schedule',
      name: '班次',
      style: {
        minWidth: '100px',
        fontSize: '14px',
        textAlign: 'center',
        fontWeight: 'bold',
        left: '0px',
        top: '310px',
        width: '300px',
        display: 'none',
        position: 'absolute',
        format: '班次：'
      }
    },
    {
      type: 'scheduleSerialNumber',
      name: '班次内序号',
      style: {
        fontSize: '14px',
        textAlign: 'left',
        fontWeight: 'bold',
        left: '106px',
        top: '435px',
        width: '115px',
        display: 'none',
        position: 'absolute'
      }
    },
    {
      type: 'areaName',
      name: '区域',
      style: {
        fontSize: '14px',
        textAlign: 'center',
        fontWeight: 'bold',
        left: '16px',
        top: '290px',
        width: '250px',
        display: 'none',
        position: 'absolute',
        format: '区域：'
      }
    },
    {
      type: 'performName',
      name: '节目名',
      style: {
        fontSize: '14px',
        textAlign: 'center',
        fontWeight: 'bold',
        left: '64px',
        top: '118px',
        width: '170px',
        display: 'none',
        position: 'absolute',
        format: '节目：'
      }
    },
    {
      type: 'seatNameNew',
      name: '座位名',
      style: {
        fontSize: '14px',
        textAlign: 'left',
        fontWeight: 'bold',
        left: '20px',
        top: '110px',
        width: '50px',
        display: 'none',
        position: 'absolute',
        format: '座位：'
      }
    },
    {
      type: 'rowTag',
      name: '排号',
      style: {
        fontSize: '14px',
        textAlign: 'center',
        fontWeight: 'bold',
        left: '110px',
        top: '290px',
        width: '50px',
        display: 'none',
        position: 'absolute',
        format: '排'
      }
    },
    {
      type: 'seatName',
      name: '座位号',
      style: {
        fontSize: '14px',
        textAlign: 'center',
        fontWeight: 'bold',
        left: '146px',
        top: '290px',
        width: '50px',
        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: '单价'
      }
    },
    {
      type: 'num',
      name: '序号',
      style: {
        fontSize: '14px',
        textAlign: 'center',
        fontWeight: 'bold',
        left: '0px',
        top: '388px',
        width: '300px',
        position: 'absolute',
        format: '序号：'
      }
    }
  ]
}
