diff --git a/assets/elephant/scene/elephant.fire b/assets/elephant/scene/elephant.fire index 864949cd6196e53e8bb21c68cb9eb669e614e319..33c9d7149bd2db7b5eb3684ef2bed7b05cb7ed18 100644 --- a/assets/elephant/scene/elephant.fire +++ b/assets/elephant/scene/elephant.fire @@ -87,31 +87,37 @@ "__id__": 98 }, { - "__id__": 188 + "__id__": 196 }, { - "__id__": 337 + "__id__": 349 }, { - "__id__": 353 + "__id__": 367 }, { - "__id__": 371 + "__id__": 387 }, { - "__id__": 382 + "__id__": 398 + }, + { + "__id__": 406 + }, + { + "__id__": 420 } ], "_active": true, "_components": [ { - "__id__": 390 + "__id__": 448 }, { - "__id__": 391 + "__id__": 449 }, { - "__id__": 392 + "__id__": 450 } ], "_prefab": null, @@ -4754,16 +4760,16 @@ "__id__": 117 }, { - "__id__": 179 + "__id__": 187 } ], "_active": false, "_components": [ { - "__id__": 186 + "__id__": 194 }, { - "__id__": 187 + "__id__": 195 } ], "_prefab": null, @@ -5623,19 +5629,19 @@ "__id__": 118 }, { - "__id__": 133 + "__id__": 135 }, { - "__id__": 148 + "__id__": 152 }, { - "__id__": 163 + "__id__": 169 } ], - "_active": false, + "_active": true, "_components": [ { - "__id__": 178 + "__id__": 186 } ], "_prefab": null, @@ -5710,16 +5716,16 @@ "__id__": 127 }, { - "__id__": 129 + "__id__": 131 } ], "_active": true, "_components": [ { - "__id__": 131 + "__id__": 133 }, { - "__id__": 132 + "__id__": 134 } ], "_prefab": null, @@ -6155,11 +6161,15 @@ "_parent": { "__id__": 118 }, - "_children": [], + "_children": [ + { + "__id__": 128 + } + ], "_active": true, "_components": [ { - "__id__": 128 + "__id__": 130 } ], "_prefab": null, @@ -6173,7 +6183,7 @@ }, "_contentSize": { "__type__": "cc.Size", - "width": 103, + "width": 180, "height": 129 }, "_anchorPoint": { @@ -6210,12 +6220,74 @@ "groupIndex": 0, "_id": "03ofGFlh5FFqDMfSMRmGRF" }, + { + "__type__": "cc.Node", + "_name": "cover", + "_objFlags": 0, + "_parent": { + "__id__": 127 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 129 + } + ], + "_prefab": null, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 124, + "height": 118 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + 0, + 0, + 0, + 0, + 0, + 0, + 1, + 1, + 1, + 1 + ] + }, + "_eulerAngles": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_skewX": 0, + "_skewY": 0, + "_is3DNode": false, + "_groupIndex": 0, + "groupIndex": 0, + "_id": "0bKivR2bJPZ586fVlCS1Ai" + }, { "__type__": "cc.Sprite", "_name": "", "_objFlags": 0, "node": { - "__id__": 127 + "__id__": 128 }, "_enabled": true, "_materials": [ @@ -6226,7 +6298,7 @@ "_srcBlendFactor": 770, "_dstBlendFactor": 771, "_spriteFrame": { - "__uuid__": "0d95f290-0a78-4d4b-bc30-0447b5ffb65d" + "__uuid__": "23d19a14-0233-47b9-9992-eb19ae5c374a" }, "_type": 0, "_sizeMode": 1, @@ -6240,7 +6312,27 @@ "_fillRange": 0, "_isTrimmedMode": true, "_atlas": null, - "_id": "10EsXP3IhKjpB4dQuUR6+B" + "_id": "9e2wLWciNDX7XGQJQkCpXW" + }, + { + "__type__": "cc.Mask", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 127 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_spriteFrame": null, + "_type": 0, + "_segments": 64, + "_N$alphaThreshold": 0.1, + "_N$inverted": false, + "_id": "a0VXFSRF1H6bcEMJb1hKsG" }, { "__type__": "cc.Node", @@ -6253,7 +6345,7 @@ "_active": true, "_components": [ { - "__id__": 130 + "__id__": 132 } ], "_prefab": null, @@ -6309,7 +6401,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 129 + "__id__": 131 }, "_enabled": true, "_materials": [ @@ -6447,9 +6539,6 @@ "__id__": 117 }, "_children": [ - { - "__id__": 134 - }, { "__id__": 136 }, @@ -6464,15 +6553,18 @@ }, { "__id__": 144 + }, + { + "__id__": 148 } ], "_active": true, "_components": [ { - "__id__": 146 + "__id__": 150 }, { - "__id__": 147 + "__id__": 151 } ], "_prefab": null, @@ -6528,13 +6620,13 @@ "_name": "bg_number", "_objFlags": 0, "_parent": { - "__id__": 133 + "__id__": 135 }, "_children": [], "_active": true, "_components": [ { - "__id__": 135 + "__id__": 137 } ], "_prefab": null, @@ -6590,7 +6682,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 134 + "__id__": 136 }, "_enabled": true, "_materials": [ @@ -6622,13 +6714,13 @@ "_name": "btn_eat_yellow", "_objFlags": 0, "_parent": { - "__id__": 133 + "__id__": 135 }, "_children": [], "_active": true, "_components": [ { - "__id__": 137 + "__id__": 139 } ], "_prefab": null, @@ -6684,7 +6776,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 136 + "__id__": 138 }, "_enabled": true, "_materials": [ @@ -6716,13 +6808,13 @@ "_name": "growth", "_objFlags": 0, "_parent": { - "__id__": 133 + "__id__": 135 }, "_children": [], "_active": true, "_components": [ { - "__id__": 139 + "__id__": 141 } ], "_prefab": null, @@ -6778,7 +6870,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 138 + "__id__": 140 }, "_enabled": true, "_materials": [ @@ -6811,13 +6903,13 @@ "_name": "name", "_objFlags": 0, "_parent": { - "__id__": 133 + "__id__": 135 }, "_children": [], "_active": true, "_components": [ { - "__id__": 141 + "__id__": 143 } ], "_prefab": null, @@ -6873,7 +6965,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 140 + "__id__": 142 }, "_enabled": true, "_materials": [ @@ -6906,13 +6998,17 @@ "_name": "icon", "_objFlags": 0, "_parent": { - "__id__": 133 + "__id__": 135 }, - "_children": [], + "_children": [ + { + "__id__": 145 + } + ], "_active": true, "_components": [ { - "__id__": 143 + "__id__": 147 } ], "_prefab": null, @@ -6926,7 +7022,7 @@ }, "_contentSize": { "__type__": "cc.Size", - "width": 103, + "width": 180, "height": 129 }, "_anchorPoint": { @@ -6963,12 +7059,74 @@ "groupIndex": 0, "_id": "53b5Mf5VxLEq0p0G4yHGB/" }, + { + "__type__": "cc.Node", + "_name": "cover", + "_objFlags": 0, + "_parent": { + "__id__": 144 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 146 + } + ], + "_prefab": null, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 120, + "height": 115 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + 0, + 0, + 0, + 0, + 0, + 0, + 1, + 1, + 1, + 1 + ] + }, + "_eulerAngles": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_skewX": 0, + "_skewY": 0, + "_is3DNode": false, + "_groupIndex": 0, + "groupIndex": 0, + "_id": "1cTyVstXVN9oLvAdBTj3IP" + }, { "__type__": "cc.Sprite", "_name": "", "_objFlags": 0, "node": { - "__id__": 142 + "__id__": 145 }, "_enabled": true, "_materials": [ @@ -6979,7 +7137,7 @@ "_srcBlendFactor": 770, "_dstBlendFactor": 771, "_spriteFrame": { - "__uuid__": "0d95f290-0a78-4d4b-bc30-0447b5ffb65d" + "__uuid__": "00cc828c-a69c-49ef-82e7-fa30b7266662" }, "_type": 0, "_sizeMode": 1, @@ -6993,20 +7151,40 @@ "_fillRange": 0, "_isTrimmedMode": true, "_atlas": null, - "_id": "97FIYES8JAd6U2hg/vJcEL" + "_id": "feSCbRpvFEC6wBnqetKv2r" + }, + { + "__type__": "cc.Mask", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 144 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_spriteFrame": null, + "_type": 0, + "_segments": 64, + "_N$alphaThreshold": 0.1, + "_N$inverted": false, + "_id": "26MDhlS9JBdJerfb5v7+RY" }, { "__type__": "cc.Node", "_name": "num", "_objFlags": 0, "_parent": { - "__id__": 133 + "__id__": 135 }, "_children": [], "_active": true, "_components": [ { - "__id__": 145 + "__id__": 149 } ], "_prefab": null, @@ -7062,7 +7240,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 144 + "__id__": 148 }, "_enabled": true, "_materials": [ @@ -7095,7 +7273,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 133 + "__id__": 135 }, "_enabled": true, "_materials": [ @@ -7127,7 +7305,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 133 + "__id__": 135 }, "_enabled": true, "_normalMaterial": null, @@ -7188,7 +7366,7 @@ "hoverSprite": null, "_N$disabledSprite": null, "_N$target": { - "__id__": 133 + "__id__": 135 }, "_id": "876y3iJHlFiLDXbwV8Tdk2" }, @@ -7200,12 +7378,6 @@ "__id__": 117 }, "_children": [ - { - "__id__": 149 - }, - { - "__id__": 151 - }, { "__id__": 153 }, @@ -7217,15 +7389,21 @@ }, { "__id__": 159 - } - ], - "_active": true, - "_components": [ + }, { "__id__": 161 }, { - "__id__": 162 + "__id__": 165 + } + ], + "_active": true, + "_components": [ + { + "__id__": 167 + }, + { + "__id__": 168 } ], "_prefab": null, @@ -7281,13 +7459,13 @@ "_name": "bg_number", "_objFlags": 0, "_parent": { - "__id__": 148 + "__id__": 152 }, "_children": [], "_active": true, "_components": [ { - "__id__": 150 + "__id__": 154 } ], "_prefab": null, @@ -7343,7 +7521,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 149 + "__id__": 153 }, "_enabled": true, "_materials": [ @@ -7375,13 +7553,13 @@ "_name": "btn_eat_yellow", "_objFlags": 0, "_parent": { - "__id__": 148 + "__id__": 152 }, "_children": [], "_active": true, "_components": [ { - "__id__": 152 + "__id__": 156 } ], "_prefab": null, @@ -7437,7 +7615,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 151 + "__id__": 155 }, "_enabled": true, "_materials": [ @@ -7469,13 +7647,13 @@ "_name": "growth", "_objFlags": 0, "_parent": { - "__id__": 148 + "__id__": 152 }, "_children": [], "_active": true, "_components": [ { - "__id__": 154 + "__id__": 158 } ], "_prefab": null, @@ -7531,7 +7709,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 153 + "__id__": 157 }, "_enabled": true, "_materials": [ @@ -7564,13 +7742,13 @@ "_name": "name", "_objFlags": 0, "_parent": { - "__id__": 148 + "__id__": 152 }, "_children": [], "_active": true, "_components": [ { - "__id__": 156 + "__id__": 160 } ], "_prefab": null, @@ -7626,7 +7804,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 155 + "__id__": 159 }, "_enabled": true, "_materials": [ @@ -7659,13 +7837,17 @@ "_name": "icon", "_objFlags": 0, "_parent": { - "__id__": 148 + "__id__": 152 }, - "_children": [], + "_children": [ + { + "__id__": 162 + } + ], "_active": true, "_components": [ { - "__id__": 158 + "__id__": 164 } ], "_prefab": null, @@ -7679,7 +7861,7 @@ }, "_contentSize": { "__type__": "cc.Size", - "width": 103, + "width": 180, "height": 129 }, "_anchorPoint": { @@ -7716,12 +7898,74 @@ "groupIndex": 0, "_id": "e3CbdKzvNCcYtPo4F4a9Wv" }, + { + "__type__": "cc.Node", + "_name": "cover", + "_objFlags": 0, + "_parent": { + "__id__": 161 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 163 + } + ], + "_prefab": null, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 125, + "height": 117 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + 0, + 0, + 0, + 0, + 0, + 0, + 1, + 1, + 1, + 1 + ] + }, + "_eulerAngles": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_skewX": 0, + "_skewY": 0, + "_is3DNode": false, + "_groupIndex": 0, + "groupIndex": 0, + "_id": "aedam7FepCvJSwr+jA5K0G" + }, { "__type__": "cc.Sprite", "_name": "", "_objFlags": 0, "node": { - "__id__": 157 + "__id__": 162 }, "_enabled": true, "_materials": [ @@ -7732,7 +7976,7 @@ "_srcBlendFactor": 770, "_dstBlendFactor": 771, "_spriteFrame": { - "__uuid__": "0d95f290-0a78-4d4b-bc30-0447b5ffb65d" + "__uuid__": "e431ab78-f754-4ed8-aeec-873fde6c1d28" }, "_type": 0, "_sizeMode": 1, @@ -7746,20 +7990,40 @@ "_fillRange": 0, "_isTrimmedMode": true, "_atlas": null, - "_id": "74B0aYwURJ5YJlMMdhpdrT" + "_id": "3c53PqvDROSahzAUnFouhq" + }, + { + "__type__": "cc.Mask", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 161 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_spriteFrame": null, + "_type": 0, + "_segments": 64, + "_N$alphaThreshold": 0.1, + "_N$inverted": false, + "_id": "06XwBSwYpJsZegQUtIKFYR" }, { "__type__": "cc.Node", "_name": "num", "_objFlags": 0, "_parent": { - "__id__": 148 + "__id__": 152 }, "_children": [], "_active": true, "_components": [ { - "__id__": 160 + "__id__": 166 } ], "_prefab": null, @@ -7815,7 +8079,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 159 + "__id__": 165 }, "_enabled": true, "_materials": [ @@ -7848,7 +8112,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 148 + "__id__": 152 }, "_enabled": true, "_materials": [ @@ -7880,7 +8144,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 148 + "__id__": 152 }, "_enabled": true, "_normalMaterial": null, @@ -7941,7 +8205,7 @@ "hoverSprite": null, "_N$disabledSprite": null, "_N$target": { - "__id__": 148 + "__id__": 152 }, "_id": "a32Qp6NP9F4Z8/SUP50wX+" }, @@ -7954,31 +8218,31 @@ }, "_children": [ { - "__id__": 164 + "__id__": 170 }, { - "__id__": 166 + "__id__": 172 }, { - "__id__": 168 + "__id__": 174 }, { - "__id__": 170 + "__id__": 176 }, { - "__id__": 172 + "__id__": 178 }, { - "__id__": 174 + "__id__": 182 } ], "_active": true, "_components": [ { - "__id__": 176 + "__id__": 184 }, { - "__id__": 177 + "__id__": 185 } ], "_prefab": null, @@ -8034,13 +8298,13 @@ "_name": "bg_number", "_objFlags": 0, "_parent": { - "__id__": 163 + "__id__": 169 }, "_children": [], "_active": true, "_components": [ { - "__id__": 165 + "__id__": 171 } ], "_prefab": null, @@ -8096,7 +8360,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 164 + "__id__": 170 }, "_enabled": true, "_materials": [ @@ -8128,13 +8392,13 @@ "_name": "btn_eat_yellow", "_objFlags": 0, "_parent": { - "__id__": 163 + "__id__": 169 }, "_children": [], "_active": true, "_components": [ { - "__id__": 167 + "__id__": 173 } ], "_prefab": null, @@ -8190,7 +8454,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 166 + "__id__": 172 }, "_enabled": true, "_materials": [ @@ -8222,13 +8486,13 @@ "_name": "growth", "_objFlags": 0, "_parent": { - "__id__": 163 + "__id__": 169 }, "_children": [], "_active": true, "_components": [ { - "__id__": 169 + "__id__": 175 } ], "_prefab": null, @@ -8284,7 +8548,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 168 + "__id__": 174 }, "_enabled": true, "_materials": [ @@ -8317,13 +8581,13 @@ "_name": "name", "_objFlags": 0, "_parent": { - "__id__": 163 + "__id__": 169 }, "_children": [], "_active": true, "_components": [ { - "__id__": 171 + "__id__": 177 } ], "_prefab": null, @@ -8379,7 +8643,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 170 + "__id__": 176 }, "_enabled": true, "_materials": [ @@ -8412,13 +8676,17 @@ "_name": "icon", "_objFlags": 0, "_parent": { - "__id__": 163 + "__id__": 169 }, - "_children": [], + "_children": [ + { + "__id__": 179 + } + ], "_active": true, "_components": [ { - "__id__": 173 + "__id__": 181 } ], "_prefab": null, @@ -8432,7 +8700,7 @@ }, "_contentSize": { "__type__": "cc.Size", - "width": 103, + "width": 180, "height": 129 }, "_anchorPoint": { @@ -8469,12 +8737,74 @@ "groupIndex": 0, "_id": "dbMvJfreNPqpy8egfpRyQg" }, + { + "__type__": "cc.Node", + "_name": "cover", + "_objFlags": 0, + "_parent": { + "__id__": 178 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 180 + } + ], + "_prefab": null, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 137, + "height": 112 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + 0, + 0, + 0, + 0, + 0, + 0, + 1, + 1, + 1, + 1 + ] + }, + "_eulerAngles": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_skewX": 0, + "_skewY": 0, + "_is3DNode": false, + "_groupIndex": 0, + "groupIndex": 0, + "_id": "59VuOkg+1Pu5+gEUa0rLQ5" + }, { "__type__": "cc.Sprite", "_name": "", "_objFlags": 0, "node": { - "__id__": 172 + "__id__": 179 }, "_enabled": true, "_materials": [ @@ -8485,7 +8815,7 @@ "_srcBlendFactor": 770, "_dstBlendFactor": 771, "_spriteFrame": { - "__uuid__": "0d95f290-0a78-4d4b-bc30-0447b5ffb65d" + "__uuid__": "75af1abd-0d80-47c1-b137-b876e499beda" }, "_type": 0, "_sizeMode": 1, @@ -8499,20 +8829,40 @@ "_fillRange": 0, "_isTrimmedMode": true, "_atlas": null, - "_id": "0bzn1o/15Ku6WYxSqOp5+b" + "_id": "a4jh4X+bBJB5ZnLqlHyvaE" + }, + { + "__type__": "cc.Mask", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 178 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_spriteFrame": null, + "_type": 0, + "_segments": 64, + "_N$alphaThreshold": 0.1, + "_N$inverted": false, + "_id": "56dHVWI6RC8aOUaLGGH3qB" }, { "__type__": "cc.Node", "_name": "num", "_objFlags": 0, "_parent": { - "__id__": 163 + "__id__": 169 }, "_children": [], "_active": true, "_components": [ { - "__id__": 175 + "__id__": 183 } ], "_prefab": null, @@ -8568,7 +8918,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 174 + "__id__": 182 }, "_enabled": true, "_materials": [ @@ -8601,7 +8951,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 163 + "__id__": 169 }, "_enabled": true, "_materials": [ @@ -8633,7 +8983,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 163 + "__id__": 169 }, "_enabled": true, "_normalMaterial": null, @@ -8694,7 +9044,7 @@ "hoverSprite": null, "_N$disabledSprite": null, "_N$target": { - "__id__": 163 + "__id__": 169 }, "_id": "0dt4tCLMFPa5u2azNnfjcj" }, @@ -8739,16 +9089,16 @@ }, "_children": [ { - "__id__": 180 + "__id__": 188 } ], "_active": true, "_components": [ { - "__id__": 184 + "__id__": 192 }, { - "__id__": 185 + "__id__": 193 } ], "_prefab": null, @@ -8804,17 +9154,17 @@ "_name": "view", "_objFlags": 0, "_parent": { - "__id__": 179 + "__id__": 187 }, "_children": [ { - "__id__": 181 + "__id__": 189 } ], "_active": true, "_components": [ { - "__id__": 183 + "__id__": 191 } ], "_prefab": null, @@ -8870,13 +9220,13 @@ "_name": "content", "_objFlags": 0, "_parent": { - "__id__": 180 + "__id__": 188 }, "_children": [], "_active": true, "_components": [ { - "__id__": 182 + "__id__": 190 } ], "_prefab": null, @@ -8932,7 +9282,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 181 + "__id__": 189 }, "_enabled": true, "_layoutSize": { @@ -8964,7 +9314,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 180 + "__id__": 188 }, "_enabled": true, "_materials": [ @@ -8984,7 +9334,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 179 + "__id__": 187 }, "_enabled": true, "horizontal": false, @@ -8996,10 +9346,10 @@ "scrollEvents": [], "cancelInnerEvents": true, "_N$content": { - "__id__": 181 + "__id__": 189 }, "content": { - "__id__": 181 + "__id__": 189 }, "_N$horizontalScrollBar": null, "_N$verticalScrollBar": null, @@ -9010,7 +9360,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 179 + "__id__": 187 }, "_enabled": true, "item": { @@ -9070,34 +9420,34 @@ }, "_children": [ { - "__id__": 189 + "__id__": 197 }, { - "__id__": 205 + "__id__": 213 }, { - "__id__": 234 + "__id__": 242 }, { - "__id__": 238 + "__id__": 246 }, { - "__id__": 243 + "__id__": 251 }, { - "__id__": 246 + "__id__": 254 }, { - "__id__": 328 + "__id__": 340 } ], "_active": false, "_components": [ { - "__id__": 335 + "__id__": 347 }, { - "__id__": 336 + "__id__": 348 } ], "_prefab": null, @@ -9153,32 +9503,32 @@ "_name": "bg_blue", "_objFlags": 0, "_parent": { - "__id__": 188 + "__id__": 196 }, "_children": [ { - "__id__": 190 + "__id__": 198 }, { - "__id__": 193 + "__id__": 201 }, { - "__id__": 196 + "__id__": 204 }, { - "__id__": 199 + "__id__": 207 } ], "_active": true, "_components": [ { - "__id__": 202 + "__id__": 210 }, { - "__id__": 203 + "__id__": 211 }, { - "__id__": 204 + "__id__": 212 } ], "_prefab": null, @@ -9234,16 +9584,16 @@ "_name": "bg_shelf", "_objFlags": 0, "_parent": { - "__id__": 189 + "__id__": 197 }, "_children": [], "_active": true, "_components": [ { - "__id__": 191 + "__id__": 199 }, { - "__id__": 192 + "__id__": 200 } ], "_prefab": null, @@ -9299,7 +9649,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 190 + "__id__": 198 }, "_enabled": true, "_materials": [ @@ -9331,7 +9681,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 190 + "__id__": 198 }, "_enabled": true, "alignMode": 1, @@ -9358,16 +9708,16 @@ "_name": "bg_shelf2", "_objFlags": 0, "_parent": { - "__id__": 189 + "__id__": 197 }, "_children": [], "_active": true, "_components": [ { - "__id__": 194 + "__id__": 202 }, { - "__id__": 195 + "__id__": 203 } ], "_prefab": null, @@ -9423,7 +9773,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 193 + "__id__": 201 }, "_enabled": true, "_materials": [ @@ -9455,7 +9805,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 193 + "__id__": 201 }, "_enabled": true, "alignMode": 1, @@ -9482,16 +9832,16 @@ "_name": "bg_yellow", "_objFlags": 0, "_parent": { - "__id__": 189 + "__id__": 197 }, "_children": [], "_active": true, "_components": [ { - "__id__": 197 + "__id__": 205 }, { - "__id__": 198 + "__id__": 206 } ], "_prefab": null, @@ -9547,7 +9897,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 196 + "__id__": 204 }, "_enabled": true, "_materials": [ @@ -9579,7 +9929,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 196 + "__id__": 204 }, "_enabled": true, "alignMode": 1, @@ -9606,16 +9956,16 @@ "_name": "bg_top", "_objFlags": 0, "_parent": { - "__id__": 189 + "__id__": 197 }, "_children": [], "_active": true, "_components": [ { - "__id__": 200 + "__id__": 208 }, { - "__id__": 201 + "__id__": 209 } ], "_prefab": null, @@ -9671,7 +10021,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 199 + "__id__": 207 }, "_enabled": true, "_materials": [ @@ -9703,7 +10053,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 199 + "__id__": 207 }, "_enabled": true, "alignMode": 1, @@ -9730,7 +10080,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 189 + "__id__": 197 }, "_enabled": true, "_materials": [ @@ -9762,7 +10112,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 189 + "__id__": 197 }, "_enabled": true, "_id": "4fs6OwbjhObJRKOFhLQWO4" @@ -9772,7 +10122,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 189 + "__id__": 197 }, "_enabled": true, "alignMode": 1, @@ -9799,35 +10149,35 @@ "_name": "btns", "_objFlags": 0, "_parent": { - "__id__": 188 + "__id__": 196 }, "_children": [ { - "__id__": 206 + "__id__": 214 }, { - "__id__": 210 + "__id__": 218 }, { - "__id__": 214 + "__id__": 222 }, { - "__id__": 218 + "__id__": 226 }, { - "__id__": 221 + "__id__": 229 }, { - "__id__": 225 + "__id__": 233 }, { - "__id__": 229 + "__id__": 237 } ], "_active": true, "_components": [ { - "__id__": 233 + "__id__": 241 } ], "_prefab": null, @@ -9883,19 +10233,19 @@ "_name": "btn_food_wait", "_objFlags": 0, "_parent": { - "__id__": 205 + "__id__": 213 }, "_children": [], "_active": true, "_components": [ { - "__id__": 207 + "__id__": 215 }, { - "__id__": 208 + "__id__": 216 }, { - "__id__": 209 + "__id__": 217 } ], "_prefab": null, @@ -9951,7 +10301,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 206 + "__id__": 214 }, "_enabled": true, "_materials": [ @@ -9983,7 +10333,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 206 + "__id__": 214 }, "_enabled": true, "_normalMaterial": null, @@ -10051,7 +10401,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 206 + "__id__": 214 }, "_enabled": true, "alignMode": 1, @@ -10078,19 +10428,19 @@ "_name": "btn_clothes_wait", "_objFlags": 0, "_parent": { - "__id__": 205 + "__id__": 213 }, "_children": [], "_active": true, "_components": [ { - "__id__": 211 + "__id__": 219 }, { - "__id__": 212 + "__id__": 220 }, { - "__id__": 213 + "__id__": 221 } ], "_prefab": null, @@ -10146,7 +10496,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 210 + "__id__": 218 }, "_enabled": true, "_materials": [ @@ -10178,7 +10528,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 210 + "__id__": 218 }, "_enabled": true, "_normalMaterial": null, @@ -10246,7 +10596,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 210 + "__id__": 218 }, "_enabled": true, "alignMode": 1, @@ -10273,19 +10623,19 @@ "_name": "btn_house_wait", "_objFlags": 0, "_parent": { - "__id__": 205 + "__id__": 213 }, "_children": [], "_active": true, "_components": [ { - "__id__": 215 + "__id__": 223 }, { - "__id__": 216 + "__id__": 224 }, { - "__id__": 217 + "__id__": 225 } ], "_prefab": null, @@ -10341,7 +10691,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 214 + "__id__": 222 }, "_enabled": true, "_materials": [ @@ -10373,7 +10723,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 214 + "__id__": 222 }, "_enabled": true, "_normalMaterial": null, @@ -10441,7 +10791,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 214 + "__id__": 222 }, "_enabled": true, "alignMode": 1, @@ -10468,16 +10818,16 @@ "_name": "bg_line", "_objFlags": 0, "_parent": { - "__id__": 205 + "__id__": 213 }, "_children": [], "_active": true, "_components": [ { - "__id__": 219 + "__id__": 227 }, { - "__id__": 220 + "__id__": 228 } ], "_prefab": null, @@ -10533,7 +10883,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 218 + "__id__": 226 }, "_enabled": true, "_materials": [ @@ -10565,7 +10915,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 218 + "__id__": 226 }, "_enabled": true, "alignMode": 1, @@ -10592,19 +10942,19 @@ "_name": "btn_food_active", "_objFlags": 0, "_parent": { - "__id__": 205 + "__id__": 213 }, "_children": [], "_active": true, "_components": [ { - "__id__": 222 + "__id__": 230 }, { - "__id__": 223 + "__id__": 231 }, { - "__id__": 224 + "__id__": 232 } ], "_prefab": null, @@ -10660,7 +11010,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 221 + "__id__": 229 }, "_enabled": true, "_materials": [ @@ -10692,7 +11042,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 221 + "__id__": 229 }, "_enabled": true, "_normalMaterial": null, @@ -10760,7 +11110,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 221 + "__id__": 229 }, "_enabled": true, "alignMode": 1, @@ -10787,19 +11137,19 @@ "_name": "btn_house_active", "_objFlags": 0, "_parent": { - "__id__": 205 + "__id__": 213 }, "_children": [], "_active": true, "_components": [ { - "__id__": 226 + "__id__": 234 }, { - "__id__": 227 + "__id__": 235 }, { - "__id__": 228 + "__id__": 236 } ], "_prefab": null, @@ -10855,7 +11205,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 225 + "__id__": 233 }, "_enabled": true, "_materials": [ @@ -10887,7 +11237,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 225 + "__id__": 233 }, "_enabled": true, "_normalMaterial": null, @@ -10955,7 +11305,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 225 + "__id__": 233 }, "_enabled": true, "alignMode": 1, @@ -10982,19 +11332,19 @@ "_name": "btn_clothes_active", "_objFlags": 0, "_parent": { - "__id__": 205 + "__id__": 213 }, "_children": [], "_active": true, "_components": [ { - "__id__": 230 + "__id__": 238 }, { - "__id__": 231 + "__id__": 239 }, { - "__id__": 232 + "__id__": 240 } ], "_prefab": null, @@ -11050,7 +11400,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 229 + "__id__": 237 }, "_enabled": true, "_materials": [ @@ -11082,7 +11432,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 229 + "__id__": 237 }, "_enabled": true, "_normalMaterial": null, @@ -11150,7 +11500,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 229 + "__id__": 237 }, "_enabled": true, "alignMode": 1, @@ -11177,7 +11527,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 205 + "__id__": 213 }, "_enabled": true, "alignMode": 1, @@ -11204,19 +11554,19 @@ "_name": "btn_close", "_objFlags": 0, "_parent": { - "__id__": 188 + "__id__": 196 }, "_children": [], "_active": true, "_components": [ { - "__id__": 235 + "__id__": 243 }, { - "__id__": 236 + "__id__": 244 }, { - "__id__": 237 + "__id__": 245 } ], "_prefab": null, @@ -11272,7 +11622,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 234 + "__id__": 242 }, "_enabled": true, "_materials": [ @@ -11304,7 +11654,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 234 + "__id__": 242 }, "_enabled": true, "_normalMaterial": null, @@ -11372,7 +11722,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 234 + "__id__": 242 }, "_enabled": true, "alignMode": 1, @@ -11399,20 +11749,20 @@ "_name": "coin", "_objFlags": 0, "_parent": { - "__id__": 188 + "__id__": 196 }, "_children": [ { - "__id__": 239 + "__id__": 247 } ], "_active": true, "_components": [ { - "__id__": 241 + "__id__": 249 }, { - "__id__": 242 + "__id__": 250 } ], "_prefab": null, @@ -11468,13 +11818,13 @@ "_name": "num", "_objFlags": 0, "_parent": { - "__id__": 238 + "__id__": 246 }, "_children": [], "_active": true, "_components": [ { - "__id__": 240 + "__id__": 248 } ], "_prefab": null, @@ -11530,7 +11880,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 239 + "__id__": 247 }, "_enabled": true, "_materials": [ @@ -11563,7 +11913,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 238 + "__id__": 246 }, "_enabled": true, "_materials": [ @@ -11595,7 +11945,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 238 + "__id__": 246 }, "_enabled": true, "alignMode": 1, @@ -11622,16 +11972,16 @@ "_name": "title", "_objFlags": 0, "_parent": { - "__id__": 188 + "__id__": 196 }, "_children": [], "_active": true, "_components": [ { - "__id__": 244 + "__id__": 252 }, { - "__id__": 245 + "__id__": 253 } ], "_prefab": null, @@ -11687,7 +12037,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 243 + "__id__": 251 }, "_enabled": true, "_materials": [ @@ -11720,7 +12070,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 243 + "__id__": 251 }, "_enabled": true, "alignMode": 1, @@ -11747,26 +12097,26 @@ "_name": "item", "_objFlags": 0, "_parent": { - "__id__": 188 + "__id__": 196 }, "_children": [ { - "__id__": 247 + "__id__": 255 }, { - "__id__": 267 + "__id__": 276 }, { - "__id__": 287 + "__id__": 297 }, { - "__id__": 307 + "__id__": 318 } ], "_active": false, "_components": [ { - "__id__": 327 + "__id__": 339 } ], "_prefab": null, @@ -11780,7 +12130,7 @@ }, "_contentSize": { "__type__": "cc.Size", - "width": 1100, + "width": 1093, "height": 320 }, "_anchorPoint": { @@ -11819,43 +12169,18 @@ }, { "__type__": "cc.Node", - "_name": "bg_food", + "_name": "shop_item", "_objFlags": 0, "_parent": { - "__id__": 246 + "__id__": 254 }, "_children": [ - { - "__id__": 248 - }, - { - "__id__": 250 - }, - { - "__id__": 252 - }, - { - "__id__": 254 - }, { "__id__": 256 - }, - { - "__id__": 258 - }, - { - "__id__": 260 - } - ], - "_active": false, - "_components": [ - { - "__id__": 265 - }, - { - "__id__": 266 } ], + "_active": true, + "_components": [], "_prefab": null, "_opacity": 255, "_color": { @@ -11868,7 +12193,7 @@ "_contentSize": { "__type__": "cc.Size", "width": 212, - "height": 234 + "height": 300 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -11879,8 +12204,8 @@ "__type__": "TypedArray", "ctor": "Float64Array", "array": [ - -424, - 37.792, + -420.5, + 0, 0, 0, 0, @@ -11902,20 +12227,42 @@ "_is3DNode": false, "_groupIndex": 0, "groupIndex": 0, - "_id": "39T7s2qnhDXo4YBy7tnkZh" + "_id": "59vaMPVdFIKYEDCnpevvs6" }, { "__type__": "cc.Node", - "_name": "bg_sale", + "_name": "bg_food", "_objFlags": 0, "_parent": { - "__id__": 247 + "__id__": 255 }, - "_children": [], + "_children": [ + { + "__id__": 257 + }, + { + "__id__": 259 + }, + { + "__id__": 263 + }, + { + "__id__": 265 + }, + { + "__id__": 267 + }, + { + "__id__": 269 + }, + { + "__id__": 271 + } + ], "_active": true, "_components": [ { - "__id__": 249 + "__id__": 275 } ], "_prefab": null, @@ -11929,8 +12276,8 @@ }, "_contentSize": { "__type__": "cc.Size", - "width": 71, - "height": 71 + "width": 212, + "height": 234 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -11941,8 +12288,8 @@ "__type__": "TypedArray", "ctor": "Float64Array", "array": [ - -83.399, - 66.7, + 0, + 37.792, 0, 0, 0, @@ -11964,14 +12311,76 @@ "_is3DNode": false, "_groupIndex": 0, "groupIndex": 0, - "_id": "60VQo6znFCjKL7z0WSMDWj" + "_id": "39T7s2qnhDXo4YBy7tnkZh" + }, + { + "__type__": "cc.Node", + "_name": "bg_sale", + "_objFlags": 0, + "_parent": { + "__id__": 256 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 258 + } + ], + "_prefab": null, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 71, + "height": 71 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + -83.399, + 66.7, + 0, + 0, + 0, + 0, + 1, + 1, + 1, + 1 + ] + }, + "_eulerAngles": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_skewX": 0, + "_skewY": 0, + "_is3DNode": false, + "_groupIndex": 0, + "groupIndex": 0, + "_id": "60VQo6znFCjKL7z0WSMDWj" }, { "__type__": "cc.Sprite", "_name": "", "_objFlags": 0, "node": { - "__id__": 248 + "__id__": 257 }, "_enabled": true, "_materials": [ @@ -12003,13 +12412,79 @@ "_name": "icon", "_objFlags": 0, "_parent": { - "__id__": 247 + "__id__": 256 + }, + "_children": [ + { + "__id__": 260 + } + ], + "_active": true, + "_components": [ + { + "__id__": 262 + } + ], + "_prefab": null, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 160, + "height": 120 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + 0, + 2.629, + 0, + 0, + 0, + 0, + 1, + 1, + 1, + 1 + ] + }, + "_eulerAngles": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_skewX": 0, + "_skewY": 0, + "_is3DNode": false, + "_groupIndex": 0, + "groupIndex": 0, + "_id": "8cnLqNC2xE0KWyUP7dmb10" + }, + { + "__type__": "cc.Node", + "_name": "cover", + "_objFlags": 0, + "_parent": { + "__id__": 259 }, "_children": [], "_active": true, "_components": [ { - "__id__": 251 + "__id__": 261 } ], "_prefab": null, @@ -12035,8 +12510,8 @@ "__type__": "TypedArray", "ctor": "Float64Array", "array": [ - 1.544, - 2.629, + 0, + 0, 0, 0, 0, @@ -12058,14 +12533,14 @@ "_is3DNode": false, "_groupIndex": 0, "groupIndex": 0, - "_id": "8cnLqNC2xE0KWyUP7dmb10" + "_id": "6fDo+UCWNPc4UWem5k/0jB" }, { "__type__": "cc.Sprite", "_name": "", "_objFlags": 0, "node": { - "__id__": 250 + "__id__": 260 }, "_enabled": true, "_materials": [ @@ -12090,20 +12565,40 @@ "_fillRange": 0, "_isTrimmedMode": true, "_atlas": null, - "_id": "b4XvOOuqdBoZ4LGSZBepck" + "_id": "bdtHizgelMeqQJKnZv89pK" + }, + { + "__type__": "cc.Mask", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 259 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_spriteFrame": null, + "_type": 0, + "_segments": 64, + "_N$alphaThreshold": 0.1, + "_N$inverted": false, + "_id": "58wXcmeXRM7KofXstZne3U" }, { "__type__": "cc.Node", "_name": "txt", "_objFlags": 0, "_parent": { - "__id__": 247 + "__id__": 256 }, "_children": [], "_active": true, "_components": [ { - "__id__": 253 + "__id__": 264 } ], "_prefab": null, @@ -12159,7 +12654,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 252 + "__id__": 263 }, "_enabled": true, "_materials": [ @@ -12192,13 +12687,13 @@ "_name": "growth", "_objFlags": 0, "_parent": { - "__id__": 247 + "__id__": 256 }, "_children": [], "_active": true, "_components": [ { - "__id__": 255 + "__id__": 266 } ], "_prefab": null, @@ -12254,7 +12749,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 254 + "__id__": 265 }, "_enabled": true, "_materials": [ @@ -12287,13 +12782,13 @@ "_name": "discount", "_objFlags": 0, "_parent": { - "__id__": 247 + "__id__": 256 }, "_children": [], "_active": true, "_components": [ { - "__id__": 257 + "__id__": 268 } ], "_prefab": null, @@ -12349,7 +12844,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 256 + "__id__": 267 }, "_enabled": true, "_materials": [ @@ -12382,13 +12877,13 @@ "_name": "name", "_objFlags": 0, "_parent": { - "__id__": 247 + "__id__": 256 }, "_children": [], "_active": true, "_components": [ { - "__id__": 259 + "__id__": 270 } ], "_prefab": null, @@ -12444,7 +12939,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 258 + "__id__": 269 }, "_enabled": true, "_materials": [ @@ -12477,20 +12972,17 @@ "_name": "btn_buy", "_objFlags": 0, "_parent": { - "__id__": 247 + "__id__": 256 }, "_children": [ { - "__id__": 261 + "__id__": 272 } ], "_active": true, "_components": [ { - "__id__": 263 - }, - { - "__id__": 264 + "__id__": 274 } ], "_prefab": null, @@ -12546,13 +13038,13 @@ "_name": "num", "_objFlags": 0, "_parent": { - "__id__": 260 + "__id__": 271 }, "_children": [], "_active": true, "_components": [ { - "__id__": 262 + "__id__": 273 } ], "_prefab": null, @@ -12608,7 +13100,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 261 + "__id__": 272 }, "_enabled": true, "_materials": [ @@ -12641,7 +13133,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 260 + "__id__": 271 }, "_enabled": true, "_materials": [ @@ -12668,82 +13160,12 @@ "_atlas": null, "_id": "56LcSlTdFAWLTanD7yZ2cN" }, - { - "__type__": "cc.Button", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 260 - }, - "_enabled": true, - "_normalMaterial": null, - "_grayMaterial": null, - "duration": 0.1, - "zoomScale": 1.2, - "clickEvents": [], - "_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__": 260 - }, - "_id": "ffyiKBGCpIGbhhyxc4URFB" - }, { "__type__": "cc.Sprite", "_name": "", "_objFlags": 0, "node": { - "__id__": 247 + "__id__": 256 }, "_enabled": true, "_materials": [ @@ -12771,112 +13193,101 @@ "_id": "a0NsV8f/RGn72Of6cZCbh6" }, { - "__type__": "cc.Button", - "_name": "", + "__type__": "cc.Node", + "_name": "shop_item", "_objFlags": 0, - "node": { - "__id__": 247 + "_parent": { + "__id__": 254 }, - "_enabled": true, - "_normalMaterial": null, - "_grayMaterial": null, - "duration": 0.1, - "zoomScale": 1.2, - "clickEvents": [], - "_N$interactable": true, - "_N$enableAutoGrayEffect": false, - "_N$transition": 0, - "transition": 0, - "_N$normalColor": { + "_children": [ + { + "__id__": 277 + } + ], + "_active": true, + "_components": [], + "_prefab": null, + "_opacity": 255, + "_color": { "__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 + "_contentSize": { + "__type__": "cc.Size", + "width": 212, + "height": 300 }, - "hoverColor": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 }, - "_N$disabledColor": { - "__type__": "cc.Color", - "r": 124, - "g": 124, - "b": 124, - "a": 255 + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + -133.5, + 0, + 0, + 0, + 0, + 0, + 1, + 1, + 1, + 1 + ] }, - "_N$normalSprite": null, - "_N$pressedSprite": null, - "pressedSprite": null, - "_N$hoverSprite": null, - "hoverSprite": null, - "_N$disabledSprite": null, - "_N$target": { - "__id__": 247 + "_eulerAngles": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 }, - "_id": "ado9l1QiJAUqZJyyqIxwX2" + "_skewX": 0, + "_skewY": 0, + "_is3DNode": false, + "_groupIndex": 0, + "groupIndex": 0, + "_id": "b5iS+gdpxAHrTOmSjC/2k3" }, { "__type__": "cc.Node", "_name": "bg_food", "_objFlags": 0, "_parent": { - "__id__": 246 + "__id__": 276 }, "_children": [ { - "__id__": 268 + "__id__": 278 }, { - "__id__": 270 + "__id__": 280 }, { - "__id__": 272 + "__id__": 284 }, { - "__id__": 274 + "__id__": 286 }, { - "__id__": 276 + "__id__": 288 }, { - "__id__": 278 + "__id__": 290 }, { - "__id__": 280 + "__id__": 292 } ], - "_active": false, + "_active": true, "_components": [ { - "__id__": 285 - }, - { - "__id__": 286 + "__id__": 296 } ], "_prefab": null, @@ -12902,7 +13313,7 @@ "__type__": "TypedArray", "ctor": "Float64Array", "array": [ - -424, + 0, 37.792, 0, 0, @@ -12932,13 +13343,13 @@ "_name": "bg_sale", "_objFlags": 0, "_parent": { - "__id__": 267 + "__id__": 277 }, "_children": [], "_active": true, "_components": [ { - "__id__": 269 + "__id__": 279 } ], "_prefab": null, @@ -12994,7 +13405,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 268 + "__id__": 278 }, "_enabled": true, "_materials": [ @@ -13026,13 +13437,17 @@ "_name": "icon", "_objFlags": 0, "_parent": { - "__id__": 267 + "__id__": 277 }, - "_children": [], + "_children": [ + { + "__id__": 281 + } + ], "_active": true, "_components": [ { - "__id__": 271 + "__id__": 283 } ], "_prefab": null, @@ -13046,8 +13461,8 @@ }, "_contentSize": { "__type__": "cc.Size", - "width": 103, - "height": 129 + "width": 160, + "height": 120 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -13083,12 +13498,74 @@ "groupIndex": 0, "_id": "a684gh7HZEnboastNL49Bm" }, + { + "__type__": "cc.Node", + "_name": "cover", + "_objFlags": 0, + "_parent": { + "__id__": 280 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 282 + } + ], + "_prefab": null, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 160, + "height": 120 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + 0, + 0, + 0, + 0, + 0, + 0, + 1, + 1, + 1, + 1 + ] + }, + "_eulerAngles": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_skewX": 0, + "_skewY": 0, + "_is3DNode": false, + "_groupIndex": 0, + "groupIndex": 0, + "_id": "7d5ksCDmVNGrBHGMHBP9RA" + }, { "__type__": "cc.Sprite", "_name": "", "_objFlags": 0, "node": { - "__id__": 270 + "__id__": 281 }, "_enabled": true, "_materials": [ @@ -13102,7 +13579,7 @@ "__uuid__": "0d95f290-0a78-4d4b-bc30-0447b5ffb65d" }, "_type": 0, - "_sizeMode": 1, + "_sizeMode": 0, "_fillType": 0, "_fillCenter": { "__type__": "cc.Vec2", @@ -13113,20 +13590,40 @@ "_fillRange": 0, "_isTrimmedMode": true, "_atlas": null, - "_id": "aacLSIBXBJKrSQMOQVODbV" + "_id": "baV87wVNhISZmyUFNVXSIE" + }, + { + "__type__": "cc.Mask", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 280 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_spriteFrame": null, + "_type": 0, + "_segments": 64, + "_N$alphaThreshold": 0.1, + "_N$inverted": false, + "_id": "34YErpcxxM3Lznhq+XhZSn" }, { "__type__": "cc.Node", "_name": "txt", "_objFlags": 0, "_parent": { - "__id__": 267 + "__id__": 277 }, "_children": [], "_active": true, "_components": [ { - "__id__": 273 + "__id__": 285 } ], "_prefab": null, @@ -13182,7 +13679,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 272 + "__id__": 284 }, "_enabled": true, "_materials": [ @@ -13215,13 +13712,13 @@ "_name": "growth", "_objFlags": 0, "_parent": { - "__id__": 267 + "__id__": 277 }, "_children": [], "_active": true, "_components": [ { - "__id__": 275 + "__id__": 287 } ], "_prefab": null, @@ -13277,7 +13774,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 274 + "__id__": 286 }, "_enabled": true, "_materials": [ @@ -13310,13 +13807,13 @@ "_name": "discount", "_objFlags": 0, "_parent": { - "__id__": 267 + "__id__": 277 }, "_children": [], "_active": true, "_components": [ { - "__id__": 277 + "__id__": 289 } ], "_prefab": null, @@ -13372,7 +13869,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 276 + "__id__": 288 }, "_enabled": true, "_materials": [ @@ -13405,13 +13902,13 @@ "_name": "name", "_objFlags": 0, "_parent": { - "__id__": 267 + "__id__": 277 }, "_children": [], "_active": true, "_components": [ { - "__id__": 279 + "__id__": 291 } ], "_prefab": null, @@ -13467,7 +13964,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 278 + "__id__": 290 }, "_enabled": true, "_materials": [ @@ -13500,20 +13997,17 @@ "_name": "btn_buy", "_objFlags": 0, "_parent": { - "__id__": 267 + "__id__": 277 }, "_children": [ { - "__id__": 281 + "__id__": 293 } ], "_active": true, "_components": [ { - "__id__": 283 - }, - { - "__id__": 284 + "__id__": 295 } ], "_prefab": null, @@ -13569,13 +14063,13 @@ "_name": "num", "_objFlags": 0, "_parent": { - "__id__": 280 + "__id__": 292 }, "_children": [], "_active": true, "_components": [ { - "__id__": 282 + "__id__": 294 } ], "_prefab": null, @@ -13631,7 +14125,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 281 + "__id__": 293 }, "_enabled": true, "_materials": [ @@ -13664,7 +14158,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 280 + "__id__": 292 }, "_enabled": true, "_materials": [ @@ -13692,81 +14186,11 @@ "_id": "e5NfZqt3BJc6S/+hxcKPhQ" }, { - "__type__": "cc.Button", + "__type__": "cc.Sprite", "_name": "", "_objFlags": 0, "node": { - "__id__": 280 - }, - "_enabled": true, - "_normalMaterial": null, - "_grayMaterial": null, - "duration": 0.1, - "zoomScale": 1.2, - "clickEvents": [], - "_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__": 280 - }, - "_id": "04b5E7fNpKeI14cKW2/yIO" - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 267 + "__id__": 277 }, "_enabled": true, "_materials": [ @@ -13794,112 +14218,101 @@ "_id": "2bhXulQ1JKsoTWdtl+rbSb" }, { - "__type__": "cc.Button", - "_name": "", + "__type__": "cc.Node", + "_name": "shop_item", "_objFlags": 0, - "node": { - "__id__": 267 + "_parent": { + "__id__": 254 }, - "_enabled": true, - "_normalMaterial": null, - "_grayMaterial": null, - "duration": 0.1, - "zoomScale": 1.2, - "clickEvents": [], - "_N$interactable": true, - "_N$enableAutoGrayEffect": false, - "_N$transition": 0, - "transition": 0, - "_N$normalColor": { + "_children": [ + { + "__id__": 298 + } + ], + "_active": true, + "_components": [], + "_prefab": null, + "_opacity": 255, + "_color": { "__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 + "_contentSize": { + "__type__": "cc.Size", + "width": 212, + "height": 300 }, - "hoverColor": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 }, - "_N$disabledColor": { - "__type__": "cc.Color", - "r": 124, - "g": 124, - "b": 124, - "a": 255 + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + 153.5, + 0, + 0, + 0, + 0, + 0, + 1, + 1, + 1, + 1 + ] }, - "_N$normalSprite": null, - "_N$pressedSprite": null, - "pressedSprite": null, - "_N$hoverSprite": null, - "hoverSprite": null, - "_N$disabledSprite": null, - "_N$target": { - "__id__": 267 + "_eulerAngles": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 }, - "_id": "3eaojT7yZM+7Qe3hXck9ss" + "_skewX": 0, + "_skewY": 0, + "_is3DNode": false, + "_groupIndex": 0, + "groupIndex": 0, + "_id": "ael7FxtyBOBKgWVYhePRFy" }, { "__type__": "cc.Node", "_name": "bg_food", "_objFlags": 0, "_parent": { - "__id__": 246 + "__id__": 297 }, "_children": [ { - "__id__": 288 + "__id__": 299 }, { - "__id__": 290 + "__id__": 301 }, { - "__id__": 292 + "__id__": 305 }, { - "__id__": 294 + "__id__": 307 }, { - "__id__": 296 + "__id__": 309 }, { - "__id__": 298 + "__id__": 311 }, { - "__id__": 300 + "__id__": 313 } ], - "_active": false, + "_active": true, "_components": [ { - "__id__": 305 - }, - { - "__id__": 306 + "__id__": 317 } ], "_prefab": null, @@ -13925,7 +14338,7 @@ "__type__": "TypedArray", "ctor": "Float64Array", "array": [ - -424, + 0, 37.792, 0, 0, @@ -13955,13 +14368,13 @@ "_name": "bg_sale", "_objFlags": 0, "_parent": { - "__id__": 287 + "__id__": 298 }, "_children": [], "_active": true, "_components": [ { - "__id__": 289 + "__id__": 300 } ], "_prefab": null, @@ -14017,7 +14430,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 288 + "__id__": 299 }, "_enabled": true, "_materials": [ @@ -14049,13 +14462,17 @@ "_name": "icon", "_objFlags": 0, "_parent": { - "__id__": 287 + "__id__": 298 }, - "_children": [], + "_children": [ + { + "__id__": 302 + } + ], "_active": true, "_components": [ { - "__id__": 291 + "__id__": 304 } ], "_prefab": null, @@ -14069,8 +14486,8 @@ }, "_contentSize": { "__type__": "cc.Size", - "width": 103, - "height": 129 + "width": 160, + "height": 120 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -14106,65 +14523,33 @@ "groupIndex": 0, "_id": "4exoxWlblOeJWnRPQO+7P0" }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 290 - }, - "_enabled": true, - "_materials": [ - { - "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" - } - ], - "_srcBlendFactor": 770, - "_dstBlendFactor": 771, - "_spriteFrame": { - "__uuid__": "0d95f290-0a78-4d4b-bc30-0447b5ffb65d" - }, - "_type": 0, - "_sizeMode": 1, - "_fillType": 0, - "_fillCenter": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0 - }, - "_fillStart": 0, - "_fillRange": 0, - "_isTrimmedMode": true, - "_atlas": null, - "_id": "f9PuZqKZ1Gta6bQ0PuX6ea" - }, { "__type__": "cc.Node", - "_name": "txt", + "_name": "cover", "_objFlags": 0, "_parent": { - "__id__": 287 + "__id__": 301 }, "_children": [], "_active": true, "_components": [ { - "__id__": 293 + "__id__": 303 } ], "_prefab": null, "_opacity": 255, "_color": { "__type__": "cc.Color", - "r": 14, - "g": 14, - "b": 14, + "r": 255, + "g": 255, + "b": 255, "a": 255 }, "_contentSize": { "__type__": "cc.Size", - "width": 167.78, - "height": 25.2 + "width": 113, + "height": 121 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -14175,8 +14560,8 @@ "__type__": "TypedArray", "ctor": "Float64Array", "array": [ - -0.456, - -92.082, + 0, + 0, 0, 0, 0, @@ -14198,14 +14583,14 @@ "_is3DNode": false, "_groupIndex": 0, "groupIndex": 0, - "_id": "30R/NQUd1PwLruVyBloXCk" + "_id": "1fy0Lk+/5KqpS58SgH9G6K" }, { - "__type__": "cc.Label", + "__type__": "cc.Sprite", "_name": "", "_objFlags": 0, "node": { - "__id__": 292 + "__id__": 302 }, "_enabled": true, "_materials": [ @@ -14215,9 +14600,123 @@ ], "_srcBlendFactor": 770, "_dstBlendFactor": 771, - "_string": "å¯å¢žåŠ ä¸ªæˆé•¿å€¼", - "_N$string": "å¯å¢žåŠ ä¸ªæˆé•¿å€¼", - "_fontSize": 20, + "_spriteFrame": { + "__uuid__": "7f1caa6f-4c2d-40e2-b50a-b5aaa5942043" + }, + "_type": 0, + "_sizeMode": 1, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_atlas": null, + "_id": "b8+9jZJcNL1ZPqhVsftKuF" + }, + { + "__type__": "cc.Mask", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 301 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_spriteFrame": null, + "_type": 0, + "_segments": 64, + "_N$alphaThreshold": 0.1, + "_N$inverted": false, + "_id": "35qvgUasFBhLIwAXGyM+H1" + }, + { + "__type__": "cc.Node", + "_name": "txt", + "_objFlags": 0, + "_parent": { + "__id__": 298 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 306 + } + ], + "_prefab": null, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 14, + "g": 14, + "b": 14, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 167.78, + "height": 25.2 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + -0.456, + -92.082, + 0, + 0, + 0, + 0, + 1, + 1, + 1, + 1 + ] + }, + "_eulerAngles": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_skewX": 0, + "_skewY": 0, + "_is3DNode": false, + "_groupIndex": 0, + "groupIndex": 0, + "_id": "30R/NQUd1PwLruVyBloXCk" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 305 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_string": "å¯å¢žåŠ ä¸ªæˆé•¿å€¼", + "_N$string": "å¯å¢žåŠ ä¸ªæˆé•¿å€¼", + "_fontSize": 20, "_lineHeight": 20, "_enableWrapText": true, "_N$file": null, @@ -14238,13 +14737,13 @@ "_name": "growth", "_objFlags": 0, "_parent": { - "__id__": 287 + "__id__": 298 }, "_children": [], "_active": true, "_components": [ { - "__id__": 295 + "__id__": 308 } ], "_prefab": null, @@ -14300,7 +14799,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 294 + "__id__": 307 }, "_enabled": true, "_materials": [ @@ -14333,13 +14832,13 @@ "_name": "discount", "_objFlags": 0, "_parent": { - "__id__": 287 + "__id__": 298 }, "_children": [], "_active": true, "_components": [ { - "__id__": 297 + "__id__": 310 } ], "_prefab": null, @@ -14395,7 +14894,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 296 + "__id__": 309 }, "_enabled": true, "_materials": [ @@ -14428,13 +14927,13 @@ "_name": "name", "_objFlags": 0, "_parent": { - "__id__": 287 + "__id__": 298 }, "_children": [], "_active": true, "_components": [ { - "__id__": 299 + "__id__": 312 } ], "_prefab": null, @@ -14490,7 +14989,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 298 + "__id__": 311 }, "_enabled": true, "_materials": [ @@ -14523,20 +15022,17 @@ "_name": "btn_buy", "_objFlags": 0, "_parent": { - "__id__": 287 + "__id__": 298 }, "_children": [ { - "__id__": 301 + "__id__": 314 } ], "_active": true, "_components": [ { - "__id__": 303 - }, - { - "__id__": 304 + "__id__": 316 } ], "_prefab": null, @@ -14592,13 +15088,13 @@ "_name": "num", "_objFlags": 0, "_parent": { - "__id__": 300 + "__id__": 313 }, "_children": [], "_active": true, "_components": [ { - "__id__": 302 + "__id__": 315 } ], "_prefab": null, @@ -14654,7 +15150,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 301 + "__id__": 314 }, "_enabled": true, "_materials": [ @@ -14687,7 +15183,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 300 + "__id__": 313 }, "_enabled": true, "_materials": [ @@ -14714,82 +15210,12 @@ "_atlas": null, "_id": "8cinpyLWJPf67XNphI7xJW" }, - { - "__type__": "cc.Button", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 300 - }, - "_enabled": true, - "_normalMaterial": null, - "_grayMaterial": null, - "duration": 0.1, - "zoomScale": 1.2, - "clickEvents": [], - "_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__": 300 - }, - "_id": "51ojbMWxlBvJbiEx9LPyI8" - }, { "__type__": "cc.Sprite", "_name": "", "_objFlags": 0, "node": { - "__id__": 287 + "__id__": 298 }, "_enabled": true, "_materials": [ @@ -14817,112 +15243,101 @@ "_id": "50xMFPRh5P5LW4ID/LahDS" }, { - "__type__": "cc.Button", - "_name": "", + "__type__": "cc.Node", + "_name": "shop_item", "_objFlags": 0, - "node": { - "__id__": 287 + "_parent": { + "__id__": 254 }, - "_enabled": true, - "_normalMaterial": null, - "_grayMaterial": null, - "duration": 0.1, - "zoomScale": 1.2, - "clickEvents": [], - "_N$interactable": true, - "_N$enableAutoGrayEffect": false, - "_N$transition": 0, - "transition": 0, - "_N$normalColor": { + "_children": [ + { + "__id__": 319 + } + ], + "_active": true, + "_components": [], + "_prefab": null, + "_opacity": 255, + "_color": { "__type__": "cc.Color", "r": 255, "g": 255, "b": 255, "a": 255 }, - "_N$pressedColor": { - "__type__": "cc.Color", - "r": 211, - "g": 211, - "b": 211, - "a": 255 + "_contentSize": { + "__type__": "cc.Size", + "width": 212, + "height": 300 }, - "pressedColor": { - "__type__": "cc.Color", - "r": 211, - "g": 211, - "b": 211, - "a": 255 + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 }, - "_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 + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + 440.5, + 0, + 0, + 0, + 0, + 0, + 1, + 1, + 1, + 1 + ] }, - "_N$normalSprite": null, - "_N$pressedSprite": null, - "pressedSprite": null, - "_N$hoverSprite": null, - "hoverSprite": null, - "_N$disabledSprite": null, - "_N$target": { - "__id__": 287 + "_eulerAngles": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 }, - "_id": "6351xaEMhDBr7dl7bc+Pc9" + "_skewX": 0, + "_skewY": 0, + "_is3DNode": false, + "_groupIndex": 0, + "groupIndex": 0, + "_id": "2dj+zv1qVLlaxEKlumDNYM" }, { "__type__": "cc.Node", "_name": "bg_food", "_objFlags": 0, "_parent": { - "__id__": 246 + "__id__": 318 }, "_children": [ { - "__id__": 308 + "__id__": 320 }, { - "__id__": 310 + "__id__": 322 }, { - "__id__": 312 + "__id__": 326 }, { - "__id__": 314 + "__id__": 328 }, { - "__id__": 316 + "__id__": 330 }, { - "__id__": 318 + "__id__": 332 }, { - "__id__": 320 + "__id__": 334 } ], - "_active": false, + "_active": true, "_components": [ { - "__id__": 325 - }, - { - "__id__": 326 + "__id__": 338 } ], "_prefab": null, @@ -14948,7 +15363,7 @@ "__type__": "TypedArray", "ctor": "Float64Array", "array": [ - -424, + 0, 37.792, 0, 0, @@ -14978,13 +15393,13 @@ "_name": "bg_sale", "_objFlags": 0, "_parent": { - "__id__": 307 + "__id__": 319 }, "_children": [], "_active": true, "_components": [ { - "__id__": 309 + "__id__": 321 } ], "_prefab": null, @@ -15040,7 +15455,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 308 + "__id__": 320 }, "_enabled": true, "_materials": [ @@ -15072,13 +15487,17 @@ "_name": "icon", "_objFlags": 0, "_parent": { - "__id__": 307 + "__id__": 319 }, - "_children": [], + "_children": [ + { + "__id__": 323 + } + ], "_active": true, "_components": [ { - "__id__": 311 + "__id__": 325 } ], "_prefab": null, @@ -15092,8 +15511,8 @@ }, "_contentSize": { "__type__": "cc.Size", - "width": 103, - "height": 129 + "width": 160, + "height": 120 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -15129,12 +15548,74 @@ "groupIndex": 0, "_id": "7cmH54pjJP7LzM1LZ3adyp" }, + { + "__type__": "cc.Node", + "_name": "cover", + "_objFlags": 0, + "_parent": { + "__id__": 322 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 324 + } + ], + "_prefab": null, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 113, + "height": 121 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + 0, + 0, + 0, + 0, + 0, + 0, + 1, + 1, + 1, + 1 + ] + }, + "_eulerAngles": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_skewX": 0, + "_skewY": 0, + "_is3DNode": false, + "_groupIndex": 0, + "groupIndex": 0, + "_id": "abDxZucvpE9bT2K8oGJVld" + }, { "__type__": "cc.Sprite", "_name": "", "_objFlags": 0, "node": { - "__id__": 310 + "__id__": 323 }, "_enabled": true, "_materials": [ @@ -15145,7 +15626,7 @@ "_srcBlendFactor": 770, "_dstBlendFactor": 771, "_spriteFrame": { - "__uuid__": "0d95f290-0a78-4d4b-bc30-0447b5ffb65d" + "__uuid__": "7f1caa6f-4c2d-40e2-b50a-b5aaa5942043" }, "_type": 0, "_sizeMode": 1, @@ -15159,20 +15640,40 @@ "_fillRange": 0, "_isTrimmedMode": true, "_atlas": null, - "_id": "9dxt1zoLxLWaCAQtiwTdTc" + "_id": "acy83pV4tB+ZoRz3LmeJsQ" + }, + { + "__type__": "cc.Mask", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 322 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_spriteFrame": null, + "_type": 0, + "_segments": 64, + "_N$alphaThreshold": 0.1, + "_N$inverted": false, + "_id": "24T4TZgUVA8JChcxLC6i/X" }, { "__type__": "cc.Node", "_name": "txt", "_objFlags": 0, "_parent": { - "__id__": 307 + "__id__": 319 }, "_children": [], "_active": true, "_components": [ { - "__id__": 313 + "__id__": 327 } ], "_prefab": null, @@ -15228,7 +15729,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 312 + "__id__": 326 }, "_enabled": true, "_materials": [ @@ -15261,13 +15762,13 @@ "_name": "growth", "_objFlags": 0, "_parent": { - "__id__": 307 + "__id__": 319 }, "_children": [], "_active": true, "_components": [ { - "__id__": 315 + "__id__": 329 } ], "_prefab": null, @@ -15323,7 +15824,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 314 + "__id__": 328 }, "_enabled": true, "_materials": [ @@ -15356,13 +15857,13 @@ "_name": "discount", "_objFlags": 0, "_parent": { - "__id__": 307 + "__id__": 319 }, "_children": [], "_active": true, "_components": [ { - "__id__": 317 + "__id__": 331 } ], "_prefab": null, @@ -15418,7 +15919,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 316 + "__id__": 330 }, "_enabled": true, "_materials": [ @@ -15451,13 +15952,13 @@ "_name": "name", "_objFlags": 0, "_parent": { - "__id__": 307 + "__id__": 319 }, "_children": [], "_active": true, "_components": [ { - "__id__": 319 + "__id__": 333 } ], "_prefab": null, @@ -15513,7 +16014,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 318 + "__id__": 332 }, "_enabled": true, "_materials": [ @@ -15546,20 +16047,17 @@ "_name": "btn_buy", "_objFlags": 0, "_parent": { - "__id__": 307 + "__id__": 319 }, "_children": [ { - "__id__": 321 + "__id__": 335 } ], "_active": true, "_components": [ { - "__id__": 323 - }, - { - "__id__": 324 + "__id__": 337 } ], "_prefab": null, @@ -15615,13 +16113,13 @@ "_name": "num", "_objFlags": 0, "_parent": { - "__id__": 320 + "__id__": 334 }, "_children": [], "_active": true, "_components": [ { - "__id__": 322 + "__id__": 336 } ], "_prefab": null, @@ -15677,7 +16175,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 321 + "__id__": 335 }, "_enabled": true, "_materials": [ @@ -15710,7 +16208,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 320 + "__id__": 334 }, "_enabled": true, "_materials": [ @@ -15738,189 +16236,49 @@ "_id": "49Xg6CGoFJGL6w6IJI8LJs" }, { - "__type__": "cc.Button", + "__type__": "cc.Sprite", "_name": "", "_objFlags": 0, "node": { - "__id__": 320 + "__id__": 319 }, "_enabled": true, - "_normalMaterial": null, - "_grayMaterial": null, - "duration": 0.1, - "zoomScale": 1.2, - "clickEvents": [], - "_N$interactable": true, - "_N$enableAutoGrayEffect": false, - "_N$transition": 0, - "transition": 0, - "_N$normalColor": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "fda2433c-a576-4792-96e1-2bad98f11358" }, - "_N$pressedColor": { - "__type__": "cc.Color", - "r": 211, - "g": 211, - "b": 211, - "a": 255 + "_type": 0, + "_sizeMode": 1, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 }, - "pressedColor": { - "__type__": "cc.Color", - "r": 211, - "g": 211, - "b": 211, - "a": 255 + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_atlas": null, + "_id": "3c7WkrontPYLi4lXW85XvV" + }, + { + "__type__": "cc.Layout", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 254 }, - "_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__": 320 - }, - "_id": "2dT21dLWlBDbHg7bpsbh9Y" - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 307 - }, - "_enabled": true, - "_materials": [ - { - "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" - } - ], - "_srcBlendFactor": 770, - "_dstBlendFactor": 771, - "_spriteFrame": { - "__uuid__": "fda2433c-a576-4792-96e1-2bad98f11358" - }, - "_type": 0, - "_sizeMode": 1, - "_fillType": 0, - "_fillCenter": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0 - }, - "_fillStart": 0, - "_fillRange": 0, - "_isTrimmedMode": true, - "_atlas": null, - "_id": "3c7WkrontPYLi4lXW85XvV" - }, - { - "__type__": "cc.Button", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 307 - }, - "_enabled": true, - "_normalMaterial": null, - "_grayMaterial": null, - "duration": 0.1, - "zoomScale": 1.2, - "clickEvents": [], - "_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__": 307 - }, - "_id": "15P2RcZQlGn4eE2HJ8Jh9+" - }, - { - "__type__": "cc.Layout", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 246 - }, - "_enabled": true, - "_layoutSize": { - "__type__": "cc.Size", - "width": 1100, - "height": 320 + "_enabled": true, + "_layoutSize": { + "__type__": "cc.Size", + "width": 1093, + "height": 320 }, "_resize": 0, "_N$layoutType": 1, @@ -15946,20 +16304,20 @@ "_name": "scrollview", "_objFlags": 0, "_parent": { - "__id__": 188 + "__id__": 196 }, "_children": [ { - "__id__": 329 + "__id__": 341 } ], "_active": true, "_components": [ { - "__id__": 333 + "__id__": 345 }, { - "__id__": 334 + "__id__": 346 } ], "_prefab": null, @@ -16015,17 +16373,17 @@ "_name": "view", "_objFlags": 0, "_parent": { - "__id__": 328 + "__id__": 340 }, "_children": [ { - "__id__": 330 + "__id__": 342 } ], "_active": true, "_components": [ { - "__id__": 332 + "__id__": 344 } ], "_prefab": null, @@ -16081,13 +16439,13 @@ "_name": "content", "_objFlags": 0, "_parent": { - "__id__": 329 + "__id__": 341 }, "_children": [], "_active": true, "_components": [ { - "__id__": 331 + "__id__": 343 } ], "_prefab": null, @@ -16143,7 +16501,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 330 + "__id__": 342 }, "_enabled": true, "_layoutSize": { @@ -16175,7 +16533,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 329 + "__id__": 341 }, "_enabled": true, "_materials": [ @@ -16195,7 +16553,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 328 + "__id__": 340 }, "_enabled": true, "horizontal": false, @@ -16207,10 +16565,10 @@ "scrollEvents": [], "cancelInnerEvents": true, "_N$content": { - "__id__": 330 + "__id__": 342 }, "content": { - "__id__": 330 + "__id__": 342 }, "_N$horizontalScrollBar": null, "_N$verticalScrollBar": null, @@ -16221,11 +16579,11 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 328 + "__id__": 340 }, "_enabled": true, "item": { - "__id__": 246 + "__id__": 254 }, "items": null, "list": [], @@ -16240,7 +16598,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 188 + "__id__": 196 }, "_enabled": true, "_id": "e53uwf8NtLCb71cZaTL7Ng" @@ -16250,7 +16608,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 188 + "__id__": 196 }, "_enabled": true, "alignMode": 1, @@ -16281,22 +16639,22 @@ }, "_children": [ { - "__id__": 338 + "__id__": 350 }, { - "__id__": 341 + "__id__": 353 }, { - "__id__": 343 + "__id__": 355 }, { - "__id__": 345 + "__id__": 359 }, { - "__id__": 347 + "__id__": 361 }, { - "__id__": 350 + "__id__": 364 } ], "_active": false, @@ -16354,16 +16712,16 @@ "_name": "gray", "_objFlags": 0, "_parent": { - "__id__": 337 + "__id__": 349 }, "_children": [], "_active": true, "_components": [ { - "__id__": 339 + "__id__": 351 }, { - "__id__": 340 + "__id__": 352 } ], "_prefab": null, @@ -16419,7 +16777,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 338 + "__id__": 350 }, "_enabled": true, "_id": "00mWsBCplH8o6LswyrPjW6" @@ -16429,7 +16787,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 338 + "__id__": 350 }, "_enabled": true, "_materials": [ @@ -16461,13 +16819,13 @@ "_name": "bg", "_objFlags": 0, "_parent": { - "__id__": 337 + "__id__": 349 }, "_children": [], "_active": true, "_components": [ { - "__id__": 342 + "__id__": 354 } ], "_prefab": null, @@ -16523,7 +16881,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 341 + "__id__": 353 }, "_enabled": true, "_materials": [ @@ -16555,13 +16913,17 @@ "_name": "icon", "_objFlags": 0, "_parent": { - "__id__": 337 + "__id__": 349 }, - "_children": [], + "_children": [ + { + "__id__": 356 + } + ], "_active": true, "_components": [ { - "__id__": 344 + "__id__": 358 } ], "_prefab": null, @@ -16575,8 +16937,8 @@ }, "_contentSize": { "__type__": "cc.Size", - "width": 120, - "height": 115 + "width": 170, + "height": 125 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -16588,7 +16950,7 @@ "ctor": "Float64Array", "array": [ 0, - 36.599, + 40.658, 0, 0, 0, @@ -16612,65 +16974,33 @@ "groupIndex": 0, "_id": "540T3I5A1EGYf+WCJk1pRR" }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 343 - }, - "_enabled": true, - "_materials": [ - { - "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" - } - ], - "_srcBlendFactor": 770, - "_dstBlendFactor": 771, - "_spriteFrame": { - "__uuid__": "00cc828c-a69c-49ef-82e7-fa30b7266662" - }, - "_type": 0, - "_sizeMode": 1, - "_fillType": 0, - "_fillCenter": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0 - }, - "_fillStart": 0, - "_fillRange": 0, - "_isTrimmedMode": true, - "_atlas": null, - "_id": "29jfR9k6BLZagUY9Q4MQde" - }, { "__type__": "cc.Node", - "_name": "desc", + "_name": "cover", "_objFlags": 0, "_parent": { - "__id__": 337 + "__id__": 355 }, "_children": [], "_active": true, "_components": [ { - "__id__": 346 + "__id__": 357 } ], "_prefab": null, "_opacity": 255, "_color": { "__type__": "cc.Color", - "r": 0, - "g": 0, - "b": 0, + "r": 255, + "g": 255, + "b": 255, "a": 255 }, "_contentSize": { "__type__": "cc.Size", - "width": 354.72, - "height": 35.28 + "width": 136, + "height": 110 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -16681,8 +17011,8 @@ "__type__": "TypedArray", "ctor": "Float64Array", "array": [ - 10.15, - -67.799, + 0, + 0, 0, 0, 0, @@ -16704,14 +17034,14 @@ "_is3DNode": false, "_groupIndex": 0, "groupIndex": 0, - "_id": "67wrhIZtpJzJaJFhz7FgQQ" + "_id": "88mffGVydBV4dVuDp8zBjh" }, { - "__type__": "cc.Label", + "__type__": "cc.Sprite", "_name": "", "_objFlags": 0, "node": { - "__id__": 345 + "__id__": 356 }, "_enabled": true, "_materials": [ @@ -16721,15 +17051,129 @@ ], "_srcBlendFactor": 770, "_dstBlendFactor": 771, - "_string": "确定花100金å¸è´ä¹°é¢åŒ…å—?", - "_N$string": "确定花100金å¸è´ä¹°é¢åŒ…å—?", - "_fontSize": 28, - "_lineHeight": 28, - "_enableWrapText": true, - "_N$file": null, - "_isSystemFontUsed": true, - "_spacingX": 0, - "_batchAsBitmap": false, + "_spriteFrame": { + "__uuid__": "f0270462-5cc0-4792-b674-01fbd9945664" + }, + "_type": 0, + "_sizeMode": 1, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_atlas": null, + "_id": "31qP4LoJNMZ6ooFiNfRqgH" + }, + { + "__type__": "cc.Mask", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 355 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_spriteFrame": null, + "_type": 0, + "_segments": 64, + "_N$alphaThreshold": 0.1, + "_N$inverted": false, + "_id": "52HIrZ1fVOAZK+1QQNll1F" + }, + { + "__type__": "cc.Node", + "_name": "desc", + "_objFlags": 0, + "_parent": { + "__id__": 349 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 360 + } + ], + "_prefab": null, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 354.72, + "height": 35.28 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + 10.15, + -67.799, + 0, + 0, + 0, + 0, + 1, + 1, + 1, + 1 + ] + }, + "_eulerAngles": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_skewX": 0, + "_skewY": 0, + "_is3DNode": false, + "_groupIndex": 0, + "groupIndex": 0, + "_id": "67wrhIZtpJzJaJFhz7FgQQ" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 359 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_string": "确定花100金å¸è´ä¹°é¢åŒ…å—?", + "_N$string": "确定花100金å¸è´ä¹°é¢åŒ…å—?", + "_fontSize": 28, + "_lineHeight": 28, + "_enableWrapText": true, + "_N$file": null, + "_isSystemFontUsed": true, + "_spacingX": 0, + "_batchAsBitmap": false, "_styleFlags": 0, "_underlineHeight": 0, "_N$horizontalAlign": 1, @@ -16744,16 +17188,16 @@ "_name": "btn_cancel", "_objFlags": 0, "_parent": { - "__id__": 337 + "__id__": 349 }, "_children": [], "_active": true, "_components": [ { - "__id__": 348 + "__id__": 362 }, { - "__id__": 349 + "__id__": 363 } ], "_prefab": null, @@ -16809,7 +17253,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 347 + "__id__": 361 }, "_enabled": true, "_materials": [ @@ -16841,7 +17285,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 347 + "__id__": 361 }, "_enabled": true, "_normalMaterial": null, @@ -16902,7 +17346,7 @@ "hoverSprite": null, "_N$disabledSprite": null, "_N$target": { - "__id__": 347 + "__id__": 361 }, "_id": "baGZDufoNHmpvxCKB4nIjV" }, @@ -16911,16 +17355,16 @@ "_name": "btn_sure", "_objFlags": 0, "_parent": { - "__id__": 337 + "__id__": 349 }, "_children": [], "_active": true, "_components": [ { - "__id__": 351 + "__id__": 365 }, { - "__id__": 352 + "__id__": 366 } ], "_prefab": null, @@ -16976,7 +17420,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 350 + "__id__": 364 }, "_enabled": true, "_materials": [ @@ -17008,7 +17452,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 350 + "__id__": 364 }, "_enabled": true, "_normalMaterial": null, @@ -17069,7 +17513,7 @@ "hoverSprite": null, "_N$disabledSprite": null, "_N$target": { - "__id__": 350 + "__id__": 364 }, "_id": "6dTuA8AoBNB6joH0JMpecg" }, @@ -17082,28 +17526,28 @@ }, "_children": [ { - "__id__": 354 + "__id__": 368 }, { - "__id__": 357 + "__id__": 371 }, { - "__id__": 359 + "__id__": 373 }, { - "__id__": 361 + "__id__": 375 }, { - "__id__": 363 + "__id__": 379 }, { - "__id__": 365 + "__id__": 381 }, { - "__id__": 367 + "__id__": 383 }, { - "__id__": 369 + "__id__": 385 } ], "_active": false, @@ -17161,16 +17605,16 @@ "_name": "btn_cancel", "_objFlags": 0, "_parent": { - "__id__": 353 + "__id__": 367 }, "_children": [], "_active": true, "_components": [ { - "__id__": 355 + "__id__": 369 }, { - "__id__": 356 + "__id__": 370 } ], "_prefab": null, @@ -17226,7 +17670,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 354 + "__id__": 368 }, "_enabled": true, "_materials": [ @@ -17258,7 +17702,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 354 + "__id__": 368 }, "_enabled": true, "_normalMaterial": null, @@ -17319,7 +17763,7 @@ "hoverSprite": null, "_N$disabledSprite": null, "_N$target": { - "__id__": 354 + "__id__": 368 }, "_id": "01Q8br7ZVG4Yews22/SgUW" }, @@ -17328,13 +17772,13 @@ "_name": "light", "_objFlags": 0, "_parent": { - "__id__": 353 + "__id__": 367 }, "_children": [], "_active": true, "_components": [ { - "__id__": 358 + "__id__": 372 } ], "_prefab": null, @@ -17390,7 +17834,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 357 + "__id__": 371 }, "_enabled": true, "_materials": [ @@ -17422,13 +17866,13 @@ "_name": "bg_success", "_objFlags": 0, "_parent": { - "__id__": 353 + "__id__": 367 }, "_children": [], "_active": true, "_components": [ { - "__id__": 360 + "__id__": 374 } ], "_prefab": null, @@ -17484,7 +17928,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 359 + "__id__": 373 }, "_enabled": true, "_materials": [ @@ -17516,13 +17960,17 @@ "_name": "icon", "_objFlags": 0, "_parent": { - "__id__": 353 + "__id__": 367 }, - "_children": [], + "_children": [ + { + "__id__": 376 + } + ], "_active": true, "_components": [ { - "__id__": 362 + "__id__": 378 } ], "_prefab": null, @@ -17536,8 +17984,8 @@ }, "_contentSize": { "__type__": "cc.Size", - "width": 120, - "height": 115 + "width": 170, + "height": 125 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -17549,7 +17997,7 @@ "ctor": "Float64Array", "array": [ -1.45, - 23.549, + 26.255, 0, 0, 0, @@ -17573,50 +18021,18 @@ "groupIndex": 0, "_id": "88ykiCSoZDJ5aXr4J3oqxd" }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 361 - }, - "_enabled": true, - "_materials": [ - { - "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" - } - ], - "_srcBlendFactor": 770, - "_dstBlendFactor": 771, - "_spriteFrame": { - "__uuid__": "00cc828c-a69c-49ef-82e7-fa30b7266662" - }, - "_type": 0, - "_sizeMode": 1, - "_fillType": 0, - "_fillCenter": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0 - }, - "_fillStart": 0, - "_fillRange": 0, - "_isTrimmedMode": true, - "_atlas": null, - "_id": "16877RxH1IlYSdZK5JqjC1" - }, { "__type__": "cc.Node", - "_name": "icon_star", + "_name": "cover", "_objFlags": 0, "_parent": { - "__id__": 353 + "__id__": 375 }, "_children": [], "_active": true, "_components": [ { - "__id__": 364 + "__id__": 377 } ], "_prefab": null, @@ -17630,8 +18046,8 @@ }, "_contentSize": { "__type__": "cc.Size", - "width": 34, - "height": 30 + "width": 125, + "height": 117 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -17642,8 +18058,8 @@ "__type__": "TypedArray", "ctor": "Float64Array", "array": [ - -128.55, - -123.301, + 0, + 0, 0, 0, 0, @@ -17665,14 +18081,14 @@ "_is3DNode": false, "_groupIndex": 0, "groupIndex": 0, - "_id": "a7V2mCsaVISYFTEBer3GZ0" + "_id": "66KsKVKmNBb6mXKQ1Da3UY" }, { "__type__": "cc.Sprite", "_name": "", "_objFlags": 0, "node": { - "__id__": 363 + "__id__": 376 }, "_enabled": true, "_materials": [ @@ -17683,10 +18099,10 @@ "_srcBlendFactor": 770, "_dstBlendFactor": 771, "_spriteFrame": { - "__uuid__": "2a738b06-8f03-4601-a07c-c75dc4317388" + "__uuid__": "e431ab78-f754-4ed8-aeec-873fde6c1d28" }, "_type": 0, - "_sizeMode": 0, + "_sizeMode": 1, "_fillType": 0, "_fillCenter": { "__type__": "cc.Vec2", @@ -17697,20 +18113,40 @@ "_fillRange": 0, "_isTrimmedMode": true, "_atlas": null, - "_id": "c7S4OOiNFANIphshqsMb1E" + "_id": "bd2taLuZlMYY8RvCKo5vpg" + }, + { + "__type__": "cc.Mask", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 375 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_spriteFrame": null, + "_type": 0, + "_segments": 64, + "_N$alphaThreshold": 0.1, + "_N$inverted": false, + "_id": "1fWBusRg9GAYhRon8FL0o9" }, { "__type__": "cc.Node", "_name": "icon_star", "_objFlags": 0, "_parent": { - "__id__": 353 + "__id__": 367 }, "_children": [], "_active": true, "_components": [ { - "__id__": 366 + "__id__": 380 } ], "_prefab": null, @@ -17724,8 +18160,8 @@ }, "_contentSize": { "__type__": "cc.Size", - "width": 44, - "height": 44 + "width": 34, + "height": 30 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -17736,8 +18172,8 @@ "__type__": "TypedArray", "ctor": "Float64Array", "array": [ - 104.398, - -21.749, + -128.55, + -123.301, 0, 0, 0, @@ -17759,14 +18195,108 @@ "_is3DNode": false, "_groupIndex": 0, "groupIndex": 0, - "_id": "30Ru2ScJhMB5VYXzfBgN4U" + "_id": "a7V2mCsaVISYFTEBer3GZ0" }, { "__type__": "cc.Sprite", "_name": "", "_objFlags": 0, "node": { - "__id__": 365 + "__id__": 379 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "2a738b06-8f03-4601-a07c-c75dc4317388" + }, + "_type": 0, + "_sizeMode": 0, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_atlas": null, + "_id": "c7S4OOiNFANIphshqsMb1E" + }, + { + "__type__": "cc.Node", + "_name": "icon_star", + "_objFlags": 0, + "_parent": { + "__id__": 367 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 382 + } + ], + "_prefab": null, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 44, + "height": 44 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + 104.398, + -21.749, + 0, + 0, + 0, + 0, + 1, + 1, + 1, + 1 + ] + }, + "_eulerAngles": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_skewX": 0, + "_skewY": 0, + "_is3DNode": false, + "_groupIndex": 0, + "groupIndex": 0, + "_id": "30Ru2ScJhMB5VYXzfBgN4U" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 381 }, "_enabled": true, "_materials": [ @@ -17798,13 +18328,13 @@ "_name": "icon_star", "_objFlags": 0, "_parent": { - "__id__": 353 + "__id__": 367 }, "_children": [], "_active": true, "_components": [ { - "__id__": 368 + "__id__": 384 } ], "_prefab": null, @@ -17860,7 +18390,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 367 + "__id__": 383 }, "_enabled": true, "_materials": [ @@ -17892,13 +18422,13 @@ "_name": "icon_star", "_objFlags": 0, "_parent": { - "__id__": 353 + "__id__": 367 }, "_children": [], "_active": true, "_components": [ { - "__id__": 370 + "__id__": 386 } ], "_prefab": null, @@ -17954,7 +18484,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 369 + "__id__": 385 }, "_enabled": true, "_materials": [ @@ -17990,16 +18520,16 @@ }, "_children": [ { - "__id__": 372 + "__id__": 388 }, { - "__id__": 375 + "__id__": 391 }, { - "__id__": 377 + "__id__": 393 }, { - "__id__": 379 + "__id__": 395 } ], "_active": false, @@ -18057,16 +18587,16 @@ "_name": "btn_cancel", "_objFlags": 0, "_parent": { - "__id__": 371 + "__id__": 387 }, "_children": [], "_active": true, "_components": [ { - "__id__": 373 + "__id__": 389 }, { - "__id__": 374 + "__id__": 390 } ], "_prefab": null, @@ -18122,7 +18652,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 372 + "__id__": 388 }, "_enabled": true, "_materials": [ @@ -18154,7 +18684,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 372 + "__id__": 388 }, "_enabled": true, "_normalMaterial": null, @@ -18215,7 +18745,7 @@ "hoverSprite": null, "_N$disabledSprite": null, "_N$target": { - "__id__": 372 + "__id__": 388 }, "_id": "b5ozThDJhAwY2NIjWp+Kbg" }, @@ -18224,13 +18754,13 @@ "_name": "tip_fail", "_objFlags": 0, "_parent": { - "__id__": 371 + "__id__": 387 }, "_children": [], "_active": true, "_components": [ { - "__id__": 376 + "__id__": 392 } ], "_prefab": null, @@ -18286,7 +18816,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 375 + "__id__": 391 }, "_enabled": true, "_materials": [ @@ -18318,13 +18848,13 @@ "_name": "desc", "_objFlags": 0, "_parent": { - "__id__": 371 + "__id__": 387 }, "_children": [], "_active": true, "_components": [ { - "__id__": 378 + "__id__": 394 } ], "_prefab": null, @@ -18380,7 +18910,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 377 + "__id__": 393 }, "_enabled": true, "_materials": [ @@ -18413,16 +18943,16 @@ "_name": "btn_sure", "_objFlags": 0, "_parent": { - "__id__": 371 + "__id__": 387 }, "_children": [], "_active": true, "_components": [ { - "__id__": 380 + "__id__": 396 }, { - "__id__": 381 + "__id__": 397 } ], "_prefab": null, @@ -18478,7 +19008,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 379 + "__id__": 395 }, "_enabled": true, "_materials": [ @@ -18510,7 +19040,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 379 + "__id__": 395 }, "_enabled": true, "_normalMaterial": null, @@ -18582,13 +19112,13 @@ }, "_children": [ { - "__id__": 383 + "__id__": 399 }, { - "__id__": 386 + "__id__": 402 }, { - "__id__": 388 + "__id__": 404 } ], "_active": false, @@ -18646,16 +19176,16 @@ "_name": "btn_cancel", "_objFlags": 0, "_parent": { - "__id__": 382 + "__id__": 398 }, "_children": [], "_active": true, "_components": [ { - "__id__": 384 + "__id__": 400 }, { - "__id__": 385 + "__id__": 401 } ], "_prefab": null, @@ -18711,7 +19241,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 383 + "__id__": 399 }, "_enabled": true, "_materials": [ @@ -18743,7 +19273,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 383 + "__id__": 399 }, "_enabled": true, "_normalMaterial": null, @@ -18804,7 +19334,7 @@ "hoverSprite": null, "_N$disabledSprite": null, "_N$target": { - "__id__": 383 + "__id__": 399 }, "_id": "b4DHgNoMhCxZbOXklkQ+kT" }, @@ -18813,13 +19343,13 @@ "_name": "tip_empty", "_objFlags": 0, "_parent": { - "__id__": 382 + "__id__": 398 }, "_children": [], "_active": true, "_components": [ { - "__id__": 387 + "__id__": 403 } ], "_prefab": null, @@ -18875,7 +19405,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 386 + "__id__": 402 }, "_enabled": true, "_materials": [ @@ -18907,13 +19437,13 @@ "_name": "btn_ok", "_objFlags": 0, "_parent": { - "__id__": 382 + "__id__": 398 }, "_children": [], "_active": true, "_components": [ { - "__id__": 389 + "__id__": 405 } ], "_prefab": null, @@ -18969,7 +19499,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 388 + "__id__": 404 }, "_enabled": true, "_materials": [ @@ -18996,6 +19526,2027 @@ "_atlas": null, "_id": "ef2iYyC1RLeq8RClVUh+H7" }, + { + "__type__": "cc.Node", + "_name": "tip_alert", + "_objFlags": 0, + "_parent": { + "__id__": 2 + }, + "_children": [ + { + "__id__": 407 + }, + { + "__id__": 410 + }, + { + "__id__": 416 + } + ], + "_active": false, + "_components": [], + "_prefab": null, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 644, + "height": 317 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + -28.549, + -21.199, + 0, + 0, + 0, + 0, + 1, + 1, + 1, + 1 + ] + }, + "_eulerAngles": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_skewX": 0, + "_skewY": 0, + "_is3DNode": false, + "_groupIndex": 0, + "groupIndex": 0, + "_id": "3anh0EO7pBdbLwk28muHNb" + }, + { + "__type__": "cc.Node", + "_name": "btn_cancel", + "_objFlags": 0, + "_parent": { + "__id__": 406 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 408 + }, + { + "__id__": 409 + } + ], + "_prefab": null, + "_opacity": 100, + "_color": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 5000, + "height": 5000 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + 1, + -5.8, + 0, + 0, + 0, + 0, + 1, + 1, + 1, + 1 + ] + }, + "_eulerAngles": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_skewX": 0, + "_skewY": 0, + "_is3DNode": false, + "_groupIndex": 0, + "groupIndex": 0, + "_id": "88KbVbUsdHU73Ov+bWUMmT" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 407 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "9bbda31e-ad49-43c9-aaf2-f7d9896bac69" + }, + "_type": 0, + "_sizeMode": 0, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_atlas": null, + "_id": "e4E8oCHe5Dh6lktxWQyy3y" + }, + { + "__type__": "cc.Button", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 407 + }, + "_enabled": true, + "_normalMaterial": null, + "_grayMaterial": null, + "duration": 0.1, + "zoomScale": 1.2, + "clickEvents": [], + "_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__": 407 + }, + "_id": "b0uxG/eTRKiKB9QOsCFYPO" + }, + { + "__type__": "cc.Node", + "_name": "tip_empty", + "_objFlags": 0, + "_parent": { + "__id__": 406 + }, + "_children": [ + { + "__id__": 411 + } + ], + "_active": true, + "_components": [ + { + "__id__": 415 + } + ], + "_prefab": null, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 644, + "height": 317 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + -28.549, + -21.199, + 0, + 0, + 0, + 0, + 1, + 1, + 1, + 1 + ] + }, + "_eulerAngles": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_skewX": 0, + "_skewY": 0, + "_is3DNode": false, + "_groupIndex": 0, + "groupIndex": 0, + "_id": "e6DHqsedxGybIy0yNwPuTL" + }, + { + "__type__": "cc.Node", + "_name": "message", + "_objFlags": 0, + "_parent": { + "__id__": 410 + }, + "_children": [ + { + "__id__": 412 + } + ], + "_active": true, + "_components": [ + { + "__id__": 414 + } + ], + "_prefab": null, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 51, + "g": 51, + "b": 51, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 370, + "height": 50.4 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 1 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + 107.164, + 145.168, + 0, + 0, + 0, + 0, + 1, + 1, + 1, + 1 + ] + }, + "_eulerAngles": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_skewX": 0, + "_skewY": 0, + "_is3DNode": false, + "_groupIndex": 0, + "groupIndex": 0, + "_id": "88Sd4xYu1FPZKDygT1ckpJ" + }, + { + "__type__": "cc.PrivateNode", + "_name": "RICHTEXT_CHILD", + "_objFlags": 1024, + "_parent": { + "__id__": 411 + }, + "_children": [], + "_active": false, + "_components": [ + { + "__id__": 413 + } + ], + "_prefab": null, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 51, + "g": 51, + "b": 51, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 280, + "height": 50.4 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + -185, + -50.4, + 0, + 0, + 0, + 0, + 1, + 1, + 1, + 1 + ] + }, + "_eulerAngles": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_skewX": 0, + "_skewY": 0, + "_is3DNode": false, + "_groupIndex": 0, + "groupIndex": 0, + "showInEditor": false, + "_id": "2eeU9w/0dBzrF6951o40ut" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 412 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_string": "这里是æç¤ºä¿¡æ¯", + "_N$string": "这里是æç¤ºä¿¡æ¯", + "_fontSize": 40, + "_lineHeight": 40, + "_enableWrapText": true, + "_N$file": null, + "_isSystemFontUsed": true, + "_spacingX": 0, + "_batchAsBitmap": false, + "_styleFlags": 0, + "_underlineHeight": 0, + "_N$horizontalAlign": 0, + "_N$verticalAlign": 1, + "_N$fontFamily": "Arial", + "_N$overflow": 0, + "_N$cacheMode": 0, + "_id": "70Ig6a09xAWrmV9jrmJVLQ" + }, + { + "__type__": "cc.RichText", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 411 + }, + "_enabled": true, + "_fontFamily": "Arial", + "_isSystemFontUsed": true, + "_N$string": "<color=#333333>这里是æç¤ºä¿¡æ¯</color>", + "_N$horizontalAlign": 0, + "_N$fontSize": 40, + "_N$font": null, + "_N$cacheMode": 0, + "_N$maxWidth": 370, + "_N$lineHeight": 40, + "_N$imageAtlas": null, + "_N$handleTouchEvent": true, + "_id": "df/7kqZHNAeZOPFjnSUsvW" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 410 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "1da38dd7-6872-4ddf-a558-19368fccb1d5" + }, + "_type": 0, + "_sizeMode": 1, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_atlas": null, + "_id": "4d/IPBmqFHnaVW6WU2bsLG" + }, + { + "__type__": "cc.Node", + "_name": "btn_ok", + "_objFlags": 0, + "_parent": { + "__id__": 406 + }, + "_children": [ + { + "__id__": 417 + } + ], + "_active": true, + "_components": [ + { + "__id__": 419 + } + ], + "_prefab": null, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 186, + "height": 63 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + 289.543, + -6.35, + 0, + 0, + 0, + 0, + 1, + 1, + 1, + 1 + ] + }, + "_eulerAngles": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_skewX": 0, + "_skewY": 0, + "_is3DNode": false, + "_groupIndex": 0, + "groupIndex": 0, + "_id": "c5osMsUoJAspr/1BpM96kN" + }, + { + "__type__": "cc.Node", + "_name": "txt", + "_objFlags": 0, + "_parent": { + "__id__": 416 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 418 + } + ], + "_prefab": null, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 80, + "height": 50.4 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + 0, + 0, + 0, + 0, + 0, + 0, + 1, + 1, + 1, + 1 + ] + }, + "_eulerAngles": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_skewX": 0, + "_skewY": 0, + "_is3DNode": false, + "_groupIndex": 0, + "groupIndex": 0, + "_id": "66snGYIMBGlI36OkI2ZTG6" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 417 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_string": "确定", + "_N$string": "确定", + "_fontSize": 40, + "_lineHeight": 40, + "_enableWrapText": true, + "_N$file": null, + "_isSystemFontUsed": true, + "_spacingX": 0, + "_batchAsBitmap": false, + "_styleFlags": 0, + "_underlineHeight": 0, + "_N$horizontalAlign": 1, + "_N$verticalAlign": 1, + "_N$fontFamily": "Arial", + "_N$overflow": 0, + "_N$cacheMode": 0, + "_id": "e7fsG9CANFBoo1qZk20hUH" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 416 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "5bc8143f-384b-4b62-8d62-846f1f6dc2ea" + }, + "_type": 0, + "_sizeMode": 1, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_atlas": null, + "_id": "4cFDKX2+ZBcYhpyrSeYu1d" + }, + { + "__type__": "cc.Node", + "_name": "loading", + "_objFlags": 0, + "_parent": { + "__id__": 2 + }, + "_children": [ + { + "__id__": 421 + }, + { + "__id__": 424 + } + ], + "_active": false, + "_components": [ + { + "__id__": 446 + }, + { + "__id__": 447 + } + ], + "_prefab": null, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 1334, + "height": 750 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + 0, + 0, + 0, + 0, + 0, + 0, + 1, + 1, + 1, + 1 + ] + }, + "_eulerAngles": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_skewX": 0, + "_skewY": 0, + "_is3DNode": false, + "_groupIndex": 0, + "groupIndex": 0, + "_id": "a1vw07WHlEiI7ffb9Q2QC9" + }, + { + "__type__": "cc.Node", + "_name": "New Sprite(Splash)", + "_objFlags": 0, + "_parent": { + "__id__": 420 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 422 + }, + { + "__id__": 423 + } + ], + "_prefab": null, + "_opacity": 125, + "_color": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 1334, + "height": 750 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + 0, + 0, + 0, + 0, + 0, + 0, + 1, + 1, + 1, + 1 + ] + }, + "_eulerAngles": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_skewX": 0, + "_skewY": 0, + "_is3DNode": false, + "_groupIndex": 0, + "groupIndex": 0, + "_id": "efN90OSBtJ27mA9qF/f7Tv" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 421 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "a23235d1-15db-4b95-8439-a2e005bfff91" + }, + "_type": 0, + "_sizeMode": 0, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_atlas": null, + "_id": "c9GWjJHapFO4NDzAaDRJMI" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 421 + }, + "_enabled": true, + "alignMode": 1, + "_target": { + "__id__": 2 + }, + "_alignFlags": 45, + "_left": 0, + "_right": 0, + "_top": 0, + "_bottom": 0, + "_verticalCenter": 0, + "_horizontalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 100, + "_originalHeight": 100, + "_id": "81zyO6z3pBbLNVQ2VlJkYJ" + }, + { + "__type__": "cc.Node", + "_name": "text", + "_objFlags": 0, + "_parent": { + "__id__": 420 + }, + "_children": [ + { + "__id__": 425 + }, + { + "__id__": 427 + }, + { + "__id__": 429 + }, + { + "__id__": 431 + }, + { + "__id__": 433 + }, + { + "__id__": 435 + }, + { + "__id__": 437 + }, + { + "__id__": 439 + }, + { + "__id__": 441 + }, + { + "__id__": 443 + } + ], + "_active": true, + "_components": [ + { + "__id__": 445 + } + ], + "_prefab": null, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 211.72000000000003, + "height": 150 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + 0, + 0, + 0, + 0, + 0, + 0, + 1, + 1, + 1, + 1 + ] + }, + "_eulerAngles": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_skewX": 0, + "_skewY": 0, + "_is3DNode": false, + "_groupIndex": 0, + "groupIndex": 0, + "_id": "d7RN0tbpZOTbaWhL8bKIjs" + }, + { + "__type__": "cc.Node", + "_name": "L", + "_objFlags": 0, + "_parent": { + "__id__": 424 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 426 + } + ], + "_prefab": null, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 22.25, + "height": 50.4 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + -94.73500000000001, + 0, + 0, + 0, + 0, + 0, + 1, + 1, + 1, + 1 + ] + }, + "_eulerAngles": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_skewX": 0, + "_skewY": 0, + "_is3DNode": false, + "_groupIndex": 0, + "groupIndex": 0, + "_id": "9dnkfO9XRG0LUJUnUGzgrl" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 425 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_string": "L", + "_N$string": "L", + "_fontSize": 40, + "_lineHeight": 40, + "_enableWrapText": true, + "_N$file": null, + "_isSystemFontUsed": true, + "_spacingX": 0, + "_batchAsBitmap": false, + "_styleFlags": 0, + "_underlineHeight": 0, + "_N$horizontalAlign": 1, + "_N$verticalAlign": 1, + "_N$fontFamily": "Arial", + "_N$overflow": 0, + "_N$cacheMode": 0, + "_id": "2bkphKRi9LVbpGrYdmcybB" + }, + { + "__type__": "cc.Node", + "_name": "o", + "_objFlags": 0, + "_parent": { + "__id__": 424 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 428 + } + ], + "_prefab": null, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 22.25, + "height": 50.4 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + -68.48500000000001, + 0, + 0, + 0, + 0, + 0, + 1, + 1, + 1, + 1 + ] + }, + "_eulerAngles": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_skewX": 0, + "_skewY": 0, + "_is3DNode": false, + "_groupIndex": 0, + "groupIndex": 0, + "_id": "92SULbzd9PerRCKV4J1RgZ" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 427 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_string": "o", + "_N$string": "o", + "_fontSize": 40, + "_lineHeight": 40, + "_enableWrapText": true, + "_N$file": null, + "_isSystemFontUsed": true, + "_spacingX": 0, + "_batchAsBitmap": false, + "_styleFlags": 0, + "_underlineHeight": 0, + "_N$horizontalAlign": 1, + "_N$verticalAlign": 1, + "_N$fontFamily": "Arial", + "_N$overflow": 0, + "_N$cacheMode": 0, + "_id": "4b/1WG6dNMYpHJQn6kAEDJ" + }, + { + "__type__": "cc.Node", + "_name": "a", + "_objFlags": 0, + "_parent": { + "__id__": 424 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 430 + } + ], + "_prefab": null, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 22.25, + "height": 50.4 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + -42.235000000000014, + 0, + 0, + 0, + 0, + 0, + 1, + 1, + 1, + 1 + ] + }, + "_eulerAngles": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_skewX": 0, + "_skewY": 0, + "_is3DNode": false, + "_groupIndex": 0, + "groupIndex": 0, + "_id": "0fCTqqvYtOwJznxhrxSu7F" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 429 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_string": "a", + "_N$string": "a", + "_fontSize": 40, + "_lineHeight": 40, + "_enableWrapText": true, + "_N$file": null, + "_isSystemFontUsed": true, + "_spacingX": 0, + "_batchAsBitmap": false, + "_styleFlags": 0, + "_underlineHeight": 0, + "_N$horizontalAlign": 1, + "_N$verticalAlign": 1, + "_N$fontFamily": "Arial", + "_N$overflow": 0, + "_N$cacheMode": 0, + "_id": "a2F2fUo9xEEbBoZ1QXpy+J" + }, + { + "__type__": "cc.Node", + "_name": "d", + "_objFlags": 0, + "_parent": { + "__id__": 424 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 432 + } + ], + "_prefab": null, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 22.25, + "height": 50.4 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + -15.985000000000014, + 0, + 0, + 0, + 0, + 0, + 1, + 1, + 1, + 1 + ] + }, + "_eulerAngles": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_skewX": 0, + "_skewY": 0, + "_is3DNode": false, + "_groupIndex": 0, + "groupIndex": 0, + "_id": "d4BQYw9IZKWpqt6dlbIeHH" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 431 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_string": "d", + "_N$string": "d", + "_fontSize": 40, + "_lineHeight": 40, + "_enableWrapText": true, + "_N$file": null, + "_isSystemFontUsed": true, + "_spacingX": 0, + "_batchAsBitmap": false, + "_styleFlags": 0, + "_underlineHeight": 0, + "_N$horizontalAlign": 1, + "_N$verticalAlign": 1, + "_N$fontFamily": "Arial", + "_N$overflow": 0, + "_N$cacheMode": 0, + "_id": "84DN1wGjZGVo6UOJvmaGuf" + }, + { + "__type__": "cc.Node", + "_name": "i", + "_objFlags": 0, + "_parent": { + "__id__": 424 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 434 + } + ], + "_prefab": null, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 8.89, + "height": 50.4 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + 3.5849999999999866, + 0, + 0, + 0, + 0, + 0, + 1, + 1, + 1, + 1 + ] + }, + "_eulerAngles": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_skewX": 0, + "_skewY": 0, + "_is3DNode": false, + "_groupIndex": 0, + "groupIndex": 0, + "_id": "42o77wcTRCHJYqr52Y8C+g" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 433 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_string": "i", + "_N$string": "i", + "_fontSize": 40, + "_lineHeight": 40, + "_enableWrapText": true, + "_N$file": null, + "_isSystemFontUsed": true, + "_spacingX": 0, + "_batchAsBitmap": false, + "_styleFlags": 0, + "_underlineHeight": 0, + "_N$horizontalAlign": 1, + "_N$verticalAlign": 1, + "_N$fontFamily": "Arial", + "_N$overflow": 0, + "_N$cacheMode": 0, + "_id": "6egZBysmJAd6in0y9LL7SI" + }, + { + "__type__": "cc.Node", + "_name": "n", + "_objFlags": 0, + "_parent": { + "__id__": 424 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 436 + } + ], + "_prefab": null, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 22.25, + "height": 50.4 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + 23.154999999999987, + 0, + 0, + 0, + 0, + 0, + 1, + 1, + 1, + 1 + ] + }, + "_eulerAngles": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_skewX": 0, + "_skewY": 0, + "_is3DNode": false, + "_groupIndex": 0, + "groupIndex": 0, + "_id": "4ePiNWUdlJbrRFV6kcAzAo" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 435 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_string": "n", + "_N$string": "n", + "_fontSize": 40, + "_lineHeight": 40, + "_enableWrapText": true, + "_N$file": null, + "_isSystemFontUsed": true, + "_spacingX": 0, + "_batchAsBitmap": false, + "_styleFlags": 0, + "_underlineHeight": 0, + "_N$horizontalAlign": 1, + "_N$verticalAlign": 1, + "_N$fontFamily": "Arial", + "_N$overflow": 0, + "_N$cacheMode": 0, + "_id": "faA+mAfwJDLpUsXtrwUBvE" + }, + { + "__type__": "cc.Node", + "_name": "g", + "_objFlags": 0, + "_parent": { + "__id__": 424 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 438 + } + ], + "_prefab": null, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 22.25, + "height": 50.4 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + 49.40499999999999, + 0, + 0, + 0, + 0, + 0, + 1, + 1, + 1, + 1 + ] + }, + "_eulerAngles": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_skewX": 0, + "_skewY": 0, + "_is3DNode": false, + "_groupIndex": 0, + "groupIndex": 0, + "_id": "77ssVkwitGSIiwZpQEeQQq" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 437 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_string": "g", + "_N$string": "g", + "_fontSize": 40, + "_lineHeight": 40, + "_enableWrapText": true, + "_N$file": null, + "_isSystemFontUsed": true, + "_spacingX": 0, + "_batchAsBitmap": false, + "_styleFlags": 0, + "_underlineHeight": 0, + "_N$horizontalAlign": 1, + "_N$verticalAlign": 1, + "_N$fontFamily": "Arial", + "_N$overflow": 0, + "_N$cacheMode": 0, + "_id": "c1rWxE17VDd68qWoKngHRe" + }, + { + "__type__": "cc.Node", + "_name": ".", + "_objFlags": 0, + "_parent": { + "__id__": 424 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 440 + } + ], + "_prefab": null, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 11.11, + "height": 50.4 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + 70.08499999999998, + 0, + 0, + 0, + 0, + 0, + 1, + 1, + 1, + 1 + ] + }, + "_eulerAngles": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_skewX": 0, + "_skewY": 0, + "_is3DNode": false, + "_groupIndex": 0, + "groupIndex": 0, + "_id": "1dY2WNpptNlrIENOiojz1O" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 439 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_string": ".", + "_N$string": ".", + "_fontSize": 40, + "_lineHeight": 40, + "_enableWrapText": true, + "_N$file": null, + "_isSystemFontUsed": true, + "_spacingX": 0, + "_batchAsBitmap": false, + "_styleFlags": 0, + "_underlineHeight": 0, + "_N$horizontalAlign": 1, + "_N$verticalAlign": 1, + "_N$fontFamily": "Arial", + "_N$overflow": 0, + "_N$cacheMode": 0, + "_id": "05iwNEo3hB37rOIWZERuMV" + }, + { + "__type__": "cc.Node", + "_name": ".", + "_objFlags": 0, + "_parent": { + "__id__": 424 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 442 + } + ], + "_prefab": null, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 11.11, + "height": 50.4 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + 85.195, + 0, + 0, + 0, + 0, + 0, + 1, + 1, + 1, + 1 + ] + }, + "_eulerAngles": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_skewX": 0, + "_skewY": 0, + "_is3DNode": false, + "_groupIndex": 0, + "groupIndex": 0, + "_id": "b3cTNkPmtEC7At1qBY3CVk" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 441 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_string": ".", + "_N$string": ".", + "_fontSize": 40, + "_lineHeight": 40, + "_enableWrapText": true, + "_N$file": null, + "_isSystemFontUsed": true, + "_spacingX": 0, + "_batchAsBitmap": false, + "_styleFlags": 0, + "_underlineHeight": 0, + "_N$horizontalAlign": 1, + "_N$verticalAlign": 1, + "_N$fontFamily": "Arial", + "_N$overflow": 0, + "_N$cacheMode": 0, + "_id": "b1jwiIp/pH0bRdrcnNIZzg" + }, + { + "__type__": "cc.Node", + "_name": ".", + "_objFlags": 0, + "_parent": { + "__id__": 424 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 444 + } + ], + "_prefab": null, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 11.11, + "height": 50.4 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + 100.305, + 0, + 0, + 0, + 0, + 0, + 1, + 1, + 1, + 1 + ] + }, + "_eulerAngles": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_skewX": 0, + "_skewY": 0, + "_is3DNode": false, + "_groupIndex": 0, + "groupIndex": 0, + "_id": "a0PipGe0lHlrhkqBE6+ytI" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 443 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_string": ".", + "_N$string": ".", + "_fontSize": 40, + "_lineHeight": 40, + "_enableWrapText": true, + "_N$file": null, + "_isSystemFontUsed": true, + "_spacingX": 0, + "_batchAsBitmap": false, + "_styleFlags": 0, + "_underlineHeight": 0, + "_N$horizontalAlign": 1, + "_N$verticalAlign": 1, + "_N$fontFamily": "Arial", + "_N$overflow": 0, + "_N$cacheMode": 0, + "_id": "16+OfBuwNER6oH/Dc/2ikq" + }, + { + "__type__": "cc.Layout", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 424 + }, + "_enabled": true, + "_layoutSize": { + "__type__": "cc.Size", + "width": 211.72000000000003, + "height": 150 + }, + "_resize": 1, + "_N$layoutType": 1, + "_N$cellSize": { + "__type__": "cc.Size", + "width": 40, + "height": 40 + }, + "_N$startAxis": 0, + "_N$paddingLeft": 0, + "_N$paddingRight": 0, + "_N$paddingTop": 0, + "_N$paddingBottom": 0, + "_N$spacingX": 4, + "_N$spacingY": 0, + "_N$verticalDirection": 1, + "_N$horizontalDirection": 0, + "_N$affectedByScale": true, + "_id": "e8sCr90TtAHIM5uKXtuhQU" + }, + { + "__type__": "cc.BlockInputEvents", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 420 + }, + "_enabled": true, + "_id": "76vSukqG5NfYnaDCuY5YAp" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 420 + }, + "_enabled": true, + "alignMode": 1, + "_target": { + "__id__": 2 + }, + "_alignFlags": 45, + "_left": 0, + "_right": 0, + "_top": 0, + "_bottom": 0, + "_verticalCenter": 0, + "_horizontalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 0, + "_originalHeight": 0, + "_id": "1c/HwWP+1G4pqVDoCIrqpb" + }, { "__type__": "cc.Canvas", "_name": "", diff --git a/assets/elephant/scene/elephant.ts b/assets/elephant/scene/elephant.ts index 770348de713b55d059d9831c8b00b6d23e75efde..878381f38f3b1ea6f9da5280bda1d6b92c878d0a 100644 --- a/assets/elephant/scene/elephant.ts +++ b/assets/elephant/scene/elephant.ts @@ -46,13 +46,33 @@ export default class SceneComponent extends MyCocosSceneComponent { } onLoadEnd() { + globalThis.USER_TOKEN = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpYXQiOjE2Mzk2MjE3MTIsImV4cCI6MTY0MjIxMzcxMiwiaWQiOjQwMDY2LCJwYXNzd29yZCI6IjE5QTEwM0E3NUUzM0QzQTNCODg0QkQxNTUwMjhENTA1Iiwic2Nob29sX2lkIjoyODYsInBob25lIjoiMTMxMDAwMDAwMDAiLCJuYW1lIjoi5bCP546J5rWL6K-VMCIsInN0YXR1cyI6MCwidHlwZSI6MCwicm9sZXMiOjEsImV4cGlyZWQiOiIyMDIyLTAzLTE5VDE2OjAwOjAwLjAwMFoiLCJzY2hvb2xfbmFtZSI6Iue7mOeOqea1i-ivleeOr-Wig-WtpuagoSIsInNjaG9vbF90eXBlIjoyLCJjcmVhdGVvbiI6MTU3MDc2MTk3NDAwMCwiY2xhc3NfbmFtZSI6IuS4ieW5tDHnj60iLCJjbGFzc19pbmZvIjpbeyJjbGFzc19pZCI6MzkxNSwiY2xhc3NfbmFtZSI6IuS4ieW5tDHnj60ifV0sIm90aGVycyI6W119.4T-Lnsl25aJ-rvUOCDwShq4F5u3BbR86ZLPew4zyULU" + globalThis.CLIENT_TYPE = 'student' + globalThis.SERVER_HOST = 'http://192.168.3.127:3900' + // globalThis.SERVER_HOST = 'http://staging.ireadabc.com' this.initGame(); + + + this.initView(); + + this.initEvent(); + this.initTipSys(); // TODO åŠ è½½å®ŒæˆåŽçš„逻辑写在这里, 下é¢çš„代ç ä»…ä¾›å‚考 - Api.askUser().then(() => { + this.fetchUserData(); + return Promise.resolve() + } + fetchUserData() { + this.showWaitingLetters(); + return Api.askUser().then(() => { + this.hideWaitingLetters() this.initData(); - this.initView(); - this.initEvent(); - this.initTipSys(); + }).catch((e) => { + this.hideWaitingLetters() + this.openTipAlert({message: 'ç½‘ç»œé”™è¯¯ï¼Œè¯·è¿”å›žé‡æ–°è¿›å…¥', + callback: () => { + this.closeTipAlert(); + this.fetchUserData(); + }}) }) } initGame() { @@ -68,12 +88,17 @@ export default class SceneComponent extends MyCocosSceneComponent { private home: cc.Node; private kitchen: cc.Node; private shop: cc.Node; + private loading: cc.Node; + tws: any[] = []; + LoadingCount: number = 1; initView() { + this.tws = []; + this.LoadingCount = 0; this.home = pg.view.find(this, "home"); this.kitchen = pg.view.find(this, "kitchen"); this.shop = pg.view.find(this, "shop"); this.elephant = pg.view.find(this.home, "elephant"); - + this.loading = pg.view.find(this, "loading"); this.elephentState(0); } @@ -116,12 +141,17 @@ export default class SceneComponent extends MyCocosSceneComponent { this.updateShopBtns(); } onTouchShopHouse() { - this.openTipEmpty(() => { - this.closeTipEmpty(); - }) - // this.shopType = ITEM_TYPE.HOUSE; - // this.updateShopList(); - // this.updateShopBtns(); + + this.shopType = ITEM_TYPE.HOUSE; + const list = this.updateShopList(); + + if (!list.length) { + this.openTipEmpty(() => { + this.closeTipEmpty(); + }); + return; + } + this.updateShopBtns(); } onTouchShopClothes() { this.openTipEmpty(() => { @@ -138,12 +168,16 @@ export default class SceneComponent extends MyCocosSceneComponent { updateShopList() { let scroll = pg.view.find(this.shop, "scrollview"); let svt = scroll.getComponent("svt"); - let list = kitchen.getListByType(this.shopType); + let list = shop.getListByType(this.shopType); svt.list = list; + if (list.length == 0) { + return list; + } svt.updateItem = this.updateShopItems; svt.target = this; svt.addNum = 4; svt.flush(); + return list; } updateShopBtns() { let btns = pg.view.find(this.shop, "btns"); @@ -165,44 +199,49 @@ export default class SceneComponent extends MyCocosSceneComponent { for (let i = 0; i < datas.length; i++) { let it = item.children[i]; let dt = datas[i]; - this.updateShopItem(it, dt); + if (dt) { + // console.log(dt.name); + this.updateShopItem(it, dt); + } } } updateShopItem(item, data: Item) { item.active = true; - let growth = pg.view.find(item, "growth"); - let txt = pg.view.find(item, "txt"); - let name = pg.view.find(item, "name"); - let icon = pg.view.find(item, "icon"); - let discount = pg.view.find(item, "discount"); - let btn_buy = pg.view.find(item, "btn_buy"); + let growth = pg.view.find(item, "bg_food/growth"); + let txt = pg.view.find(item, "bg_food/txt"); + let name = pg.view.find(item, "bg_food/name"); + let icon = pg.view.find(item, "bg_food/icon"); + let discount = pg.view.find(item, "bg_food/discount"); + let btn_buy = pg.view.find(item, "bg_food/btn_buy"); pg.view.setString(txt, `å¯å¢žåŠ ä¸ªæˆé•¿å€¼`) pg.view.setString(growth, data.growthValue) pg.view.setString(name, data.name) - icon.getComponent(cc.Sprite).spriteFrame = this[data.icon]; + // console.log(data.cover); + pg.view.setNetImg(icon, data.cover, false) + // icon.getComponent(cc.Sprite).spriteFrame = this[data.icon]; let dis = Math.round((1 - data.discount) * 100); if (dis > 0) { pg.view.setString(discount, `${dis}%`) - pg.view.visible(pg.view.find(item, "bg_sale"), true); - pg.view.visible(pg.view.find(item, "discount"), true); + pg.view.visible(pg.view.find(item, "bg_food/bg_sale"), true); + pg.view.visible(pg.view.find(item, "bg_food/discount"), true); } else { - pg.view.visible(pg.view.find(item, "bg_sale"), false); - pg.view.visible(pg.view.find(item, "discount"), false); + pg.view.visible(pg.view.find(item, "bg_food/bg_sale"), false); + pg.view.visible(pg.view.find(item, "bg_food/discount"), false); } pg.view.setString(pg.view.find(btn_buy, "num"), data.cost) - pg.view.touchOn(btn_buy, this.onTouchShopItem, this); + pg.view.touchOn(item, this.onTouchShopItem, this); item.data = data; } onTouchShopItem(e) { - let item = e.target.parent; + let item = e.target; // .parent; let data: Item = item.data; if (data.type == 1) { //弹出è´ä¹°å¼¹çª— - + console.log(user) if (user.coin >= data.cost * data.discount) { this.openTipNormal(data, () => { this.buy(data); @@ -226,10 +265,28 @@ export default class SceneComponent extends MyCocosSceneComponent { } } buy(data) { - Api.askBuyItem(data).then(() => { - this.updateShopCoin(); - this.openTipBuy(data, () => { - this.closeTipBuy(); + this.showWaitingLetters(); + Api.askBuyItem(data).then((resp) => { + this.fetchUserData().then(ud => { + this.hideWaitingLetters(true) + this.updateShopCoin(); + this.openTipBuy(data, () => { + this.closeTipBuy(); + }); + }).catch(e => { + this.hideWaitingLetters(true); + this.openTipAlert({message: '网络错误,请é‡è¯•(err: 1)', + callback: () => { + this.closeTipAlert(); + } + }) + }); + }).catch(e => { + this.hideWaitingLetters(true); + this.openTipAlert({message: '网络错误,请é‡è¯•(err: 2)', + callback: () => { + this.closeTipAlert(); + } }) }) } @@ -255,10 +312,13 @@ export default class SceneComponent extends MyCocosSceneComponent { for (let i = 0; i < datas.length; i++) { let it = item.children[i]; let dt = datas[i]; - this.updateChickenItem(it, dt); + if (dt) { + this.updateChickenItem(it, dt); + } } } updateChickenItem(item, data: Item) { + // console.log(data); item.active = true; let growth = pg.view.find(item, "growth"); let name = pg.view.find(item, "name"); @@ -267,7 +327,8 @@ export default class SceneComponent extends MyCocosSceneComponent { pg.view.setString(growth, `æˆé•¿å€¼+${data.growthValue}`) pg.view.setString(name, data.name) pg.view.setString(num, data.num) - icon.getComponent(cc.Sprite).spriteFrame = this[data.icon]; + // icon.getComponent(cc.Sprite).spriteFrame = this[data.icon]; + pg.view.setNetImg(icon, data.cover) pg.view.touchOn(item, this.onTouchChickenItem, this); item.data = data; } @@ -283,11 +344,30 @@ export default class SceneComponent extends MyCocosSceneComponent { } } eating(data) { - Api.askUseItem(data).then(() => { - this.elephentState(3); - this.onTouchKitchenClose(); - }) + //å¯ä»¥æ£€æµ‹æ˜¯å¦å‡çº§ç‰---å‡çº§è¯´æ˜Žä¹‹ç±»çš„ + this.showWaitingLetters(); + Api.askUseItem(data).then((resp) => { + this.fetchUserData().then(ud => { + this.hideWaitingLetters(true); + this.elephentState(3); + this.onTouchKitchenClose(); + }).catch(e => { + this.hideWaitingLetters(true); + this.openTipAlert({message: '网络错误,请é‡è¯•(err: 1)', + callback: () => { + this.closeTipAlert(); + } + }) + }); + }).catch(e => { + this.hideWaitingLetters(true); + this.openTipAlert({message: '网络错误,请é‡è¯•(err: 2)', + callback: () => { + this.closeTipAlert(); + } + }) + }) } @@ -426,23 +506,28 @@ export default class SceneComponent extends MyCocosSceneComponent { private tip_buy: cc.Node; private tip_fail: cc.Node; private tip_empty: cc.Node; + private tip_alert: cc.Node; private tipSuccess: Function; private tipCancel: Function; private tipBuySuccess: Function; private tipFailSuccess: Function; private tipFailCancel: Function; private tipEmptySuccess: Function; + private tipAlertCallback: Function; + initTipSys() { this.tip_normal = pg.view.find(this, "tip_normal"); this.tip_buy = pg.view.find(this, "tip_buy"); this.tip_fail = pg.view.find(this, "tip_fail"); this.tip_empty = pg.view.find(this, "tip_empty"); + this.tip_alert = pg.view.find(this, "tip_alert"); pg.view.touchOn(pg.view.find(this.tip_normal, "btn_sure"), () => { this.tipSuccess && this.tipSuccess() }, this); pg.view.touchOn(pg.view.find(this.tip_normal, "btn_cancel"), () => { this.tipCancel && this.tipCancel() }, this); pg.view.touchOn(pg.view.find(this.tip_buy, "btn_cancel"), () => { this.tipBuySuccess && this.tipBuySuccess() }, this); pg.view.touchOn(pg.view.find(this.tip_fail, "btn_sure"), () => { this.tipFailSuccess && this.tipFailSuccess() }, this); pg.view.touchOn(pg.view.find(this.tip_fail, "btn_cancel"), () => { this.tipFailCancel && this.tipFailCancel() }, this); pg.view.touchOn(pg.view.find(this.tip_empty, "btn_cancel"), () => { this.tipEmptySuccess && this.tipEmptySuccess() }, this); + pg.view.touchOn(pg.view.find(this.tip_alert, "btn_cancel"), () => { this.tipAlertCallback && this.tipAlertCallback() }, this); } openTipNormal(data: Item, success, cancel) { this.tip_normal.active = true; @@ -451,7 +536,8 @@ export default class SceneComponent extends MyCocosSceneComponent { if (data) { pg.view.setString(pg.view.find(this.tip_normal, "desc"), `确定花${data.cost * data.discount}金å¸è´ä¹°${data.name}å—?`); let icon = pg.view.find(this.tip_normal, "icon"); - icon.getComponent(cc.Sprite).spriteFrame = this[data.icon]; + // icon.getComponent(cc.Sprite).spriteFrame = this[data.icon]; + pg.view.setNetImg(icon, data.cover) } } closeTipNormal() { @@ -474,8 +560,9 @@ export default class SceneComponent extends MyCocosSceneComponent { this.tip_buy.active = true; this.tipBuySuccess = success; if (data) { - let icon = pg.view.find(this.tip_normal, "icon"); - icon.getComponent(cc.Sprite).spriteFrame = this[data.icon]; + let icon = pg.view.find(this.tip_buy, "icon"); + // icon.getComponent(cc.Sprite).spriteFrame = this[data.icon]; + pg.view.setNetImg(icon, data.cover, false) } } closeTipBuy() { @@ -492,6 +579,94 @@ export default class SceneComponent extends MyCocosSceneComponent { } + openTipAlert({message, btnText, callback}: {message?: string, btnText?: string, callback: (...args) => void}) { + if (message) { + const tipNode = this.tip_alert.getChildByName('tip_empty'); + const messageNode = tipNode.getChildByName('message'); + const lbl = messageNode.getComponent(cc.RichText); + lbl.string = `<color=#333333>${message}</color>`; + } + if (btnText) { + const btnNode = this.tip_alert.getChildByName('btn_ok'); + const btnTxtNode = btnNode.getChildByName('txt'); + const lbl = btnTxtNode.getComponent(cc.Label); + lbl.string = btnText; + } + this.tip_alert.active = true; + this.tipAlertCallback = callback; + } + closeTipAlert() { + this.tip_alert.active = false; + } + + + + hideWaitingLetters(force = false) { + if (force) { + this.LoadingCount = 0; + } else { + this.LoadingCount--; + } + + if (this.LoadingCount <= 0) { + this.LoadingCount = 0; + setTimeout(() => { + if (this.tws){ + for (const tw of this.tws) { + tw.node.y = 0; + tw.tw.stop(); + } + } + this.loading.active = false; + }); + } + } + showWaitingLetters() { + this.LoadingCount += 1; + if (this.loading.active) { + return; + } + const colorList = this.getRainbowColorList(); + const text = this.loading.getChildByName('text') + text.children.forEach((node, idx) => { + node.color = colorList[idx]; + const tw = cc.tween(node) + .delay(idx / 4) + .to(0.3, { y: 30 }, { easing: 'sineOut' }) + .to(0.3, { y: -30 }, { easing: 'sineIn' }) + .delay((text.children.length - idx) / 4) + .union() + .repeatForever() + .start(); + this.tws.push({ + tw, + node + }); + }); + this.loading.active = true; + } + getRainbowColorList() { + return [ + cc.color(255, 255, 0), + cc.color(128, 255, 0), + cc.color(0, 255, 0), + + cc.color(0, 255, 128), + cc.color(0, 255, 255), + + cc.color(0, 128, 255), + cc.color(0, 0, 255), + cc.color(128, 0, 255), + cc.color(255, 0, 255), + cc.color(255, 0, 128), + + cc.color(255, 0, 0), + cc.color(255, 128, 0), + cc.color(255, 255, 0), + ]; + } + + diff --git a/assets/elephant/scene/model/item.ts b/assets/elephant/scene/model/item.ts index 098a026a8c030b550f7913e8e41a6325100e87a4..6f06e112ea7b58c2f140a158f98d2bf42c3a0adc 100644 --- a/assets/elephant/scene/model/item.ts +++ b/assets/elephant/scene/model/item.ts @@ -5,6 +5,7 @@ class Item { public icon: string;//商å“图片--å¯ç”¨typeç”Ÿæˆ public growthValue: number;//生长值 public cost: number;//费用 + public cover: string; public discount: number;//折扣 public num: number;//æ‹¥æœ‰æ•°é‡ public levelLimite: number;//ç‰çº§é™åˆ¶ @@ -15,8 +16,9 @@ class Item { this.icon = obj.icon; this.growthValue = obj.growthValue; this.cost = obj.cost; - this.discount = obj.discount; - this.num = obj.num; + this.cover = obj.cover; + this.discount = obj.discount || 1; + this.num = obj.amount; this.levelLimite = obj.levelLimite; } } diff --git a/assets/elephant/scene/model/shop.ts b/assets/elephant/scene/model/shop.ts index a93c25ea39351fed25f9bd5d36688e09ad7f118c..a33bfa4bd1a0e5a43b61f76a1deeb30d60f80eae 100644 --- a/assets/elephant/scene/model/shop.ts +++ b/assets/elephant/scene/model/shop.ts @@ -14,6 +14,9 @@ class Shop { get list() { return this._list; } + getListByType(type: number) { + return this._list.filter(li => li.type == type) + } } - -export default Shop; +const shop = new Shop(); +export default shop; diff --git a/assets/elephant/scene/model/user.ts b/assets/elephant/scene/model/user.ts index fabe2a43bab580f4b552d2ff86604393d8d40817..2587e103105e5c67f508fa3c16b18f2ae92b05bc 100644 --- a/assets/elephant/scene/model/user.ts +++ b/assets/elephant/scene/model/user.ts @@ -5,6 +5,7 @@ class User { public coin: number; public level: number; public growth: number;//当剿ˆé•¿å€¼ + public growthLevel: number; public growthDaily: number; public growthDailyMax: number; public eatTime: number; @@ -20,12 +21,13 @@ class User { this.coin = data.coin; this.level = data.level; this.growth = data.growth; + this.growthLevel = data.growthLevel; this.growthDaily = data.growthDaily; this.growthDailyMax = data.growthDailyMax; this.eatTime = data.eatTime; this.useFurniture = data.useFurniture; this.useClothes = data.useClothes; - this.mood = 1; + this.mood = data.mood; } isDailyMax() { return this.growthDailyMax >= this.growthDaily @@ -38,18 +40,18 @@ class User { useCoin(val) { this.coin -= val; } - //当å‰ç‰çº§æˆé•¿å€¼æœ€å¤§å€¼ - public get growthLevel(): number { - let max = 1; - for (let i = 1; i < 100; i++) { - let val = LEVEL[`level_${i}`].growth; - if (this.growth < val) { - max = val - break; - } - } - return max - } + // //当å‰ç‰çº§æˆé•¿å€¼æœ€å¤§å€¼ + // public get growthLevel(): number { + // let max = 1; + // for (let i = 1; i < 100; i++) { + // let val = LEVEL[`level_${i}`].growth; + // if (this.growth < val) { + // max = val + // break; + // } + // } + // return max + // } } let user = new User(); export default user; diff --git a/assets/elephant/scene/net/api.ts b/assets/elephant/scene/net/api.ts index 7dc4bf2a8c4728d681c2642a2ae483ff0a939320..82be14ce0cba0ea46809a9cf1ded01a43bb55fde 100644 --- a/assets/elephant/scene/net/api.ts +++ b/assets/elephant/scene/net/api.ts @@ -2,25 +2,52 @@ import pg from "../pg"; import { ITEMS, USER } from "../config/config" import user from "../model/user"; import kitchen from "../model/kitchen"; +import shop from "../model/shop"; //获å–ä¿¡æ¯ï¼Œè´ä¹°ç‰©å“,使用物å“(åƒä¸œè¥¿ï¼‰ï¼Œç©¿æˆ´è¡£æœ/æ›´æ¢å®¶å…· class Api { static askUser() { return new Promise((resolve, reject) => { - pg.http.send("GET", "http://www.baidu.com", {}).then((data: any) => { - let userInfo = USER; - user.parse(userInfo); - let kitchenInfo = ITEMS; - kitchen.parse(kitchenInfo); - resolve(''); + pg.http.send("GET", `${globalThis.SERVER_HOST}/api/pets/info`, null).then((userInfo: any) => { + // let userInfo = USER; + try{ + const mood = (Date.now() - userInfo.status.eat.time) > 4 * 60 * 60 * 1000 ? 1: 0; // 4 hours + const info = { + name: userInfo.name, + coin: userInfo.coins, + level: userInfo.level, + eatTime: userInfo.status.eat.time, + useFurniture: userInfo.furniture, + useClothes: userInfo.dress, + growth: userInfo.current_exp, + growthLevel: userInfo.need_exp, + mood + }; + console.log(info); + user.parse(info); + // let kitchenInfo = ITEMS; + kitchen.parse(userInfo.my_items); + shop.parse(userInfo.shop_items); + resolve(''); + } catch(e) { + reject(e) + } + }).catch(e => { + reject(e) }) }); } static askUseItem(data) { return new Promise((resolve, reject) => { - pg.http.send("GET", "http://www.baidu.com", {}).then((data: any) => { - user.addGrowth(data.growthValue); - kitchen.use(data.id); - resolve(''); + pg.http.send("POST", `${globalThis.SERVER_HOST}/api/pets/use/item`, {item_id: data.id}).then((resp: any) => { + // user.addGrowth(data.growthValue); + // kitchen.use(data.id); + try { + resolve(resp); + } catch (e) { + reject(e) + } + }).catch(e => { + reject(e) }) }); } @@ -28,10 +55,17 @@ class Api { return new Promise((resolve, reject) => { data.id; data.type; - pg.http.send("GET", "http://www.baidu.com", {}).then((data: any) => { - user.useCoin(data.cost * data.discount); - kitchen.buy(data.id); - resolve(''); + pg.http.send("POST", `${globalThis.SERVER_HOST}/api/pets/item/buy`, {item_id: data.id}).then((resp: any) => { + // user.useCoin(data.cost * data.discount); + // kitchen.buy(data.id); + try { + resolve(resp); + } catch (e) { + reject(e) + } + + }).catch(e => { + reject(e) }) }); } diff --git a/assets/elephant/scene/pg.ts b/assets/elephant/scene/pg.ts index 37a71a99fd142270d52021f534ef8250a221f8f1..a944e7b1b623b256a7dd47bfad010ed6eeee4f66 100644 --- a/assets/elephant/scene/pg.ts +++ b/assets/elephant/scene/pg.ts @@ -130,7 +130,7 @@ let pg = { }) }) }, - setNetImg(item, res) { + setNetImg(item, res, cache = true) { return new Promise((resolve, reject) => { if (!item) return pg.logger.w("图片更æ¢å¤±è´¥,ä¼ å…¥äº†é”™è¯¯çš„item"); let node = item.node ? item.node : item; @@ -139,7 +139,7 @@ let pg = { return pg.logger.w("图片更æ¢å¤±è´¥,ä¼ å…¥äº†é”™è¯¯çš„res"); } if (!node) return pg.logger.w("图片更æ¢å¤±è´¥,ä¼ å…¥äº†é”™è¯¯çš„item"); - if (node.net_url == res) return; + if (cache && node.net_url == res) return; let w = node.width; let h = node.height; node.active = false;// @@ -147,15 +147,30 @@ let pg = { if (!cc.isValid(node)) return pg.logger.i("节点已销æ¯"); let nw = node.width = texture.width; let nh = node.height = texture.height; - let component = node.getComponent(cc.Sprite); + let spriteFrame = new cc.SpriteFrame(texture); - component.spriteFrame = spriteFrame; node.net_url = res; + const cover = node.getChildByName('cover'); + if (cover) { + const {width, height} = spriteFrame.getOriginalSize() + cover.getComponent(cc.Sprite).spriteFrame = spriteFrame; + cover.width = width; + cover.height = height; + const sx = node.width / width; + const sy = node.height / height; + const s = Math.min(sx, sy); + cover.scale = Math.round(s * 1000) / 1000; + } else { + let component = node.getComponent(cc.Sprite); + component.spriteFrame = spriteFrame; + node.width = w; + node.height = h; + } + // setTimeout(() => { if (!cc.isValid(node)) return pg.logger.i("节点已销æ¯"); if (!node) return pg.logger.w("节点已销æ¯"); - node.width = w; - node.height = h; + node.active = true; // }, 30); resolve({ w: nw, h: nh }); @@ -317,36 +332,57 @@ let pg = { http: { //http访问 send: function (type, url, data) { - return new Promise((resolve) => { - return setTimeout(() => { - return resolve({ status: 200 }); - }, 60); + return new Promise((resolve, reject) => { + // return setTimeout(() => { + // return resolve({ status: 200 }); + // }, 60); let xhr = cc.loader.getXMLHttpRequest(); - xhr.timeout = 5000; + xhr.timeout = 30000; xhr.responseType = "text"; xhr.open(type, url, true); - xhr.setRequestHeader("Content-Type", "application/x-www-form-urlencoded"); + xhr.setRequestHeader("token", globalThis.USER_TOKEN); + xhr.setRequestHeader("Client-Type", globalThis.CLIENT_TYPE); + xhr.setRequestHeader("Content-Type", "application/json"); xhr.onreadystatechange = () => { if (xhr.readyState !== 4) return; if (xhr.status >= 200 && xhr.status < 300) { try { let resp = xhr.responseText; - pg.logger.d("resp->" + JSON.stringify(resp)); + // pg.logger.d("resp->" + JSON.stringify(resp)); + if (typeof resp === 'string') { + resp = JSON.parse(resp); + // @ts-ignore + if (resp.code !=200) { + // @ts-ignore + reject(resp.message) + return + } + // @ts-ignore + resp = resp.data; + } resolve(resp); } catch (e) { + reject(e) } - } - else { - + } else { + pg.logger.w("onerror->" + url + ';resp = '+ xhr.responseText); + reject(xhr.responseText) } }; xhr.onerror = (e) => { pg.logger.w("onerror->" + url); + reject(e); }; xhr.ontimeout = (e) => { pg.logger.w("ontimeout->" + url); + reject(e); }; - xhr.send(data); + if (data) { + xhr.send(JSON.stringify(data)); + } else { + xhr.send(); + } + }) } diff --git a/assets/elephant/script/MyCocosSceneComponent.ts b/assets/elephant/script/MyCocosSceneComponent.ts index 350cd95f36f6393342c68322283ee62036022686..6b54ce7310650662a5b46253de2088325b926d9b 100644 --- a/assets/elephant/script/MyCocosSceneComponent.ts +++ b/assets/elephant/script/MyCocosSceneComponent.ts @@ -95,8 +95,10 @@ export class MyCocosSceneComponent extends cc.Component { // this.onLoadEnd(); // next(); // }; - this.onLoadEnd(); - window["air"].hideAirClassLoading(); + this.onLoadEnd().then(() => { + window["air"].hideAirClassLoading(); + }); + } else { this.onLoadEnd(); } @@ -115,7 +117,7 @@ export class MyCocosSceneComponent extends cc.Component { } onLoadEnd() { - + return new Promise((resolve, reject) => {}); } @@ -164,7 +166,7 @@ export class MyCocosSceneComponent extends cc.Component { playAudioByUrl(audio_url, cb = null) { if (audio_url) { - cc.assetManager.loadRemote(audio_url, (err, audioClip) => { + cc.assetManager.loadRemote(audio_url, (err, audioClip: cc.AudioClip) => { const audioId = cc.audioEngine.play(audioClip, false, 0.8); if (cb) { cc.audioEngine.setFinishCallback(audioId, () => { diff --git a/assets/elephant/textures/ani/eat.meta b/assets/elephant/textures/ani/eat.meta deleted file mode 100644 index 1e736e547fd3257439125b6395241ca376e9d482..0000000000000000000000000000000000000000 --- a/assets/elephant/textures/ani/eat.meta +++ /dev/null @@ -1,12 +0,0 @@ -{ - "ver": "1.1.2", - "uuid": "df38fb90-8e23-45a6-8a15-dbb6c2ef0a5f", - "isBundle": false, - "bundleName": "", - "priority": 1, - "compressionType": {}, - "optimizeHotUpdate": {}, - "inlineSpriteFrames": {}, - "isRemoteBundle": {}, - "subMetas": {} -} \ No newline at end of file diff --git a/assets/elephant/textures/tips/bg_alert.png b/assets/elephant/textures/tips/bg_alert.png new file mode 100644 index 0000000000000000000000000000000000000000..510d4031b7ea57723ad96126b21d594d9ba10b6c Binary files /dev/null and b/assets/elephant/textures/tips/bg_alert.png differ diff --git a/assets/elephant/textures/tips/bg_alert.png.meta b/assets/elephant/textures/tips/bg_alert.png.meta new file mode 100644 index 0000000000000000000000000000000000000000..d6a324c0cea8945a90ca686ccf415a4811f3782c --- /dev/null +++ b/assets/elephant/textures/tips/bg_alert.png.meta @@ -0,0 +1,36 @@ +{ + "ver": "2.3.5", + "uuid": "c3393c60-0fc9-4915-91d9-485a561738ef", + "type": "sprite", + "wrapMode": "clamp", + "filterMode": "bilinear", + "premultiplyAlpha": false, + "genMipmaps": false, + "packable": true, + "width": 644, + "height": 317, + "platformSettings": {}, + "subMetas": { + "bg_alert": { + "ver": "1.0.4", + "uuid": "1da38dd7-6872-4ddf-a558-19368fccb1d5", + "rawTextureUuid": "c3393c60-0fc9-4915-91d9-485a561738ef", + "trimType": "auto", + "trimThreshold": 1, + "rotated": false, + "offsetX": 0, + "offsetY": 0, + "trimX": 0, + "trimY": 0, + "width": 644, + "height": 317, + "rawWidth": 644, + "rawHeight": 317, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "subMetas": {} + } + } +} \ No newline at end of file diff --git a/assets/elephant/textures/tips/btn_alert_ok.png b/assets/elephant/textures/tips/btn_alert_ok.png new file mode 100644 index 0000000000000000000000000000000000000000..d99f7d21ab0182c51d91b2db0bf811b4d64e973e Binary files /dev/null and b/assets/elephant/textures/tips/btn_alert_ok.png differ diff --git a/assets/elephant/textures/tips/btn_alert_ok.png.meta b/assets/elephant/textures/tips/btn_alert_ok.png.meta new file mode 100644 index 0000000000000000000000000000000000000000..0da814b4680fccc688cde99677ea9b530d40a7f8 --- /dev/null +++ b/assets/elephant/textures/tips/btn_alert_ok.png.meta @@ -0,0 +1,36 @@ +{ + "ver": "2.3.5", + "uuid": "ada08f28-6853-4b73-b40c-f890cf785859", + "type": "sprite", + "wrapMode": "clamp", + "filterMode": "bilinear", + "premultiplyAlpha": false, + "genMipmaps": false, + "packable": true, + "width": 186, + "height": 63, + "platformSettings": {}, + "subMetas": { + "btn_alert_ok": { + "ver": "1.0.4", + "uuid": "5bc8143f-384b-4b62-8d62-846f1f6dc2ea", + "rawTextureUuid": "ada08f28-6853-4b73-b40c-f890cf785859", + "trimType": "auto", + "trimThreshold": 1, + "rotated": false, + "offsetX": 0, + "offsetY": 0, + "trimX": 0, + "trimY": 0, + "width": 186, + "height": 63, + "rawWidth": 186, + "rawHeight": 63, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "subMetas": {} + } + } +} \ No newline at end of file