Commit 8a02baf7 authored by Tt's avatar Tt

图片尺寸异常处理

parent 91ea54f6
...@@ -302,11 +302,11 @@ cc.Class({ ...@@ -302,11 +302,11 @@ cc.Class({
if (optionNode.x >= 0) { if (optionNode.x >= 0) {
cc.tween(optionNode).to(0.2, { x: 0, y: 370 }, cc.easing.quadOut).call(() => { cc.tween(optionNode).to(0.2, { x: 0, y: 370 }, cc.easing.quadOut).call(() => {
optionNode.parent = box_mid; optionNode.parent = box_mid;
}).to(0.2, { x: 0, y: 150, scale: 0.8 }, cc.easing.quadOut).start(); }).to(0.2, { x: 0, y: 150, width: 100, height: 100 }, cc.easing.quadOut).start();
} else { } else {
cc.tween(optionNode).to(0.2, { x: -0, y: 370 }, cc.easing.quadOut).call(() => { cc.tween(optionNode).to(0.2, { x: -0, y: 370 }, cc.easing.quadOut).call(() => {
optionNode.parent = box_mid; optionNode.parent = box_mid;
}).to(0.2, { x: 0, y: 150, scale: 0.8 }, cc.easing.quadOut).start(); }).to(0.2, { x: 0, y: 150, width: 100, height: 100 }, cc.easing.quadOut).start();
} }
//copy-end //copy-end
......
...@@ -21,16 +21,16 @@ export const defaultData = { ...@@ -21,16 +21,16 @@ export const defaultData = {
"audio_url": "http://staging-teach.cdn.ireadabc.com/b4d95069fcc91976740461b9061a303a.mp3", "audio_url": "http://staging-teach.cdn.ireadabc.com/b4d95069fcc91976740461b9061a303a.mp3",
"is_right": false "is_right": false
}, },
{ // {
"pic_url": "http://staging-teach.cdn.ireadabc.com/44464e706225cfe43e918bf1167a2ac1.png", // "pic_url": "http://staging-teach.cdn.ireadabc.com/44464e706225cfe43e918bf1167a2ac1.png",
"audio_url": "http://staging-teach.cdn.ireadabc.com/e62f0e83bc744a6e508fa23aaa656792.mp3", // "audio_url": "http://staging-teach.cdn.ireadabc.com/e62f0e83bc744a6e508fa23aaa656792.mp3",
"is_right": false // "is_right": false
}, // },
{ // {
"pic_url": "http://staging-teach.cdn.ireadabc.com/251667ae3d4921582392f6bc42bd2a96.png", // "pic_url": "http://staging-teach.cdn.ireadabc.com/251667ae3d4921582392f6bc42bd2a96.png",
"audio_url": "http://staging-teach.cdn.ireadabc.com/f4e0925dec2f24505872b1c367343a6e.mp3", // "audio_url": "http://staging-teach.cdn.ireadabc.com/f4e0925dec2f24505872b1c367343a6e.mp3",
"is_right": false // "is_right": false
} // }
], ],
"audio_url": "http://staging-teach.cdn.ireadabc.com/e62f0e83bc744a6e508fa23aaa656792.mp3", "audio_url": "http://staging-teach.cdn.ireadabc.com/e62f0e83bc744a6e508fa23aaa656792.mp3",
"desc1": "fg", "desc1": "fg",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment