Commit 9adff6a1 authored by 范雪寒's avatar 范雪寒

feat: 读取form数据

parent 815c5a5f
......@@ -531,7 +531,7 @@
"_groupIndex": 0,
"groupIndex": 0,
"showInEditor": false,
"_id": "053iMtzxFMcK2zci1MSuML"
"_id": "79BArUQdpIJLWSs1+xCTbA"
},
{
"__type__": "cc.Label",
......@@ -567,7 +567,7 @@
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": "e0KoInl/5F+ITOUY8ixOHr"
"_id": "56IHItTQBGcLk8IFfqzOxW"
},
{
"__type__": "cc.LabelOutline",
......@@ -585,7 +585,7 @@
"a": 255
},
"_width": 3,
"_id": "93dcbMgjlH7Y02SW3Aecg1"
"_id": "05n2+lBURNbZnYDQGDTX6c"
},
{
"__type__": "cc.RichText",
......@@ -3624,8 +3624,8 @@
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-476.036,
-382.146,
-481,
-382,
0,
0,
0,
......@@ -4002,8 +4002,8 @@
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-1206.908,
-388.847,
-1207,
-382,
0,
0,
0,
......@@ -4380,8 +4380,8 @@
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-481.307,
-982.167,
-481,
-984,
0,
0,
0,
......@@ -4758,8 +4758,8 @@
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-1206.908,
-996.925,
-1207,
-984,
0,
0,
0,
......@@ -5097,7 +5097,7 @@
},
{
"__type__": "cc.Node",
"_name": "Img_letter_bg_o",
"_name": "Img_letter_bg_O",
"_objFlags": 0,
"_parent": {
"__id__": 1
......@@ -5136,8 +5136,8 @@
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-1187.034,
-1584.504,
-481,
-1585,
0,
0,
0,
......@@ -5159,7 +5159,7 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "9cqGXALyVFZrPNcL4CGp9P"
"_id": "a4SC0DuwZCVJwqrUeG+mdX"
},
{
"__type__": "cc.Node",
......@@ -5228,7 +5228,7 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "d5vfGD0UVM/LdMyHmm0jIR"
"_id": "4dEabf9IBAc4diIDcJGM+4"
},
{
"__type__": "cc.Node",
......@@ -5290,7 +5290,7 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "6bSwt9xjtLFKII57kRe5tQ"
"_id": "014o3fXUtFfKn5EnYKVe2X"
},
{
"__type__": "cc.Sprite",
......@@ -5322,7 +5322,7 @@
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "50c0a8F0VCSLCd+gZgCHui"
"_id": "20P0c4atZOOLsvl7NJ2Gk5"
},
{
"__type__": "cc.Node",
......@@ -5384,7 +5384,7 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "5cU3JkjxNG2aNXu9pqGesW"
"_id": "f7U3iQFE9CKZ/g9M4KuHol"
},
{
"__type__": "cc.Graphics",
......@@ -5417,7 +5417,7 @@
"a": 255
},
"_miterLimit": 10,
"_id": "7eILxpgHhOtb5m1nnaL629"
"_id": "3ccF96N1hJn69YmlAH2x2l"
},
{
"__type__": "cc.Mask",
......@@ -5433,13 +5433,13 @@
}
],
"_spriteFrame": {
"__uuid__": "acd037f7-d4b2-410f-a1c0-70e0ae21b048"
"__uuid__": "64e6b917-ac6e-4c65-8005-7e3817252622"
},
"_type": 2,
"_segments": 30,
"_N$alphaThreshold": 0.1,
"_N$inverted": false,
"_id": "f31RhoYr1JlYaHe5yhNPLJ"
"_id": "0bOVU6CNJH4ZpRLkqMRYHI"
},
{
"__type__": "cc.Sprite",
......@@ -5471,11 +5471,11 @@
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "395auALPtDQYe+ZHteNTiZ"
"_id": "17S2pGfoRAQ4Lg1+FsngW5"
},
{
"__type__": "cc.Node",
"_name": "Img_letter_bg_O",
"_name": "Img_letter_bg_o",
"_objFlags": 0,
"_parent": {
"__id__": 1
......@@ -5514,8 +5514,8 @@
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-462.337,
-1586.238,
-1207,
-1585,
0,
0,
0,
......@@ -5537,7 +5537,7 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "a4SC0DuwZCVJwqrUeG+mdX"
"_id": "9cqGXALyVFZrPNcL4CGp9P"
},
{
"__type__": "cc.Node",
......@@ -5606,7 +5606,7 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "4dEabf9IBAc4diIDcJGM+4"
"_id": "d5vfGD0UVM/LdMyHmm0jIR"
},
{
"__type__": "cc.Node",
......@@ -5668,7 +5668,7 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "014o3fXUtFfKn5EnYKVe2X"
"_id": "6bSwt9xjtLFKII57kRe5tQ"
},
{
"__type__": "cc.Sprite",
......@@ -5700,7 +5700,7 @@
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "20P0c4atZOOLsvl7NJ2Gk5"
"_id": "50c0a8F0VCSLCd+gZgCHui"
},
{
"__type__": "cc.Node",
......@@ -5762,7 +5762,7 @@
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "f7U3iQFE9CKZ/g9M4KuHol"
"_id": "5cU3JkjxNG2aNXu9pqGesW"
},
{
"__type__": "cc.Graphics",
......@@ -5795,7 +5795,7 @@
"a": 255
},
"_miterLimit": 10,
"_id": "3ccF96N1hJn69YmlAH2x2l"
"_id": "7eILxpgHhOtb5m1nnaL629"
},
{
"__type__": "cc.Mask",
......@@ -5811,13 +5811,13 @@
}
],
"_spriteFrame": {
"__uuid__": "64e6b917-ac6e-4c65-8005-7e3817252622"
"__uuid__": "acd037f7-d4b2-410f-a1c0-70e0ae21b048"
},
"_type": 2,
"_segments": 30,
"_N$alphaThreshold": 0.1,
"_N$inverted": false,
"_id": "0bOVU6CNJH4ZpRLkqMRYHI"
"_id": "f31RhoYr1JlYaHe5yhNPLJ"
},
{
"__type__": "cc.Sprite",
......@@ -5849,6 +5849,6 @@
"_fillRange": 0,
"_isTrimmedMode": true,
"_atlas": null,
"_id": "17S2pGfoRAQ4Lg1+FsngW5"
"_id": "395auALPtDQYe+ZHteNTiZ"
}
]
\ No newline at end of file
......@@ -109,7 +109,7 @@ cc.Class({
letter: null,
initView() {
// this.debugMode = true;
this.setLetter('o');
this.setLetter(this.data.letter);
},
setLetter(letter) {
......
export const defaultData = {
}
\ No newline at end of file
export const defaultData = {"letter": "W" };
\ No newline at end of file
......@@ -49,7 +49,7 @@ export const letterData = {
t: [],
u: [],
v: [],
w: [],
w: [[{ "x": -114, "y": 45, "z": 0 }, { "x": -60, "y": -100, "z": 0 }], [{ "x": -63, "y": -100, "z": 0 }, { "x": -9, "y": 57, "z": 0 }], [{ "x": -12, "y": 53, "z": 0 }, { "x": 54, "y": -118, "z": 0 }], [{ "x": 40, "y": -95, "z": 0 }, { "x": 110, "y": 79, "z": 0 }]],
x: [],
y: [],
z: [],
......
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