Commit fb7e23ea authored by Tt's avatar Tt

顺序摆放

parent 8c2ed296
...@@ -1051,7 +1051,7 @@ ...@@ -1051,7 +1051,7 @@
"__type__": "TypedArray", "__type__": "TypedArray",
"ctor": "Float64Array", "ctor": "Float64Array",
"array": [ "array": [
0, -575.91,
90.097, 90.097,
0, 0,
0, 0,
...@@ -1090,7 +1090,7 @@ ...@@ -1090,7 +1090,7 @@
"height": 100 "height": 100
}, },
"_resize": 1, "_resize": 1,
"_N$layoutType": 0, "_N$layoutType": 1,
"_N$cellSize": { "_N$cellSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 40, "width": 40,
...@@ -1101,7 +1101,7 @@ ...@@ -1101,7 +1101,7 @@
"_N$paddingRight": 0, "_N$paddingRight": 0,
"_N$paddingTop": 0, "_N$paddingTop": 0,
"_N$paddingBottom": 0, "_N$paddingBottom": 0,
"_N$spacingX": 0, "_N$spacingX": -30,
"_N$spacingY": 0, "_N$spacingY": 0,
"_N$verticalDirection": 1, "_N$verticalDirection": 1,
"_N$horizontalDirection": 0, "_N$horizontalDirection": 0,
...@@ -2785,7 +2785,7 @@ ...@@ -2785,7 +2785,7 @@
"__type__": "TypedArray", "__type__": "TypedArray",
"ctor": "Float64Array", "ctor": "Float64Array",
"array": [ "array": [
-16.686, 0,
0, 0,
0, 0,
0, 0,
...@@ -2835,7 +2835,7 @@ ...@@ -2835,7 +2835,7 @@
"_N$paddingRight": 0, "_N$paddingRight": 0,
"_N$paddingTop": 0, "_N$paddingTop": 0,
"_N$paddingBottom": 0, "_N$paddingBottom": 0,
"_N$spacingX": 100, "_N$spacingX": 500,
"_N$spacingY": 0, "_N$spacingY": 0,
"_N$verticalDirection": 1, "_N$verticalDirection": 1,
"_N$horizontalDirection": 0, "_N$horizontalDirection": 0,
......
...@@ -228,7 +228,7 @@ cc.Class({ ...@@ -228,7 +228,7 @@ cc.Class({
paizi.active = la_layout.children.length > 0; paizi.active = la_layout.children.length > 0;
let size = cc.view.getCanvasSize(); let size = cc.view.getCanvasSize();
let scale = (size.width / size.height) / (1280 / 720); let scale = (size.width / size.height) / (1280 / 720);
group2.getComponent(cc.Layout).spacingX = scale < 1 ? 75 * scale : 85; // group2.getComponent(cc.Layout).spacingX = scale < 1 ? 75 * scale : 85;
const arr = randomSortByArr(this.data.question_arr[questionIdx].option_arr); const arr = randomSortByArr(this.data.question_arr[questionIdx].option_arr);
arr.forEach(async (option, idx) => { arr.forEach(async (option, idx) => {
......
...@@ -33,7 +33,7 @@ export const defaultData = { ...@@ -33,7 +33,7 @@ export const defaultData = {
} }
], ],
"audio_url": "http://staging-teach.cdn.ireadabc.com/e62f0e83bc744a6e508fa23aaa656792.mp3", "audio_url": "http://staging-teach.cdn.ireadabc.com/e62f0e83bc744a6e508fa23aaa656792.mp3",
"desc1": "OG", "desc1": "",
"desc2": "TSM", "desc2": "TSM",
}, },
{ {
......
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