defaultData.js 5.04 KB
export const defaultData = {
  "version": "1.2",
  "dataKey": "DataKey_YM4-11",
  "dataArray": [
      
  ],
  "hotZoneItemArr": [
      
  ],
  "bgItem": {
      "url": "assets/play/hotZooCard/defalut_bg.png",
      "questions": [
          
      ],
      "NO": "C",
      "mainText": "Listen, circle and write.",
      "mainTextAudio": "",
      "wordLeft_text": "",
      "wordLeft_audio_url": "",
      "wordRight_text": "",
      "wordRight_audio_url": "",
      "rect": {
        "x": 0,
        "y": 0,
        "width": 1315,
        "height": 212.31770833333334
      }
  },
  "bgImages": {
    "leftTop": '', "middleTop": '', "rightTop": '', "leftMiddle": '', "rightMiddle": '', "leftBottom": '', "middleBottom": '', "rightBottom": '',
  }
}

export const demoData = {
  version: "1.2",
  dataKey: "DataKey_YM4-11",
  dataArray: [],
  hotZoneItemArr: [
    {
      index: 0,
      rect: {
        x: 8.769469387755102,
        y: 20.163265306122447,
        width: 72.12244897959184,
        height: 39.5029387755102,
      },
      media: {
        image_url: "assets/play/hotZooCard/bg_70_40_1.png",
        text: "p",
        type: "text",
        audio_url: "",
      },
      scale: 0.7755102040816326,
    },
    {
      index: 1,
      rect: {
        x: 14.19804081632653,
        y: 96.89069387755102,
        width: 54.285714285714285,
        height: 31.020408163265305,
      },
      media: {
        image_url: "assets/play/hotZooCard/bg_70_40_2.png",
        text: "t",
        type: "text",
        audio_url: "",
      },
      scale: 0.7755102040816326,
    },
    {
      index: 2,
      rect: {
        x: 138.27967346938775,
        y: 57.339673469387755,
        width: 54.285714285714285,
        height: 31.020408163265305,
      },
      media: {
        image_url: "assets/play/hotZooCard/bg_70_40_3.png",
        text: "d",
        type: "text",
        audio_url: "",
      },
      scale: 0.7755102040816326,
    },
    {
      index: 3,
      rect: {
        x: 246.8511020408163,
        y: 20.115183673469385,
        width: 54.285714285714285,
        height: 31.020408163265305,
      },
      media: {
        image_url: "assets/play/hotZooCard/bg_70_40_4.png",
        text: "w",
        type: "text",
        audio_url: "",
      },
      scale: 0.7755102040816326,
    },
    {
      index: 4,
      rect: {
        x: 235.99395918367347,
        y: 96.11518367346939,
        width: 54.285714285714285,
        height: 31.020408163265305,
      },
      media: {
        image_url: "assets/play/hotZooCard/bg_70_40_5.png",
        text: "st",
        type: "text",
        audio_url: "",
      },
      scale: 0.7755102040816326,
    },
    {
      index: 5,
      rect: {
        x: 360.85110204081633,
        y: 59.714285714285715,
        width: 89.95918367346938,
        height: 32.52334693877551,
      },
      media: {
        image_url: "assets/play/hotZooCard/bg_70_40_6.png",
        text: "eam",
        type: "text",
        audio_url: "",
      },
      scale: 0.7755102040816326,
    },
    {
      index: 6,
      rect: {
        x: 496.565387755102,
        y: 20.115183673469385,
        width: 54.285714285714285,
        height: 31.020408163265305,
      },
      media: {
        image_url: "assets/play/hotZooCard/bg_70_40_7.png",
        text: "o",
        type: "text",
        audio_url: "",
      },
      scale: 0.7755102040816326,
    },
    {
      index: 7,
      rect: {
        x: 487.2592653061224,
        y: 101.59183673469387,
        width: 77.55102040816327,
        height: 30.196816326530612,
      },
      media: {
        image_url: "assets/play/hotZooCard/bg_70_40_8.png",
        text: "one",
        type: "text",
        audio_url: "",
      },
      scale: 0.7755102040816326,
    },
    {
      index: 8,
      rect: {
        x: 735.4225306122448,
        y: 21.714285714285715,
        width: 79.87755102040816,
        height: 32.52334693877551,
      },
      media: {
        image_url: "assets/play/hotZooCard/bg_70_40_9.png",
        text: "m",
        type: "text",
        audio_url: "",
      },
      scale: 0.7755102040816326,
    },
    {
      index: 9,
      rect: {
        x: 723.0143673469388,
        y: 93.83673469387755,
        width: 94.61224489795919,
        height: 41.05395918367347,
      },
      media: {
        image_url: "assets/play/hotZooCard/bg_70_40_10.png",
        text: "eet",
        type: "text",
        audio_url: "",
      },
      scale: 0.7755102040816326,
    },
  ],
  bgItem: {
    url: "assets/play/demo.png",
    questions: [],
    NO: "C",
    mainText: "Listen, circle and write.",
    mainTextAudio: "",
    wordLeft_text: "ear",
    wordLeft_audio_url: "",
    wordRight_text: "pl",
    wordRight_audio_url: "",
    questions: [
      {number: 2, combin: [0, -1]},
      {number: 2, combin: [0, -1]}
    ],
    rect: {
      x: 43.691666666666606,
      y: 0,
      width: 1088.6166666666668,
      height: 189.875,
    },
  },
  bgImages: {
    leftTop: "",
    middleTop: "",
    rightTop: "",
    leftMiddle: "",
    rightMiddle: "",
    leftBottom: "",
    middleBottom: "",
    rightBottom: "",
  },
}