Commit f16d6ae4 authored by 李维's avatar 李维

完成用户中心

parent 167763f5
......@@ -87,19 +87,19 @@
"__id__": 582
},
{
"__id__": 819
"__id__": 822
}
],
"_active": true,
"_components": [
{
"__id__": 847
"__id__": 850
},
{
"__id__": 848
"__id__": 851
},
{
"__id__": 849
"__id__": 852
}
],
"_prefab": null,
......@@ -2771,7 +2771,7 @@
"_groupIndex": 0,
"groupIndex": 0,
"showInEditor": false,
"_id": "92+c6aSg1Hp68vAroLfQun"
"_id": "dc75MjWNhIaboqglhPsiqd"
},
{
"__type__": "cc.Label",
......@@ -2804,7 +2804,7 @@
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": "1cs/o/+HBNBKnqZkh8PUT7"
"_id": "4dGl/XCrhBg6Flz4z9jtQm"
},
{
"__type__": "cc.PrivateNode",
......@@ -2867,7 +2867,7 @@
"_groupIndex": 0,
"groupIndex": 0,
"showInEditor": false,
"_id": "4cbQTc0XdKSYJP9FZV+pZ3"
"_id": "e8ERjyq79Af63YiLH+GQ0/"
},
{
"__type__": "cc.Label",
......@@ -2900,7 +2900,7 @@
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": "b3DhDUJARPYL0qffbayIDm"
"_id": "67erByw49FR5tXrN2Buv6P"
},
{
"__type__": "cc.PrivateNode",
......@@ -2963,7 +2963,7 @@
"_groupIndex": 0,
"groupIndex": 0,
"showInEditor": false,
"_id": "04TYaNCttMcJ/PCPToU896"
"_id": "5cUyaCCQlL6YVe7OVtlw9w"
},
{
"__type__": "cc.Label",
......@@ -2996,7 +2996,7 @@
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": "f2tiKlEW9B2p+E6Jwc/bMg"
"_id": "865PUIx9RIuZA7MQ9J0zUV"
},
{
"__type__": "cc.PrivateNode",
......@@ -3059,7 +3059,7 @@
"_groupIndex": 0,
"groupIndex": 0,
"showInEditor": false,
"_id": "2bh5/ZjfxH96Sm6X16kdTr"
"_id": "7fKF1MIShOSJV14SI+sabS"
},
{
"__type__": "cc.Label",
......@@ -3092,7 +3092,7 @@
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": "9fRr8eYspIp7Z9gGPxc1aX"
"_id": "e2OIiGLQ9Mc5j0Dht8drla"
},
{
"__type__": "cc.PrivateNode",
......@@ -3155,7 +3155,7 @@
"_groupIndex": 0,
"groupIndex": 0,
"showInEditor": false,
"_id": "76MlrJJpdHI7bCwPd7d4Xu"
"_id": "efOeVEXhFCy46gUIqMnheR"
},
{
"__type__": "cc.Label",
......@@ -3188,7 +3188,7 @@
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": "8dSzG1F9FAnqXcxdrfqHOn"
"_id": "51SfENdPJDhIf39+BkJnhW"
},
{
"__type__": "cc.RichText",
......@@ -6369,7 +6369,7 @@
"_groupIndex": 0,
"groupIndex": 0,
"showInEditor": false,
"_id": "e3hrU115RD3Zh9sRrkgKy9"
"_id": "7dK2L5C3ZCfZDim8gVJKrb"
},
{
"__type__": "cc.Label",
......@@ -6402,7 +6402,7 @@
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": "57sK8/IUlApZkR7hyT0jfd"
"_id": "00pg5VN+5F8b9tyQJVX7/K"
},
{
"__type__": "cc.PrivateNode",
......@@ -6465,7 +6465,7 @@
"_groupIndex": 0,
"groupIndex": 0,
"showInEditor": false,
"_id": "0drt4kzddEmLtr0LdlGBly"
"_id": "6dUDqv96lJtZDwhxemlwt+"
},
{
"__type__": "cc.Label",
......@@ -6498,7 +6498,7 @@
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": "6eiJhazONPW4mzydOyBAcd"
"_id": "26cmjqhxZMS5IkayjTO0g9"
},
{
"__type__": "cc.PrivateNode",
......@@ -6561,7 +6561,7 @@
"_groupIndex": 0,
"groupIndex": 0,
"showInEditor": false,
"_id": "81eW94p4RPTqGOYMlBXwO1"
"_id": "d0XPDOgUZCdYJ2UfT6Byzk"
},
{
"__type__": "cc.Label",
......@@ -6594,7 +6594,7 @@
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": "21YYacMxVD+YQgOBaOdS7L"
"_id": "19edlFrtRIva8fNt0ay8Rg"
},
{
"__type__": "cc.RichText",
......@@ -7073,7 +7073,7 @@
"_groupIndex": 0,
"groupIndex": 0,
"showInEditor": false,
"_id": "e5sCxOBgtEBIi49OzihKNO"
"_id": "56kCBJrytBFJgzXrad3jzH"
},
{
"__type__": "cc.Label",
......@@ -7106,7 +7106,7 @@
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": "d2+e0e7XxOmr95KVSGW+Y5"
"_id": "0a0BS0mi9ImJ86EefDJNt2"
},
{
"__type__": "cc.PrivateNode",
......@@ -7169,7 +7169,7 @@
"_groupIndex": 0,
"groupIndex": 0,
"showInEditor": false,
"_id": "6bufzaqKFAtJZNYuW1wwS/"
"_id": "52ZgPeos5EZ6YoD+APw9Zi"
},
{
"__type__": "cc.Label",
......@@ -7202,7 +7202,7 @@
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": "2aBdKEqyBGN7WxCRH/89Aa"
"_id": "18KDuHGBxGDZlyzLwNffJW"
},
{
"__type__": "cc.PrivateNode",
......@@ -7265,7 +7265,7 @@
"_groupIndex": 0,
"groupIndex": 0,
"showInEditor": false,
"_id": "edRTXd+WtJq5CV5K+6FVeo"
"_id": "8cRkhx7O9JCJw4u+yZ3L0V"
},
{
"__type__": "cc.Label",
......@@ -7298,7 +7298,7 @@
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": "b6rjyHREhJjIILjpwVc4O5"
"_id": "7e21m67mdBZ7lTpyKEt2KV"
},
{
"__type__": "cc.RichText",
......@@ -7588,7 +7588,7 @@
"_groupIndex": 0,
"groupIndex": 0,
"showInEditor": false,
"_id": "23Sh/JnGRB76POmvjTJ5gC"
"_id": "9bPrPISelMWoqpGVC6t/6e"
},
{
"__type__": "cc.Label",
......@@ -7621,7 +7621,7 @@
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": "e3c0sSW0BOsaFg2fq3OqSn"
"_id": "45DOoChSxF/pjmirTs506H"
},
{
"__type__": "cc.PrivateNode",
......@@ -7684,7 +7684,7 @@
"_groupIndex": 0,
"groupIndex": 0,
"showInEditor": false,
"_id": "11bBNbfwZO3KIC5YjowwFB"
"_id": "c2oHylV1FBP7h+trpc1Arp"
},
{
"__type__": "cc.Label",
......@@ -7717,7 +7717,7 @@
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": "adiV4cYxtNgIP32Ioojbl+"
"_id": "f29RW7NqdGlIm6+93MyhVl"
},
{
"__type__": "cc.PrivateNode",
......@@ -7780,7 +7780,7 @@
"_groupIndex": 0,
"groupIndex": 0,
"showInEditor": false,
"_id": "50L3Ef9aFGZb5QQ78BVzPw"
"_id": "dbL2NIditOnIieptym3F+S"
},
{
"__type__": "cc.Label",
......@@ -7813,7 +7813,7 @@
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": "0fRbMhRs1I/7arO1uSHE6V"
"_id": "edQVPSvrxDMIji/H6emi7l"
},
{
"__type__": "cc.RichText",
......@@ -9238,7 +9238,7 @@
"_groupIndex": 0,
"groupIndex": 0,
"showInEditor": false,
"_id": "f4wazRiRZENZVMwwCSFv6i"
"_id": "dbUdOk5/tG05XLkx3gFtOp"
},
{
"__type__": "cc.Label",
......@@ -9271,7 +9271,7 @@
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": "b3GNxXkaRD6bNf6ZmMQvOW"
"_id": "497lhEUA5PCrxwWhfmxDkp"
},
{
"__type__": "cc.PrivateNode",
......@@ -9334,7 +9334,7 @@
"_groupIndex": 0,
"groupIndex": 0,
"showInEditor": false,
"_id": "deDqe8xHRCO6GIdF7nySNp"
"_id": "8dzYqr7jFB67IsJGI9A71z"
},
{
"__type__": "cc.Label",
......@@ -9367,7 +9367,7 @@
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": "e7dhNOW+9Pbo4cbJp9NTK1"
"_id": "ab5ZRcXgFDdrC8or4RaAPc"
},
{
"__type__": "cc.PrivateNode",
......@@ -9430,7 +9430,7 @@
"_groupIndex": 0,
"groupIndex": 0,
"showInEditor": false,
"_id": "5bK8DYAMdEl6cyY7DTWCZx"
"_id": "86q35t1tpEYqWI5sH1irPc"
},
{
"__type__": "cc.Label",
......@@ -9463,7 +9463,7 @@
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": "94y57rh1NHoYBvlDVZ1QaU"
"_id": "b9S+qw2OdP+oyLlgpaDefR"
},
{
"__type__": "cc.PrivateNode",
......@@ -9526,7 +9526,7 @@
"_groupIndex": 0,
"groupIndex": 0,
"showInEditor": false,
"_id": "5d9fNNEc1Gx4py1ocizgsJ"
"_id": "23SfHkqQNOz66+g7wT3mHk"
},
{
"__type__": "cc.Label",
......@@ -9559,7 +9559,7 @@
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": "88LBAn9IZLl485ugVXub7B"
"_id": "0bIqD/gZZIwYlYuZv5ALnz"
},
{
"__type__": "cc.PrivateNode",
......@@ -9622,7 +9622,7 @@
"_groupIndex": 0,
"groupIndex": 0,
"showInEditor": false,
"_id": "b7Zp/cyDtIIIpW+jK6LaNU"
"_id": "dfLUjVKC5AC5FE8272wkDJ"
},
{
"__type__": "cc.Label",
......@@ -9655,7 +9655,7 @@
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": "3aOCVhCyFArrIbiq93JKMb"
"_id": "83FdF/otNF+bYLwIfs5WbN"
},
{
"__type__": "cc.PrivateNode",
......@@ -9718,7 +9718,7 @@
"_groupIndex": 0,
"groupIndex": 0,
"showInEditor": false,
"_id": "45QkVcEUtCupBSIguL6Vus"
"_id": "3anXLwIw1Ewq7Hft5a4K3T"
},
{
"__type__": "cc.Label",
......@@ -9751,7 +9751,7 @@
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": "ab/tlNDktHRqjqk3ID1czl"
"_id": "3d7cTswMRNY4F1W75nppJg"
},
{
"__type__": "cc.PrivateNode",
......@@ -9814,7 +9814,7 @@
"_groupIndex": 0,
"groupIndex": 0,
"showInEditor": false,
"_id": "f1UZ0m5ExHEaRFonMUy/7w"
"_id": "d6smduef9MyK99H2m+g6Kl"
},
{
"__type__": "cc.Label",
......@@ -9847,7 +9847,7 @@
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": "25X0kl/GhIG5xGlim3Y3XI"
"_id": "08JpH+gQdIJqDcTe9ac+/W"
},
{
"__type__": "cc.RichText",
......@@ -12593,7 +12593,7 @@
"_groupIndex": 0,
"groupIndex": 0,
"showInEditor": false,
"_id": "36L2GV07JOb6rOENUWgCrY"
"_id": "37aa/p6HNHoYiJTve98HQQ"
},
{
"__type__": "cc.Label",
......@@ -12626,7 +12626,7 @@
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": "7aeCagfmFGS4+qD1/sqxdo"
"_id": "c811MORQRJ15/lZ6JwTyq8"
},
{
"__type__": "cc.PrivateNode",
......@@ -12689,7 +12689,7 @@
"_groupIndex": 0,
"groupIndex": 0,
"showInEditor": false,
"_id": "4atv8WO0BGp4Kf5hqS3/fb"
"_id": "bdBnyx0WlPlKu3LZwUuOMZ"
},
{
"__type__": "cc.Label",
......@@ -12722,7 +12722,7 @@
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": "50YGSS1ZZLGbbIpdKu/y0p"
"_id": "dd96BQRJdMWYqra7ULApt2"
},
{
"__type__": "cc.PrivateNode",
......@@ -12785,7 +12785,7 @@
"_groupIndex": 0,
"groupIndex": 0,
"showInEditor": false,
"_id": "b1CdWXv79JLqC8YeiVDX5c"
"_id": "940+8jtnREgLcPdAkTY20y"
},
{
"__type__": "cc.Label",
......@@ -12818,7 +12818,7 @@
"_N$fontFamily": "Arial",
"_N$overflow": 0,
"_N$cacheMode": 0,
"_id": "eaToMHWwRBTYUyhE8n8uub"
"_id": "87B+dGyA5KVoXJ9QUQA4BV"
},
{
"__type__": "cc.RichText",
......@@ -27074,19 +27074,19 @@
"__id__": 583
},
{
"__id__": 810
"__id__": 813
}
],
"_active": false,
"_components": [
{
"__id__": 816
"__id__": 819
},
{
"__id__": 817
"__id__": 820
},
{
"__id__": 818
"__id__": 821
}
],
"_prefab": null,
......@@ -27152,10 +27152,10 @@
"_active": true,
"_components": [
{
"__id__": 808
"__id__": 811
},
{
"__id__": 809
"__id__": 812
}
],
"_prefab": null,
......@@ -27221,7 +27221,7 @@
"_active": true,
"_components": [
{
"__id__": 807
"__id__": 810
}
],
"_prefab": null,
......@@ -27299,10 +27299,10 @@
"_active": true,
"_components": [
{
"__id__": 805
"__id__": 808
},
{
"__id__": 806
"__id__": 809
}
],
"_prefab": null,
......@@ -34594,7 +34594,7 @@
"_active": true,
"_components": [
{
"__id__": 804
"__id__": 807
}
],
"_prefab": null,
......@@ -34865,13 +34865,13 @@
"_active": true,
"_components": [
{
"__id__": 801
"__id__": 804
},
{
"__id__": 802
"__id__": 805
},
{
"__id__": 803
"__id__": 806
}
],
"_prefab": null,
......@@ -34886,7 +34886,7 @@
"_contentSize": {
"__type__": "cc.Size",
"width": 900,
"height": 237.6
"height": 417.6
},
"_anchorPoint": {
"__type__": "cc.Vec2",
......@@ -35308,7 +35308,7 @@
"_contentSize": {
"__type__": "cc.Size",
"width": 800,
"height": 20
"height": 160
},
"_anchorPoint": {
"__type__": "cc.Vec2",
......@@ -35320,7 +35320,7 @@
"ctor": "Float64Array",
"array": [
0,
-77.8,
-67.8,
0,
0,
0,
......@@ -35450,14 +35450,14 @@
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0.5
"y": 1
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-199.893,
52.606,
90,
0,
0,
0,
......@@ -35552,7 +35552,7 @@
"ctor": "Float64Array",
"array": [
-200,
25,
35,
0,
0,
0,
......@@ -35649,7 +35649,7 @@
"ctor": "Float64Array",
"array": [
200,
-45,
-35,
0,
0,
0,
......@@ -36024,7 +36024,7 @@
"ctor": "Float64Array",
"array": [
520,
-44.9,
-35,
0,
0,
0,
......@@ -36311,7 +36311,7 @@
"_layoutSize": {
"__type__": "cc.Size",
"width": 800,
"height": 20
"height": 160
},
"_resize": 1,
"_N$layoutType": 2,
......@@ -36370,7 +36370,7 @@
"ctor": "Float64Array",
"array": [
0,
-118.8,
-238.8,
0,
0,
0,
......@@ -36470,7 +36470,7 @@
"ctor": "Float64Array",
"array": [
0,
-158.7,
-268.7,
0,
0,
0,
......@@ -36794,10 +36794,10 @@
"_active": true,
"_components": [
{
"__id__": 799
"__id__": 802
},
{
"__id__": 800
"__id__": 803
}
],
"_prefab": null,
......@@ -36824,7 +36824,7 @@
"ctor": "Float64Array",
"array": [
0,
-197.6,
-297.59999999999997,
0,
0,
0,
......@@ -36851,7 +36851,7 @@
{
"__type__": "cc.Node",
"_name": "item",
"_objFlags": 0,
"_objFlags": 512,
"_parent": {
"__id__": 783
},
......@@ -36869,13 +36869,13 @@
"__id__": 791
},
{
"__id__": 793
"__id__": 796
}
],
"_active": false,
"_components": [
{
"__id__": 798
"__id__": 801
}
],
"_prefab": null,
......@@ -36957,14 +36957,14 @@
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0.5
"y": 1
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
-199.893,
65.234,
100,
0,
0,
0,
......@@ -37059,7 +37059,7 @@
"ctor": "Float64Array",
"array": [
-199.893,
31.439,
55,
0,
0,
0,
......@@ -37154,7 +37154,7 @@
"ctor": "Float64Array",
"array": [
-200,
0,
20,
0,
0,
0,
......@@ -37222,6 +37222,12 @@
"_components": [
{
"__id__": 792
},
{
"__id__": 793
},
{
"__id__": 795
}
],
"_prefab": null,
......@@ -37248,7 +37254,7 @@
"ctor": "Float64Array",
"array": [
200,
0,
20,
0,
0,
0,
......@@ -37304,19 +37310,113 @@
"_atlas": null,
"_id": "b8u4FLTvlB+IaIdhOPDvac"
},
{
"__type__": "cc.Button",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 791
},
"_enabled": true,
"_normalMaterial": null,
"_grayMaterial": null,
"duration": 0.1,
"zoomScale": 1.2,
"clickEvents": [
{
"__id__": 794
}
],
"_N$interactable": true,
"_N$enableAutoGrayEffect": false,
"_N$transition": 0,
"transition": 0,
"_N$normalColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_N$pressedColor": {
"__type__": "cc.Color",
"r": 211,
"g": 211,
"b": 211,
"a": 255
},
"pressedColor": {
"__type__": "cc.Color",
"r": 211,
"g": 211,
"b": 211,
"a": 255
},
"_N$hoverColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"hoverColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_N$disabledColor": {
"__type__": "cc.Color",
"r": 124,
"g": 124,
"b": 124,
"a": 255
},
"_N$normalSprite": null,
"_N$pressedSprite": null,
"pressedSprite": null,
"_N$hoverSprite": null,
"hoverSprite": null,
"_N$disabledSprite": null,
"_N$target": {
"__id__": 791
},
"_id": "9ckbJtAnBNiKCeJoi1w8/i"
},
{
"__type__": "cc.ClickEvent",
"target": {
"__id__": 791
},
"component": "",
"_componentId": "9c154tqr7dIDptMURdYlia+",
"handler": "onPlayAttrRecordAudio",
"customEventData": ""
},
{
"__type__": "9c154tqr7dIDptMURdYlia+",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 791
},
"_enabled": true,
"_id": "9b3pz0bWlAf4wzX1D+lEhe"
},
{
"__type__": "cc.Node",
"_name": "score",
"_objFlags": 0,
"_objFlags": 512,
"_parent": {
"__id__": 784
},
"_children": [
{
"__id__": 794
"__id__": 797
},
{
"__id__": 796
"__id__": 799
}
],
"_active": true,
......@@ -37345,7 +37445,7 @@
"ctor": "Float64Array",
"array": [
520,
-70,
-60,
0,
0,
0,
......@@ -37374,13 +37474,13 @@
"_name": "goodjob",
"_objFlags": 0,
"_parent": {
"__id__": 793
"__id__": 796
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 795
"__id__": 798
}
],
"_prefab": null,
......@@ -37436,7 +37536,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 794
"__id__": 797
},
"_enabled": true,
"_materials": [
......@@ -37468,13 +37568,13 @@
"_name": "nicetry",
"_objFlags": 0,
"_parent": {
"__id__": 793
"__id__": 796
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 797
"__id__": 800
}
],
"_prefab": null,
......@@ -37530,7 +37630,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 796
"__id__": 799
},
"_enabled": true,
"_materials": [
......@@ -37696,7 +37796,7 @@
"_layoutSize": {
"__type__": "cc.Size",
"width": 900,
"height": 237.6
"height": 417.6
},
"_resize": 1,
"_N$layoutType": 2,
......@@ -37711,7 +37811,7 @@
"_N$paddingTop": 20,
"_N$paddingBottom": 20,
"_N$spacingX": 0,
"_N$spacingY": 20,
"_N$spacingY": 10,
"_N$verticalDirection": 1,
"_N$horizontalDirection": 0,
"_N$affectedByScale": false,
......@@ -37915,16 +38015,16 @@
"_active": true,
"_components": [
{
"__id__": 811
"__id__": 814
},
{
"__id__": 812
"__id__": 815
},
{
"__id__": 813
"__id__": 816
},
{
"__id__": 815
"__id__": 818
}
],
"_prefab": null,
......@@ -37980,7 +38080,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 810
"__id__": 813
},
"_enabled": true,
"_materials": [
......@@ -38012,7 +38112,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 810
"__id__": 813
},
"_enabled": true,
"alignMode": 1,
......@@ -38039,7 +38139,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 810
"__id__": 813
},
"_enabled": true,
"_normalMaterial": null,
......@@ -38048,7 +38148,7 @@
"zoomScale": 1.2,
"clickEvents": [
{
"__id__": 814
"__id__": 817
}
],
"_N$interactable": true,
......@@ -38109,7 +38209,7 @@
{
"__type__": "cc.ClickEvent",
"target": {
"__id__": 810
"__id__": 813
},
"component": "",
"_componentId": "9c154tqr7dIDptMURdYlia+",
......@@ -38121,7 +38221,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 810
"__id__": 813
},
"_enabled": true,
"_id": "fa3KV6EbFDwJdO89ber4Ip"
......@@ -38220,28 +38320,28 @@
},
"_children": [
{
"__id__": 820
"__id__": 823
},
{
"__id__": 823
"__id__": 826
},
{
"__id__": 832
"__id__": 835
},
{
"__id__": 836
"__id__": 839
},
{
"__id__": 842
"__id__": 845
}
],
"_active": false,
"_components": [
{
"__id__": 845
"__id__": 848
},
{
"__id__": 846
"__id__": 849
}
],
"_prefab": null,
......@@ -38297,16 +38397,16 @@
"_name": "qpyVideo",
"_objFlags": 0,
"_parent": {
"__id__": 819
"__id__": 822
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 821
"__id__": 824
},
{
"__id__": 822
"__id__": 825
}
],
"_prefab": null,
......@@ -38362,7 +38462,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 820
"__id__": 823
},
"_enabled": true,
"_resourceType": 0,
......@@ -38384,7 +38484,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 820
"__id__": 823
},
"_enabled": true,
"alignMode": 1,
......@@ -38411,23 +38511,23 @@
"_name": "video_process_bg",
"_objFlags": 0,
"_parent": {
"__id__": 819
"__id__": 822
},
"_children": [
{
"__id__": 824
"__id__": 827
},
{
"__id__": 827
"__id__": 830
}
],
"_active": true,
"_components": [
{
"__id__": 830
"__id__": 833
},
{
"__id__": 831
"__id__": 834
}
],
"_prefab": null,
......@@ -38483,16 +38583,16 @@
"_name": "video_process",
"_objFlags": 0,
"_parent": {
"__id__": 823
"__id__": 826
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 825
"__id__": 828
},
{
"__id__": 826
"__id__": 829
}
],
"_prefab": null,
......@@ -38548,7 +38648,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 824
"__id__": 827
},
"_enabled": true,
"_materials": [
......@@ -38580,7 +38680,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 824
"__id__": 827
},
"_enabled": true,
"alignMode": 1,
......@@ -38607,16 +38707,16 @@
"_name": "video_dot",
"_objFlags": 0,
"_parent": {
"__id__": 823
"__id__": 826
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 828
"__id__": 831
},
{
"__id__": 829
"__id__": 832
}
],
"_prefab": null,
......@@ -38672,7 +38772,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 827
"__id__": 830
},
"_enabled": true,
"_materials": [
......@@ -38704,7 +38804,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 827
"__id__": 830
},
"_enabled": true,
"alignMode": 1,
......@@ -38731,7 +38831,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 823
"__id__": 826
},
"_enabled": true,
"_materials": [
......@@ -38763,7 +38863,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 823
"__id__": 826
},
"_enabled": true,
"alignMode": 1,
......@@ -38790,19 +38890,19 @@
"_name": "mask",
"_objFlags": 0,
"_parent": {
"__id__": 819
"__id__": 822
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 833
"__id__": 836
},
{
"__id__": 834
"__id__": 837
},
{
"__id__": 835
"__id__": 838
}
],
"_prefab": null,
......@@ -38858,7 +38958,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 832
"__id__": 835
},
"_enabled": true,
"_materials": [],
......@@ -38886,7 +38986,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 832
"__id__": 835
},
"_enabled": true,
"alignMode": 1,
......@@ -38913,7 +39013,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 832
"__id__": 835
},
"_enabled": true,
"_normalMaterial": null,
......@@ -38974,7 +39074,7 @@
"hoverSprite": null,
"_N$disabledSprite": null,
"_N$target": {
"__id__": 832
"__id__": 835
},
"_id": "9fClxAegdJnoaP35o44+rP"
},
......@@ -38983,22 +39083,22 @@
"_name": "back",
"_objFlags": 0,
"_parent": {
"__id__": 819
"__id__": 822
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 837
"__id__": 840
},
{
"__id__": 838
"__id__": 841
},
{
"__id__": 839
"__id__": 842
},
{
"__id__": 841
"__id__": 844
}
],
"_prefab": null,
......@@ -39054,7 +39154,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 836
"__id__": 839
},
"_enabled": true,
"_materials": [
......@@ -39086,7 +39186,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 836
"__id__": 839
},
"_enabled": true,
"alignMode": 1,
......@@ -39113,7 +39213,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 836
"__id__": 839
},
"_enabled": true,
"_normalMaterial": null,
......@@ -39122,7 +39222,7 @@
"zoomScale": 1.2,
"clickEvents": [
{
"__id__": 840
"__id__": 843
}
],
"_N$interactable": true,
......@@ -39178,14 +39278,14 @@
"hoverSprite": null,
"_N$disabledSprite": null,
"_N$target": {
"__id__": 836
"__id__": 839
},
"_id": "63efETDzBJTq9PD1gP/oLR"
},
{
"__type__": "cc.ClickEvent",
"target": {
"__id__": 836
"__id__": 839
},
"component": "",
"_componentId": "9c154tqr7dIDptMURdYlia+",
......@@ -39197,7 +39297,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 836
"__id__": 839
},
"_enabled": true,
"_id": "6bO/s4q0JC/7tFb3YzguFS"
......@@ -39207,16 +39307,16 @@
"_name": "play",
"_objFlags": 0,
"_parent": {
"__id__": 819
"__id__": 822
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 843
"__id__": 846
},
{
"__id__": 844
"__id__": 847
}
],
"_prefab": null,
......@@ -39272,7 +39372,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 842
"__id__": 845
},
"_enabled": true,
"_materials": [
......@@ -39304,7 +39404,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 842
"__id__": 845
},
"_enabled": true,
"_normalMaterial": null,
......@@ -39365,7 +39465,7 @@
"hoverSprite": null,
"_N$disabledSprite": null,
"_N$target": {
"__id__": 842
"__id__": 845
},
"_id": "a3qfAeWZdLRbldRWbD/SHz"
},
......@@ -39374,23 +39474,23 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 819
"__id__": 822
},
"_enabled": true,
"dot": {
"__id__": 827
"__id__": 830
},
"processBg": {
"__id__": 823
"__id__": 826
},
"process": {
"__id__": 824
"__id__": 827
},
"playBtn": {
"__id__": 842
"__id__": 845
},
"videoplayer": {
"__id__": 821
"__id__": 824
},
"_id": "dej+nExBZLLKTp/uZgfxJs"
},
......@@ -39399,7 +39499,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 819
"__id__": 822
},
"_enabled": true,
"alignMode": 1,
......
......@@ -320,6 +320,13 @@ export default class NewClass extends cc.Component {
const part1Node = cc.find("item", part1Row);
const part2Row = cc.find("part2_row", resultQWQDNode);
const part2Node = cc.find("item", part2Row);
if(part1Row.children.length>1 || part2Row.children.length>1) {
// 已经渲染过
resultQWQDPage.active = true;
return
}
result.forEach(item => {
if(item.type == 'sound') {
const itemClone = cc.instantiate(part1Node);
......@@ -377,7 +384,10 @@ export default class NewClass extends cc.Component {
pic2Node.scale = Math.min(sx, sy);
});
}
if(item.audio_url) {
pic2Node.attr({audio_url: item.audio_url});
}
if(item.score>=80) {
cc.find("score/goodjob", itemClone).active = true;
......@@ -599,6 +609,18 @@ export default class NewClass extends cc.Component {
}
// 播放Attr上的录音
async onPlayAttrRecordAudio(evt: cc.Event) {
const node = evt.currentTarget;
if (!node.audio_url) {
this.showTips("录音不存在");
return;
}
playAudioByUrl(node.audio_url, () => {
})
}
showTips(tips) {
const middleLayer = cc.find('middleLayer')?.getComponent('middleLayer');
if (middleLayer) {
......
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