Browse Source

Merge branch 'master' of http://git.mokasz.com/zouyong/mk_framework

zouyong 5 years ago
parent
commit
f7bc4c4742
29 changed files with 6869 additions and 3694 deletions
  1. 5 1280
      assets/resources/game/prefab/Canvas.prefab
  2. 197 457
      assets/resources/game/prefab/game.prefab
  3. 6427 0
      assets/resources/game/prefab/gameplay.prefab
  4. 8 0
      assets/resources/game/prefab/gameplay.prefab.meta
  5. 2 2
      assets/resources/game/prefab/uiItem/redbagitem.prefab
  6. 86 58
      assets/resources/module/reward/rewardMission.prefab
  7. 43 24
      assets/script/before/GamePlay.ts
  8. 0 351
      assets/script/before/Start.ts
  9. 0 9
      assets/script/before/Start.ts.meta
  10. 2 4
      assets/script/before/data/GameConst.ts
  11. 0 143
      assets/script/before/data/PlayerConst.ts
  12. 15 143
      assets/script/before/mgr/DataMgr.ts
  13. 1 2
      assets/script/before/mgr/GameMgr.ts
  14. 0 924
      assets/script/before/mgr/HttpMgr.ts
  15. 0 9
      assets/script/before/mgr/HttpMgr.ts.meta
  16. 1 19
      assets/script/before/util/GameLogic.ts
  17. 2 10
      assets/script/before/view/PauseUI.ts
  18. 4 5
      assets/script/before/view/PlayerInfoUI.ts
  19. 5 3
      assets/script/before/view/uiItem/CellItem.ts
  20. 0 216
      assets/script/before/view/uiItem/ClockInItem.ts
  21. 0 9
      assets/script/before/view/uiItem/ClockInItem.ts.meta
  22. 1 1
      assets/script/game/component/TableView.ts
  23. 2 2
      assets/script/game/component/tween/EffectOpenAndClose.ts
  24. 1 1
      assets/script/game/data/AdData.ts
  25. 22 13
      assets/script/game/data/GameData.ts
  26. 11 2
      assets/script/game/game/Game.ts
  27. 26 4
      assets/script/game/module/reward/Reward.ts
  28. 6 1
      assets/script/game/module/sign/Sign.ts
  29. 2 2
      assets/script/mk/utils/TweenUtil.ts

+ 5 - 1280
assets/resources/game/prefab/Canvas.prefab

@@ -22,18 +22,12 @@
       },
       {
         "__id__": 5
-      },
-      {
-        "__id__": 178
-      },
-      {
-        "__id__": 208
       }
     ],
     "_active": true,
     "_components": [],
     "_prefab": {
-      "__id__": 211
+      "__id__": 178
     },
     "_opacity": 255,
     "_color": {
@@ -6538,6 +6532,10 @@
     "node_redPacketIcon": {
       "__id__": 76
     },
+    "btn_gameGetRed1": null,
+    "btn_gameGetRed2": null,
+    "btn_gameGetRed3": null,
+    "btn_gameGetRed4": null,
     "node_content": {
       "__id__": 14
     },
@@ -6597,1279 +6595,6 @@
     "sync": false
   },
   {
-    "__type__": "cc.Node",
-    "_name": "node_start",
-    "_objFlags": 0,
-    "_parent": {
-      "__id__": 1
-    },
-    "_children": [
-      {
-        "__id__": 179
-      },
-      {
-        "__id__": 183
-      },
-      {
-        "__id__": 200
-      }
-    ],
-    "_active": false,
-    "_components": [
-      {
-        "__id__": 206
-      }
-    ],
-    "_prefab": {
-      "__id__": 207
-    },
-    "_opacity": 255,
-    "_color": {
-      "__type__": "cc.Color",
-      "r": 255,
-      "g": 255,
-      "b": 255,
-      "a": 255
-    },
-    "_contentSize": {
-      "__type__": "cc.Size",
-      "width": 0,
-      "height": 0
-    },
-    "_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": ""
-  },
-  {
-    "__type__": "cc.Node",
-    "_name": "bg",
-    "_objFlags": 0,
-    "_parent": {
-      "__id__": 178
-    },
-    "_children": [],
-    "_active": true,
-    "_components": [
-      {
-        "__id__": 180
-      },
-      {
-        "__id__": 181
-      }
-    ],
-    "_prefab": {
-      "__id__": 182
-    },
-    "_opacity": 255,
-    "_color": {
-      "__type__": "cc.Color",
-      "r": 255,
-      "g": 255,
-      "b": 255,
-      "a": 255
-    },
-    "_contentSize": {
-      "__type__": "cc.Size",
-      "width": 750,
-      "height": 1334
-    },
-    "_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": ""
-  },
-  {
-    "__type__": "cc.Sprite",
-    "_name": "",
-    "_objFlags": 0,
-    "node": {
-      "__id__": 179
-    },
-    "_enabled": true,
-    "_materials": [
-      {
-        "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
-      }
-    ],
-    "_srcBlendFactor": 770,
-    "_dstBlendFactor": 771,
-    "_spriteFrame": {
-      "__uuid__": "88ccbe91-b29c-438f-9054-595a16acd972"
-    },
-    "_type": 0,
-    "_sizeMode": 0,
-    "_fillType": 0,
-    "_fillCenter": {
-      "__type__": "cc.Vec2",
-      "x": 0,
-      "y": 0
-    },
-    "_fillStart": 0,
-    "_fillRange": 0,
-    "_isTrimmedMode": true,
-    "_atlas": null,
-    "_id": ""
-  },
-  {
-    "__type__": "cc.BlockInputEvents",
-    "_name": "",
-    "_objFlags": 0,
-    "node": {
-      "__id__": 179
-    },
-    "_enabled": true,
-    "_id": ""
-  },
-  {
-    "__type__": "cc.PrefabInfo",
-    "root": {
-      "__id__": 1
-    },
-    "asset": {
-      "__uuid__": "2c6ff8ce-2135-4373-ab74-8f3c55391214"
-    },
-    "fileId": "f4561Q91BIUafAfaoQSWXi",
-    "sync": false
-  },
-  {
-    "__type__": "cc.Node",
-    "_name": "node_changeScene",
-    "_objFlags": 0,
-    "_parent": {
-      "__id__": 178
-    },
-    "_children": [
-      {
-        "__id__": 184
-      },
-      {
-        "__id__": 187
-      },
-      {
-        "__id__": 193
-      }
-    ],
-    "_active": true,
-    "_components": [],
-    "_prefab": {
-      "__id__": 199
-    },
-    "_opacity": 255,
-    "_color": {
-      "__type__": "cc.Color",
-      "r": 255,
-      "g": 255,
-      "b": 255,
-      "a": 255
-    },
-    "_contentSize": {
-      "__type__": "cc.Size",
-      "width": 0,
-      "height": 0
-    },
-    "_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": ""
-  },
-  {
-    "__type__": "cc.Node",
-    "_name": "node_scene",
-    "_objFlags": 0,
-    "_parent": {
-      "__id__": 183
-    },
-    "_children": [],
-    "_active": true,
-    "_components": [
-      {
-        "__id__": 185
-      }
-    ],
-    "_prefab": {
-      "__id__": 186
-    },
-    "_opacity": 255,
-    "_color": {
-      "__type__": "cc.Color",
-      "r": 255,
-      "g": 255,
-      "b": 255,
-      "a": 255
-    },
-    "_contentSize": {
-      "__type__": "cc.Size",
-      "width": 2250,
-      "height": 700
-    },
-    "_anchorPoint": {
-      "__type__": "cc.Vec2",
-      "x": 0.5,
-      "y": 0.5
-    },
-    "_trs": {
-      "__type__": "TypedArray",
-      "ctor": "Float64Array",
-      "array": [
-        750,
-        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": ""
-  },
-  {
-    "__type__": "cc.Layout",
-    "_name": "",
-    "_objFlags": 0,
-    "node": {
-      "__id__": 184
-    },
-    "_enabled": true,
-    "_layoutSize": {
-      "__type__": "cc.Size",
-      "width": 2250,
-      "height": 700
-    },
-    "_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": 0,
-    "_N$spacingY": 0,
-    "_N$verticalDirection": 1,
-    "_N$horizontalDirection": 0,
-    "_N$affectedByScale": false,
-    "_id": ""
-  },
-  {
-    "__type__": "cc.PrefabInfo",
-    "root": {
-      "__id__": 1
-    },
-    "asset": {
-      "__uuid__": "2c6ff8ce-2135-4373-ab74-8f3c55391214"
-    },
-    "fileId": "06W0e81Z1HBqXZ6YFO7shc",
-    "sync": false
-  },
-  {
-    "__type__": "cc.Node",
-    "_name": "node_leftBtn",
-    "_objFlags": 0,
-    "_parent": {
-      "__id__": 183
-    },
-    "_children": [
-      {
-        "__id__": 188
-      }
-    ],
-    "_active": true,
-    "_components": [
-      {
-        "__id__": 191
-      }
-    ],
-    "_prefab": {
-      "__id__": 192
-    },
-    "_opacity": 255,
-    "_color": {
-      "__type__": "cc.Color",
-      "r": 255,
-      "g": 255,
-      "b": 255,
-      "a": 255
-    },
-    "_contentSize": {
-      "__type__": "cc.Size",
-      "width": 76,
-      "height": 76
-    },
-    "_anchorPoint": {
-      "__type__": "cc.Vec2",
-      "x": 0.5,
-      "y": 0.5
-    },
-    "_trs": {
-      "__type__": "TypedArray",
-      "ctor": "Float64Array",
-      "array": [
-        -320,
-        -75,
-        0,
-        0,
-        0,
-        0,
-        1,
-        1,
-        1,
-        0
-      ]
-    },
-    "_eulerAngles": {
-      "__type__": "cc.Vec3",
-      "x": 0,
-      "y": 0,
-      "z": 0
-    },
-    "_skewX": 0,
-    "_skewY": 0,
-    "_is3DNode": false,
-    "_groupIndex": 0,
-    "groupIndex": 0,
-    "_id": ""
-  },
-  {
-    "__type__": "cc.Node",
-    "_name": "left",
-    "_objFlags": 0,
-    "_parent": {
-      "__id__": 187
-    },
-    "_children": [],
-    "_active": true,
-    "_components": [
-      {
-        "__id__": 189
-      }
-    ],
-    "_prefab": {
-      "__id__": 190
-    },
-    "_opacity": 255,
-    "_color": {
-      "__type__": "cc.Color",
-      "r": 255,
-      "g": 255,
-      "b": 255,
-      "a": 255
-    },
-    "_contentSize": {
-      "__type__": "cc.Size",
-      "width": 76,
-      "height": 76
-    },
-    "_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": ""
-  },
-  {
-    "__type__": "cc.Sprite",
-    "_name": "",
-    "_objFlags": 0,
-    "node": {
-      "__id__": 188
-    },
-    "_enabled": true,
-    "_materials": [
-      {
-        "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
-      }
-    ],
-    "_srcBlendFactor": 770,
-    "_dstBlendFactor": 771,
-    "_spriteFrame": {
-      "__uuid__": "fb6bec9b-5c05-40e1-842a-aab425ba4e7a"
-    },
-    "_type": 0,
-    "_sizeMode": 1,
-    "_fillType": 0,
-    "_fillCenter": {
-      "__type__": "cc.Vec2",
-      "x": 0,
-      "y": 0
-    },
-    "_fillStart": 0,
-    "_fillRange": 0,
-    "_isTrimmedMode": true,
-    "_atlas": null,
-    "_id": ""
-  },
-  {
-    "__type__": "cc.PrefabInfo",
-    "root": {
-      "__id__": 1
-    },
-    "asset": {
-      "__uuid__": "2c6ff8ce-2135-4373-ab74-8f3c55391214"
-    },
-    "fileId": "53TqiMGCxA9IEXFkpBlFis",
-    "sync": false
-  },
-  {
-    "__type__": "cc.Button",
-    "_name": "",
-    "_objFlags": 0,
-    "node": {
-      "__id__": 187
-    },
-    "_enabled": true,
-    "_normalMaterial": null,
-    "_grayMaterial": null,
-    "duration": 0.1,
-    "zoomScale": 1.2,
-    "clickEvents": [],
-    "_N$interactable": true,
-    "_N$enableAutoGrayEffect": false,
-    "_N$transition": 3,
-    "transition": 3,
-    "_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__": 187
-    },
-    "_id": ""
-  },
-  {
-    "__type__": "cc.PrefabInfo",
-    "root": {
-      "__id__": 1
-    },
-    "asset": {
-      "__uuid__": "2c6ff8ce-2135-4373-ab74-8f3c55391214"
-    },
-    "fileId": "e2cD74ldtO3IiF0RBO8bKt",
-    "sync": false
-  },
-  {
-    "__type__": "cc.Node",
-    "_name": "node_rightBtn",
-    "_objFlags": 0,
-    "_parent": {
-      "__id__": 183
-    },
-    "_children": [
-      {
-        "__id__": 194
-      }
-    ],
-    "_active": true,
-    "_components": [
-      {
-        "__id__": 197
-      }
-    ],
-    "_prefab": {
-      "__id__": 198
-    },
-    "_opacity": 255,
-    "_color": {
-      "__type__": "cc.Color",
-      "r": 255,
-      "g": 255,
-      "b": 255,
-      "a": 255
-    },
-    "_contentSize": {
-      "__type__": "cc.Size",
-      "width": 76,
-      "height": 76
-    },
-    "_anchorPoint": {
-      "__type__": "cc.Vec2",
-      "x": 0.5,
-      "y": 0.5
-    },
-    "_trs": {
-      "__type__": "TypedArray",
-      "ctor": "Float64Array",
-      "array": [
-        320,
-        -75,
-        0,
-        0,
-        0,
-        0,
-        1,
-        1,
-        1,
-        0
-      ]
-    },
-    "_eulerAngles": {
-      "__type__": "cc.Vec3",
-      "x": 0,
-      "y": 0,
-      "z": 0
-    },
-    "_skewX": 0,
-    "_skewY": 0,
-    "_is3DNode": false,
-    "_groupIndex": 0,
-    "groupIndex": 0,
-    "_id": ""
-  },
-  {
-    "__type__": "cc.Node",
-    "_name": "right",
-    "_objFlags": 0,
-    "_parent": {
-      "__id__": 193
-    },
-    "_children": [],
-    "_active": true,
-    "_components": [
-      {
-        "__id__": 195
-      }
-    ],
-    "_prefab": {
-      "__id__": 196
-    },
-    "_opacity": 255,
-    "_color": {
-      "__type__": "cc.Color",
-      "r": 255,
-      "g": 255,
-      "b": 255,
-      "a": 255
-    },
-    "_contentSize": {
-      "__type__": "cc.Size",
-      "width": 76,
-      "height": 76
-    },
-    "_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": ""
-  },
-  {
-    "__type__": "cc.Sprite",
-    "_name": "",
-    "_objFlags": 0,
-    "node": {
-      "__id__": 194
-    },
-    "_enabled": true,
-    "_materials": [
-      {
-        "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
-      }
-    ],
-    "_srcBlendFactor": 770,
-    "_dstBlendFactor": 771,
-    "_spriteFrame": {
-      "__uuid__": "4c67063f-4312-4ce8-94f1-1e0b51225d22"
-    },
-    "_type": 0,
-    "_sizeMode": 1,
-    "_fillType": 0,
-    "_fillCenter": {
-      "__type__": "cc.Vec2",
-      "x": 0,
-      "y": 0
-    },
-    "_fillStart": 0,
-    "_fillRange": 0,
-    "_isTrimmedMode": true,
-    "_atlas": null,
-    "_id": ""
-  },
-  {
-    "__type__": "cc.PrefabInfo",
-    "root": {
-      "__id__": 1
-    },
-    "asset": {
-      "__uuid__": "2c6ff8ce-2135-4373-ab74-8f3c55391214"
-    },
-    "fileId": "17Zn9HmdxEGoGmUqQ1GLhr",
-    "sync": false
-  },
-  {
-    "__type__": "cc.Button",
-    "_name": "",
-    "_objFlags": 0,
-    "node": {
-      "__id__": 193
-    },
-    "_enabled": true,
-    "_normalMaterial": null,
-    "_grayMaterial": null,
-    "duration": 0.1,
-    "zoomScale": 1.2,
-    "clickEvents": [],
-    "_N$interactable": true,
-    "_N$enableAutoGrayEffect": false,
-    "_N$transition": 3,
-    "transition": 3,
-    "_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__": 193
-    },
-    "_id": ""
-  },
-  {
-    "__type__": "cc.PrefabInfo",
-    "root": {
-      "__id__": 1
-    },
-    "asset": {
-      "__uuid__": "2c6ff8ce-2135-4373-ab74-8f3c55391214"
-    },
-    "fileId": "d2kGTX/ixPIIVlsk+4Edr8",
-    "sync": false
-  },
-  {
-    "__type__": "cc.PrefabInfo",
-    "root": {
-      "__id__": 1
-    },
-    "asset": {
-      "__uuid__": "2c6ff8ce-2135-4373-ab74-8f3c55391214"
-    },
-    "fileId": "69eXOX8EhJZqeVQWxvFZcQ",
-    "sync": false
-  },
-  {
-    "__type__": "cc.Node",
-    "_name": "node_startGameBtn",
-    "_objFlags": 0,
-    "_parent": {
-      "__id__": 178
-    },
-    "_children": [
-      {
-        "__id__": 201
-      }
-    ],
-    "_active": true,
-    "_components": [
-      {
-        "__id__": 204
-      }
-    ],
-    "_prefab": {
-      "__id__": 205
-    },
-    "_opacity": 255,
-    "_color": {
-      "__type__": "cc.Color",
-      "r": 255,
-      "g": 255,
-      "b": 255,
-      "a": 255
-    },
-    "_contentSize": {
-      "__type__": "cc.Size",
-      "width": 353,
-      "height": 125
-    },
-    "_anchorPoint": {
-      "__type__": "cc.Vec2",
-      "x": 0.5,
-      "y": 0.5
-    },
-    "_trs": {
-      "__type__": "TypedArray",
-      "ctor": "Float64Array",
-      "array": [
-        0,
-        -440,
-        0,
-        0,
-        0,
-        0,
-        1,
-        1,
-        1,
-        0
-      ]
-    },
-    "_eulerAngles": {
-      "__type__": "cc.Vec3",
-      "x": 0,
-      "y": 0,
-      "z": 0
-    },
-    "_skewX": 0,
-    "_skewY": 0,
-    "_is3DNode": false,
-    "_groupIndex": 0,
-    "groupIndex": 0,
-    "_id": ""
-  },
-  {
-    "__type__": "cc.Node",
-    "_name": "startBtn",
-    "_objFlags": 0,
-    "_parent": {
-      "__id__": 200
-    },
-    "_children": [],
-    "_active": true,
-    "_components": [
-      {
-        "__id__": 202
-      }
-    ],
-    "_prefab": {
-      "__id__": 203
-    },
-    "_opacity": 255,
-    "_color": {
-      "__type__": "cc.Color",
-      "r": 255,
-      "g": 255,
-      "b": 255,
-      "a": 255
-    },
-    "_contentSize": {
-      "__type__": "cc.Size",
-      "width": 353,
-      "height": 125
-    },
-    "_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": ""
-  },
-  {
-    "__type__": "cc.Sprite",
-    "_name": "",
-    "_objFlags": 0,
-    "node": {
-      "__id__": 201
-    },
-    "_enabled": true,
-    "_materials": [
-      {
-        "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
-      }
-    ],
-    "_srcBlendFactor": 770,
-    "_dstBlendFactor": 771,
-    "_spriteFrame": {
-      "__uuid__": "5f81f841-23c6-4bd3-a4ca-ebd1c449ff68"
-    },
-    "_type": 0,
-    "_sizeMode": 1,
-    "_fillType": 0,
-    "_fillCenter": {
-      "__type__": "cc.Vec2",
-      "x": 0,
-      "y": 0
-    },
-    "_fillStart": 0,
-    "_fillRange": 0,
-    "_isTrimmedMode": true,
-    "_atlas": null,
-    "_id": ""
-  },
-  {
-    "__type__": "cc.PrefabInfo",
-    "root": {
-      "__id__": 1
-    },
-    "asset": {
-      "__uuid__": "2c6ff8ce-2135-4373-ab74-8f3c55391214"
-    },
-    "fileId": "b58I6dWalLB52AnzJ3/umu",
-    "sync": false
-  },
-  {
-    "__type__": "cc.Button",
-    "_name": "",
-    "_objFlags": 0,
-    "node": {
-      "__id__": 200
-    },
-    "_enabled": true,
-    "_normalMaterial": null,
-    "_grayMaterial": null,
-    "duration": 0.1,
-    "zoomScale": 1.2,
-    "clickEvents": [],
-    "_N$interactable": true,
-    "_N$enableAutoGrayEffect": false,
-    "_N$transition": 3,
-    "transition": 3,
-    "_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__": 200
-    },
-    "_id": ""
-  },
-  {
-    "__type__": "cc.PrefabInfo",
-    "root": {
-      "__id__": 1
-    },
-    "asset": {
-      "__uuid__": "2c6ff8ce-2135-4373-ab74-8f3c55391214"
-    },
-    "fileId": "8dBjaTMi1JmZLHxKsrdA2n",
-    "sync": false
-  },
-  {
-    "__type__": "8ce54knarxL67U2pGwlTL9E",
-    "_name": "",
-    "_objFlags": 0,
-    "node": {
-      "__id__": 178
-    },
-    "_enabled": true,
-    "node_bg": {
-      "__id__": 179
-    },
-    "node_top": null,
-    "node_scene": {
-      "__id__": 184
-    },
-    "node_leftBtn": {
-      "__id__": 187
-    },
-    "node_rightBtn": {
-      "__id__": 193
-    },
-    "node_startGameBtn": {
-      "__id__": 200
-    },
-    "_id": ""
-  },
-  {
-    "__type__": "cc.PrefabInfo",
-    "root": {
-      "__id__": 1
-    },
-    "asset": {
-      "__uuid__": "2c6ff8ce-2135-4373-ab74-8f3c55391214"
-    },
-    "fileId": "f7o0k1RgZJl5a7teAYT4Ku",
-    "sync": false
-  },
-  {
-    "__type__": "cc.Node",
-    "_name": "node_tipUI",
-    "_objFlags": 0,
-    "_parent": {
-      "__id__": 1
-    },
-    "_children": [],
-    "_active": true,
-    "_components": [
-      {
-        "__id__": 209
-      }
-    ],
-    "_prefab": {
-      "__id__": 210
-    },
-    "_opacity": 255,
-    "_color": {
-      "__type__": "cc.Color",
-      "r": 255,
-      "g": 255,
-      "b": 255,
-      "a": 255
-    },
-    "_contentSize": {
-      "__type__": "cc.Size",
-      "width": 0,
-      "height": 0
-    },
-    "_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": ""
-  },
-  {
-    "__type__": "b818cn3ZlhCA589MCaalmqs",
-    "_name": "",
-    "_objFlags": 0,
-    "node": {
-      "__id__": 208
-    },
-    "_enabled": true,
-    "artNum": 3,
-    "_id": ""
-  },
-  {
-    "__type__": "cc.PrefabInfo",
-    "root": {
-      "__id__": 1
-    },
-    "asset": {
-      "__uuid__": "2c6ff8ce-2135-4373-ab74-8f3c55391214"
-    },
-    "fileId": "891R9c9rdLAovv8KpqXGZl",
-    "sync": false
-  },
-  {
     "__type__": "cc.PrefabInfo",
     "root": {
       "__id__": 1

File diff suppressed because it is too large
+ 197 - 457
assets/resources/game/prefab/game.prefab


+ 6427 - 0
assets/resources/game/prefab/gameplay.prefab

@@ -0,0 +1,6427 @@
+[
+  {
+    "__type__": "cc.Prefab",
+    "_name": "",
+    "_objFlags": 0,
+    "_native": "",
+    "data": {
+      "__id__": 1
+    },
+    "optimizationPolicy": 0,
+    "asyncLoadAssets": false,
+    "readonly": false
+  },
+  {
+    "__type__": "cc.Node",
+    "_name": "游戏核心",
+    "_objFlags": 0,
+    "_parent": null,
+    "_children": [
+      {
+        "__id__": 2
+      },
+      {
+        "__id__": 4
+      },
+      {
+        "__id__": 10
+      },
+      {
+        "__id__": 18
+      },
+      {
+        "__id__": 68
+      },
+      {
+        "__id__": 88
+      },
+      {
+        "__id__": 107
+      },
+      {
+        "__id__": 151
+      },
+      {
+        "__id__": 153
+      },
+      {
+        "__id__": 168
+      },
+      {
+        "__id__": 170
+      }
+    ],
+    "_active": true,
+    "_components": [
+      {
+        "__id__": 172
+      }
+    ],
+    "_prefab": {
+      "__id__": 173
+    },
+    "_opacity": 255,
+    "_color": {
+      "__type__": "cc.Color",
+      "r": 255,
+      "g": 255,
+      "b": 255,
+      "a": 255
+    },
+    "_contentSize": {
+      "__type__": "cc.Size",
+      "width": 750,
+      "height": 1334
+    },
+    "_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": ""
+  },
+  {
+    "__type__": "cc.Node",
+    "_name": "node_selectBtn",
+    "_objFlags": 0,
+    "_parent": {
+      "__id__": 1
+    },
+    "_children": [],
+    "_active": true,
+    "_components": [],
+    "_prefab": {
+      "__id__": 3
+    },
+    "_opacity": 255,
+    "_color": {
+      "__type__": "cc.Color",
+      "r": 255,
+      "g": 255,
+      "b": 255,
+      "a": 255
+    },
+    "_contentSize": {
+      "__type__": "cc.Size",
+      "width": 0,
+      "height": 0
+    },
+    "_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": ""
+  },
+  {
+    "__type__": "cc.PrefabInfo",
+    "root": {
+      "__id__": 1
+    },
+    "asset": {
+      "__uuid__": "4c49ec9e-c64a-4921-84eb-9bdd737656e5"
+    },
+    "fileId": "b0ff/68I1Fl5HI3iEt6wii",
+    "sync": false
+  },
+  {
+    "__type__": "cc.Node",
+    "_name": "node_bg",
+    "_objFlags": 0,
+    "_parent": {
+      "__id__": 1
+    },
+    "_children": [
+      {
+        "__id__": 5
+      }
+    ],
+    "_active": true,
+    "_components": [],
+    "_prefab": {
+      "__id__": 9
+    },
+    "_opacity": 255,
+    "_color": {
+      "__type__": "cc.Color",
+      "r": 255,
+      "g": 255,
+      "b": 255,
+      "a": 255
+    },
+    "_contentSize": {
+      "__type__": "cc.Size",
+      "width": 0,
+      "height": 0
+    },
+    "_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": ""
+  },
+  {
+    "__type__": "cc.Node",
+    "_name": "bg",
+    "_objFlags": 0,
+    "_parent": {
+      "__id__": 4
+    },
+    "_children": [],
+    "_active": true,
+    "_components": [
+      {
+        "__id__": 6
+      },
+      {
+        "__id__": 7
+      }
+    ],
+    "_prefab": {
+      "__id__": 8
+    },
+    "_opacity": 255,
+    "_color": {
+      "__type__": "cc.Color",
+      "r": 255,
+      "g": 255,
+      "b": 255,
+      "a": 255
+    },
+    "_contentSize": {
+      "__type__": "cc.Size",
+      "width": 750,
+      "height": 1334
+    },
+    "_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": ""
+  },
+  {
+    "__type__": "cc.Sprite",
+    "_name": "",
+    "_objFlags": 0,
+    "node": {
+      "__id__": 5
+    },
+    "_enabled": true,
+    "_materials": [
+      {
+        "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
+      }
+    ],
+    "_srcBlendFactor": 770,
+    "_dstBlendFactor": 771,
+    "_spriteFrame": {
+      "__uuid__": "a9d06103-168c-4add-8352-0ed57f2c954e"
+    },
+    "_type": 0,
+    "_sizeMode": 0,
+    "_fillType": 0,
+    "_fillCenter": {
+      "__type__": "cc.Vec2",
+      "x": 0,
+      "y": 0
+    },
+    "_fillStart": 0,
+    "_fillRange": 0,
+    "_isTrimmedMode": true,
+    "_atlas": null,
+    "_id": ""
+  },
+  {
+    "__type__": "cc.BlockInputEvents",
+    "_name": "",
+    "_objFlags": 0,
+    "node": {
+      "__id__": 5
+    },
+    "_enabled": true,
+    "_id": ""
+  },
+  {
+    "__type__": "cc.PrefabInfo",
+    "root": {
+      "__id__": 1
+    },
+    "asset": {
+      "__uuid__": "4c49ec9e-c64a-4921-84eb-9bdd737656e5"
+    },
+    "fileId": "72QPyqoTlPXKtUKY4YCj+k",
+    "sync": false
+  },
+  {
+    "__type__": "cc.PrefabInfo",
+    "root": {
+      "__id__": 1
+    },
+    "asset": {
+      "__uuid__": "4c49ec9e-c64a-4921-84eb-9bdd737656e5"
+    },
+    "fileId": "0eGp9KmONAI456h9zwqBT6",
+    "sync": false
+  },
+  {
+    "__type__": "cc.Node",
+    "_name": "node_content",
+    "_objFlags": 0,
+    "_parent": {
+      "__id__": 1
+    },
+    "_children": [
+      {
+        "__id__": 11
+      },
+      {
+        "__id__": 14
+      }
+    ],
+    "_active": true,
+    "_components": [],
+    "_prefab": {
+      "__id__": 17
+    },
+    "_opacity": 255,
+    "_color": {
+      "__type__": "cc.Color",
+      "r": 255,
+      "g": 255,
+      "b": 255,
+      "a": 255
+    },
+    "_contentSize": {
+      "__type__": "cc.Size",
+      "width": 680,
+      "height": 700
+    },
+    "_anchorPoint": {
+      "__type__": "cc.Vec2",
+      "x": 0.5,
+      "y": 0.5
+    },
+    "_trs": {
+      "__type__": "TypedArray",
+      "ctor": "Float64Array",
+      "array": [
+        0,
+        -80,
+        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": ""
+  },
+  {
+    "__type__": "cc.Node",
+    "_name": "rect_bg",
+    "_objFlags": 0,
+    "_parent": {
+      "__id__": 10
+    },
+    "_children": [],
+    "_active": true,
+    "_components": [
+      {
+        "__id__": 12
+      }
+    ],
+    "_prefab": {
+      "__id__": 13
+    },
+    "_opacity": 225,
+    "_color": {
+      "__type__": "cc.Color",
+      "r": 255,
+      "g": 255,
+      "b": 255,
+      "a": 255
+    },
+    "_contentSize": {
+      "__type__": "cc.Size",
+      "width": 750,
+      "height": 788
+    },
+    "_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": ""
+  },
+  {
+    "__type__": "cc.Sprite",
+    "_name": "",
+    "_objFlags": 0,
+    "node": {
+      "__id__": 11
+    },
+    "_enabled": true,
+    "_materials": [
+      {
+        "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
+      }
+    ],
+    "_srcBlendFactor": 770,
+    "_dstBlendFactor": 771,
+    "_spriteFrame": {
+      "__uuid__": "1a2f437a-b8a2-4189-b3e6-7c4388369d6c"
+    },
+    "_type": 0,
+    "_sizeMode": 0,
+    "_fillType": 0,
+    "_fillCenter": {
+      "__type__": "cc.Vec2",
+      "x": 0,
+      "y": 0
+    },
+    "_fillStart": 0,
+    "_fillRange": 0,
+    "_isTrimmedMode": true,
+    "_atlas": null,
+    "_id": ""
+  },
+  {
+    "__type__": "cc.PrefabInfo",
+    "root": {
+      "__id__": 1
+    },
+    "asset": {
+      "__uuid__": "4c49ec9e-c64a-4921-84eb-9bdd737656e5"
+    },
+    "fileId": "23sjlAK2JPOYYH+mwzvI9T",
+    "sync": false
+  },
+  {
+    "__type__": "cc.Node",
+    "_name": "node_bg",
+    "_objFlags": 0,
+    "_parent": {
+      "__id__": 10
+    },
+    "_children": [],
+    "_active": true,
+    "_components": [
+      {
+        "__id__": 15
+      }
+    ],
+    "_prefab": {
+      "__id__": 16
+    },
+    "_opacity": 255,
+    "_color": {
+      "__type__": "cc.Color",
+      "r": 255,
+      "g": 255,
+      "b": 255,
+      "a": 255
+    },
+    "_contentSize": {
+      "__type__": "cc.Size",
+      "width": 680,
+      "height": 700
+    },
+    "_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": ""
+  },
+  {
+    "__type__": "cc.Layout",
+    "_name": "",
+    "_objFlags": 0,
+    "node": {
+      "__id__": 14
+    },
+    "_enabled": true,
+    "_layoutSize": {
+      "__type__": "cc.Size",
+      "width": 680,
+      "height": 700
+    },
+    "_resize": 0,
+    "_N$layoutType": 3,
+    "_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": 0,
+    "_N$spacingY": 0,
+    "_N$verticalDirection": 1,
+    "_N$horizontalDirection": 0,
+    "_N$affectedByScale": false,
+    "_id": ""
+  },
+  {
+    "__type__": "cc.PrefabInfo",
+    "root": {
+      "__id__": 1
+    },
+    "asset": {
+      "__uuid__": "4c49ec9e-c64a-4921-84eb-9bdd737656e5"
+    },
+    "fileId": "e2OxD90m5Lcpyx1NE/Ot/u",
+    "sync": false
+  },
+  {
+    "__type__": "cc.PrefabInfo",
+    "root": {
+      "__id__": 1
+    },
+    "asset": {
+      "__uuid__": "4c49ec9e-c64a-4921-84eb-9bdd737656e5"
+    },
+    "fileId": "73IhbJKqRAm5CEL+/iEr6U",
+    "sync": false
+  },
+  {
+    "__type__": "cc.Node",
+    "_name": "node_redPacketIcon",
+    "_objFlags": 0,
+    "_parent": {
+      "__id__": 1
+    },
+    "_children": [
+      {
+        "__id__": 19
+      },
+      {
+        "__id__": 31
+      },
+      {
+        "__id__": 43
+      },
+      {
+        "__id__": 55
+      }
+    ],
+    "_active": true,
+    "_components": [],
+    "_prefab": {
+      "__id__": 67
+    },
+    "_opacity": 255,
+    "_color": {
+      "__type__": "cc.Color",
+      "r": 255,
+      "g": 255,
+      "b": 255,
+      "a": 255
+    },
+    "_contentSize": {
+      "__type__": "cc.Size",
+      "width": 0,
+      "height": 0
+    },
+    "_anchorPoint": {
+      "__type__": "cc.Vec2",
+      "x": 0.5,
+      "y": 0.5
+    },
+    "_trs": {
+      "__type__": "TypedArray",
+      "ctor": "Float64Array",
+      "array": [
+        0,
+        375,
+        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": ""
+  },
+  {
+    "__type__": "cc.Node",
+    "_name": "redbagitem",
+    "_objFlags": 0,
+    "_parent": {
+      "__id__": 18
+    },
+    "_children": [
+      {
+        "__id__": 20
+      },
+      {
+        "__id__": 23
+      },
+      {
+        "__id__": 26
+      }
+    ],
+    "_active": true,
+    "_components": [
+      {
+        "__id__": 29
+      }
+    ],
+    "_prefab": {
+      "__id__": 30
+    },
+    "_opacity": 255,
+    "_color": {
+      "__type__": "cc.Color",
+      "r": 255,
+      "g": 255,
+      "b": 255,
+      "a": 255
+    },
+    "_contentSize": {
+      "__type__": "cc.Size",
+      "width": 115,
+      "height": 108
+    },
+    "_anchorPoint": {
+      "__type__": "cc.Vec2",
+      "x": 0.5,
+      "y": 0.5
+    },
+    "_trs": {
+      "__type__": "TypedArray",
+      "ctor": "Float64Array",
+      "array": [
+        -160,
+        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": ""
+  },
+  {
+    "__type__": "cc.Node",
+    "_name": "qipao_hb",
+    "_objFlags": 0,
+    "_parent": {
+      "__id__": 19
+    },
+    "_children": [],
+    "_active": true,
+    "_components": [
+      {
+        "__id__": 21
+      }
+    ],
+    "_prefab": {
+      "__id__": 22
+    },
+    "_opacity": 255,
+    "_color": {
+      "__type__": "cc.Color",
+      "r": 255,
+      "g": 255,
+      "b": 255,
+      "a": 255
+    },
+    "_contentSize": {
+      "__type__": "cc.Size",
+      "width": 61,
+      "height": 79
+    },
+    "_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": ""
+  },
+  {
+    "__type__": "cc.Sprite",
+    "_name": "",
+    "_objFlags": 0,
+    "node": {
+      "__id__": 20
+    },
+    "_enabled": true,
+    "_materials": [
+      {
+        "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
+      }
+    ],
+    "_srcBlendFactor": 770,
+    "_dstBlendFactor": 771,
+    "_spriteFrame": {
+      "__uuid__": "292c026e-580c-48ee-aecb-afaf6a560a63"
+    },
+    "_type": 0,
+    "_sizeMode": 1,
+    "_fillType": 0,
+    "_fillCenter": {
+      "__type__": "cc.Vec2",
+      "x": 0,
+      "y": 0
+    },
+    "_fillStart": 0,
+    "_fillRange": 0,
+    "_isTrimmedMode": true,
+    "_atlas": null,
+    "_id": ""
+  },
+  {
+    "__type__": "cc.PrefabInfo",
+    "root": {
+      "__id__": 19
+    },
+    "asset": {
+      "__uuid__": "ec923f8e-c546-49d0-b91f-36dfbf416120"
+    },
+    "fileId": "a4O9/qknhGraevb8T8KhzD",
+    "sync": false
+  },
+  {
+    "__type__": "cc.Node",
+    "_name": "qipao",
+    "_objFlags": 0,
+    "_parent": {
+      "__id__": 19
+    },
+    "_children": [],
+    "_active": true,
+    "_components": [
+      {
+        "__id__": 24
+      }
+    ],
+    "_prefab": {
+      "__id__": 25
+    },
+    "_opacity": 255,
+    "_color": {
+      "__type__": "cc.Color",
+      "r": 255,
+      "g": 255,
+      "b": 255,
+      "a": 255
+    },
+    "_contentSize": {
+      "__type__": "cc.Size",
+      "width": 115,
+      "height": 108
+    },
+    "_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": ""
+  },
+  {
+    "__type__": "cc.Sprite",
+    "_name": "",
+    "_objFlags": 0,
+    "node": {
+      "__id__": 23
+    },
+    "_enabled": true,
+    "_materials": [
+      {
+        "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
+      }
+    ],
+    "_srcBlendFactor": 770,
+    "_dstBlendFactor": 771,
+    "_spriteFrame": {
+      "__uuid__": "20a8e97d-7bce-4667-917e-7ccabdbf66b9"
+    },
+    "_type": 0,
+    "_sizeMode": 1,
+    "_fillType": 0,
+    "_fillCenter": {
+      "__type__": "cc.Vec2",
+      "x": 0,
+      "y": 0
+    },
+    "_fillStart": 0,
+    "_fillRange": 0,
+    "_isTrimmedMode": true,
+    "_atlas": null,
+    "_id": ""
+  },
+  {
+    "__type__": "cc.PrefabInfo",
+    "root": {
+      "__id__": 19
+    },
+    "asset": {
+      "__uuid__": "ec923f8e-c546-49d0-b91f-36dfbf416120"
+    },
+    "fileId": "2eDjIWmr9Plpd0KSJ9ZNC+",
+    "sync": false
+  },
+  {
+    "__type__": "cc.Node",
+    "_name": "New Label",
+    "_objFlags": 0,
+    "_parent": {
+      "__id__": 19
+    },
+    "_children": [],
+    "_active": true,
+    "_components": [
+      {
+        "__id__": 27
+      }
+    ],
+    "_prefab": {
+      "__id__": 28
+    },
+    "_opacity": 255,
+    "_color": {
+      "__type__": "cc.Color",
+      "r": 255,
+      "g": 255,
+      "b": 255,
+      "a": 255
+    },
+    "_contentSize": {
+      "__type__": "cc.Size",
+      "width": 40,
+      "height": 25.2
+    },
+    "_anchorPoint": {
+      "__type__": "cc.Vec2",
+      "x": 0.5,
+      "y": 0.5
+    },
+    "_trs": {
+      "__type__": "TypedArray",
+      "ctor": "Float64Array",
+      "array": [
+        0,
+        -15,
+        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": ""
+  },
+  {
+    "__type__": "cc.Label",
+    "_name": "",
+    "_objFlags": 0,
+    "node": {
+      "__id__": 26
+    },
+    "_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,
+    "_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": ""
+  },
+  {
+    "__type__": "cc.PrefabInfo",
+    "root": {
+      "__id__": 19
+    },
+    "asset": {
+      "__uuid__": "ec923f8e-c546-49d0-b91f-36dfbf416120"
+    },
+    "fileId": "84LccR5rlKP6thQuhZGcgR",
+    "sync": false
+  },
+  {
+    "__type__": "b8d2cnq+GZLFK30xbLDqr/m",
+    "_name": "",
+    "_objFlags": 0,
+    "node": {
+      "__id__": 19
+    },
+    "_enabled": true,
+    "panel_name": "module/reward/rewardLuck",
+    "open_type": 0,
+    "transition_type": 0,
+    "onComplete": [],
+    "_id": ""
+  },
+  {
+    "__type__": "cc.PrefabInfo",
+    "root": {
+      "__id__": 19
+    },
+    "asset": {
+      "__uuid__": "ec923f8e-c546-49d0-b91f-36dfbf416120"
+    },
+    "fileId": "fbNRs8rJhN4K6+eoB6k6Cb",
+    "sync": false
+  },
+  {
+    "__type__": "cc.Node",
+    "_name": "redbagitem",
+    "_objFlags": 0,
+    "_parent": {
+      "__id__": 18
+    },
+    "_children": [
+      {
+        "__id__": 32
+      },
+      {
+        "__id__": 35
+      },
+      {
+        "__id__": 38
+      }
+    ],
+    "_active": true,
+    "_components": [
+      {
+        "__id__": 41
+      }
+    ],
+    "_prefab": {
+      "__id__": 42
+    },
+    "_opacity": 255,
+    "_color": {
+      "__type__": "cc.Color",
+      "r": 255,
+      "g": 255,
+      "b": 255,
+      "a": 255
+    },
+    "_contentSize": {
+      "__type__": "cc.Size",
+      "width": 115,
+      "height": 108
+    },
+    "_anchorPoint": {
+      "__type__": "cc.Vec2",
+      "x": 0.5,
+      "y": 0.5
+    },
+    "_trs": {
+      "__type__": "TypedArray",
+      "ctor": "Float64Array",
+      "array": [
+        -304.085,
+        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": ""
+  },
+  {
+    "__type__": "cc.Node",
+    "_name": "qipao_hb",
+    "_objFlags": 0,
+    "_parent": {
+      "__id__": 31
+    },
+    "_children": [],
+    "_active": true,
+    "_components": [
+      {
+        "__id__": 33
+      }
+    ],
+    "_prefab": {
+      "__id__": 34
+    },
+    "_opacity": 255,
+    "_color": {
+      "__type__": "cc.Color",
+      "r": 255,
+      "g": 255,
+      "b": 255,
+      "a": 255
+    },
+    "_contentSize": {
+      "__type__": "cc.Size",
+      "width": 61,
+      "height": 79
+    },
+    "_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": ""
+  },
+  {
+    "__type__": "cc.Sprite",
+    "_name": "",
+    "_objFlags": 0,
+    "node": {
+      "__id__": 32
+    },
+    "_enabled": true,
+    "_materials": [
+      {
+        "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
+      }
+    ],
+    "_srcBlendFactor": 770,
+    "_dstBlendFactor": 771,
+    "_spriteFrame": {
+      "__uuid__": "292c026e-580c-48ee-aecb-afaf6a560a63"
+    },
+    "_type": 0,
+    "_sizeMode": 1,
+    "_fillType": 0,
+    "_fillCenter": {
+      "__type__": "cc.Vec2",
+      "x": 0,
+      "y": 0
+    },
+    "_fillStart": 0,
+    "_fillRange": 0,
+    "_isTrimmedMode": true,
+    "_atlas": null,
+    "_id": ""
+  },
+  {
+    "__type__": "cc.PrefabInfo",
+    "root": {
+      "__id__": 31
+    },
+    "asset": {
+      "__uuid__": "ec923f8e-c546-49d0-b91f-36dfbf416120"
+    },
+    "fileId": "a4O9/qknhGraevb8T8KhzD",
+    "sync": false
+  },
+  {
+    "__type__": "cc.Node",
+    "_name": "qipao",
+    "_objFlags": 0,
+    "_parent": {
+      "__id__": 31
+    },
+    "_children": [],
+    "_active": true,
+    "_components": [
+      {
+        "__id__": 36
+      }
+    ],
+    "_prefab": {
+      "__id__": 37
+    },
+    "_opacity": 255,
+    "_color": {
+      "__type__": "cc.Color",
+      "r": 255,
+      "g": 255,
+      "b": 255,
+      "a": 255
+    },
+    "_contentSize": {
+      "__type__": "cc.Size",
+      "width": 115,
+      "height": 108
+    },
+    "_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": ""
+  },
+  {
+    "__type__": "cc.Sprite",
+    "_name": "",
+    "_objFlags": 0,
+    "node": {
+      "__id__": 35
+    },
+    "_enabled": true,
+    "_materials": [
+      {
+        "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
+      }
+    ],
+    "_srcBlendFactor": 770,
+    "_dstBlendFactor": 771,
+    "_spriteFrame": {
+      "__uuid__": "20a8e97d-7bce-4667-917e-7ccabdbf66b9"
+    },
+    "_type": 0,
+    "_sizeMode": 1,
+    "_fillType": 0,
+    "_fillCenter": {
+      "__type__": "cc.Vec2",
+      "x": 0,
+      "y": 0
+    },
+    "_fillStart": 0,
+    "_fillRange": 0,
+    "_isTrimmedMode": true,
+    "_atlas": null,
+    "_id": ""
+  },
+  {
+    "__type__": "cc.PrefabInfo",
+    "root": {
+      "__id__": 31
+    },
+    "asset": {
+      "__uuid__": "ec923f8e-c546-49d0-b91f-36dfbf416120"
+    },
+    "fileId": "2eDjIWmr9Plpd0KSJ9ZNC+",
+    "sync": false
+  },
+  {
+    "__type__": "cc.Node",
+    "_name": "New Label",
+    "_objFlags": 0,
+    "_parent": {
+      "__id__": 31
+    },
+    "_children": [],
+    "_active": true,
+    "_components": [
+      {
+        "__id__": 39
+      }
+    ],
+    "_prefab": {
+      "__id__": 40
+    },
+    "_opacity": 255,
+    "_color": {
+      "__type__": "cc.Color",
+      "r": 255,
+      "g": 255,
+      "b": 255,
+      "a": 255
+    },
+    "_contentSize": {
+      "__type__": "cc.Size",
+      "width": 40,
+      "height": 25.2
+    },
+    "_anchorPoint": {
+      "__type__": "cc.Vec2",
+      "x": 0.5,
+      "y": 0.5
+    },
+    "_trs": {
+      "__type__": "TypedArray",
+      "ctor": "Float64Array",
+      "array": [
+        0,
+        -15,
+        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": ""
+  },
+  {
+    "__type__": "cc.Label",
+    "_name": "",
+    "_objFlags": 0,
+    "node": {
+      "__id__": 38
+    },
+    "_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,
+    "_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": ""
+  },
+  {
+    "__type__": "cc.PrefabInfo",
+    "root": {
+      "__id__": 31
+    },
+    "asset": {
+      "__uuid__": "ec923f8e-c546-49d0-b91f-36dfbf416120"
+    },
+    "fileId": "84LccR5rlKP6thQuhZGcgR",
+    "sync": false
+  },
+  {
+    "__type__": "b8d2cnq+GZLFK30xbLDqr/m",
+    "_name": "",
+    "_objFlags": 0,
+    "node": {
+      "__id__": 31
+    },
+    "_enabled": true,
+    "panel_name": "module/reward/rewardLuck",
+    "open_type": 0,
+    "transition_type": 0,
+    "onComplete": [],
+    "_id": ""
+  },
+  {
+    "__type__": "cc.PrefabInfo",
+    "root": {
+      "__id__": 31
+    },
+    "asset": {
+      "__uuid__": "ec923f8e-c546-49d0-b91f-36dfbf416120"
+    },
+    "fileId": "64q5IuZJdDgacYsebmE/Vl",
+    "sync": false
+  },
+  {
+    "__type__": "cc.Node",
+    "_name": "redbagitem",
+    "_objFlags": 0,
+    "_parent": {
+      "__id__": 18
+    },
+    "_children": [
+      {
+        "__id__": 44
+      },
+      {
+        "__id__": 47
+      },
+      {
+        "__id__": 50
+      }
+    ],
+    "_active": true,
+    "_components": [
+      {
+        "__id__": 53
+      }
+    ],
+    "_prefab": {
+      "__id__": 54
+    },
+    "_opacity": 255,
+    "_color": {
+      "__type__": "cc.Color",
+      "r": 255,
+      "g": 255,
+      "b": 255,
+      "a": 255
+    },
+    "_contentSize": {
+      "__type__": "cc.Size",
+      "width": 115,
+      "height": 108
+    },
+    "_anchorPoint": {
+      "__type__": "cc.Vec2",
+      "x": 0.5,
+      "y": 0.5
+    },
+    "_trs": {
+      "__type__": "TypedArray",
+      "ctor": "Float64Array",
+      "array": [
+        138.031,
+        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": ""
+  },
+  {
+    "__type__": "cc.Node",
+    "_name": "qipao_hb",
+    "_objFlags": 0,
+    "_parent": {
+      "__id__": 43
+    },
+    "_children": [],
+    "_active": true,
+    "_components": [
+      {
+        "__id__": 45
+      }
+    ],
+    "_prefab": {
+      "__id__": 46
+    },
+    "_opacity": 255,
+    "_color": {
+      "__type__": "cc.Color",
+      "r": 255,
+      "g": 255,
+      "b": 255,
+      "a": 255
+    },
+    "_contentSize": {
+      "__type__": "cc.Size",
+      "width": 61,
+      "height": 79
+    },
+    "_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": ""
+  },
+  {
+    "__type__": "cc.Sprite",
+    "_name": "",
+    "_objFlags": 0,
+    "node": {
+      "__id__": 44
+    },
+    "_enabled": true,
+    "_materials": [
+      {
+        "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
+      }
+    ],
+    "_srcBlendFactor": 770,
+    "_dstBlendFactor": 771,
+    "_spriteFrame": {
+      "__uuid__": "292c026e-580c-48ee-aecb-afaf6a560a63"
+    },
+    "_type": 0,
+    "_sizeMode": 1,
+    "_fillType": 0,
+    "_fillCenter": {
+      "__type__": "cc.Vec2",
+      "x": 0,
+      "y": 0
+    },
+    "_fillStart": 0,
+    "_fillRange": 0,
+    "_isTrimmedMode": true,
+    "_atlas": null,
+    "_id": ""
+  },
+  {
+    "__type__": "cc.PrefabInfo",
+    "root": {
+      "__id__": 43
+    },
+    "asset": {
+      "__uuid__": "ec923f8e-c546-49d0-b91f-36dfbf416120"
+    },
+    "fileId": "a4O9/qknhGraevb8T8KhzD",
+    "sync": false
+  },
+  {
+    "__type__": "cc.Node",
+    "_name": "qipao",
+    "_objFlags": 0,
+    "_parent": {
+      "__id__": 43
+    },
+    "_children": [],
+    "_active": true,
+    "_components": [
+      {
+        "__id__": 48
+      }
+    ],
+    "_prefab": {
+      "__id__": 49
+    },
+    "_opacity": 255,
+    "_color": {
+      "__type__": "cc.Color",
+      "r": 255,
+      "g": 255,
+      "b": 255,
+      "a": 255
+    },
+    "_contentSize": {
+      "__type__": "cc.Size",
+      "width": 115,
+      "height": 108
+    },
+    "_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": ""
+  },
+  {
+    "__type__": "cc.Sprite",
+    "_name": "",
+    "_objFlags": 0,
+    "node": {
+      "__id__": 47
+    },
+    "_enabled": true,
+    "_materials": [
+      {
+        "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
+      }
+    ],
+    "_srcBlendFactor": 770,
+    "_dstBlendFactor": 771,
+    "_spriteFrame": {
+      "__uuid__": "20a8e97d-7bce-4667-917e-7ccabdbf66b9"
+    },
+    "_type": 0,
+    "_sizeMode": 1,
+    "_fillType": 0,
+    "_fillCenter": {
+      "__type__": "cc.Vec2",
+      "x": 0,
+      "y": 0
+    },
+    "_fillStart": 0,
+    "_fillRange": 0,
+    "_isTrimmedMode": true,
+    "_atlas": null,
+    "_id": ""
+  },
+  {
+    "__type__": "cc.PrefabInfo",
+    "root": {
+      "__id__": 43
+    },
+    "asset": {
+      "__uuid__": "ec923f8e-c546-49d0-b91f-36dfbf416120"
+    },
+    "fileId": "2eDjIWmr9Plpd0KSJ9ZNC+",
+    "sync": false
+  },
+  {
+    "__type__": "cc.Node",
+    "_name": "New Label",
+    "_objFlags": 0,
+    "_parent": {
+      "__id__": 43
+    },
+    "_children": [],
+    "_active": true,
+    "_components": [
+      {
+        "__id__": 51
+      }
+    ],
+    "_prefab": {
+      "__id__": 52
+    },
+    "_opacity": 255,
+    "_color": {
+      "__type__": "cc.Color",
+      "r": 255,
+      "g": 255,
+      "b": 255,
+      "a": 255
+    },
+    "_contentSize": {
+      "__type__": "cc.Size",
+      "width": 40,
+      "height": 25.2
+    },
+    "_anchorPoint": {
+      "__type__": "cc.Vec2",
+      "x": 0.5,
+      "y": 0.5
+    },
+    "_trs": {
+      "__type__": "TypedArray",
+      "ctor": "Float64Array",
+      "array": [
+        0,
+        -15,
+        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": ""
+  },
+  {
+    "__type__": "cc.Label",
+    "_name": "",
+    "_objFlags": 0,
+    "node": {
+      "__id__": 50
+    },
+    "_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,
+    "_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": ""
+  },
+  {
+    "__type__": "cc.PrefabInfo",
+    "root": {
+      "__id__": 43
+    },
+    "asset": {
+      "__uuid__": "ec923f8e-c546-49d0-b91f-36dfbf416120"
+    },
+    "fileId": "84LccR5rlKP6thQuhZGcgR",
+    "sync": false
+  },
+  {
+    "__type__": "b8d2cnq+GZLFK30xbLDqr/m",
+    "_name": "",
+    "_objFlags": 0,
+    "node": {
+      "__id__": 43
+    },
+    "_enabled": true,
+    "panel_name": "module/reward/rewardLuck",
+    "open_type": 0,
+    "transition_type": 0,
+    "onComplete": [],
+    "_id": ""
+  },
+  {
+    "__type__": "cc.PrefabInfo",
+    "root": {
+      "__id__": 43
+    },
+    "asset": {
+      "__uuid__": "ec923f8e-c546-49d0-b91f-36dfbf416120"
+    },
+    "fileId": "82dAaWOwFEmp9Lgcul5WSk",
+    "sync": false
+  },
+  {
+    "__type__": "cc.Node",
+    "_name": "redbagitem",
+    "_objFlags": 0,
+    "_parent": {
+      "__id__": 18
+    },
+    "_children": [
+      {
+        "__id__": 56
+      },
+      {
+        "__id__": 59
+      },
+      {
+        "__id__": 62
+      }
+    ],
+    "_active": true,
+    "_components": [
+      {
+        "__id__": 65
+      }
+    ],
+    "_prefab": {
+      "__id__": 66
+    },
+    "_opacity": 255,
+    "_color": {
+      "__type__": "cc.Color",
+      "r": 255,
+      "g": 255,
+      "b": 255,
+      "a": 255
+    },
+    "_contentSize": {
+      "__type__": "cc.Size",
+      "width": 115,
+      "height": 108
+    },
+    "_anchorPoint": {
+      "__type__": "cc.Vec2",
+      "x": 0.5,
+      "y": 0.5
+    },
+    "_trs": {
+      "__type__": "TypedArray",
+      "ctor": "Float64Array",
+      "array": [
+        293.257,
+        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": ""
+  },
+  {
+    "__type__": "cc.Node",
+    "_name": "qipao_hb",
+    "_objFlags": 0,
+    "_parent": {
+      "__id__": 55
+    },
+    "_children": [],
+    "_active": true,
+    "_components": [
+      {
+        "__id__": 57
+      }
+    ],
+    "_prefab": {
+      "__id__": 58
+    },
+    "_opacity": 255,
+    "_color": {
+      "__type__": "cc.Color",
+      "r": 255,
+      "g": 255,
+      "b": 255,
+      "a": 255
+    },
+    "_contentSize": {
+      "__type__": "cc.Size",
+      "width": 61,
+      "height": 79
+    },
+    "_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": ""
+  },
+  {
+    "__type__": "cc.Sprite",
+    "_name": "",
+    "_objFlags": 0,
+    "node": {
+      "__id__": 56
+    },
+    "_enabled": true,
+    "_materials": [
+      {
+        "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
+      }
+    ],
+    "_srcBlendFactor": 770,
+    "_dstBlendFactor": 771,
+    "_spriteFrame": {
+      "__uuid__": "292c026e-580c-48ee-aecb-afaf6a560a63"
+    },
+    "_type": 0,
+    "_sizeMode": 1,
+    "_fillType": 0,
+    "_fillCenter": {
+      "__type__": "cc.Vec2",
+      "x": 0,
+      "y": 0
+    },
+    "_fillStart": 0,
+    "_fillRange": 0,
+    "_isTrimmedMode": true,
+    "_atlas": null,
+    "_id": ""
+  },
+  {
+    "__type__": "cc.PrefabInfo",
+    "root": {
+      "__id__": 55
+    },
+    "asset": {
+      "__uuid__": "ec923f8e-c546-49d0-b91f-36dfbf416120"
+    },
+    "fileId": "a4O9/qknhGraevb8T8KhzD",
+    "sync": false
+  },
+  {
+    "__type__": "cc.Node",
+    "_name": "qipao",
+    "_objFlags": 0,
+    "_parent": {
+      "__id__": 55
+    },
+    "_children": [],
+    "_active": true,
+    "_components": [
+      {
+        "__id__": 60
+      }
+    ],
+    "_prefab": {
+      "__id__": 61
+    },
+    "_opacity": 255,
+    "_color": {
+      "__type__": "cc.Color",
+      "r": 255,
+      "g": 255,
+      "b": 255,
+      "a": 255
+    },
+    "_contentSize": {
+      "__type__": "cc.Size",
+      "width": 115,
+      "height": 108
+    },
+    "_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": ""
+  },
+  {
+    "__type__": "cc.Sprite",
+    "_name": "",
+    "_objFlags": 0,
+    "node": {
+      "__id__": 59
+    },
+    "_enabled": true,
+    "_materials": [
+      {
+        "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
+      }
+    ],
+    "_srcBlendFactor": 770,
+    "_dstBlendFactor": 771,
+    "_spriteFrame": {
+      "__uuid__": "20a8e97d-7bce-4667-917e-7ccabdbf66b9"
+    },
+    "_type": 0,
+    "_sizeMode": 1,
+    "_fillType": 0,
+    "_fillCenter": {
+      "__type__": "cc.Vec2",
+      "x": 0,
+      "y": 0
+    },
+    "_fillStart": 0,
+    "_fillRange": 0,
+    "_isTrimmedMode": true,
+    "_atlas": null,
+    "_id": ""
+  },
+  {
+    "__type__": "cc.PrefabInfo",
+    "root": {
+      "__id__": 55
+    },
+    "asset": {
+      "__uuid__": "ec923f8e-c546-49d0-b91f-36dfbf416120"
+    },
+    "fileId": "2eDjIWmr9Plpd0KSJ9ZNC+",
+    "sync": false
+  },
+  {
+    "__type__": "cc.Node",
+    "_name": "New Label",
+    "_objFlags": 0,
+    "_parent": {
+      "__id__": 55
+    },
+    "_children": [],
+    "_active": true,
+    "_components": [
+      {
+        "__id__": 63
+      }
+    ],
+    "_prefab": {
+      "__id__": 64
+    },
+    "_opacity": 255,
+    "_color": {
+      "__type__": "cc.Color",
+      "r": 255,
+      "g": 255,
+      "b": 255,
+      "a": 255
+    },
+    "_contentSize": {
+      "__type__": "cc.Size",
+      "width": 40,
+      "height": 25.2
+    },
+    "_anchorPoint": {
+      "__type__": "cc.Vec2",
+      "x": 0.5,
+      "y": 0.5
+    },
+    "_trs": {
+      "__type__": "TypedArray",
+      "ctor": "Float64Array",
+      "array": [
+        0,
+        -15,
+        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": ""
+  },
+  {
+    "__type__": "cc.Label",
+    "_name": "",
+    "_objFlags": 0,
+    "node": {
+      "__id__": 62
+    },
+    "_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,
+    "_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": ""
+  },
+  {
+    "__type__": "cc.PrefabInfo",
+    "root": {
+      "__id__": 55
+    },
+    "asset": {
+      "__uuid__": "ec923f8e-c546-49d0-b91f-36dfbf416120"
+    },
+    "fileId": "84LccR5rlKP6thQuhZGcgR",
+    "sync": false
+  },
+  {
+    "__type__": "b8d2cnq+GZLFK30xbLDqr/m",
+    "_name": "",
+    "_objFlags": 0,
+    "node": {
+      "__id__": 55
+    },
+    "_enabled": true,
+    "panel_name": "module/reward/rewardLuck",
+    "open_type": 0,
+    "transition_type": 0,
+    "onComplete": [],
+    "_id": ""
+  },
+  {
+    "__type__": "cc.PrefabInfo",
+    "root": {
+      "__id__": 55
+    },
+    "asset": {
+      "__uuid__": "ec923f8e-c546-49d0-b91f-36dfbf416120"
+    },
+    "fileId": "f6JAY8iWJDzIrldVSm0MDe",
+    "sync": false
+  },
+  {
+    "__type__": "cc.PrefabInfo",
+    "root": {
+      "__id__": 1
+    },
+    "asset": {
+      "__uuid__": "4c49ec9e-c64a-4921-84eb-9bdd737656e5"
+    },
+    "fileId": "bcFmv7qDxKu5mfRa/tufP0",
+    "sync": false
+  },
+  {
+    "__type__": "cc.Node",
+    "_name": "node_progressUI",
+    "_objFlags": 0,
+    "_parent": {
+      "__id__": 1
+    },
+    "_children": [
+      {
+        "__id__": 69
+      },
+      {
+        "__id__": 72
+      },
+      {
+        "__id__": 78
+      }
+    ],
+    "_active": true,
+    "_components": [],
+    "_prefab": {
+      "__id__": 87
+    },
+    "_opacity": 255,
+    "_color": {
+      "__type__": "cc.Color",
+      "r": 255,
+      "g": 255,
+      "b": 255,
+      "a": 255
+    },
+    "_contentSize": {
+      "__type__": "cc.Size",
+      "width": 0,
+      "height": 0
+    },
+    "_anchorPoint": {
+      "__type__": "cc.Vec2",
+      "x": 0.5,
+      "y": 0.5
+    },
+    "_trs": {
+      "__type__": "TypedArray",
+      "ctor": "Float64Array",
+      "array": [
+        0,
+        334.941,
+        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": ""
+  },
+  {
+    "__type__": "cc.Node",
+    "_name": "hb_bg",
+    "_objFlags": 0,
+    "_parent": {
+      "__id__": 68
+    },
+    "_children": [],
+    "_active": true,
+    "_components": [
+      {
+        "__id__": 70
+      }
+    ],
+    "_prefab": {
+      "__id__": 71
+    },
+    "_opacity": 255,
+    "_color": {
+      "__type__": "cc.Color",
+      "r": 255,
+      "g": 255,
+      "b": 255,
+      "a": 255
+    },
+    "_contentSize": {
+      "__type__": "cc.Size",
+      "width": 167,
+      "height": 112
+    },
+    "_anchorPoint": {
+      "__type__": "cc.Vec2",
+      "x": 0.5,
+      "y": 0.5
+    },
+    "_trs": {
+      "__type__": "TypedArray",
+      "ctor": "Float64Array",
+      "array": [
+        0,
+        21.861,
+        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": ""
+  },
+  {
+    "__type__": "cc.Sprite",
+    "_name": "",
+    "_objFlags": 0,
+    "node": {
+      "__id__": 69
+    },
+    "_enabled": true,
+    "_materials": [
+      {
+        "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
+      }
+    ],
+    "_srcBlendFactor": 770,
+    "_dstBlendFactor": 771,
+    "_spriteFrame": {
+      "__uuid__": "f1d7c2b7-239d-43f8-a962-db63e28f7327"
+    },
+    "_type": 0,
+    "_sizeMode": 1,
+    "_fillType": 0,
+    "_fillCenter": {
+      "__type__": "cc.Vec2",
+      "x": 0,
+      "y": 0
+    },
+    "_fillStart": 0,
+    "_fillRange": 0,
+    "_isTrimmedMode": true,
+    "_atlas": null,
+    "_id": ""
+  },
+  {
+    "__type__": "cc.PrefabInfo",
+    "root": {
+      "__id__": 1
+    },
+    "asset": {
+      "__uuid__": "4c49ec9e-c64a-4921-84eb-9bdd737656e5"
+    },
+    "fileId": "83U/6bWgJFiJ37ymJZ4ui9",
+    "sync": false
+  },
+  {
+    "__type__": "cc.Node",
+    "_name": "node_redPacketIcon",
+    "_objFlags": 0,
+    "_parent": {
+      "__id__": 68
+    },
+    "_children": [
+      {
+        "__id__": 73
+      }
+    ],
+    "_active": true,
+    "_components": [
+      {
+        "__id__": 76
+      }
+    ],
+    "_prefab": {
+      "__id__": 77
+    },
+    "_opacity": 255,
+    "_color": {
+      "__type__": "cc.Color",
+      "r": 255,
+      "g": 255,
+      "b": 255,
+      "a": 255
+    },
+    "_contentSize": {
+      "__type__": "cc.Size",
+      "width": 85,
+      "height": 112
+    },
+    "_anchorPoint": {
+      "__type__": "cc.Vec2",
+      "x": 0.5,
+      "y": 0.5
+    },
+    "_trs": {
+      "__type__": "TypedArray",
+      "ctor": "Float64Array",
+      "array": [
+        0,
+        63.005,
+        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": ""
+  },
+  {
+    "__type__": "cc.Node",
+    "_name": "spr_progress",
+    "_objFlags": 0,
+    "_parent": {
+      "__id__": 72
+    },
+    "_children": [],
+    "_active": true,
+    "_components": [
+      {
+        "__id__": 74
+      }
+    ],
+    "_prefab": {
+      "__id__": 75
+    },
+    "_opacity": 255,
+    "_color": {
+      "__type__": "cc.Color",
+      "r": 255,
+      "g": 255,
+      "b": 255,
+      "a": 255
+    },
+    "_contentSize": {
+      "__type__": "cc.Size",
+      "width": 85,
+      "height": 112
+    },
+    "_anchorPoint": {
+      "__type__": "cc.Vec2",
+      "x": 0.5,
+      "y": 0
+    },
+    "_trs": {
+      "__type__": "TypedArray",
+      "ctor": "Float64Array",
+      "array": [
+        0,
+        -56,
+        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": ""
+  },
+  {
+    "__type__": "cc.Sprite",
+    "_name": "",
+    "_objFlags": 0,
+    "node": {
+      "__id__": 73
+    },
+    "_enabled": true,
+    "_materials": [
+      {
+        "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
+      }
+    ],
+    "_srcBlendFactor": 770,
+    "_dstBlendFactor": 771,
+    "_spriteFrame": {
+      "__uuid__": "eab4a3e2-1348-4a4a-b624-155f21f77e04"
+    },
+    "_type": 3,
+    "_sizeMode": 0,
+    "_fillType": 1,
+    "_fillCenter": {
+      "__type__": "cc.Vec2",
+      "x": 0,
+      "y": 0
+    },
+    "_fillStart": 0,
+    "_fillRange": 1,
+    "_isTrimmedMode": true,
+    "_atlas": null,
+    "_id": ""
+  },
+  {
+    "__type__": "cc.PrefabInfo",
+    "root": {
+      "__id__": 1
+    },
+    "asset": {
+      "__uuid__": "4c49ec9e-c64a-4921-84eb-9bdd737656e5"
+    },
+    "fileId": "1bBo+1DoVNiZKhvDcR/6QN",
+    "sync": false
+  },
+  {
+    "__type__": "cc.Sprite",
+    "_name": "",
+    "_objFlags": 0,
+    "node": {
+      "__id__": 72
+    },
+    "_enabled": true,
+    "_materials": [
+      {
+        "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
+      }
+    ],
+    "_srcBlendFactor": 770,
+    "_dstBlendFactor": 771,
+    "_spriteFrame": {
+      "__uuid__": "185ccf25-ff2e-4b00-887e-b76c314cf78a"
+    },
+    "_type": 0,
+    "_sizeMode": 1,
+    "_fillType": 0,
+    "_fillCenter": {
+      "__type__": "cc.Vec2",
+      "x": 0,
+      "y": 0
+    },
+    "_fillStart": 0,
+    "_fillRange": 0,
+    "_isTrimmedMode": true,
+    "_atlas": null,
+    "_id": ""
+  },
+  {
+    "__type__": "cc.PrefabInfo",
+    "root": {
+      "__id__": 1
+    },
+    "asset": {
+      "__uuid__": "4c49ec9e-c64a-4921-84eb-9bdd737656e5"
+    },
+    "fileId": "d81BSrkvhJqL3fGYrk5wXS",
+    "sync": false
+  },
+  {
+    "__type__": "cc.Node",
+    "_name": "node_level",
+    "_objFlags": 0,
+    "_parent": {
+      "__id__": 68
+    },
+    "_children": [
+      {
+        "__id__": 79
+      },
+      {
+        "__id__": 82
+      }
+    ],
+    "_active": true,
+    "_components": [],
+    "_prefab": {
+      "__id__": 86
+    },
+    "_opacity": 255,
+    "_color": {
+      "__type__": "cc.Color",
+      "r": 255,
+      "g": 255,
+      "b": 255,
+      "a": 255
+    },
+    "_contentSize": {
+      "__type__": "cc.Size",
+      "width": 0,
+      "height": 0
+    },
+    "_anchorPoint": {
+      "__type__": "cc.Vec2",
+      "x": 0.5,
+      "y": 0.5
+    },
+    "_trs": {
+      "__type__": "TypedArray",
+      "ctor": "Float64Array",
+      "array": [
+        0,
+        -22.094,
+        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": ""
+  },
+  {
+    "__type__": "cc.Node",
+    "_name": "level",
+    "_objFlags": 0,
+    "_parent": {
+      "__id__": 78
+    },
+    "_children": [],
+    "_active": true,
+    "_components": [
+      {
+        "__id__": 80
+      }
+    ],
+    "_prefab": {
+      "__id__": 81
+    },
+    "_opacity": 255,
+    "_color": {
+      "__type__": "cc.Color",
+      "r": 255,
+      "g": 255,
+      "b": 255,
+      "a": 255
+    },
+    "_contentSize": {
+      "__type__": "cc.Size",
+      "width": 140,
+      "height": 50
+    },
+    "_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": ""
+  },
+  {
+    "__type__": "cc.Sprite",
+    "_name": "",
+    "_objFlags": 0,
+    "node": {
+      "__id__": 79
+    },
+    "_enabled": true,
+    "_materials": [
+      {
+        "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
+      }
+    ],
+    "_srcBlendFactor": 770,
+    "_dstBlendFactor": 771,
+    "_spriteFrame": {
+      "__uuid__": "67d1ec84-1c48-4c88-bdc2-a6d9cdd52408"
+    },
+    "_type": 0,
+    "_sizeMode": 1,
+    "_fillType": 0,
+    "_fillCenter": {
+      "__type__": "cc.Vec2",
+      "x": 0,
+      "y": 0
+    },
+    "_fillStart": 0,
+    "_fillRange": 0,
+    "_isTrimmedMode": true,
+    "_atlas": null,
+    "_id": ""
+  },
+  {
+    "__type__": "cc.PrefabInfo",
+    "root": {
+      "__id__": 1
+    },
+    "asset": {
+      "__uuid__": "4c49ec9e-c64a-4921-84eb-9bdd737656e5"
+    },
+    "fileId": "bbgBhFArhOb4/M+5yAT9uA",
+    "sync": false
+  },
+  {
+    "__type__": "cc.Node",
+    "_name": "New Label",
+    "_objFlags": 0,
+    "_parent": {
+      "__id__": 78
+    },
+    "_children": [],
+    "_active": true,
+    "_components": [
+      {
+        "__id__": 83
+      },
+      {
+        "__id__": 84
+      }
+    ],
+    "_prefab": {
+      "__id__": 85
+    },
+    "_opacity": 255,
+    "_color": {
+      "__type__": "cc.Color",
+      "r": 255,
+      "g": 255,
+      "b": 255,
+      "a": 255
+    },
+    "_contentSize": {
+      "__type__": "cc.Size",
+      "width": 91.14,
+      "height": 39.28
+    },
+    "_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": ""
+  },
+  {
+    "__type__": "cc.Label",
+    "_name": "",
+    "_objFlags": 0,
+    "node": {
+      "__id__": 82
+    },
+    "_enabled": true,
+    "_materials": [
+      {
+        "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
+      }
+    ],
+    "_srcBlendFactor": 770,
+    "_dstBlendFactor": 771,
+    "_string": "第32关",
+    "_N$string": "第32关",
+    "_fontSize": 28,
+    "_lineHeight": 28,
+    "_enableWrapText": true,
+    "_N$file": null,
+    "_isSystemFontUsed": true,
+    "_spacingX": 0,
+    "_batchAsBitmap": false,
+    "_styleFlags": 1,
+    "_underlineHeight": 0,
+    "_N$horizontalAlign": 1,
+    "_N$verticalAlign": 1,
+    "_N$fontFamily": "Arial",
+    "_N$overflow": 0,
+    "_N$cacheMode": 0,
+    "_id": ""
+  },
+  {
+    "__type__": "cc.LabelOutline",
+    "_name": "",
+    "_objFlags": 0,
+    "node": {
+      "__id__": 82
+    },
+    "_enabled": true,
+    "_color": {
+      "__type__": "cc.Color",
+      "r": 116,
+      "g": 87,
+      "b": 65,
+      "a": 255
+    },
+    "_width": 2,
+    "_id": ""
+  },
+  {
+    "__type__": "cc.PrefabInfo",
+    "root": {
+      "__id__": 1
+    },
+    "asset": {
+      "__uuid__": "4c49ec9e-c64a-4921-84eb-9bdd737656e5"
+    },
+    "fileId": "fcy5NfbYtLObxOXrnzvBPh",
+    "sync": false
+  },
+  {
+    "__type__": "cc.PrefabInfo",
+    "root": {
+      "__id__": 1
+    },
+    "asset": {
+      "__uuid__": "4c49ec9e-c64a-4921-84eb-9bdd737656e5"
+    },
+    "fileId": "c9wHiOj2NLBLfinl6/BbRK",
+    "sync": false
+  },
+  {
+    "__type__": "cc.PrefabInfo",
+    "root": {
+      "__id__": 1
+    },
+    "asset": {
+      "__uuid__": "4c49ec9e-c64a-4921-84eb-9bdd737656e5"
+    },
+    "fileId": "76OSA2Ay9Hi4gTNUWPd2T1",
+    "sync": false
+  },
+  {
+    "__type__": "cc.Node",
+    "_name": "node_top",
+    "_objFlags": 0,
+    "_parent": {
+      "__id__": 1
+    },
+    "_children": [
+      {
+        "__id__": 89
+      },
+      {
+        "__id__": 100
+      }
+    ],
+    "_active": true,
+    "_components": [],
+    "_prefab": {
+      "__id__": 106
+    },
+    "_opacity": 255,
+    "_color": {
+      "__type__": "cc.Color",
+      "r": 255,
+      "g": 255,
+      "b": 255,
+      "a": 255
+    },
+    "_contentSize": {
+      "__type__": "cc.Size",
+      "width": 750,
+      "height": 360
+    },
+    "_anchorPoint": {
+      "__type__": "cc.Vec2",
+      "x": 0.5,
+      "y": 0.5
+    },
+    "_trs": {
+      "__type__": "TypedArray",
+      "ctor": "Float64Array",
+      "array": [
+        0,
+        487,
+        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": ""
+  },
+  {
+    "__type__": "cc.Node",
+    "_name": "node_icon",
+    "_objFlags": 0,
+    "_parent": {
+      "__id__": 88
+    },
+    "_children": [
+      {
+        "__id__": 90
+      }
+    ],
+    "_active": true,
+    "_components": [],
+    "_prefab": {
+      "__id__": 99
+    },
+    "_opacity": 255,
+    "_color": {
+      "__type__": "cc.Color",
+      "r": 255,
+      "g": 255,
+      "b": 255,
+      "a": 255
+    },
+    "_contentSize": {
+      "__type__": "cc.Size",
+      "width": 0,
+      "height": 0
+    },
+    "_anchorPoint": {
+      "__type__": "cc.Vec2",
+      "x": 0.5,
+      "y": 0.5
+    },
+    "_trs": {
+      "__type__": "TypedArray",
+      "ctor": "Float64Array",
+      "array": [
+        0,
+        -490,
+        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": ""
+  },
+  {
+    "__type__": "cc.Node",
+    "_name": "icon",
+    "_objFlags": 0,
+    "_parent": {
+      "__id__": 89
+    },
+    "_children": [
+      {
+        "__id__": 91
+      },
+      {
+        "__id__": 94
+      }
+    ],
+    "_active": true,
+    "_components": [
+      {
+        "__id__": 97
+      }
+    ],
+    "_prefab": {
+      "__id__": 98
+    },
+    "_opacity": 255,
+    "_color": {
+      "__type__": "cc.Color",
+      "r": 255,
+      "g": 255,
+      "b": 255,
+      "a": 255
+    },
+    "_contentSize": {
+      "__type__": "cc.Size",
+      "width": 750,
+      "height": 90
+    },
+    "_anchorPoint": {
+      "__type__": "cc.Vec2",
+      "x": 0.5,
+      "y": 0.5
+    },
+    "_trs": {
+      "__type__": "TypedArray",
+      "ctor": "Float64Array",
+      "array": [
+        0,
+        622,
+        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": ""
+  },
+  {
+    "__type__": "cc.Node",
+    "_name": "leaf1",
+    "_objFlags": 0,
+    "_parent": {
+      "__id__": 90
+    },
+    "_children": [],
+    "_active": true,
+    "_components": [
+      {
+        "__id__": 92
+      }
+    ],
+    "_prefab": {
+      "__id__": 93
+    },
+    "_opacity": 255,
+    "_color": {
+      "__type__": "cc.Color",
+      "r": 255,
+      "g": 255,
+      "b": 255,
+      "a": 255
+    },
+    "_contentSize": {
+      "__type__": "cc.Size",
+      "width": 280,
+      "height": 112
+    },
+    "_anchorPoint": {
+      "__type__": "cc.Vec2",
+      "x": 0.5,
+      "y": 0.5
+    },
+    "_trs": {
+      "__type__": "TypedArray",
+      "ctor": "Float64Array",
+      "array": [
+        233,
+        -11,
+        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": ""
+  },
+  {
+    "__type__": "cc.Sprite",
+    "_name": "",
+    "_objFlags": 0,
+    "node": {
+      "__id__": 91
+    },
+    "_enabled": true,
+    "_materials": [
+      {
+        "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
+      }
+    ],
+    "_srcBlendFactor": 770,
+    "_dstBlendFactor": 771,
+    "_spriteFrame": {
+      "__uuid__": "9b442be3-4e94-4aec-8a41-da8d5c000072"
+    },
+    "_type": 0,
+    "_sizeMode": 1,
+    "_fillType": 0,
+    "_fillCenter": {
+      "__type__": "cc.Vec2",
+      "x": 0,
+      "y": 0
+    },
+    "_fillStart": 0,
+    "_fillRange": 0,
+    "_isTrimmedMode": true,
+    "_atlas": null,
+    "_id": ""
+  },
+  {
+    "__type__": "cc.PrefabInfo",
+    "root": {
+      "__id__": 1
+    },
+    "asset": {
+      "__uuid__": "4c49ec9e-c64a-4921-84eb-9bdd737656e5"
+    },
+    "fileId": "1f+IHtJNJE9Y4jJcagaVDc",
+    "sync": false
+  },
+  {
+    "__type__": "cc.Node",
+    "_name": "leaf2",
+    "_objFlags": 0,
+    "_parent": {
+      "__id__": 90
+    },
+    "_children": [],
+    "_active": true,
+    "_components": [
+      {
+        "__id__": 95
+      }
+    ],
+    "_prefab": {
+      "__id__": 96
+    },
+    "_opacity": 255,
+    "_color": {
+      "__type__": "cc.Color",
+      "r": 255,
+      "g": 255,
+      "b": 255,
+      "a": 255
+    },
+    "_contentSize": {
+      "__type__": "cc.Size",
+      "width": 314,
+      "height": 89
+    },
+    "_anchorPoint": {
+      "__type__": "cc.Vec2",
+      "x": 0.5,
+      "y": 0.5
+    },
+    "_trs": {
+      "__type__": "TypedArray",
+      "ctor": "Float64Array",
+      "array": [
+        -218,
+        0.5,
+        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": ""
+  },
+  {
+    "__type__": "cc.Sprite",
+    "_name": "",
+    "_objFlags": 0,
+    "node": {
+      "__id__": 94
+    },
+    "_enabled": true,
+    "_materials": [
+      {
+        "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
+      }
+    ],
+    "_srcBlendFactor": 770,
+    "_dstBlendFactor": 771,
+    "_spriteFrame": {
+      "__uuid__": "0fe5c2cc-208e-48bc-9b55-a72823768846"
+    },
+    "_type": 0,
+    "_sizeMode": 1,
+    "_fillType": 0,
+    "_fillCenter": {
+      "__type__": "cc.Vec2",
+      "x": 0,
+      "y": 0
+    },
+    "_fillStart": 0,
+    "_fillRange": 0,
+    "_isTrimmedMode": true,
+    "_atlas": null,
+    "_id": ""
+  },
+  {
+    "__type__": "cc.PrefabInfo",
+    "root": {
+      "__id__": 1
+    },
+    "asset": {
+      "__uuid__": "4c49ec9e-c64a-4921-84eb-9bdd737656e5"
+    },
+    "fileId": "d9FFco149JeqXBXdQKZOiN",
+    "sync": false
+  },
+  {
+    "__type__": "cc.Sprite",
+    "_name": "",
+    "_objFlags": 0,
+    "node": {
+      "__id__": 90
+    },
+    "_enabled": true,
+    "_materials": [
+      {
+        "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
+      }
+    ],
+    "_srcBlendFactor": 770,
+    "_dstBlendFactor": 771,
+    "_spriteFrame": null,
+    "_type": 0,
+    "_sizeMode": 1,
+    "_fillType": 0,
+    "_fillCenter": {
+      "__type__": "cc.Vec2",
+      "x": 0,
+      "y": 0
+    },
+    "_fillStart": 0,
+    "_fillRange": 0,
+    "_isTrimmedMode": true,
+    "_atlas": null,
+    "_id": ""
+  },
+  {
+    "__type__": "cc.PrefabInfo",
+    "root": {
+      "__id__": 1
+    },
+    "asset": {
+      "__uuid__": "4c49ec9e-c64a-4921-84eb-9bdd737656e5"
+    },
+    "fileId": "a6XXP0GYVG77NjCXvHiS7R",
+    "sync": false
+  },
+  {
+    "__type__": "cc.PrefabInfo",
+    "root": {
+      "__id__": 1
+    },
+    "asset": {
+      "__uuid__": "4c49ec9e-c64a-4921-84eb-9bdd737656e5"
+    },
+    "fileId": "2b0OzJbYNMzLPFqudzpj1w",
+    "sync": false
+  },
+  {
+    "__type__": "cc.Node",
+    "_name": "node_pauseBtn",
+    "_objFlags": 0,
+    "_parent": {
+      "__id__": 88
+    },
+    "_children": [
+      {
+        "__id__": 101
+      }
+    ],
+    "_active": true,
+    "_components": [
+      {
+        "__id__": 104
+      }
+    ],
+    "_prefab": {
+      "__id__": 105
+    },
+    "_opacity": 255,
+    "_color": {
+      "__type__": "cc.Color",
+      "r": 255,
+      "g": 255,
+      "b": 255,
+      "a": 255
+    },
+    "_contentSize": {
+      "__type__": "cc.Size",
+      "width": 100,
+      "height": 100
+    },
+    "_anchorPoint": {
+      "__type__": "cc.Vec2",
+      "x": 0.5,
+      "y": 0.5
+    },
+    "_trs": {
+      "__type__": "TypedArray",
+      "ctor": "Float64Array",
+      "array": [
+        323.912,
+        31.54,
+        0,
+        0,
+        0,
+        0,
+        1,
+        1,
+        1,
+        0
+      ]
+    },
+    "_eulerAngles": {
+      "__type__": "cc.Vec3",
+      "x": 0,
+      "y": 0,
+      "z": 0
+    },
+    "_skewX": 0,
+    "_skewY": 0,
+    "_is3DNode": false,
+    "_groupIndex": 0,
+    "groupIndex": 0,
+    "_id": ""
+  },
+  {
+    "__type__": "cc.Node",
+    "_name": "pause",
+    "_objFlags": 0,
+    "_parent": {
+      "__id__": 100
+    },
+    "_children": [],
+    "_active": true,
+    "_components": [
+      {
+        "__id__": 102
+      }
+    ],
+    "_prefab": {
+      "__id__": 103
+    },
+    "_opacity": 255,
+    "_color": {
+      "__type__": "cc.Color",
+      "r": 255,
+      "g": 255,
+      "b": 255,
+      "a": 255
+    },
+    "_contentSize": {
+      "__type__": "cc.Size",
+      "width": 65,
+      "height": 65
+    },
+    "_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": ""
+  },
+  {
+    "__type__": "cc.Sprite",
+    "_name": "",
+    "_objFlags": 0,
+    "node": {
+      "__id__": 101
+    },
+    "_enabled": true,
+    "_materials": [
+      {
+        "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
+      }
+    ],
+    "_srcBlendFactor": 770,
+    "_dstBlendFactor": 771,
+    "_spriteFrame": {
+      "__uuid__": "68270bad-2f5e-43ad-8e47-f30056bb5360"
+    },
+    "_type": 0,
+    "_sizeMode": 1,
+    "_fillType": 0,
+    "_fillCenter": {
+      "__type__": "cc.Vec2",
+      "x": 0,
+      "y": 0
+    },
+    "_fillStart": 0,
+    "_fillRange": 0,
+    "_isTrimmedMode": true,
+    "_atlas": null,
+    "_id": ""
+  },
+  {
+    "__type__": "cc.PrefabInfo",
+    "root": {
+      "__id__": 1
+    },
+    "asset": {
+      "__uuid__": "4c49ec9e-c64a-4921-84eb-9bdd737656e5"
+    },
+    "fileId": "f3PzTA/s5JTrRslLJJeFul",
+    "sync": false
+  },
+  {
+    "__type__": "cc.Button",
+    "_name": "",
+    "_objFlags": 0,
+    "node": {
+      "__id__": 100
+    },
+    "_enabled": true,
+    "_normalMaterial": null,
+    "_grayMaterial": null,
+    "duration": 0.1,
+    "zoomScale": 1.2,
+    "clickEvents": [],
+    "_N$interactable": true,
+    "_N$enableAutoGrayEffect": false,
+    "_N$transition": 3,
+    "transition": 3,
+    "_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__": 100
+    },
+    "_id": ""
+  },
+  {
+    "__type__": "cc.PrefabInfo",
+    "root": {
+      "__id__": 1
+    },
+    "asset": {
+      "__uuid__": "4c49ec9e-c64a-4921-84eb-9bdd737656e5"
+    },
+    "fileId": "2e7FYlE1hOG5YovBaQ/R4w",
+    "sync": false
+  },
+  {
+    "__type__": "cc.PrefabInfo",
+    "root": {
+      "__id__": 1
+    },
+    "asset": {
+      "__uuid__": "4c49ec9e-c64a-4921-84eb-9bdd737656e5"
+    },
+    "fileId": "e75lwFTTJF04mfhBFBNxYF",
+    "sync": false
+  },
+  {
+    "__type__": "cc.Node",
+    "_name": "node_propBtn",
+    "_objFlags": 0,
+    "_parent": {
+      "__id__": 1
+    },
+    "_children": [
+      {
+        "__id__": 108
+      },
+      {
+        "__id__": 122
+      },
+      {
+        "__id__": 136
+      }
+    ],
+    "_active": true,
+    "_components": [],
+    "_prefab": {
+      "__id__": 150
+    },
+    "_opacity": 255,
+    "_color": {
+      "__type__": "cc.Color",
+      "r": 255,
+      "g": 255,
+      "b": 255,
+      "a": 255
+    },
+    "_contentSize": {
+      "__type__": "cc.Size",
+      "width": 0,
+      "height": 0
+    },
+    "_anchorPoint": {
+      "__type__": "cc.Vec2",
+      "x": 0.5,
+      "y": 0.5
+    },
+    "_trs": {
+      "__type__": "TypedArray",
+      "ctor": "Float64Array",
+      "array": [
+        0,
+        450.568,
+        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": ""
+  },
+  {
+    "__type__": "cc.Node",
+    "_name": "node_hammerBtn",
+    "_objFlags": 0,
+    "_parent": {
+      "__id__": 107
+    },
+    "_children": [
+      {
+        "__id__": 109
+      },
+      {
+        "__id__": 116
+      }
+    ],
+    "_active": true,
+    "_components": [
+      {
+        "__id__": 120
+      }
+    ],
+    "_prefab": {
+      "__id__": 121
+    },
+    "_opacity": 255,
+    "_color": {
+      "__type__": "cc.Color",
+      "r": 255,
+      "g": 255,
+      "b": 255,
+      "a": 255
+    },
+    "_contentSize": {
+      "__type__": "cc.Size",
+      "width": 75,
+      "height": 60
+    },
+    "_anchorPoint": {
+      "__type__": "cc.Vec2",
+      "x": 0.5,
+      "y": 0.5
+    },
+    "_trs": {
+      "__type__": "TypedArray",
+      "ctor": "Float64Array",
+      "array": [
+        -200,
+        -1010,
+        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": ""
+  },
+  {
+    "__type__": "cc.Node",
+    "_name": "hammer",
+    "_objFlags": 0,
+    "_parent": {
+      "__id__": 108
+    },
+    "_children": [
+      {
+        "__id__": 110
+      }
+    ],
+    "_active": true,
+    "_components": [
+      {
+        "__id__": 113
+      },
+      {
+        "__id__": 114
+      }
+    ],
+    "_prefab": {
+      "__id__": 115
+    },
+    "_opacity": 255,
+    "_color": {
+      "__type__": "cc.Color",
+      "r": 255,
+      "g": 255,
+      "b": 255,
+      "a": 255
+    },
+    "_contentSize": {
+      "__type__": "cc.Size",
+      "width": 164,
+      "height": 154
+    },
+    "_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": ""
+  },
+  {
+    "__type__": "cc.Node",
+    "_name": "label_hammerNum",
+    "_objFlags": 0,
+    "_parent": {
+      "__id__": 109
+    },
+    "_children": [],
+    "_active": true,
+    "_components": [
+      {
+        "__id__": 111
+      }
+    ],
+    "_prefab": {
+      "__id__": 112
+    },
+    "_opacity": 255,
+    "_color": {
+      "__type__": "cc.Color",
+      "r": 255,
+      "g": 255,
+      "b": 255,
+      "a": 255
+    },
+    "_contentSize": {
+      "__type__": "cc.Size",
+      "width": 17.8,
+      "height": 40.32
+    },
+    "_anchorPoint": {
+      "__type__": "cc.Vec2",
+      "x": 0.5,
+      "y": 0.5
+    },
+    "_trs": {
+      "__type__": "TypedArray",
+      "ctor": "Float64Array",
+      "array": [
+        50,
+        -50,
+        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": ""
+  },
+  {
+    "__type__": "cc.Label",
+    "_name": "",
+    "_objFlags": 0,
+    "node": {
+      "__id__": 110
+    },
+    "_enabled": true,
+    "_materials": [
+      {
+        "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
+      }
+    ],
+    "_srcBlendFactor": 770,
+    "_dstBlendFactor": 771,
+    "_string": "1",
+    "_N$string": "1",
+    "_fontSize": 32,
+    "_lineHeight": 32,
+    "_enableWrapText": true,
+    "_N$file": null,
+    "_isSystemFontUsed": true,
+    "_spacingX": 0,
+    "_batchAsBitmap": false,
+    "_styleFlags": 1,
+    "_underlineHeight": 0,
+    "_N$horizontalAlign": 1,
+    "_N$verticalAlign": 1,
+    "_N$fontFamily": "Arial",
+    "_N$overflow": 0,
+    "_N$cacheMode": 0,
+    "_id": ""
+  },
+  {
+    "__type__": "cc.PrefabInfo",
+    "root": {
+      "__id__": 1
+    },
+    "asset": {
+      "__uuid__": "4c49ec9e-c64a-4921-84eb-9bdd737656e5"
+    },
+    "fileId": "7dTxLTrs1D+4030zckyUwi",
+    "sync": false
+  },
+  {
+    "__type__": "cc.Sprite",
+    "_name": "",
+    "_objFlags": 0,
+    "node": {
+      "__id__": 109
+    },
+    "_enabled": true,
+    "_materials": [
+      {
+        "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
+      }
+    ],
+    "_srcBlendFactor": 770,
+    "_dstBlendFactor": 771,
+    "_spriteFrame": {
+      "__uuid__": "c47074ad-c994-4b35-a73c-7dd41471aad9"
+    },
+    "_type": 0,
+    "_sizeMode": 1,
+    "_fillType": 0,
+    "_fillCenter": {
+      "__type__": "cc.Vec2",
+      "x": 0,
+      "y": 0
+    },
+    "_fillStart": 0,
+    "_fillRange": 0,
+    "_isTrimmedMode": true,
+    "_atlas": null,
+    "_id": ""
+  },
+  {
+    "__type__": "cc.Animation",
+    "_name": "",
+    "_objFlags": 0,
+    "node": {
+      "__id__": 109
+    },
+    "_enabled": true,
+    "_defaultClip": {
+      "__uuid__": "565a6dd1-eba9-4b86-9d79-58cfcdff97bd"
+    },
+    "_clips": [
+      {
+        "__uuid__": "c2237c6a-4098-42ed-8025-e93fd797f86b"
+      },
+      {
+        "__uuid__": "565a6dd1-eba9-4b86-9d79-58cfcdff97bd"
+      }
+    ],
+    "playOnLoad": false,
+    "_id": ""
+  },
+  {
+    "__type__": "cc.PrefabInfo",
+    "root": {
+      "__id__": 1
+    },
+    "asset": {
+      "__uuid__": "4c49ec9e-c64a-4921-84eb-9bdd737656e5"
+    },
+    "fileId": "7cXzuFoDhJSZn97ilEvoH9",
+    "sync": false
+  },
+  {
+    "__type__": "cc.Node",
+    "_name": "label_tip",
+    "_objFlags": 0,
+    "_parent": {
+      "__id__": 108
+    },
+    "_children": [],
+    "_active": true,
+    "_components": [
+      {
+        "__id__": 117
+      },
+      {
+        "__id__": 118
+      }
+    ],
+    "_prefab": {
+      "__id__": 119
+    },
+    "_opacity": 255,
+    "_color": {
+      "__type__": "cc.Color",
+      "r": 255,
+      "g": 255,
+      "b": 255,
+      "a": 255
+    },
+    "_contentSize": {
+      "__type__": "cc.Size",
+      "width": 2,
+      "height": 37.28
+    },
+    "_anchorPoint": {
+      "__type__": "cc.Vec2",
+      "x": 0.5,
+      "y": 0.5
+    },
+    "_trs": {
+      "__type__": "TypedArray",
+      "ctor": "Float64Array",
+      "array": [
+        0,
+        -115,
+        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": ""
+  },
+  {
+    "__type__": "cc.Label",
+    "_name": "",
+    "_objFlags": 0,
+    "node": {
+      "__id__": 116
+    },
+    "_enabled": true,
+    "_materials": [
+      {
+        "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
+      }
+    ],
+    "_srcBlendFactor": 770,
+    "_dstBlendFactor": 771,
+    "_string": "",
+    "_N$string": "",
+    "_fontSize": 28,
+    "_lineHeight": 28,
+    "_enableWrapText": true,
+    "_N$file": null,
+    "_isSystemFontUsed": true,
+    "_spacingX": 0,
+    "_batchAsBitmap": false,
+    "_styleFlags": 1,
+    "_underlineHeight": 0,
+    "_N$horizontalAlign": 1,
+    "_N$verticalAlign": 1,
+    "_N$fontFamily": "Arial",
+    "_N$overflow": 0,
+    "_N$cacheMode": 0,
+    "_id": ""
+  },
+  {
+    "__type__": "cc.LabelOutline",
+    "_name": "",
+    "_objFlags": 0,
+    "node": {
+      "__id__": 116
+    },
+    "_enabled": true,
+    "_color": {
+      "__type__": "cc.Color",
+      "r": 10,
+      "g": 0,
+      "b": 255,
+      "a": 255
+    },
+    "_width": 1,
+    "_id": ""
+  },
+  {
+    "__type__": "cc.PrefabInfo",
+    "root": {
+      "__id__": 1
+    },
+    "asset": {
+      "__uuid__": "4c49ec9e-c64a-4921-84eb-9bdd737656e5"
+    },
+    "fileId": "a80NWT4VtG96FhxF8nFhHQ",
+    "sync": false
+  },
+  {
+    "__type__": "cc.Button",
+    "_name": "",
+    "_objFlags": 0,
+    "node": {
+      "__id__": 108
+    },
+    "_enabled": false,
+    "_normalMaterial": null,
+    "_grayMaterial": null,
+    "duration": 0.1,
+    "zoomScale": 1.2,
+    "clickEvents": [],
+    "_N$interactable": true,
+    "_N$enableAutoGrayEffect": false,
+    "_N$transition": 1,
+    "transition": 1,
+    "_N$normalColor": {
+      "__type__": "cc.Color",
+      "r": 255,
+      "g": 255,
+      "b": 255,
+      "a": 255
+    },
+    "_N$pressedColor": {
+      "__type__": "cc.Color",
+      "r": 255,
+      "g": 255,
+      "b": 255,
+      "a": 255
+    },
+    "pressedColor": {
+      "__type__": "cc.Color",
+      "r": 255,
+      "g": 255,
+      "b": 255,
+      "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__": 108
+    },
+    "_id": ""
+  },
+  {
+    "__type__": "cc.PrefabInfo",
+    "root": {
+      "__id__": 1
+    },
+    "asset": {
+      "__uuid__": "4c49ec9e-c64a-4921-84eb-9bdd737656e5"
+    },
+    "fileId": "0dsricTh9AKZki5L552uqF",
+    "sync": false
+  },
+  {
+    "__type__": "cc.Node",
+    "_name": "node_resetBtn",
+    "_objFlags": 0,
+    "_parent": {
+      "__id__": 107
+    },
+    "_children": [
+      {
+        "__id__": 123
+      },
+      {
+        "__id__": 130
+      }
+    ],
+    "_active": true,
+    "_components": [
+      {
+        "__id__": 134
+      }
+    ],
+    "_prefab": {
+      "__id__": 135
+    },
+    "_opacity": 255,
+    "_color": {
+      "__type__": "cc.Color",
+      "r": 255,
+      "g": 255,
+      "b": 255,
+      "a": 255
+    },
+    "_contentSize": {
+      "__type__": "cc.Size",
+      "width": 60,
+      "height": 66
+    },
+    "_anchorPoint": {
+      "__type__": "cc.Vec2",
+      "x": 0.5,
+      "y": 0.5
+    },
+    "_trs": {
+      "__type__": "TypedArray",
+      "ctor": "Float64Array",
+      "array": [
+        0,
+        -1010,
+        0,
+        0,
+        0,
+        0,
+        1,
+        1,
+        1,
+        0
+      ]
+    },
+    "_eulerAngles": {
+      "__type__": "cc.Vec3",
+      "x": 0,
+      "y": 0,
+      "z": 0
+    },
+    "_skewX": 0,
+    "_skewY": 0,
+    "_is3DNode": false,
+    "_groupIndex": 0,
+    "groupIndex": 0,
+    "_id": ""
+  },
+  {
+    "__type__": "cc.Node",
+    "_name": "reset",
+    "_objFlags": 0,
+    "_parent": {
+      "__id__": 122
+    },
+    "_children": [
+      {
+        "__id__": 124
+      }
+    ],
+    "_active": true,
+    "_components": [
+      {
+        "__id__": 127
+      },
+      {
+        "__id__": 128
+      }
+    ],
+    "_prefab": {
+      "__id__": 129
+    },
+    "_opacity": 255,
+    "_color": {
+      "__type__": "cc.Color",
+      "r": 255,
+      "g": 255,
+      "b": 255,
+      "a": 255
+    },
+    "_contentSize": {
+      "__type__": "cc.Size",
+      "width": 164,
+      "height": 154
+    },
+    "_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": ""
+  },
+  {
+    "__type__": "cc.Node",
+    "_name": "label_resetNum",
+    "_objFlags": 0,
+    "_parent": {
+      "__id__": 123
+    },
+    "_children": [],
+    "_active": true,
+    "_components": [
+      {
+        "__id__": 125
+      }
+    ],
+    "_prefab": {
+      "__id__": 126
+    },
+    "_opacity": 255,
+    "_color": {
+      "__type__": "cc.Color",
+      "r": 255,
+      "g": 255,
+      "b": 255,
+      "a": 255
+    },
+    "_contentSize": {
+      "__type__": "cc.Size",
+      "width": 17.8,
+      "height": 40.32
+    },
+    "_anchorPoint": {
+      "__type__": "cc.Vec2",
+      "x": 0.5,
+      "y": 0.5
+    },
+    "_trs": {
+      "__type__": "TypedArray",
+      "ctor": "Float64Array",
+      "array": [
+        55,
+        -50,
+        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": ""
+  },
+  {
+    "__type__": "cc.Label",
+    "_name": "",
+    "_objFlags": 0,
+    "node": {
+      "__id__": 124
+    },
+    "_enabled": true,
+    "_materials": [
+      {
+        "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
+      }
+    ],
+    "_srcBlendFactor": 770,
+    "_dstBlendFactor": 771,
+    "_string": "1",
+    "_N$string": "1",
+    "_fontSize": 32,
+    "_lineHeight": 32,
+    "_enableWrapText": true,
+    "_N$file": null,
+    "_isSystemFontUsed": true,
+    "_spacingX": 0,
+    "_batchAsBitmap": false,
+    "_styleFlags": 1,
+    "_underlineHeight": 0,
+    "_N$horizontalAlign": 1,
+    "_N$verticalAlign": 1,
+    "_N$fontFamily": "Arial",
+    "_N$overflow": 0,
+    "_N$cacheMode": 0,
+    "_id": ""
+  },
+  {
+    "__type__": "cc.PrefabInfo",
+    "root": {
+      "__id__": 1
+    },
+    "asset": {
+      "__uuid__": "4c49ec9e-c64a-4921-84eb-9bdd737656e5"
+    },
+    "fileId": "77iVOPtVdJt6fX/TjnBtNp",
+    "sync": false
+  },
+  {
+    "__type__": "cc.Sprite",
+    "_name": "",
+    "_objFlags": 0,
+    "node": {
+      "__id__": 123
+    },
+    "_enabled": true,
+    "_materials": [
+      {
+        "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
+      }
+    ],
+    "_srcBlendFactor": 770,
+    "_dstBlendFactor": 771,
+    "_spriteFrame": {
+      "__uuid__": "164c2690-8401-4019-8039-7ec0e31a1c21"
+    },
+    "_type": 0,
+    "_sizeMode": 1,
+    "_fillType": 0,
+    "_fillCenter": {
+      "__type__": "cc.Vec2",
+      "x": 0,
+      "y": 0
+    },
+    "_fillStart": 0,
+    "_fillRange": 0,
+    "_isTrimmedMode": true,
+    "_atlas": null,
+    "_id": ""
+  },
+  {
+    "__type__": "cc.Animation",
+    "_name": "",
+    "_objFlags": 0,
+    "node": {
+      "__id__": 123
+    },
+    "_enabled": false,
+    "_defaultClip": {
+      "__uuid__": "565a6dd1-eba9-4b86-9d79-58cfcdff97bd"
+    },
+    "_clips": [
+      {
+        "__uuid__": "565a6dd1-eba9-4b86-9d79-58cfcdff97bd"
+      },
+      {
+        "__uuid__": "c2237c6a-4098-42ed-8025-e93fd797f86b"
+      },
+      {
+        "__uuid__": "565a6dd1-eba9-4b86-9d79-58cfcdff97bd"
+      }
+    ],
+    "playOnLoad": false,
+    "_id": ""
+  },
+  {
+    "__type__": "cc.PrefabInfo",
+    "root": {
+      "__id__": 1
+    },
+    "asset": {
+      "__uuid__": "4c49ec9e-c64a-4921-84eb-9bdd737656e5"
+    },
+    "fileId": "97CY3xz7ZNDKlYMahjcBCt",
+    "sync": false
+  },
+  {
+    "__type__": "cc.Node",
+    "_name": "label_tip",
+    "_objFlags": 0,
+    "_parent": {
+      "__id__": 122
+    },
+    "_children": [],
+    "_active": true,
+    "_components": [
+      {
+        "__id__": 131
+      },
+      {
+        "__id__": 132
+      }
+    ],
+    "_prefab": {
+      "__id__": 133
+    },
+    "_opacity": 255,
+    "_color": {
+      "__type__": "cc.Color",
+      "r": 255,
+      "g": 255,
+      "b": 255,
+      "a": 255
+    },
+    "_contentSize": {
+      "__type__": "cc.Size",
+      "width": 2,
+      "height": 37.28
+    },
+    "_anchorPoint": {
+      "__type__": "cc.Vec2",
+      "x": 0.5,
+      "y": 0.5
+    },
+    "_trs": {
+      "__type__": "TypedArray",
+      "ctor": "Float64Array",
+      "array": [
+        0,
+        -115,
+        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": ""
+  },
+  {
+    "__type__": "cc.Label",
+    "_name": "",
+    "_objFlags": 0,
+    "node": {
+      "__id__": 130
+    },
+    "_enabled": true,
+    "_materials": [
+      {
+        "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
+      }
+    ],
+    "_srcBlendFactor": 770,
+    "_dstBlendFactor": 771,
+    "_string": "",
+    "_N$string": "",
+    "_fontSize": 28,
+    "_lineHeight": 28,
+    "_enableWrapText": true,
+    "_N$file": null,
+    "_isSystemFontUsed": true,
+    "_spacingX": 0,
+    "_batchAsBitmap": false,
+    "_styleFlags": 1,
+    "_underlineHeight": 0,
+    "_N$horizontalAlign": 1,
+    "_N$verticalAlign": 1,
+    "_N$fontFamily": "Arial",
+    "_N$overflow": 0,
+    "_N$cacheMode": 0,
+    "_id": ""
+  },
+  {
+    "__type__": "cc.LabelOutline",
+    "_name": "",
+    "_objFlags": 0,
+    "node": {
+      "__id__": 130
+    },
+    "_enabled": true,
+    "_color": {
+      "__type__": "cc.Color",
+      "r": 10,
+      "g": 0,
+      "b": 255,
+      "a": 255
+    },
+    "_width": 1,
+    "_id": ""
+  },
+  {
+    "__type__": "cc.PrefabInfo",
+    "root": {
+      "__id__": 1
+    },
+    "asset": {
+      "__uuid__": "4c49ec9e-c64a-4921-84eb-9bdd737656e5"
+    },
+    "fileId": "c0NU30U7FHG5yxYljaMBH0",
+    "sync": false
+  },
+  {
+    "__type__": "cc.Button",
+    "_name": "",
+    "_objFlags": 0,
+    "node": {
+      "__id__": 122
+    },
+    "_enabled": true,
+    "_normalMaterial": null,
+    "_grayMaterial": null,
+    "duration": 0.1,
+    "zoomScale": 1.2,
+    "clickEvents": [],
+    "_N$interactable": true,
+    "_N$enableAutoGrayEffect": false,
+    "_N$transition": 3,
+    "transition": 3,
+    "_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__": 122
+    },
+    "_id": ""
+  },
+  {
+    "__type__": "cc.PrefabInfo",
+    "root": {
+      "__id__": 1
+    },
+    "asset": {
+      "__uuid__": "4c49ec9e-c64a-4921-84eb-9bdd737656e5"
+    },
+    "fileId": "78lTfeaCRAcaPEKJcHpZcr",
+    "sync": false
+  },
+  {
+    "__type__": "cc.Node",
+    "_name": "node_changeBtn",
+    "_objFlags": 0,
+    "_parent": {
+      "__id__": 107
+    },
+    "_children": [
+      {
+        "__id__": 137
+      },
+      {
+        "__id__": 144
+      }
+    ],
+    "_active": true,
+    "_components": [
+      {
+        "__id__": 148
+      }
+    ],
+    "_prefab": {
+      "__id__": 149
+    },
+    "_opacity": 255,
+    "_color": {
+      "__type__": "cc.Color",
+      "r": 255,
+      "g": 255,
+      "b": 255,
+      "a": 255
+    },
+    "_contentSize": {
+      "__type__": "cc.Size",
+      "width": 72,
+      "height": 72
+    },
+    "_anchorPoint": {
+      "__type__": "cc.Vec2",
+      "x": 0.5,
+      "y": 0.5
+    },
+    "_trs": {
+      "__type__": "TypedArray",
+      "ctor": "Float64Array",
+      "array": [
+        200,
+        -1010,
+        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": ""
+  },
+  {
+    "__type__": "cc.Node",
+    "_name": "change",
+    "_objFlags": 0,
+    "_parent": {
+      "__id__": 136
+    },
+    "_children": [
+      {
+        "__id__": 138
+      }
+    ],
+    "_active": true,
+    "_components": [
+      {
+        "__id__": 141
+      },
+      {
+        "__id__": 142
+      }
+    ],
+    "_prefab": {
+      "__id__": 143
+    },
+    "_opacity": 255,
+    "_color": {
+      "__type__": "cc.Color",
+      "r": 255,
+      "g": 255,
+      "b": 255,
+      "a": 255
+    },
+    "_contentSize": {
+      "__type__": "cc.Size",
+      "width": 164,
+      "height": 154
+    },
+    "_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": ""
+  },
+  {
+    "__type__": "cc.Node",
+    "_name": "label_changeNum",
+    "_objFlags": 0,
+    "_parent": {
+      "__id__": 137
+    },
+    "_children": [],
+    "_active": true,
+    "_components": [
+      {
+        "__id__": 139
+      }
+    ],
+    "_prefab": {
+      "__id__": 140
+    },
+    "_opacity": 255,
+    "_color": {
+      "__type__": "cc.Color",
+      "r": 255,
+      "g": 255,
+      "b": 255,
+      "a": 255
+    },
+    "_contentSize": {
+      "__type__": "cc.Size",
+      "width": 17.8,
+      "height": 40.32
+    },
+    "_anchorPoint": {
+      "__type__": "cc.Vec2",
+      "x": 0.5,
+      "y": 0.5
+    },
+    "_trs": {
+      "__type__": "TypedArray",
+      "ctor": "Float64Array",
+      "array": [
+        55,
+        -50,
+        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": ""
+  },
+  {
+    "__type__": "cc.Label",
+    "_name": "",
+    "_objFlags": 0,
+    "node": {
+      "__id__": 138
+    },
+    "_enabled": true,
+    "_materials": [
+      {
+        "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
+      }
+    ],
+    "_srcBlendFactor": 770,
+    "_dstBlendFactor": 771,
+    "_string": "1",
+    "_N$string": "1",
+    "_fontSize": 32,
+    "_lineHeight": 32,
+    "_enableWrapText": true,
+    "_N$file": null,
+    "_isSystemFontUsed": true,
+    "_spacingX": 0,
+    "_batchAsBitmap": false,
+    "_styleFlags": 1,
+    "_underlineHeight": 0,
+    "_N$horizontalAlign": 1,
+    "_N$verticalAlign": 1,
+    "_N$fontFamily": "Arial",
+    "_N$overflow": 0,
+    "_N$cacheMode": 0,
+    "_id": ""
+  },
+  {
+    "__type__": "cc.PrefabInfo",
+    "root": {
+      "__id__": 1
+    },
+    "asset": {
+      "__uuid__": "4c49ec9e-c64a-4921-84eb-9bdd737656e5"
+    },
+    "fileId": "43Hyn6SGNBeKE56oFW/8vA",
+    "sync": false
+  },
+  {
+    "__type__": "cc.Sprite",
+    "_name": "",
+    "_objFlags": 0,
+    "node": {
+      "__id__": 137
+    },
+    "_enabled": true,
+    "_materials": [
+      {
+        "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
+      }
+    ],
+    "_srcBlendFactor": 770,
+    "_dstBlendFactor": 771,
+    "_spriteFrame": {
+      "__uuid__": "29f38d89-9450-4587-9378-c4fcf4dc25ed"
+    },
+    "_type": 0,
+    "_sizeMode": 1,
+    "_fillType": 0,
+    "_fillCenter": {
+      "__type__": "cc.Vec2",
+      "x": 0,
+      "y": 0
+    },
+    "_fillStart": 0,
+    "_fillRange": 0,
+    "_isTrimmedMode": true,
+    "_atlas": null,
+    "_id": ""
+  },
+  {
+    "__type__": "cc.Animation",
+    "_name": "",
+    "_objFlags": 0,
+    "node": {
+      "__id__": 137
+    },
+    "_enabled": true,
+    "_defaultClip": {
+      "__uuid__": "565a6dd1-eba9-4b86-9d79-58cfcdff97bd"
+    },
+    "_clips": [
+      {
+        "__uuid__": "565a6dd1-eba9-4b86-9d79-58cfcdff97bd"
+      },
+      {
+        "__uuid__": "c2237c6a-4098-42ed-8025-e93fd797f86b"
+      }
+    ],
+    "playOnLoad": false,
+    "_id": ""
+  },
+  {
+    "__type__": "cc.PrefabInfo",
+    "root": {
+      "__id__": 1
+    },
+    "asset": {
+      "__uuid__": "4c49ec9e-c64a-4921-84eb-9bdd737656e5"
+    },
+    "fileId": "edN5xTB5VNM7Zmu4dlPKxP",
+    "sync": false
+  },
+  {
+    "__type__": "cc.Node",
+    "_name": "label_tip",
+    "_objFlags": 0,
+    "_parent": {
+      "__id__": 136
+    },
+    "_children": [],
+    "_active": true,
+    "_components": [
+      {
+        "__id__": 145
+      },
+      {
+        "__id__": 146
+      }
+    ],
+    "_prefab": {
+      "__id__": 147
+    },
+    "_opacity": 255,
+    "_color": {
+      "__type__": "cc.Color",
+      "r": 255,
+      "g": 255,
+      "b": 255,
+      "a": 255
+    },
+    "_contentSize": {
+      "__type__": "cc.Size",
+      "width": 2,
+      "height": 37.28
+    },
+    "_anchorPoint": {
+      "__type__": "cc.Vec2",
+      "x": 0.5,
+      "y": 0.5
+    },
+    "_trs": {
+      "__type__": "TypedArray",
+      "ctor": "Float64Array",
+      "array": [
+        0,
+        -115,
+        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": ""
+  },
+  {
+    "__type__": "cc.Label",
+    "_name": "",
+    "_objFlags": 0,
+    "node": {
+      "__id__": 144
+    },
+    "_enabled": true,
+    "_materials": [
+      {
+        "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
+      }
+    ],
+    "_srcBlendFactor": 770,
+    "_dstBlendFactor": 771,
+    "_string": "",
+    "_N$string": "",
+    "_fontSize": 28,
+    "_lineHeight": 28,
+    "_enableWrapText": true,
+    "_N$file": null,
+    "_isSystemFontUsed": true,
+    "_spacingX": 0,
+    "_batchAsBitmap": false,
+    "_styleFlags": 1,
+    "_underlineHeight": 0,
+    "_N$horizontalAlign": 1,
+    "_N$verticalAlign": 1,
+    "_N$fontFamily": "Arial",
+    "_N$overflow": 0,
+    "_N$cacheMode": 0,
+    "_id": ""
+  },
+  {
+    "__type__": "cc.LabelOutline",
+    "_name": "",
+    "_objFlags": 0,
+    "node": {
+      "__id__": 144
+    },
+    "_enabled": true,
+    "_color": {
+      "__type__": "cc.Color",
+      "r": 10,
+      "g": 0,
+      "b": 255,
+      "a": 255
+    },
+    "_width": 1,
+    "_id": ""
+  },
+  {
+    "__type__": "cc.PrefabInfo",
+    "root": {
+      "__id__": 1
+    },
+    "asset": {
+      "__uuid__": "4c49ec9e-c64a-4921-84eb-9bdd737656e5"
+    },
+    "fileId": "aeTvKo5rtMbZgeerznpvHR",
+    "sync": false
+  },
+  {
+    "__type__": "cc.Button",
+    "_name": "",
+    "_objFlags": 0,
+    "node": {
+      "__id__": 136
+    },
+    "_enabled": false,
+    "_normalMaterial": null,
+    "_grayMaterial": null,
+    "duration": 0.1,
+    "zoomScale": 1.2,
+    "clickEvents": [],
+    "_N$interactable": true,
+    "_N$enableAutoGrayEffect": false,
+    "_N$transition": 3,
+    "transition": 3,
+    "_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__": 136
+    },
+    "_id": ""
+  },
+  {
+    "__type__": "cc.PrefabInfo",
+    "root": {
+      "__id__": 1
+    },
+    "asset": {
+      "__uuid__": "4c49ec9e-c64a-4921-84eb-9bdd737656e5"
+    },
+    "fileId": "96EpXOJONEmaGd8y7+pnn0",
+    "sync": false
+  },
+  {
+    "__type__": "cc.PrefabInfo",
+    "root": {
+      "__id__": 1
+    },
+    "asset": {
+      "__uuid__": "4c49ec9e-c64a-4921-84eb-9bdd737656e5"
+    },
+    "fileId": "b1jwsrUD1IFr4zDvD5DtXR",
+    "sync": false
+  },
+  {
+    "__type__": "cc.Node",
+    "_name": "node_levelRedPacketUI",
+    "_objFlags": 0,
+    "_parent": {
+      "__id__": 1
+    },
+    "_children": [],
+    "_active": true,
+    "_components": [],
+    "_prefab": {
+      "__id__": 152
+    },
+    "_opacity": 255,
+    "_color": {
+      "__type__": "cc.Color",
+      "r": 255,
+      "g": 255,
+      "b": 255,
+      "a": 255
+    },
+    "_contentSize": {
+      "__type__": "cc.Size",
+      "width": 0,
+      "height": 0
+    },
+    "_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": ""
+  },
+  {
+    "__type__": "cc.PrefabInfo",
+    "root": {
+      "__id__": 1
+    },
+    "asset": {
+      "__uuid__": "4c49ec9e-c64a-4921-84eb-9bdd737656e5"
+    },
+    "fileId": "3f32MMN31AZ6SxBMoiXBPt",
+    "sync": false
+  },
+  {
+    "__type__": "cc.Node",
+    "_name": "node_changeCellItemUI",
+    "_objFlags": 0,
+    "_parent": {
+      "__id__": 1
+    },
+    "_children": [
+      {
+        "__id__": 154
+      },
+      {
+        "__id__": 157
+      },
+      {
+        "__id__": 160
+      }
+    ],
+    "_active": false,
+    "_components": [
+      {
+        "__id__": 166
+      }
+    ],
+    "_prefab": {
+      "__id__": 167
+    },
+    "_opacity": 255,
+    "_color": {
+      "__type__": "cc.Color",
+      "r": 255,
+      "g": 255,
+      "b": 255,
+      "a": 255
+    },
+    "_contentSize": {
+      "__type__": "cc.Size",
+      "width": 580,
+      "height": 109
+    },
+    "_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": ""
+  },
+  {
+    "__type__": "cc.Node",
+    "_name": "classic_select_item",
+    "_objFlags": 0,
+    "_parent": {
+      "__id__": 153
+    },
+    "_children": [],
+    "_active": true,
+    "_components": [
+      {
+        "__id__": 155
+      }
+    ],
+    "_prefab": {
+      "__id__": 156
+    },
+    "_opacity": 255,
+    "_color": {
+      "__type__": "cc.Color",
+      "r": 255,
+      "g": 255,
+      "b": 255,
+      "a": 255
+    },
+    "_contentSize": {
+      "__type__": "cc.Size",
+      "width": 580,
+      "height": 109
+    },
+    "_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": ""
+  },
+  {
+    "__type__": "cc.Sprite",
+    "_name": "",
+    "_objFlags": 0,
+    "node": {
+      "__id__": 154
+    },
+    "_enabled": true,
+    "_materials": [
+      {
+        "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
+      }
+    ],
+    "_srcBlendFactor": 770,
+    "_dstBlendFactor": 771,
+    "_spriteFrame": {
+      "__uuid__": "07e173be-8086-4f98-9f4d-aba06bb1b170"
+    },
+    "_type": 1,
+    "_sizeMode": 0,
+    "_fillType": 0,
+    "_fillCenter": {
+      "__type__": "cc.Vec2",
+      "x": 0,
+      "y": 0
+    },
+    "_fillStart": 0,
+    "_fillRange": 0,
+    "_isTrimmedMode": true,
+    "_atlas": null,
+    "_id": ""
+  },
+  {
+    "__type__": "cc.PrefabInfo",
+    "root": {
+      "__id__": 1
+    },
+    "asset": {
+      "__uuid__": "4c49ec9e-c64a-4921-84eb-9bdd737656e5"
+    },
+    "fileId": "adiBcJF1RHS4qKNHY3r8ew",
+    "sync": false
+  },
+  {
+    "__type__": "cc.Node",
+    "_name": "layout_selectItem",
+    "_objFlags": 0,
+    "_parent": {
+      "__id__": 153
+    },
+    "_children": [],
+    "_active": true,
+    "_components": [
+      {
+        "__id__": 158
+      }
+    ],
+    "_prefab": {
+      "__id__": 159
+    },
+    "_opacity": 255,
+    "_color": {
+      "__type__": "cc.Color",
+      "r": 255,
+      "g": 255,
+      "b": 255,
+      "a": 255
+    },
+    "_contentSize": {
+      "__type__": "cc.Size",
+      "width": 480,
+      "height": 73
+    },
+    "_anchorPoint": {
+      "__type__": "cc.Vec2",
+      "x": 0.5,
+      "y": 0.5
+    },
+    "_trs": {
+      "__type__": "TypedArray",
+      "ctor": "Float64Array",
+      "array": [
+        -20,
+        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": ""
+  },
+  {
+    "__type__": "cc.Layout",
+    "_name": "",
+    "_objFlags": 0,
+    "node": {
+      "__id__": 157
+    },
+    "_enabled": true,
+    "_layoutSize": {
+      "__type__": "cc.Size",
+      "width": 480,
+      "height": 73
+    },
+    "_resize": 0,
+    "_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": 5,
+    "_N$spacingY": 0,
+    "_N$verticalDirection": 1,
+    "_N$horizontalDirection": 0,
+    "_N$affectedByScale": false,
+    "_id": ""
+  },
+  {
+    "__type__": "cc.PrefabInfo",
+    "root": {
+      "__id__": 1
+    },
+    "asset": {
+      "__uuid__": "4c49ec9e-c64a-4921-84eb-9bdd737656e5"
+    },
+    "fileId": "448i6hygBBDIU1i010ToP1",
+    "sync": false
+  },
+  {
+    "__type__": "cc.Node",
+    "_name": "node_closeBtn",
+    "_objFlags": 0,
+    "_parent": {
+      "__id__": 153
+    },
+    "_children": [
+      {
+        "__id__": 161
+      }
+    ],
+    "_active": true,
+    "_components": [
+      {
+        "__id__": 164
+      }
+    ],
+    "_prefab": {
+      "__id__": 165
+    },
+    "_opacity": 255,
+    "_color": {
+      "__type__": "cc.Color",
+      "r": 255,
+      "g": 255,
+      "b": 255,
+      "a": 255
+    },
+    "_contentSize": {
+      "__type__": "cc.Size",
+      "width": 40,
+      "height": 40
+    },
+    "_anchorPoint": {
+      "__type__": "cc.Vec2",
+      "x": 0.5,
+      "y": 0.5
+    },
+    "_trs": {
+      "__type__": "TypedArray",
+      "ctor": "Float64Array",
+      "array": [
+        248.442,
+        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": ""
+  },
+  {
+    "__type__": "cc.Node",
+    "_name": "A_close",
+    "_objFlags": 0,
+    "_parent": {
+      "__id__": 160
+    },
+    "_children": [],
+    "_active": true,
+    "_components": [
+      {
+        "__id__": 162
+      }
+    ],
+    "_prefab": {
+      "__id__": 163
+    },
+    "_opacity": 255,
+    "_color": {
+      "__type__": "cc.Color",
+      "r": 255,
+      "g": 255,
+      "b": 255,
+      "a": 255
+    },
+    "_contentSize": {
+      "__type__": "cc.Size",
+      "width": 36,
+      "height": 35
+    },
+    "_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": ""
+  },
+  {
+    "__type__": "cc.Sprite",
+    "_name": "",
+    "_objFlags": 0,
+    "node": {
+      "__id__": 161
+    },
+    "_enabled": true,
+    "_materials": [
+      {
+        "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
+      }
+    ],
+    "_srcBlendFactor": 770,
+    "_dstBlendFactor": 771,
+    "_spriteFrame": {
+      "__uuid__": "8ca3e225-9c01-40c3-89d4-dd42be43d254"
+    },
+    "_type": 0,
+    "_sizeMode": 1,
+    "_fillType": 0,
+    "_fillCenter": {
+      "__type__": "cc.Vec2",
+      "x": 0,
+      "y": 0
+    },
+    "_fillStart": 0,
+    "_fillRange": 0,
+    "_isTrimmedMode": true,
+    "_atlas": null,
+    "_id": ""
+  },
+  {
+    "__type__": "cc.PrefabInfo",
+    "root": {
+      "__id__": 1
+    },
+    "asset": {
+      "__uuid__": "4c49ec9e-c64a-4921-84eb-9bdd737656e5"
+    },
+    "fileId": "82OLrTUohIOoJohMSeeQtt",
+    "sync": false
+  },
+  {
+    "__type__": "cc.Button",
+    "_name": "",
+    "_objFlags": 0,
+    "node": {
+      "__id__": 160
+    },
+    "_enabled": true,
+    "_normalMaterial": null,
+    "_grayMaterial": null,
+    "duration": 0.1,
+    "zoomScale": 1.2,
+    "clickEvents": [],
+    "_N$interactable": true,
+    "_N$enableAutoGrayEffect": false,
+    "_N$transition": 3,
+    "transition": 3,
+    "_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__": 160
+    },
+    "_id": ""
+  },
+  {
+    "__type__": "cc.PrefabInfo",
+    "root": {
+      "__id__": 1
+    },
+    "asset": {
+      "__uuid__": "4c49ec9e-c64a-4921-84eb-9bdd737656e5"
+    },
+    "fileId": "8eIXZqu8lDro++J/HMHYG0",
+    "sync": false
+  },
+  {
+    "__type__": "efea2M6SlRODL/dJnf1ISCC",
+    "_name": "",
+    "_objFlags": 0,
+    "node": {
+      "__id__": 153
+    },
+    "_enabled": true,
+    "layout_selectCellItemBtn": {
+      "__id__": 158
+    },
+    "node_closeBtn": {
+      "__id__": 160
+    },
+    "prefab_selectCellItemBtn": {
+      "__uuid__": "ceb1c542-7e44-4682-9cec-8c2a76a739b7"
+    },
+    "_id": ""
+  },
+  {
+    "__type__": "cc.PrefabInfo",
+    "root": {
+      "__id__": 1
+    },
+    "asset": {
+      "__uuid__": "4c49ec9e-c64a-4921-84eb-9bdd737656e5"
+    },
+    "fileId": "28PUXSoYNA8ocXs+vesLj4",
+    "sync": false
+  },
+  {
+    "__type__": "cc.Node",
+    "_name": "node_effectUI",
+    "_objFlags": 0,
+    "_parent": {
+      "__id__": 1
+    },
+    "_children": [],
+    "_active": true,
+    "_components": [],
+    "_prefab": {
+      "__id__": 169
+    },
+    "_opacity": 255,
+    "_color": {
+      "__type__": "cc.Color",
+      "r": 255,
+      "g": 255,
+      "b": 255,
+      "a": 255
+    },
+    "_contentSize": {
+      "__type__": "cc.Size",
+      "width": 0,
+      "height": 0
+    },
+    "_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": ""
+  },
+  {
+    "__type__": "cc.PrefabInfo",
+    "root": {
+      "__id__": 1
+    },
+    "asset": {
+      "__uuid__": "4c49ec9e-c64a-4921-84eb-9bdd737656e5"
+    },
+    "fileId": "f9Pim1/mRKPbLrKBFQXvnt",
+    "sync": false
+  },
+  {
+    "__type__": "cc.Node",
+    "_name": "node_touchListenMask",
+    "_objFlags": 0,
+    "_parent": {
+      "__id__": 1
+    },
+    "_children": [],
+    "_active": true,
+    "_components": [],
+    "_prefab": {
+      "__id__": 171
+    },
+    "_opacity": 255,
+    "_color": {
+      "__type__": "cc.Color",
+      "r": 255,
+      "g": 255,
+      "b": 255,
+      "a": 255
+    },
+    "_contentSize": {
+      "__type__": "cc.Size",
+      "width": 750,
+      "height": 1334
+    },
+    "_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": ""
+  },
+  {
+    "__type__": "cc.PrefabInfo",
+    "root": {
+      "__id__": 1
+    },
+    "asset": {
+      "__uuid__": "4c49ec9e-c64a-4921-84eb-9bdd737656e5"
+    },
+    "fileId": "f9cxwaVy1B6Y2zGWUm8FAM",
+    "sync": false
+  },
+  {
+    "__type__": "a2b96K4aRpIurudLqdatOeW",
+    "_name": "",
+    "_objFlags": 0,
+    "node": {
+      "__id__": 1
+    },
+    "_enabled": true,
+    "node_bg": {
+      "__id__": 4
+    },
+    "node_top": {
+      "__id__": 88
+    },
+    "label_level": {
+      "__id__": 83
+    },
+    "node_redPacketIcon": {
+      "__id__": 72
+    },
+    "btn_gameGetRed1": {
+      "__id__": 19
+    },
+    "btn_gameGetRed2": {
+      "__id__": 31
+    },
+    "btn_gameGetRed3": {
+      "__id__": 43
+    },
+    "btn_gameGetRed4": {
+      "__id__": 55
+    },
+    "node_content": {
+      "__id__": 10
+    },
+    "node_cellBg": {
+      "__id__": 14
+    },
+    "node_pauseBtn": {
+      "__id__": 100
+    },
+    "node_progressUI": {
+      "__id__": 68
+    },
+    "spr_progress": {
+      "__id__": 74
+    },
+    "node_resetBtn": {
+      "__id__": 122
+    },
+    "label_resetPropNum": {
+      "__id__": 125
+    },
+    "node_hammerBtn": {
+      "__id__": 108
+    },
+    "label_hammerPropNum": {
+      "__id__": 111
+    },
+    "node_changeBtn": {
+      "__id__": 136
+    },
+    "label_changePropNum": {
+      "__id__": 139
+    },
+    "node_changeCellItemUI": {
+      "__id__": 153
+    },
+    "node_effectUI": {
+      "__id__": 168
+    },
+    "node_levelRedPacketUI": {
+      "__id__": 151
+    },
+    "node_touchListenMask": {
+      "__id__": 170
+    },
+    "_id": ""
+  },
+  {
+    "__type__": "cc.PrefabInfo",
+    "root": {
+      "__id__": 1
+    },
+    "asset": {
+      "__uuid__": "4c49ec9e-c64a-4921-84eb-9bdd737656e5"
+    },
+    "fileId": "",
+    "sync": false
+  }
+]

+ 8 - 0
assets/resources/game/prefab/gameplay.prefab.meta

@@ -0,0 +1,8 @@
+{
+  "ver": "1.2.9",
+  "uuid": "4c49ec9e-c64a-4921-84eb-9bdd737656e5",
+  "optimizationPolicy": "AUTO",
+  "asyncLoadAssets": false,
+  "readonly": false,
+  "subMetas": {}
+}

+ 2 - 2
assets/resources/game/prefab/uiItem/redbagitem.prefab

@@ -58,8 +58,8 @@
       "__type__": "TypedArray",
       "ctor": "Float64Array",
       "array": [
-        31,
-        -50,
+        -160,
+        50,
         0,
         0,
         0,

+ 86 - 58
assets/resources/module/reward/rewardMission.prefab

@@ -24,20 +24,20 @@
     "_active": true,
     "_components": [
       {
-        "__id__": 119
+        "__id__": 121
       },
       {
-        "__id__": 120
+        "__id__": 122
       },
       {
-        "__id__": 121
+        "__id__": 123
       },
       {
-        "__id__": 122
+        "__id__": 124
       }
     ],
     "_prefab": {
-      "__id__": 123
+      "__id__": 125
     },
     "_opacity": 255,
     "_color": {
@@ -101,17 +101,17 @@
         "__id__": 35
       },
       {
-        "__id__": 100
+        "__id__": 102
       }
     ],
     "_active": true,
     "_components": [
       {
-        "__id__": 117
+        "__id__": 119
       }
     ],
     "_prefab": {
-      "__id__": 118
+      "__id__": 120
     },
     "_opacity": 255,
     "_color": {
@@ -1338,17 +1338,17 @@
         "__id__": 75
       },
       {
-        "__id__": 91
+        "__id__": 93
       }
     ],
     "_active": true,
     "_components": [
       {
-        "__id__": 98
+        "__id__": 100
       }
     ],
     "_prefab": {
-      "__id__": 99
+      "__id__": 101
     },
     "_opacity": 255,
     "_color": {
@@ -2778,13 +2778,13 @@
         "__id__": 82
       },
       {
-        "__id__": 86
+        "__id__": 87
       }
     ],
     "_active": true,
     "_components": [],
     "_prefab": {
-      "__id__": 90
+      "__id__": 92
     },
     "_opacity": 255,
     "_color": {
@@ -3075,7 +3075,7 @@
       }
     ],
     "_prefab": {
-      "__id__": 85
+      "__id__": 86
     },
     "_opacity": 255,
     "_color": {
@@ -3168,10 +3168,24 @@
       "__id__": 1
     },
     "transition_type": 3,
-    "onComplete": [],
+    "onComplete": [
+      {
+        "__id__": 85
+      }
+    ],
     "_id": ""
   },
   {
+    "__type__": "cc.ClickEvent",
+    "target": {
+      "__id__": 1
+    },
+    "component": "",
+    "_componentId": "43f3akkA71HA76UhTj/R19X",
+    "handler": "clickNextMission",
+    "customEventData": ""
+  },
+  {
     "__type__": "cc.PrefabInfo",
     "root": {
       "__id__": 1
@@ -3193,14 +3207,14 @@
     "_active": true,
     "_components": [
       {
-        "__id__": 87
+        "__id__": 88
       },
       {
-        "__id__": 88
+        "__id__": 89
       }
     ],
     "_prefab": {
-      "__id__": 89
+      "__id__": 91
     },
     "_opacity": 255,
     "_color": {
@@ -3254,7 +3268,7 @@
     "_name": "",
     "_objFlags": 0,
     "node": {
-      "__id__": 86
+      "__id__": 87
     },
     "_enabled": true,
     "_materials": [
@@ -3286,17 +3300,31 @@
     "_name": "",
     "_objFlags": 0,
     "node": {
-      "__id__": 86
+      "__id__": 87
     },
     "_enabled": true,
     "node_panel": {
       "__id__": 1
     },
     "transition_type": 3,
-    "onComplete": [],
+    "onComplete": [
+      {
+        "__id__": 90
+      }
+    ],
     "_id": ""
   },
   {
+    "__type__": "cc.ClickEvent",
+    "target": {
+      "__id__": 1
+    },
+    "component": "",
+    "_componentId": "43f3akkA71HA76UhTj/R19X",
+    "handler": "clickBack",
+    "customEventData": ""
+  },
+  {
     "__type__": "cc.PrefabInfo",
     "root": {
       "__id__": 1
@@ -3327,17 +3355,17 @@
     },
     "_children": [
       {
-        "__id__": 92
+        "__id__": 94
       }
     ],
     "_active": true,
     "_components": [
       {
-        "__id__": 95
+        "__id__": 97
       }
     ],
     "_prefab": {
-      "__id__": 97
+      "__id__": 99
     },
     "_opacity": 255,
     "_color": {
@@ -3391,17 +3419,17 @@
     "_name": "动画",
     "_objFlags": 0,
     "_parent": {
-      "__id__": 91
+      "__id__": 93
     },
     "_children": [],
     "_active": true,
     "_components": [
       {
-        "__id__": 93
+        "__id__": 95
       }
     ],
     "_prefab": {
-      "__id__": 94
+      "__id__": 96
     },
     "_opacity": 255,
     "_color": {
@@ -3455,7 +3483,7 @@
     "_name": "",
     "_objFlags": 0,
     "node": {
-      "__id__": 92
+      "__id__": 94
     },
     "_enabled": true,
     "_materials": [
@@ -3508,7 +3536,7 @@
     "_name": "",
     "_objFlags": 0,
     "node": {
-      "__id__": 91
+      "__id__": 93
     },
     "_enabled": true,
     "_normalMaterial": null,
@@ -3517,7 +3545,7 @@
     "zoomScale": 1.2,
     "clickEvents": [
       {
-        "__id__": 96
+        "__id__": 98
       }
     ],
     "_N$interactable": true,
@@ -3635,25 +3663,25 @@
     },
     "_children": [
       {
-        "__id__": 101
+        "__id__": 103
       },
       {
-        "__id__": 104
+        "__id__": 106
       },
       {
-        "__id__": 107
+        "__id__": 109
       },
       {
-        "__id__": 110
+        "__id__": 112
       },
       {
-        "__id__": 113
+        "__id__": 115
       }
     ],
     "_active": true,
     "_components": [],
     "_prefab": {
-      "__id__": 116
+      "__id__": 118
     },
     "_opacity": 255,
     "_color": {
@@ -3707,17 +3735,17 @@
     "_name": "星星",
     "_objFlags": 0,
     "_parent": {
-      "__id__": 100
+      "__id__": 102
     },
     "_children": [],
     "_active": true,
     "_components": [
       {
-        "__id__": 102
+        "__id__": 104
       }
     ],
     "_prefab": {
-      "__id__": 103
+      "__id__": 105
     },
     "_opacity": 255,
     "_color": {
@@ -3771,7 +3799,7 @@
     "_name": "",
     "_objFlags": 0,
     "node": {
-      "__id__": 101
+      "__id__": 103
     },
     "_enabled": true,
     "_materials": [
@@ -3814,17 +3842,17 @@
     "_name": "星星",
     "_objFlags": 0,
     "_parent": {
-      "__id__": 100
+      "__id__": 102
     },
     "_children": [],
     "_active": true,
     "_components": [
       {
-        "__id__": 105
+        "__id__": 107
       }
     ],
     "_prefab": {
-      "__id__": 106
+      "__id__": 108
     },
     "_opacity": 255,
     "_color": {
@@ -3878,7 +3906,7 @@
     "_name": "",
     "_objFlags": 0,
     "node": {
-      "__id__": 104
+      "__id__": 106
     },
     "_enabled": true,
     "_materials": [
@@ -3921,17 +3949,17 @@
     "_name": "星星",
     "_objFlags": 0,
     "_parent": {
-      "__id__": 100
+      "__id__": 102
     },
     "_children": [],
     "_active": true,
     "_components": [
       {
-        "__id__": 108
+        "__id__": 110
       }
     ],
     "_prefab": {
-      "__id__": 109
+      "__id__": 111
     },
     "_opacity": 255,
     "_color": {
@@ -3985,7 +4013,7 @@
     "_name": "",
     "_objFlags": 0,
     "node": {
-      "__id__": 107
+      "__id__": 109
     },
     "_enabled": true,
     "_materials": [
@@ -4028,17 +4056,17 @@
     "_name": "星星",
     "_objFlags": 0,
     "_parent": {
-      "__id__": 100
+      "__id__": 102
     },
     "_children": [],
     "_active": true,
     "_components": [
       {
-        "__id__": 111
+        "__id__": 113
       }
     ],
     "_prefab": {
-      "__id__": 112
+      "__id__": 114
     },
     "_opacity": 255,
     "_color": {
@@ -4092,7 +4120,7 @@
     "_name": "",
     "_objFlags": 0,
     "node": {
-      "__id__": 110
+      "__id__": 112
     },
     "_enabled": true,
     "_materials": [
@@ -4135,17 +4163,17 @@
     "_name": "星星",
     "_objFlags": 0,
     "_parent": {
-      "__id__": 100
+      "__id__": 102
     },
     "_children": [],
     "_active": true,
     "_components": [
       {
-        "__id__": 114
+        "__id__": 116
       }
     ],
     "_prefab": {
-      "__id__": 115
+      "__id__": 117
     },
     "_opacity": 255,
     "_color": {
@@ -4199,7 +4227,7 @@
     "_name": "",
     "_objFlags": 0,
     "node": {
-      "__id__": 113
+      "__id__": 115
     },
     "_enabled": true,
     "_materials": [
@@ -4329,10 +4357,10 @@
       "__id__": 75
     },
     "anim_open_redbag": {
-      "__id__": 98
+      "__id__": 100
     },
     "btn_watch_video": {
-      "__id__": 95
+      "__id__": 97
     },
     "node_redBag": {
       "__id__": 43

+ 43 - 24
assets/script/before/GamePlay.ts

@@ -9,7 +9,7 @@ import PlayerConst from "./data/PlayerConst";
 import DataMgr from "./mgr/DataMgr";
 import EffectMgr, { TIP_SPRITEITEM_TYPE } from "./mgr/EffectMgr";
 import GameMgr, { UI_NAME } from "./mgr/GameMgr";
-import { AUDIO_TYPE, EVENT_TYPE } from "../game/data/GameData";
+import { AUDIO_TYPE, EVENT_TYPE, GameProp } from "../game/data/GameData";
 
 const { ccclass, property } = cc._decorator;
 
@@ -31,6 +31,14 @@ export default class GamePlay extends cc.Component {
     label_level: cc.Label = null;
     @property(cc.Node)
     node_redPacketIcon: cc.Node = null;
+    @property({ type: cc.Node, displayName: "气泡红包1" })
+    btn_gameGetRed1: cc.Node = null;
+    @property({ type: cc.Node, displayName: "气泡红包2" })
+    btn_gameGetRed2: cc.Node = null;
+    @property({ type: cc.Node, displayName: "气泡红包3" })
+    btn_gameGetRed3: cc.Node = null;
+    @property({ type: cc.Node, displayName: "气泡红包3" })
+    btn_gameGetRed4: cc.Node = null;
 
     /**内容 */
     @property(cc.Node)
@@ -178,6 +186,12 @@ export default class GamePlay extends cc.Component {
             this.initEvent();
 
             this.intervalShowGuide();
+
+            cc.tween(this.btn_gameGetRed1).delay(0.2).to(1, { y: 60 }, { easing: "" }).to(1, { y: 0 }, { easing: "" }).union().repeatForever().start();
+            cc.tween(this.btn_gameGetRed2).delay(0.4).to(1, { y: 60 }, { easing: "" }).to(1, { y: 0 }, { easing: "" }).union().repeatForever().start();
+            cc.tween(this.btn_gameGetRed3).delay(0.2).to(1, { y: 60 }, { easing: "" }).to(1, { y: 0 }, { easing: "" }).union().repeatForever().start();
+            cc.tween(this.btn_gameGetRed4).delay(0.4).to(1, { y: 60 }, { easing: "" }).to(1, { y: 0 }, { easing: "" }).union().repeatForever().start();
+
         }).catch();
     }
 
@@ -268,14 +282,16 @@ export default class GamePlay extends cc.Component {
 
     /**初始化关卡数目 */
     initLevel() {
-        mk.console.log("[Game] PlayerConst.levelNum", PlayerConst.levelNum);
-        this.label_level.string = `第${PlayerConst.levelNum + 1}关`
+        mk.console.log("[Game] levelNum", gData.gameData.getProp(GameProp.levelNum));
+        let level = gData.gameData.getProp(GameProp.levelNum);
+        this.label_level.string = `第${level + 1}关`
     }
 
     /**初始化总分数 */
     initTotalScore() {
+        let level = gData.gameData.getProp(GameProp.levelNum);
         //加入一些随机值,而不是都能获得过关红包
-        this.targetScore = 450 + PlayerConst.levelNum * (5 + Math.floor(Math.random() * 15));
+        this.targetScore = 450 + level * (5 + Math.floor(Math.random() * 15));
         // //测试切换
         // this.targetScore = 5000;
         this.addScoreSpeed = Math.floor(this.targetScore / 400) * 2 + 4;
@@ -293,7 +309,7 @@ export default class GamePlay extends cc.Component {
         progress = progress > 1 ? 1 : progress;
         this.spr_progress.fillRange = progress;
         if (progress >= 1) {
-            this.gameCount();
+            this.pass();
             mk.ui.openPanel("module/reward/rewardMission");
         }
         // LogUtil.log("progressprogressprogressprogressprogressprogress", progress);
@@ -308,8 +324,9 @@ export default class GamePlay extends cc.Component {
 
     /**初始化锤子道具数目 */
     initHammerPropNum() {
-        if (PlayerConst.hanmmerPropNum > 0) {
-            this.label_hammerPropNum.string = PlayerConst.hanmmerPropNum.toString();
+        let hammerPropNum = gData.gameData.getProp(GameProp.hammerPropNum);
+        if (hammerPropNum) {
+            this.label_hammerPropNum.string = hammerPropNum.toString();
         }
         else {
             this.label_hammerPropNum.string = "+";
@@ -318,8 +335,9 @@ export default class GamePlay extends cc.Component {
 
     /**初始化重置道具数目 */
     initResetPropNum() {
-        if (PlayerConst.resetPropNum) {
-            this.label_resetPropNum.string = PlayerConst.resetPropNum.toString();
+        let resetPropNum = gData.gameData.getProp(GameProp.resetPropNum);
+        if (resetPropNum) {
+            this.label_resetPropNum.string = resetPropNum.toString();
         }
         else {
             this.label_resetPropNum.string = "+";
@@ -328,8 +346,9 @@ export default class GamePlay extends cc.Component {
 
     /**初始化替换道具数目 */
     initChanegPropNum() {
-        if (PlayerConst.changePropNum) {
-            this.label_changePropNum.string = PlayerConst.changePropNum.toString();
+        let changePropNum = gData.gameData.getProp(GameProp.changePropNum);
+        if (changePropNum) {
+            this.label_changePropNum.string = changePropNum.toString();
         }
         else {
             this.label_changePropNum.string = "+";
@@ -432,8 +451,9 @@ export default class GamePlay extends cc.Component {
         this.setCurSelectPropBtn(this.node_resetBtn);
 
         this.curPropType = PROPTYPE.Reset;
-        console.log("PlayerConst.resetPropNum", PlayerConst.resetPropNum);
-        if (PlayerConst.resetPropNum <= 0) {
+
+        let resetPropNum = gData.gameData.getProp(GameProp.resetPropNum);
+        if (resetPropNum) {
             mk.ui.openPanel("game/prefab/uiPanel/GetPropUI");
             return;
         }
@@ -471,8 +491,8 @@ export default class GamePlay extends cc.Component {
 
         this.curPropType = PROPTYPE.Hammer;
 
-        console.log("PlayerConst.hanmmerPropNum", PlayerConst.hanmmerPropNum);
-        if (PlayerConst.hanmmerPropNum <= 0) {
+        let hammerPropNum = gData.gameData.getProp(GameProp.hammerPropNum);
+        if (hammerPropNum<= 0) {
             mk.ui.openPanel("game/prefab/uiPanel/GetPropUI");
             return;
         }
@@ -487,10 +507,10 @@ export default class GamePlay extends cc.Component {
 
         //设置当前选择的道具按钮
         this.setCurSelectPropBtn(this.node_changeBtn);
-        console.log("PlayerConst.changePropNum", PlayerConst.changePropNum);
 
         this.curPropType = PROPTYPE.Change;
-        if (PlayerConst.changePropNum <= 0) {
+        let changePropNum = gData.gameData.getProp(GameProp.changePropNum);
+        if (changePropNum <= 0) {
             mk.ui.openPanel("game/prefab/uiPanel/GetPropUI");
             return;
         }
@@ -952,7 +972,7 @@ export default class GamePlay extends cc.Component {
     pass() {
 
         //这边会多次进入
-        if (GamePlay.Inst.node.active == false) {
+        if (GamePlay.Inst.node.active == false || this.ifPass) {
             return;
         }
 
@@ -960,14 +980,13 @@ export default class GamePlay extends cc.Component {
 
         GamePlay.Inst.ifGetPass = false;
 
-        let passLevelNum = PlayerConst.levelNum + 1;
-        mk.console.log("[Game]pass passLevelNum", passLevelNum);
-
+        let levelNum = gData.gameData.getProp(GameProp.levelNum);
+        mk.console.log("[Game]pass passLevelNum", levelNum);
         GamePlay.Inst.ifGetPass = true;
-        PlayerConst.levelNum = passLevelNum;
-
+        gData.gameData.setProp(GameProp.levelNum, ++levelNum);
         //游戏结算
         this.gameCount();
+        console.log("gData.gameData.getProp(GameProp.levelNum)", gData.gameData.getProp(GameProp.levelNum));
     }
 
     /**游戏结算 */
@@ -980,7 +999,7 @@ export default class GamePlay extends cc.Component {
 
         let node_rewardLcuk = mk.ui.getCurOnPanel("rewardLuck")
         if (node_rewardLcuk) {
-            mk.ui.closePanel("rewardLuck");
+            mk.ui.closePanel("rewardLuck")
         }
 
         this.gameOver();

+ 0 - 351
assets/script/before/Start.ts

@@ -1,351 +0,0 @@
-import PlayerConst from "./data/PlayerConst";
-import GameConst from "./data/GameConst";
-import Util from "./util/Util";
-import SelectSceneItem from "./view/uiItem/SelectSceneItem";
-import GameMgr, { UI_NAME } from "./mgr/GameMgr";
-import { EVENT_TYPE } from "../game/data/GameData";
-
-const { ccclass, property } = cc._decorator;
-
-@ccclass
-export default class Start extends cc.Component {
-
-    public static Inst: Start = null;
-    @property(cc.Node)
-    node_bg: cc.Node = null;
-
-    @property(cc.Node)
-    node_top: cc.Node = null;
-
-    @property(cc.Node)
-    node_scene: cc.Node = null;
-    @property(cc.Node)
-    node_leftBtn: cc.Node = null;
-    @property(cc.Node)
-    node_rightBtn: cc.Node = null;
-
-    @property(cc.Node)
-    node_startGameBtn: cc.Node = null;
-
-    // LIFE-CYCLE CALLBACKS:
-
-    onLoad() {
-        Start.Inst = this;
-        // HttpMgr.Inst.shopGoodsList();
-        // HttpMgr.Inst.shopPrizeList();
-    }
-
-    start() {
-
-        mk.console.log(" if(cc.sys.isBrowser)", cc.sys.isBrowser);
-
-        this.adapt();
-        this.initView();
-        this.initEvent();
-    }
-
-    /**适配*/
-    adapt() {
-
-        this.node_bg.width = cc.winSize.width;
-        this.node_bg.height = cc.winSize.height;
-
-        let gap = ((cc.winSize.height - 100) - 1344) * 0.5
-        this.node_top.y += gap;
-    }
-
-    onEnable() {
-
-        // if (Game.Inst && Game.Inst.node.active) {
-        //     Game.Inst.restart();
-        // }
-
-        GameMgr.Inst.sendEvent(UI_NAME.Start, "进入主界面");
-        //this.adapt();
-
-        //AudioMgr.Inst.playMusic(AUDIO_CLIP_NAME.bg_start);
-        mk.audio.playMusic("music_startBg");
-    }
-
-    onDisable() {
-
-    }
-
-    initView() {
-        //this.adapt();
-        this.initHead();
-        this.initNickName();
-        this.initCashNum();
-        this.initEnergyNum();
-        this.initShopScoreNum();
-        this.initEnergyRecoverTime();
-        this.initSelectSceneItem();
-    }
-
-    /** */
-    initPlayerInfo() {
-
-    }
-
-    /**初始化头像 */
-    initHead() {
-        mk.console.log("开始界面初始化 Head111111111111111111", PlayerConst.headImgUrl);
-        //LoaderUtil.loadHeadImg(this.spr_playerHead, 100);
-    }
-
-    initNickName() {
-        mk.console.log("开始界面初始化 NickName111111111111111111", PlayerConst.nickName);
-        //this.label_nickName.string = PlayerConst.nickName.toString();
-    }
-
-    initCashNum() {
-
-        //Start界面需要先隐藏
-        // LogUtil.log("PlayerConst.cashNum!!!!!!!!!!!!!!!!",PlayerConst.cashNum);
-        // let num = Math.round((PlayerConst.cashNum * 100)) / 100;
-        let num = Util.numberFixed(PlayerConst.cashNum, 2);
-        //this.label_cashNum.string = `¥ ${num}`;
-    }
-
-    /**初始化能量值 */
-    initEnergyNum() {
-
-        // //如果体力无值
-        // if (!PlayerConst.energyNum) {
-        //     PlayerConst.energyNum = 0;
-        // }
-
-        // if (PlayerConst.energyNum >= GameConst.maxEnergyNum) {
-        //     this.label_energyNum.string = "10(满)";
-        //     this.label_energyRecoverTime.node.active = false;
-        // }
-        // else {
-        //     this.label_energyNum.string = PlayerConst.energyNum.toString();
-        // }
-
-        // if (PlayerConst.energyNum < GameConst.maxEnergyNum) {
-        //     if (!PlayerConst.leftEnergyRecoverTime) {
-        //         PlayerConst.leftEnergyRecoverTime = GameConst.recoverTimePerEnergy;
-        //     }
-        //     DataMgr.Inst.recoverEnergyNum();
-        //     this.initEnergyRecoverTime();
-        // }
-    }
-
-    initEnergyRecoverTime() {
-
-        // this.label_energyRecoverTime.string = Util.ParseTime2Format(PlayerConst.leftEnergyRecoverTime, "m:s");
-    }
-
-    initShopScoreNum() {
-        // this.label_shopScoreNum.string = PlayerConst.shopScoreNum.toString();
-    }
-
-    initSelectSceneItem() {
-
-        mk.loader.load("prefab/SelectSceneItem", cc.Prefab).then((prefab) => {
-            for (var i = 0; i <= GameConst.maxIconIndex; i++) {
-                let node_selectSceneItem: cc.Node = cc.instantiate(prefab);
-                if (i < GameConst.maxIconIndex) {
-                    node_selectSceneItem.getComponent(SelectSceneItem).init(i);
-                }
-                else {
-                    node_selectSceneItem.getComponent(SelectSceneItem).init();
-                }
-                this.node_scene.addChild(node_selectSceneItem);
-            }
-            this.node_scene.getComponent(cc.Layout).updateLayout;
-            this.setNodeSelectScenePos(GameConst.iconIndex);
-        }).catch(() => {
-
-        })
-
-    }
-
-    /**初始化事件 */
-    initEvent() {
-        this.node_startGameBtn.on(cc.Node.EventType.TOUCH_END, this.onClick, this);
-        this.node_leftBtn.on(cc.Node.EventType.TOUCH_END, this.onClick, this);
-        this.node_rightBtn.on(cc.Node.EventType.TOUCH_END, this.onClick, this);
-
-        if (!GameConst.isAuth) {
-            mk.event.register(EVENT_TYPE.BACK_WxAuth, this.onWxAuthBack, this);
-        }
-    }
-
-    // update (dt) {}
-
-    onClick(event: cc.Event.EventTouch) {
-        //EffectMgr.Inst.addTip("点击按钮!!!!!!!!!!!!!!!")
-        // AudioMgr.Inst.playEffect(AUDIO_CLIP_NAME.buttonClick);
-        mk.audio.playEffect("ef_button_click");
-
-        // switch (event.currentTarget) {
-        //     case this.node_playerInfo:
-        //         this.onClickPlayerInfo();
-        //         break;
-        //     case this.node_energy:
-        //         this.onClickEnergy();
-        //         break;
-        //     case this.node_settingBtn:
-        //         this.onClickSettingBtn();
-        //         break;
-        //     case this.node_clockInBtn:
-        //         this.onClickClockInBtn();
-        //         break;
-        //     case this.node_startGameBtn:
-        //         this.onClickStartGameBtn();
-        //         break;
-        //     case this.node_leftBtn:
-        //         this.onClickLeftBtn();
-        //         break;
-        //     case this.node_rightBtn:
-        //         this.onClickRightBtn();
-        //         break;
-        //     case this.node_cashOutBtn:
-        //         this.onClickCashOutBtn();
-        //         break;
-        //     case this.node_dailyCashOutBtn:
-        //         this.onClickDailyCashOutBtn();
-        //         break;
-        //     case this.node_shopScore:
-        //         this.onClickShopScore();
-        //         break;
-        //     case this.node_shopBtn:
-        //         this.onClickShopBtn();
-        //         break;
-        //     case this.node_shopActivityBtn:
-        //         this.onClickShopActivityBtn();
-        //         break;
-        //     case this.node_moreGameBtn:
-        //         this.onClickMoreGameBtn();
-        //         break;
-        //     case this.node_turnplateBtn:
-        //         this.onClickTurnplateBtn();
-        //         break;
-        //     case this.node_shareBtn:
-        //         this.onClickShareBtn();
-        //         break;
-        //     case this.node_bankBtn:
-        //         this.onClickBankBtn();
-        //         break;
-        //     case this.node_luckPacketBtn:
-        //         this.onClickLuckyPacketBtn();
-        //         break;
-        //     case this.node_signBtn:
-        //         this.onClickSignBtn();
-        //         break;
-        // }
-    }
-
-
-    onClickPlayerInfo() {
-        GameMgr.Inst.sendEvent(UI_NAME.Start, "点击玩家信息按钮");
-        mk.ui.openPanel("PlayerInfoUI");
-        //JsbMgr.ShareToMiniGame();
-    }
-
-
-    onClickSettingBtn() {
-        GameMgr.Inst.sendEvent(UI_NAME.Start, "点击设置按钮");
-        mk.ui.openPanel("SettingUI");
-    }
-
-    onClickStartGameBtn() {
-        GameMgr.Inst.sendEvent(UI_NAME.Start, "点击开始按钮");
-        if (PlayerConst.energyNum <= 0) {
-            mk.ui.openPanel("GetEnergyUI");
-            return;
-        }
-
-        // if (GameConst.iconIndex >= GameConst.maxIconIndex) {
-        //     EffectMgr.Inst.addTip("场景未解锁,请选择解锁场景");
-        //     return;
-        // }
-
-        if (GameConst.iconIndex >= GameConst.maxIconIndex) {
-            GameConst.iconIndex = 4;
-            this.setNodeSelectScenePos(GameConst.iconIndex);
-        }
-    }
-
-    onClickLeftBtn() {
-        GameMgr.Inst.sendEvent(UI_NAME.Start, "点击左切换按钮");
-        GameConst.iconIndex--;
-        this.setNodeSelectScenePos(GameConst.iconIndex);
-    }
-
-    onClickRightBtn() {
-        GameMgr.Inst.sendEvent(UI_NAME.Start, "点击右切换按钮");
-        GameConst.iconIndex++;
-        this.setNodeSelectScenePos(GameConst.iconIndex);
-    }
-
-
-    setNodeSelectScenePos(iconIndex: number) {
-        //let maxLeftX = GameConst.maxIconIndex * 750 * 0.5 - 750 * 0.5;
-
-        let maxLeftX = this.node_scene.width * 0.5 - 750 * 0.5;
-        let x = maxLeftX - (iconIndex) * 750;
-        this.node_leftBtn.off(cc.Node.EventType.TOUCH_END, this.onClick, this);
-        this.node_rightBtn.off(cc.Node.EventType.TOUCH_END, this.onClick, this);
-        cc.tween(this.node_scene).to(0.5, { x: x }).call(() => {
-            this.node_leftBtn.on(cc.Node.EventType.TOUCH_END, this.onClick, this);
-            this.node_rightBtn.on(cc.Node.EventType.TOUCH_END, this.onClick, this);
-        }).start();
-        mk.console.log("GameConst.iconIndex", GameConst.iconIndex, x);
-
-        this.node_leftBtn.active = GameConst.iconIndex > 0;
-        this.node_rightBtn.active = GameConst.iconIndex < GameConst.maxIconIndex;
-    }
-
-    /**点击分享按钮 */
-    onClickShareBtn() {
-
-    }
-
-    /**点击存钱罐按钮 */
-    onClickBankBtn() {
-
-    }
-
-    /**点击福袋按钮 */
-    onClickLuckyPacketBtn() {
-
-    }
-
-    /**点击签到按钮 */
-    onClickSignBtn() {
-
-    }
-
-    /** 设置更多游戏图片 */
-    setMoreGameSp(arr) {
-        let len = arr.length
-        let index = Util.rnd(0, len - 1)
-        let data = arr[index]
-        this.showMoreGameSp(data)
-
-        this.schedule(() => {
-            index++
-            index = (index % len)
-            // LogUtil.logV('setMoreGameSp  ', 'index ' + index)
-            data = arr[index]
-            this.showMoreGameSp(data)
-        }, 10)
-    }
-
-    showMoreGameSp(data) {
-        // LoadResUtil.loadRemoteSprite(data.icon, this.spr_moreGame, () => {
-        //     this.label_moreGameName.string = data.title
-        // })
-    }
-
-    //自定义事件---------------------------------------------------------------------
-    /**微信授权返回 */
-    onWxAuthBack() {
-        this.initHead();
-        this.initNickName();
-        mk.event.remove(EVENT_TYPE.BACK_WxAuth, this.onWxAuthBack, this);
-    }
-}

+ 0 - 9
assets/script/before/Start.ts.meta

@@ -1,9 +0,0 @@
-{
-  "ver": "1.0.8",
-  "uuid": "8ce54927-6abc-4beb-b536-a46c254cbf44",
-  "isPlugin": false,
-  "loadPluginInWeb": true,
-  "loadPluginInNative": true,
-  "loadPluginInEditor": false,
-  "subMetas": {}
-}

+ 2 - 4
assets/script/before/data/GameConst.ts

@@ -1,5 +1,3 @@
-import HttpMgr from "../mgr/HttpMgr";
-
 const { ccclass, property } = cc._decorator;
 
 @ccclass
@@ -216,8 +214,8 @@ export default class GameConst extends cc.Component {
             "oaid": GameConst.oaid,
             "umid": GameConst.umid
         }
-        HttpMgr.Inst.updateGameVersion(GameConst.appVersion);
-        HttpMgr.Inst.updateDeviceInfo(GameConst.deviceInfo)
+        // HttpMgr.Inst.updateGameVersion(GameConst.appVersion);
+        // HttpMgr.Inst.updateDeviceInfo(GameConst.deviceInfo)
     }
 }
 

+ 0 - 143
assets/script/before/data/PlayerConst.ts

@@ -8,157 +8,14 @@ const { ccclass, property } = cc._decorator;
 @ccclass
 export default class PlayerConst extends cc.Component {
 
-    //玩家状态信息---------------------------------------------------------------
-    /**今日是否首次登陆 */
-    public static ifFirstLoginToday: boolean = false;
-    /**是否显示了惊喜任务 */
-    public static ifShowSurpriseTask: boolean = false;
-
-    //玩家微信信息---------------------------------------------------------------
-    /**玩家昵称 */
-    public static headImgUrl: string = "";
-    public static nickName: string = "微信未授权";
-    public static inviteCode: string = "";
-
-    //玩家数据信息---------------------------------------------------------------
-    /**玩家现金数目 */
-    public static cashNum: number = 0;
-
-    /**关卡数 */
-    public static levelNum: number = 0;
-
-    /**体力数量 */
-    public static energyNum: number = 9;
-
-    /**体力更改的时间 */
-    public static energyChangeTime: number = 0;
-
-    /**剩余体力恢复时间 */
-    public static leftEnergyRecoverTime: number = null;
-
-    /**锤子道具数量 */
-    public static hanmmerPropNum: number = 0;
-    /**变色道具数量 */
-    public static changePropNum: number = 0;
-    /**重设道具数量 */
-    public static resetPropNum: number = 0;
-
-    public passRedPacketCashNum: Number = 0;
-
-    /**登陆天数 */
-    public static loginDay: number = 0;
-
     //Api回传数据-------------------------------------------------------------------
     public static videoNum: number = 0;
     /**是否巨量激活 */
     public static ifJuliangApiApiActivie: boolean = false;
     /**是否巨量次留激活 */
     public static ifJuliangApiSencondActivie: boolean = false;
-
-
-    //打卡红包相关数据
-    public static clockInCashInfo: any = null;
-
-    //打卡相关数据------------------------------------------------------------------
-    
-    /**通关红包数 */
-    public static todayPassRedPacketNum: number = 0;
-    /**今日目标红包数 */
-    public static todayTargetRedPacketNum: number = 10;
-
     //平均ecpm----------------------------------------------------------------------
     public static average_ecpm: number = 0;
-
-    //商城信息-----------------------------------------------------------------------
-    public static adress: string = "";
-
-    /**获取用户detail信息 */
-    public static getDetailInfo(data: any) {
-        PlayerConst.cashNum = !!data.amount ? Number(data.amount) : 0;
-        PlayerConst.levelNum = !!data.cur_pass_no ? Number(data.cur_pass_no) : 0;
-        PlayerConst.energyNum = !!data.strength ? data.strength : 0;
-        PlayerConst.shopScoreNum = !!data.score_total ? data.score_total : 0;
-     
-        //登陆天数
-        PlayerConst.loginDay = !!data.loginDays ? data.loginDays : 1;
-      
-        //给Ecpm赋值
-        if (!!data.adShowConfig) {
-            if (PlayerConst.ifFirstLoginToday || !PlayerConst.average_ecpm) {
-                PlayerConst.average_ecpm = data.adShowConfig.average_ecpm;
-                StorageMgr.Inst.setStorage(DATA_STORAGE_KEY.average_ecpm, PlayerConst.average_ecpm);
-                mk.console.log("[HttpMgr] detail PlayerConst.average_ecpm 首日赋值", PlayerConst.average_ecpm);
-            }
-            mk.console.log("[HttpMgr] detail PlayerConst.average_ecpm", PlayerConst.average_ecpm);
-        }
-
-        //刷新红包数目
-        DataMgr.Inst.updateMoneyNum(0);
-        //刷新道具数量
-        this.getPropNum(data.props_data);
-    }
-
-    /**获取道具数量 */
-    public static getPropNum(data: any) {
-        if (data) {
-            mk.console.log("data", data);
-            Object.keys(data).forEach((key) => {
-                let num = Number(data[key]);
-                let propType = PROPTYPE.Null;
-                switch (key) {
-                    case PROPTYPE.Hammer:
-                        propType = PROPTYPE.Hammer;
-                        break;
-                    case PROPTYPE.Reset:
-                        propType = PROPTYPE.Reset;
-                        break;
-                    case PROPTYPE.Change:
-                        propType = PROPTYPE.Change;
-                        break;
-                }
-                DataMgr.Inst.updatePropNum(0, propType, num);
-            })
-        }
-    }
-
-    /** 获取特定类型的道具数量 */
-    public static getPropNumByType(propType: PROPTYPE): number {
-        let num: number = 0;
-        switch (propType) {
-            case PROPTYPE.Hammer:
-                num = PlayerConst.hanmmerPropNum;
-                break;
-            case PROPTYPE.Reset:
-                num = PlayerConst.resetPropNum;
-                break;
-            case PROPTYPE.Change:
-                num = PlayerConst.changePropNum;
-                break;
-            default:
-                num = 0;
-                break;
-        }
-        return num;
-    }
-
-    /**检测是否是新授权用户 */
-    public static cheeckIfNewAuthUser(registerTime: number): boolean {
-        if (!registerTime) {
-            return true;
-        }
-        let curDate = new Date();
-        let date_registerTime = new Date(registerTime * 1000);
-        let day_curDate = Util.parseTimestamp(curDate);
-        let day_registerTime = Util.parseTimestamp(date_registerTime);
-        mk.console.log("Util.parseTimestamp(day_curDate)", Util.parseTimestamp(curDate));
-        mk.console.log("Util.parseTimestamp(day_registerTime)", Util.parseTimestamp(date_registerTime));
-        if (day_curDate == day_registerTime) {
-            return true;
-        }
-        else {
-            return false;
-        }
-    }
 }
 
 export enum DATA_STORAGE_KEY {

+ 15 - 143
assets/script/before/mgr/DataMgr.ts

@@ -6,13 +6,10 @@
 //  - https://docs.cocos.com/creator/manual/en/scripting/life-cycle-callbacks.html
 
 import PlayerConst, { DATA_STORAGE_KEY } from "../data/PlayerConst";
-import GameConst from "../data/GameConst";
-import Start from "../Start";
 import StorageMgr from "./StorageMgr";
 import { PROPTYPE } from "../data/Enum";
 import GamePlay from "../GamePlay";
-import HttpMgr from "./HttpMgr";
-import { EVENT_TYPE } from "../../game/data/GameData";
+import { EVENT_TYPE, GameProp } from "../../game/data/GameData";
 
 const { ccclass, property } = cc._decorator;
 
@@ -31,26 +28,6 @@ export default class DataMgr extends cc.Component {
 
     /**初始化缓存数据 */
     initStorageData() {
-        //uin
-        let uin = StorageMgr.Inst.getStorage(DATA_STORAGE_KEY.uin);
-        mk.console.log("uin", uin);
-        if (!!uin) {
-            GameConst.uin = mk.encrypt.decrypt(uin, GameConst.localEncryptKey, GameConst.appid);
-            GameConst.tmp_uin = GameConst.uin;
-            mk.console.log("GameConst.uin", GameConst.uin);
-        }
-
-        //session_key 
-        let session_key = StorageMgr.Inst.getStorage(DATA_STORAGE_KEY.session_key);
-        if (!!session_key) {
-            GameConst.session_key = mk.encrypt.decrypt(session_key, GameConst.localEncryptKey, GameConst.appid);
-        }
-
-        //login_ticket
-        let login_ticket = StorageMgr.Inst.getStorage(DATA_STORAGE_KEY.login_ticket);
-        if (!!login_ticket) {
-            GameConst.login_ticket = mk.encrypt.decrypt(login_ticket, GameConst.localEncryptKey, GameConst.appid);
-        }
 
         //是否巨量api 回传激活
         let ifJuliangApiActivie = StorageMgr.Inst.getStorage(DATA_STORAGE_KEY.ifJuliangApiApiActivie);
@@ -64,91 +41,11 @@ export default class DataMgr extends cc.Component {
             PlayerConst.ifJuliangApiSencondActivie = ifJuliangApiSencondActivie;
         }
 
-        //今天通关的红包数目
-        let todayPassRedPacketNum = StorageMgr.Inst.getStorage(DATA_STORAGE_KEY.todayPassRedPacketNum);
-        if (!!todayPassRedPacketNum) {
-            PlayerConst.todayPassRedPacketNum = todayPassRedPacketNum;
-        }
-
-        //地址
-        let address = StorageMgr.Inst.getStorage(DATA_STORAGE_KEY.adress);
-        if (!!address) {
-            PlayerConst.adress = address;
-        }
-
         //平均ecpm
         let average_ecpm = StorageMgr.Inst.getStorage(DATA_STORAGE_KEY.average_ecpm);
         if (!!average_ecpm) {
             PlayerConst.average_ecpm = average_ecpm;
         }
-
-        //体力回复
-        let energyNum = StorageMgr.Inst.getStorage(DATA_STORAGE_KEY.energyNum);
-        if (!!energyNum) {
-            PlayerConst.energyNum = energyNum;
-        }
-
-        //剩余体力恢复时间
-        let leftEnergyRecoverTime = StorageMgr.Inst.getStorage(DATA_STORAGE_KEY.leftEnergyRecoverTime);
-        if (!!leftEnergyRecoverTime) {
-            PlayerConst.leftEnergyRecoverTime = leftEnergyRecoverTime;
-        }
-
-        let date = new Date();
-
-        //体力值恢复计算--------------------------------------------------------------------
-        let energyChangeTime = StorageMgr.Inst.getStorage(DATA_STORAGE_KEY.energyChangeTime);
-        mk.console.log("energyChangeTime", energyChangeTime);
-        if (!!energyChangeTime) {
-
-            let curTime = date.getTime();
-
-            //计算总的间隔时间
-            let timeInterval = Math.floor((curTime - energyChangeTime) / 1000);
-            //计算整段恢复的数量
-            let recoverNum = Math.floor(timeInterval / GameConst.recoverTimePerEnergy);
-
-            //去除整段恢复剩余的时间
-            let leftTime = timeInterval - recoverNum * GameConst.recoverTimePerEnergy;
-
-            //如果存在剩余恢复时间
-            if (leftEnergyRecoverTime) {
-                if (leftTime >= leftEnergyRecoverTime) {
-                    recoverNum += 1;
-                    PlayerConst.leftEnergyRecoverTime = leftTime - leftEnergyRecoverTime;
-                }
-                else {
-                    PlayerConst.leftEnergyRecoverTime = leftEnergyRecoverTime - leftTime;
-                }
-            }
-
-            if (recoverNum > 0) {
-                PlayerConst.energyNum += recoverNum;
-                if (PlayerConst.energyNum >= GameConst.maxEnergyNum) {
-                    PlayerConst.energyNum = GameConst.maxEnergyNum;
-                    StorageMgr.Inst.setStorage(DATA_STORAGE_KEY.energyNum, PlayerConst.energyNum);
-                }
-            }
-            mk.console.log("recoverNum", recoverNum);
-            mk.console.log("timeInterval", timeInterval);
-        }
-    }
-
-    /**更新金钱数量
-     * @param cashNum 加减的cashNum值
-     */
-    public updateMoneyNum(cashNum: number) {
-        PlayerConst.cashNum += cashNum;
-        if (cashNum < 0) {
-            PlayerConst.cashNum = PlayerConst.cashNum <= 0 ? 0 : PlayerConst.cashNum;
-        }
-        StorageMgr.Inst.setStorage(DATA_STORAGE_KEY.cashNum, PlayerConst.cashNum);
-
-        if (Start.Inst) {
-            Start.Inst.initCashNum();
-        }
-
-        mk.event.emit(EVENT_TYPE.UPDATE_CashNum);
     }
 
     /**
@@ -161,36 +58,40 @@ export default class DataMgr extends cc.Component {
         mk.console.log("更新道具数据", propType, propNum);
         switch (propType) {
             case PROPTYPE.Hammer:
+                let hammerPropNum = gData.gameData.getProp(GameProp.hammerPropNum);
                 if (updateType == 0) {
-                    PlayerConst.hanmmerPropNum = propNum;
+
                 }
                 else {
-                    PlayerConst.hanmmerPropNum += propNum;
+                    hammerPropNum += propNum;
                 }
-
+                gData.gameData.setProp(GameProp.hammerPropNum, hammerPropNum);
                 if (GamePlay.Inst) {
                     GamePlay.Inst.initHammerPropNum();
                 }
                 break;
             case PROPTYPE.Change:
+                let changePropNum = gData.gameData.getProp(GameProp.changePropNum);
                 if (updateType == 0) {
-                    PlayerConst.changePropNum = propNum;
+
                 }
                 else {
-                    PlayerConst.changePropNum += propNum;
+                    changePropNum += propNum;
                 }
-
+                gData.gameData.setProp(GameProp.changePropNum, changePropNum);
                 if (GamePlay.Inst) {
                     GamePlay.Inst.initChanegPropNum();
                 }
                 break;
             case PROPTYPE.Reset:
+                let resetPropNum = gData.gameData.getProp(GameProp.resetPropNum);
                 if (updateType == 0) {
-                    PlayerConst.resetPropNum = propNum;
+
                 }
                 else {
-                    PlayerConst.resetPropNum += propNum;
+                    resetPropNum += propNum;
                 }
+                gData.gameData.setProp(GameProp.resetPropNum, resetPropNum);
                 if (GamePlay.Inst) {
                     GamePlay.Inst.initResetPropNum();
                 }
@@ -200,29 +101,6 @@ export default class DataMgr extends cc.Component {
         if (updateType === 0) {
             return;
         }
-
-        HttpMgr.Inst.prop(updateType, GamePlay.Inst.curPropType, 1).then((data) => {
-
-        }).catch((err) => {
-
-        });
-    }
-
-    /**更新当前过关红包 */
-    updateCurPassRedPacket() {
-        PlayerConst.todayPassRedPacketNum++;
-    }
-
-    /** */
-    updateTodayPassRedPacketNum(num: number) {
-        PlayerConst.todayPassRedPacketNum = num;
-        StorageMgr.Inst.setStorage(DATA_STORAGE_KEY.todayPassRedPacketNum, PlayerConst.todayPassRedPacketNum);
-    }
-
-    //更新地址
-    updateAdress(adress: string) {
-        PlayerConst.adress = adress;
-        StorageMgr.Inst.setStorage(DATA_STORAGE_KEY.adress, PlayerConst.adress);
     }
 
     //巨量回传数据--------------------------------------------------------------------------------------------
@@ -231,12 +109,12 @@ export default class DataMgr extends cc.Component {
     updateJuliangApi() {
         if (!PlayerConst.ifJuliangApiApiActivie) {
             this.updateJuliangApiActive(true);
-            HttpMgr.Inst.juliangAPIActive(0);
+            // HttpMgr.Inst.juliangAPIActive(0);
         }
         else {
             if (!PlayerConst.ifJuliangApiSencondActivie && PlayerConst.loginDay > 1) {
                 this.updateJuliangApiSecondActive(true);
-                HttpMgr.Inst.juliangAPIActive(6);
+                // HttpMgr.Inst.juliangAPIActive(6);
             }
         }
     }
@@ -252,10 +130,4 @@ export default class DataMgr extends cc.Component {
         PlayerConst.ifJuliangApiSencondActivie = true;
         StorageMgr.Inst.setStorage(DATA_STORAGE_KEY.ifJuliangApiSencondActivie, PlayerConst.ifJuliangApiSencondActivie);
     }
-
-    /**重设数据 */
-    resteData() {
-        mk.console.log("重设数据!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!");
-        this.updateTodayPassRedPacketNum(0);
-    }
 }

+ 1 - 2
assets/script/before/mgr/GameMgr.ts

@@ -9,7 +9,6 @@
 //  - [English] http://www.cocos2d-x.org/docs/creator/manual/en/scripting/life-cycle-callbacks.html
 
 import GameConst from "../data/GameConst";
-import HttpMgr from "./HttpMgr";
 
 const { ccclass, property } = cc._decorator;
 
@@ -57,7 +56,7 @@ export default class GameMgr extends cc.Component {
         if (!GameConst.ifSendEvent) {
             return;
         }
-        HttpMgr.Inst.sendEventCp(key, value);
+        // HttpMgr.Inst.sendEventCp(key, value);
     }
 }
 

+ 0 - 924
assets/script/before/mgr/HttpMgr.ts

@@ -1,924 +0,0 @@
-import { EVENT_TYPE } from "../../game/data/GameData";
-import MKSwitch from "../../mk/MKSwitch";
-import GameConst from "../data/GameConst";
-import PlayerConst, { DATA_STORAGE_KEY } from "../data/PlayerConst";
-import DataMgr from "./DataMgr";
-import EffectMgr from "./EffectMgr";
-
-import GameMgr, { UI_NAME } from "./GameMgr";
-import StorageMgr from "./StorageMgr";
-
-const { ccclass, property } = cc._decorator;
-
-@ccclass
-export default class HttpMgr {
-
-    //单例模式---------------------------
-    private static instance: HttpMgr = null;
-
-    public static get Inst(): HttpMgr {
-        if (!HttpMgr.instance) {
-            HttpMgr.instance = new HttpMgr();
-        }
-        return HttpMgr.instance;
-    }
-
-    /**
-   * 获取request
-   * @param url        url
-   * @param bodyData   数据
-   * @param httpMethod method 默认GET,可以选择POST
-   */
-    httpRquest(url: string, bodyData: any = null, httpMethod: HTTP_METHOD): Promise<any> {
-
-        if (!GameConst.ifConnectService) {
-            mk.console.log("[HttpMgr] 不连接服务器开关打开");
-            return new Promise((resolve, reject) => { reject() });
-            return;
-        }
-
-        // LogUtil.log("[HttpMgr] 连接服务器" + url);
-
-        // LogUtil.log("[getRequest] url", url);
-        // LogUtil.log("[getRequest] bodyData", bodyData);
-
-        return new Promise((resolve, reject) => {
-            var request = cc.loader.getXMLHttpRequest();
-            request.open(httpMethod, url, true)
-
-            request.onerror = (err) => {
-                mk.console.error(`${HTTP_METHOD[httpMethod]} 错误 onerror`);
-                EffectMgr.Inst.addTip("您的网络发生异常,请检查下哈");
-                reject(err);
-            }
-
-            request.ontimeout = (err) => {
-                mk.console.error(`${HTTP_METHOD[httpMethod]} 超时 ontimeout`);
-                reject(err);
-            }
-
-            request.onloadend = () => {
-                let respone = request.response;
-                if (!respone) {
-                    mk.console.error("[getRequest] 获取用户信息错误 ", request);
-                    reject();
-                }
-
-                let info;
-
-                if (typeof (respone) === "string") {
-                    info = JSON.parse(respone);
-                }
-                else {
-                    info = respone;
-                }
-
-                // LogUtil.log("info", info);
-
-                // LogUtil.log("url.split",url.split("/"))
-
-                // LogUtil.log(`[HttpMgr] ${HTTP_METHOD[httpMethod]}:${url.split("/")[url.split("/").length - 1]}`, info.errmsg)
-
-                if (info.errcode === 0) {
-                    resolve(info)
-                }
-                else {
-                    if (info.errcode === -20003) {
-                        GameMgr.Inst.sendEvent("Error", `服务器发生-20003错误`);
-                    }
-                    reject(info);
-                }
-            }
-
-            let headers = ["Content-Type", "application/json;charset=UTF-8"];
-
-            for (var i = 0; i < headers.length; i += 2) {
-                request.setRequestHeader(headers[i], headers[i + 1]);
-            }
-
-            //POST方式:跟后端了解,可以没有BodyData参数;GET一定没有BodyData参数
-            if (bodyData) {
-                request.send(bodyData)
-            }
-            else {
-                request.send()
-            }
-        })
-    }
-
-    //----------------------------接口操作-------------------------------------
-
-    /**上线
-     * 如果有key 或者 uin 直接进入AccountInfo
-     * 如果没有 连接
-     */
-    online() {
-        //这个需要打印
-        console.log("[HttpMgr] GameConst.url_service", GameConst.url_service);
-        if (GameConst.session_key != '' && GameConst.uin != '') {
-            mk.console.log("[HttpMgr] online 已经有缓存信息");
-            HttpMgr.instance.getUserInfo();
-        }
-        else {
-            mk.console.log("[HttpMgr] online 新用户");
-            HttpMgr.instance.connect();
-        }
-    }
-
-    /**连接
-     * 获取零食的tmp_uin
-     */
-    connect() {
-
-        // GameMgr.Inst.sendEvent(UI_NAME.Loading, "开始加载");
-
-        let url = `${GameConst.url_service}/connect`;
-        let bodyData = {
-            "psk": GameConst.randomKey,
-            "appid": GameConst.appid
-        }
-        mk.console.log("[connect]bodyData", bodyData)
-
-        let encryptData = mk.encrypt.rsaEncrypt(JSON.stringify(bodyData));
-
-        this.httpRquest(url, encryptData, HTTP_METHOD.POST).then((responseData) => {
-
-            let decryptData = mk.encrypt.decrypt(responseData.encrypt, GameConst.randomKey, GameConst.appid);
-            mk.console.log("[HttpMgr] connect", decryptData);
-            if (decryptData) {
-                GameConst.tmp_uin = JSON.parse(decryptData).tmp_uin;
-                StorageMgr.Inst.setStorage(DATA_STORAGE_KEY.uin, GameConst.tmp_uin);
-
-                HttpMgr.instance.wxlogin();
-                //星云关键埋点
-                GameMgr.Inst.sendEventCp(`${UI_NAME.Loading}1`, "开始加载");
-            }
-
-        }).catch((err) => {
-            mk.console.log("[HttpMgr] connect err", err);
-        });
-
-    }
-
-    /**微信登陆
-     * @param ifWxAuthCallBack 是否授权回调
-     */
-    wxlogin(ifWxAuthCallBack: boolean = false) {
-
-        mk.console.log("[Httpmgr] wxlogin 微信登陆");
-        let url = `${GameConst.url_service}/wxlogin`;
-
-        let data = {
-            "code": GameConst.wxCode,
-            "timestamp": Math.floor(new Date().getTime() * 0.001)
-        }
-        let bodydata = null;
-        let encryptInfo = null
-
-        let uin = GameConst.wxCode == '' ? GameConst.tmp_uin : GameConst.uin;
-        let encryptKey = GameConst.wxCode == "" ? GameConst.randomKey : GameConst.session_key;
-
-        encryptInfo = mk.encrypt.encrypt(JSON.stringify(data), encryptKey, GameConst.appid);
-
-        bodydata = {
-            "uin": uin,
-            "encrypt": encryptInfo
-        }
-
-        // LogUtil.log("[Httpmgr] wxlogin uin",uin);
-        // LogUtil.log("[Httpmgr] wxlogin encryptKey",encryptKey);
-        // LogUtil.log("[Httpmgr] wxlogin encryptInfo",encryptInfo);
-
-        // return;
-
-        this.httpRquest(url, JSON.stringify(bodydata), HTTP_METHOD.POST).then((responseData) => {
-
-            /**解密的数据 */
-            let decryptData = null;
-            if (GameConst.wxCode != '') {
-                decryptData = mk.encrypt.decrypt(responseData.encrypt, GameConst.session_key, GameConst.appid)
-            }
-            else {
-                decryptData = mk.encrypt.decrypt(responseData.encrypt, GameConst.randomKey, GameConst.appid)
-            }
-
-            if (decryptData) {
-
-                let data_parse = JSON.parse(decryptData);
-
-                //【测试状态】不发送事件,就不打印日志
-                mk.console.log("[HttpMgr] wxlogin", data_parse);
-
-                GameConst.login_ticket = data_parse.login_ticket
-
-                /**加密的数据 */
-                let encrypt_login_ticket =mk.encrypt.encrypt(GameConst.login_ticket, GameConst.localEncryptKey, GameConst.appid)
-                StorageMgr.Inst.setStorage(DATA_STORAGE_KEY.login_ticket, encrypt_login_ticket);
-
-                if (GameConst.uin != data_parse.uin) {
-                    GameConst.uin = data_parse.uin
-                    // GameConst.isNew = true; //根本无须判定,getDetailInfo那边会鉴定
-                }
-                else {
-                    // GameConst.isNew = false;//根本无须判定,getDetailInfo那边会鉴定
-                }
-                mk.console.log("GameConst.isNew", GameConst.isNew);
-                mk.console.log("GameConst.uin", GameConst.uin);
-                let encrypt_uin = mk.encrypt.encrypt(GameConst.uin, GameConst.localEncryptKey, GameConst.appid)
-                StorageMgr.Inst.setStorage(DATA_STORAGE_KEY.uin, encrypt_uin)
-
-                HttpMgr.instance.checklogin(ifWxAuthCallBack);
-            }
-        }).catch((err) => {
-            mk.console.log("[HttpMgr] wxlogin err", err);
-        });
-    }
-
-    checklogin(ifWxAuthCallBack: boolean = false) {
-
-        let url = `${GameConst.url_service}/checklogin`;
-
-        let tmp_key
-        if (GameConst.wxCode != '') {
-            tmp_key = GameConst.session_key
-        }
-        else {
-            tmp_key = mk.encrypt.randomString()
-            GameConst.randomKey_new = tmp_key
-        }
-
-        let bodyData =
-        {
-            "tmp_key": tmp_key,
-            "uin": GameConst.uin,
-            "login_ticket": GameConst.login_ticket,
-            "appid": GameConst.appid
-        }
-
-        let rasEncryptData = mk.encrypt.rsaEncrypt(JSON.stringify(bodyData));
-
-        this.httpRquest(url, rasEncryptData, HTTP_METHOD.POST).then((responseData) => {
-
-            let decryptData = null;
-            if (GameConst.wxCode != '') {
-                decryptData = mk.encrypt.decrypt(responseData.encrypt, GameConst.session_key, GameConst.appid)
-            }
-            else {
-                decryptData = mk.encrypt.decrypt(responseData.encrypt, GameConst.randomKey_new, GameConst.appid)
-            }
-
-            mk.console.log("[HttpMgr] checklogin", decryptData);
-
-            if (decryptData) {
-                let data_parse = JSON.parse(decryptData)
-                GameConst.session_key = data_parse.session_key
-
-                let encrypt_session_key = mk.encrypt.encrypt(GameConst.session_key, GameConst.localEncryptKey, GameConst.appid)
-                StorageMgr.Inst.setStorage(DATA_STORAGE_KEY.session_key, encrypt_session_key)
-
-                HttpMgr.Inst.getUserInfo(ifWxAuthCallBack);
-            }
-        }).catch((err) => {
-            mk.console.log("[HttpMgr] checklogin err", err);
-        });;
-    }
-
-    /**获取账户信息 */
-    getUserInfo(ifWxAuthCallBack: boolean = false) {
-
-        let url = `${GameConst.url_service}/user`;
-
-        let data =
-        {
-            "uin": GameConst.uin,
-            "login_ticket": GameConst.login_ticket,
-            "timestamp": Math.floor(new Date().getTime() * 0.001)
-        }
-
-        mk.console.log("getUserInfo", data);
-
-        let encryptData = mk.encrypt.encrypt(JSON.stringify(data), GameConst.session_key, GameConst.appid)
-
-        let bodyData = {
-            "uin": GameConst.uin,
-            "encrypt": encryptData
-        }
-
-        this.httpRquest(url, JSON.stringify(bodyData), HTTP_METHOD.POST).then((responseData) => {
-
-            let data = this.parseResponseData(responseData)
-
-            mk.console.log("[HttpMgr] user", data);
-
-            // Object.keys(data).forEach((e) => {
-            //     LogUtil.log("[HttpMgr]1 " + e);
-            //     LogUtil.log("[HttpMgr]2 " + data[e]);
-            // });
-
-            if (data) {
-                GameConst.isNew = data["is_new_user"];
-                mk.console.log("[HttpMgr] user GameConst.isNew", GameConst.isNew);
-                //新手 初始化引导
-                if (GameConst.isNew) {
-             
-                }
-                else {
-
-                }
-                // LogUtil.log("data.is_new_user", data.is_new_user);
-                GameConst.isAuth = data["is_auth"]
-                mk.console.log("GameConst.isAuth", GameConst.isAuth);
-                //是否首次登陆
-                PlayerConst.ifFirstLoginToday = data["is_first_login_today"];
-
-                if (data.is_auth) {
-                    let encrypt_auth = mk.encrypt.encrypt('true', GameConst.localEncryptKey, GameConst.appid)
-                    StorageMgr.Inst.setStorage(DATA_STORAGE_KEY.isAuth, encrypt_auth)
-
-                    PlayerConst.headImgUrl = data["HeadImgUrl"];
-                    PlayerConst.nickName = data["NickName"];
-
-                    let nickname = StorageMgr.Inst.getStorage(DATA_STORAGE_KEY.nickname);
-                    if (!!nickname) {
-                        //改名了
-                        if (nickname != data["nickname"]) {
-                            StorageMgr.Inst.setStorage(DATA_STORAGE_KEY.nickname, PlayerConst.nickName);
-                        }
-                    }
-
-                    //原本放在初始化 首页、提现、用户信息的头像取消,采用分发事件代替
-
-                    HttpMgr.Inst.getDetailInfo(ifWxAuthCallBack)
-                }
-                else {
-                    HttpMgr.Inst.getDetailInfo(ifWxAuthCallBack)
-                }
-            }
-        }).catch((err) => {
-            mk.console.log("[HttpMgr] user err", err);
-        });
-    }
-
-    //-----------------------------------游戏相关接口---------------------------------
-
-    /**获取细节信息 */
-    getDetailInfo(ifWxAuthCallBack: boolean = false) {
-        // LogUtil.log("[HttpMgr] getDetailInfo");
-        let url = `${GameConst.url_service}/game/details`;
-
-        let data = {}
-        let bodyData = this.encryptBodyData(data);
-        // LogUtil.log("[HttpMgr] getDetailInfo", bodyData);
-        this.httpRquest(url, JSON.stringify(bodyData), HTTP_METHOD.POST).then((responseData) => {
-            let data = this.parseResponseData(responseData);
-
-            mk.console.log("[HttpMgr] details", data);
-
-            //解析获取的信息
-            PlayerConst.getDetailInfo(data);
-
-            //如果微信登陆回调返回
-            if (ifWxAuthCallBack) {
-
-                //检测是否刷新一下数据
-                if (PlayerConst.ifFirstLoginToday) {
-                    if (PlayerConst.cheeckIfNewAuthUser(data.register_date)) {
-                        mk.console.log("[WxAuth] 首日新用户")
-                    }
-                    else {
-                        mk.console.log("[WxAuth] 首日登陆老用户")
-                        DataMgr.Inst.resteData();
-                    }
-                }
-                else {
-                    mk.console.log("[WxAuth] 非首日登陆")
-                }
-
-                console.log("Detail  分发 微信授权事件");
-                //分发微信授权返回事件
-                mk.event.emit(EVENT_TYPE.BACK_WxAuth);
-
-                //初始化游戏 Game
-                //初始化结束按钮 gameOverUI
-                //初始化每日提现 node_dailyCashOutUI
-            }
-            else {
-                if (PlayerConst.ifFirstLoginToday) {
-                    PlayerConst.ifFirstLoginToday = false;
-                    DataMgr.Inst.resteData();
-                }
-            }
-
-            /**是否登陆结束 */
-            GameConst.ifLoginFinished = true;
-
-        }).catch((err) => {
-            mk.console.log("[HttpMgr] details", err);
-        });
-    }
-
-    /**道具信息 */
-    propsInfo() {
-        let url = `${GameConst.url_service}/game/propsInfo`;
-
-        let data = {}
-        let bodyData = this.encryptBodyData(data);
-
-        this.httpRquest(url, JSON.stringify(bodyData), HTTP_METHOD.POST).then((responseData) => {
-            let data = this.parseResponseData(responseData);
-            mk.console.log("[HttpMgr] propsInfo", data);
-        });
-    }
-
-    /**道具
-     * @param handel_type 处理类型 1 增 2 减 
-     * @param prop_code   道具编号
-     * @param prop_num    道具数量
-     */
-    prop(handel_type: number, prop_code: string, prop_num: number): Promise<any> {
-
-        mk.console.log("prop_code", prop_code);
-        let url = `${GameConst.url_service}/game/prop`;
-
-        let data = {
-            "handel_type": handel_type,
-            "prop_code": prop_code,
-            "count": prop_num
-        }
-        let bodyData = this.encryptBodyData(data);
-
-        return new Promise((resolve, reject) => {
-            this.httpRquest(url, JSON.stringify(bodyData), HTTP_METHOD.POST).then((responseData) => {
-                let data = this.parseResponseData(responseData);
-                mk.console.log("[HttpMgr] prop", data);
-            }).catch((err) => {
-                reject(err);
-            });
-        })
-    }
-
-    //-----------------------------------红包关接口-----------------------------------
-
-    /**新手红包
-     * @param:get_type   获取类型 0 普通 1 双倍
-     * @param:pass_no    关卡数
-     * @param:red_mondey 红包数目
-     */
-    newerRedPacket(get_type: number, pass_no: number, red_mondey: number): Promise<any> {
-
-        let url = `${GameConst.url_service}/red-package/newer`;
-
-        let data = {
-            "get_type": get_type,
-            "pass_no": pass_no,
-            "red_money": red_mondey
-        }
-        // LogUtil.log("data",data);
-        let bodyData = this.encryptBodyData(data);
-        return new Promise((resolve, reject) => {
-            this.httpRquest(url, JSON.stringify(bodyData), HTTP_METHOD.POST).then((responseData) => {
-                let data = this.parseResponseData(responseData);
-                mk.console.log("[HttpMgr] newerRedPacket", data);
-            }).catch((err) => {
-                reject(err);
-            });
-        })
-    }
-
-    /**登陆红包
-     * @param:get_type   获取类型 0 普通 1 双倍
-     * @param:pass_no    关卡数
-     * @param:red_mondey 红包数目
-     */
-    loginRedPacket(get_type: number, pass_no: number, red_mondey: number): Promise<any> {
-
-        let url = `${GameConst.url_service}/red-package/login`;
-
-        let data = {
-            "get_type": get_type,
-            "pass_no": pass_no,
-            "red_money": red_mondey
-        }
-        // LogUtil.log("data",data);
-        let bodyData = this.encryptBodyData(data);
-
-        return new Promise((resolve, reject) => {
-            this.httpRquest(url, JSON.stringify(bodyData), HTTP_METHOD.POST).then((responseData) => {
-                let data = this.parseResponseData(responseData);
-                mk.console.log("[HttpMgr] loginRedPacket", data);
-            }).catch((err) => {
-                reject(err);
-            });
-        })
-    }
-
-    /**通关红包
-    * @param:get_type   获取类型 0 普通 1 双倍
-    * @param:pass_no    关卡数
-    * @param:red_mondey 红包数目
-    */
-    passRedPacket(get_type: number, pass_no: number, red_mondey: number): Promise<any> {
-
-
-        let url = `${GameConst.url_service}/red-package/pass`;
-
-        let data = {
-            "get_type": get_type,
-            "pass_no": pass_no,
-            "red_money": red_mondey
-        }
-        // LogUtil.log("data",data);
-        let bodyData = this.encryptBodyData(data);
-
-        return new Promise((resolve, reject) => {
-            this.httpRquest(url, JSON.stringify(bodyData), HTTP_METHOD.POST).then((responseData) => {
-                let data = this.parseResponseData(responseData);
-                mk.console.log("[HttpMgr] passRedPacket", data);
-            }).catch((err) => {
-                reject(err);
-            });
-        })
-    }
-
-    /**随机红包
-    * @param:get_type   获取类型 0 普通 1 双倍
-    * @param:pass_no    关卡数
-    * @param:red_mondey 红包数目
-    */
-    randomRedPacket(get_type: number, pass_no: number, red_mondey: number): Promise<any> {
-
-        let url = `${GameConst.url_service}/red-package/random`;
-
-        let data = {
-            "get_type": get_type,
-            "pass_no": pass_no,
-            "red_money": red_mondey
-        }
-        // LogUtil.log("data",data);
-        let bodyData = this.encryptBodyData(data);
-
-        return new Promise((resolve, reject) => {
-            this.httpRquest(url, JSON.stringify(bodyData), HTTP_METHOD.POST).then((responseData) => {
-                let data = this.parseResponseData(responseData);
-                mk.console.log("[HttpMgr] randomRedPacket", data);
-            }).catch((err) => {
-                reject(err);
-            });
-        })
-    }
-
-    //-----------------------------------提现接口-----------------------------------
-    /**提现
-     * @param amount 提现数额
-     * @param cash_type 提现类型
-     */
-    cash(amount: number, cash_type: number): Promise<any> {
-
-        let url = `${GameConst.url_service}/cash/getCash`;
-        let data = {
-            "amount": amount,
-            "cash_type": cash_type
-        }
-        let bodyData = this.encryptBodyData(data);
-
-        mk.console.log("cash_type", cash_type);
-        return new Promise((resolve, reject) => {
-            this.httpRquest(url, JSON.stringify(bodyData), HTTP_METHOD.POST).then((responseData) => {
-                let data = this.parseResponseData(responseData);
-                mk.console.log("[HttpMgr] cash", data);
-                resolve(data);
-            }).catch((err) => {
-                reject(err);
-            });
-        })
-    }
-
-    caseRecords(): Promise<any> {
-
-        let url = `${GameConst.url_service}/cash/records`;
-        let data = {
-
-        }
-        let bodyData = this.encryptBodyData(data);
-
-        return new Promise((resolve, reject) => {
-            this.httpRquest(url, JSON.stringify(bodyData), HTTP_METHOD.POST).then((responseData) => {
-                let data = this.parseResponseData(responseData);
-                mk.console.log("[HttpMgr] cash/records", data);
-            }).catch((err) => {
-                reject(err);
-            });
-        })
-    }
-
-
-    //互推位相关接口--------------------------------------------------------------------
-
-    /**抽奖 */
-    public recommendList(): Promise<any> {
-        let url = `${GameConst.url_service}/fission/recommendList`;
-        let data = {
-
-        }
-        let bodyData = this.encryptBodyData(data);
-
-        return new Promise((resolve, reject) => {
-            this.httpRquest(url, JSON.stringify(bodyData), HTTP_METHOD.POST).then((responseData) => {
-                let data = this.parseResponseData(responseData);
-                mk.console.log("[HttpMgr] fission/recommendList", data);
-                resolve(data);
-            }).catch((err) => {
-                mk.console.log("[HttpMgr] fission/recommendList", err);
-                reject(err);
-            });
-        })
-    }
-
-    /**抽奖 */
-    public appDownloadLog(downloadAppId: string): Promise<any> {
-        let url = `${GameConst.url_service}/fission/appDownloadLog`;
-        let data = {
-            "downloadAppId": downloadAppId,
-        }
-        let bodyData = this.encryptBodyData(data);
-
-        return new Promise((resolve, reject) => {
-            this.httpRquest(url, JSON.stringify(bodyData), HTTP_METHOD.POST).then((responseData) => {
-                let data = this.parseResponseData(responseData);
-                mk.console.log("[HttpMgr] fission/appDownloadLog", data);
-                resolve(data);
-            }).catch((err) => {
-                mk.console.log("[HttpMgr] fission/appDownloadLog", err);
-                reject(err);
-            });
-        })
-    }
-
-    //API回传--------------------------------------------------------------------------
-    /**更新设备信息 */
-    public updateDeviceInfo(deviceInfo: any) {
-        let url = `${GameConst.url_service}/user/machine`;
-        let data = deviceInfo;
-        let bodyData = this.encryptBodyData(data);
-        return new Promise((resolve, reject) => {
-            this.httpRquest(url, JSON.stringify(bodyData), HTTP_METHOD.POST).then((responseData) => {
-                let data = this.parseResponseData(responseData);
-                mk.console.log("[HttpMgr] user/machine", data);
-            }).catch((err) => {
-                reject(err);
-                mk.console.log("[HttpMgr] user/machine err", err);
-            });
-        })
-    }
-
-    /**巨量API回传
-     * @param type 0 激活 6 次留
-     */
-    public juliangAPIActive(type: number) {
-        if (cc.sys.os != cc.sys.OS_ANDROID) {
-            return;
-        }
-
-        mk.console.log("巨量回传 type", type);
-        let url = `${GameConst.url_service}/ad/oe/callback/activate`;
-        let data = {
-            "event_type": type,
-            "source": GameConst.appVersion + ';'
-        }
-        let bodyData = this.encryptBodyData(data);
-        return new Promise((resolve, reject) => {
-            this.httpRquest(url, JSON.stringify(bodyData), HTTP_METHOD.POST).then((responseData) => {
-                let data = this.parseResponseData(responseData);
-                mk.console.log("[HttpMgr] juliangcallback/activate", data);
-            }).catch((err) => {
-                mk.console.log("[HttpMgr] juliangcallback/activate err", err);
-                reject(err);
-            });
-        })
-    }
-
-    //星云统计--------------------------------------------------------------------
-    /** 向星云发送事件埋点 */
-    public sendEventCp(eventKey: string, eventDes: string) {
-
-        mk.console.log('seventKey  ', eventKey);
-        mk.console.log('eventDes   ', eventDes)
-
-        //使用
-        let uin = !!GameConst.uin ? GameConst.uin : GameConst.tmp_uin;
-        if (!uin) {
-            mk.console.log("没有Uin,不执行");
-            return;
-        }
-        let url = `${GameConst.url_service}/cp`;
-        let isFirstDay = PlayerConst.loginDay == 1 ? 1 : 0;
-        let data = {
-            "appid": GameConst.appid,
-            "uid": uin,
-            "isFirstDay": isFirstDay, // 0 1 是第一天
-            "umengChannel": GameConst.umengChannel,
-            "deviceType": GameConst.deviceType,
-            "androidVerison": GameConst.androidVersion,
-            "version": GameConst.appVersion,
-            "point": eventKey,
-            "description": eventDes
-        }
-
-        // LogUtil.log("[HttpMgr] sendEventCp data", data);
-        let bodyData = this.encryptBodyData(data);
-
-        this.httpRquest(url, JSON.stringify(bodyData), HTTP_METHOD.POST).then((responseData) => {
-            let data = this.parseResponseData(responseData);
-            mk.console.log("[HttpMgr] sendEventCp", data);
-        }).catch((err) => {
-            mk.console.log("[HttpMgr] sendEventCp err", err);
-        });
-    }
-
-    updateGameVersion(version: string) {
-        let url = `${GameConst.url_service}/game/updateVersion`;
-        let data = {
-            "version": version,
-        }
-        let bodyData = this.encryptBodyData(data);
-        return new Promise((resolve, reject) => {
-            this.httpRquest(url, JSON.stringify(bodyData), HTTP_METHOD.POST).then((responseData) => {
-                let data = this.parseResponseData(responseData);
-                mk.console.log("[HttpMgr] game/updateVersion", data);
-            }).catch((err) => {
-                mk.console.log("[HttpMgr] game/updateVersion err", err);
-                reject(err);
-            });
-        })
-    }
-
-    /** 更新观看广告次数
-   */
-    updateVideoTimes(placementId, adunit_format, network_type, network_placement_id,
-        network_firm_id, adsource_id, adsource_index, adsource_price,
-        adsource_isheaderbidding, publisher_revenue, precision, ecpm_level) {
-
-        if (!GameConst.ifShowAd) {
-            return;
-        }
-
-        let url = `${GameConst.url_service}/video/updateVideo`;
-        let data = {
-            "imei": GameConst.imei,
-            "idfa": GameConst.idfa,
-            "oaid": GameConst.oaid,
-            "uin": GameConst.uin,
-            "version": GameConst.appVersion,
-            "tf_channel": GameConst.tf_channel,
-            "destoon_ad_place": placementId,
-            "ad_type": 1,
-            "adunit_format": adunit_format,
-            "network_type": network_type,
-            "network_placement_id": network_placement_id,
-            "network_firm_id": network_firm_id,
-            "adsource_id": adsource_id,
-            "adsource_index": adsource_index,
-            "adsource_price": adsource_price,
-            "adsource_isheaderbidding": adsource_isheaderbidding,
-            "publisher_revenue": publisher_revenue,
-            "precision": precision,
-            "ecpm_level": ecpm_level
-        }
-
-        mk.console.log("[HttpMgr] updateVideoTimes data", data);
-
-        Object.keys(data).forEach((key) => {
-            mk.console.log(`updateVideo ${key}`, data[key]);
-        })
-
-        let bodyData = this.encryptBodyData(data);
-
-        this.httpRquest(url, JSON.stringify(bodyData), HTTP_METHOD.POST).then((responseData) => {
-            let data = this.parseResponseData(responseData);
-            mk.console.log("[HttpMgr] updateVideoTimes ok", data);
-        }).catch((err) => {
-            mk.console.log("[HttpMgr] updateVideoTimes err", err);
-        });
-    }
-
-    /** 更新其他广告次数
-         * @param type 1:激励视频成功、 2:插屏、3:信息流 4 观看视频
-         */
-    public updateADLog(type, placementId, adunit_format, network_type, network_placement_id,
-        network_firm_id, adsource_id, adsource_index, adsource_price,
-        adsource_isheaderbidding, publisher_revenue, precision, ecpm_level) {
-
-        if (!GameConst.ifShowAd) {
-            return;
-        }
-
-        let url = `${GameConst.url_service}/video/updateADLog`;
-        let data = {
-            "imei": GameConst.imei,
-            "idfa": GameConst.idfa,
-            "oaid": GameConst.oaid,
-            "uin": GameConst.uin,
-            "version": GameConst.appVersion,
-            "tf_channel": GameConst.tf_channel,
-            "destoon_ad_place": placementId,
-            "ad_type": type,
-            "adunit_format": adunit_format,
-            "network_type": network_type,
-            "network_placement_id": network_placement_id,
-            "network_firm_id": network_firm_id,
-            "adsource_id": adsource_id,
-            "adsource_index": adsource_index,
-            "adsource_price": adsource_price,
-            "adsource_isheaderbidding": adsource_isheaderbidding,
-            "publisher_revenue": publisher_revenue,
-            "precision": precision,
-            "ecpm_level": ecpm_level
-        }
-
-        mk.console.log("[HttpMgr] updateADLog data", data);
-
-        let bodyData = this.encryptBodyData(data);
-
-        this.httpRquest(url, JSON.stringify(bodyData), HTTP_METHOD.POST).then((responseData) => {
-            let data = this.parseResponseData(responseData);
-            mk.console.log("[HttpMgr] updateADLog ok", data);
-        }).catch((err) => {
-            mk.console.log("[HttpMgr] updateADLog err", err);
-        });
-    }
-
-    //-----------------------------------加解密-----------------------------------
-    /**加密参数 */
-    private encryptBodyData(data: any): any {
-
-        let encryptBodyData: any = null;
-        let encryptData: any = null;
-
-        //LogUtil.log("GameConst.tmp_uin",GameConst.tmp_uin);
-
-        data.timestamp = Math.floor(new Date().getTime() * 0.001);
-        if (GameConst.isAuth) {
-            encryptData = mk.encrypt.encrypt(JSON.stringify(data), GameConst.session_key, GameConst.appid);
-            encryptBodyData = {
-                "uin": GameConst.uin,
-                "encrypt": encryptData
-            }
-        }
-        else {
-            encryptData = mk.encrypt.encrypt(JSON.stringify(data), GameConst.session_key, GameConst.appid);
-            encryptBodyData = {
-                "uin": GameConst.tmp_uin,
-                "encrypt": encryptData
-            }
-        }
-        return encryptBodyData;
-    }
-
-    /**
-     * 解析返回的数据
-     * @param response    返回数据
-     * @param ifDataClear 是否数据是明文发送 默认暗文
-     */
-    private parseResponseData(response: any, ifDataClear: boolean = false): any {
-        let data = null
-        if (ifDataClear) {
-            data = response.data
-        }
-        else {
-            if (response.encrypt) {
-                data = mk.encrypt.decrypt(response.encrypt, GameConst.session_key, GameConst.appid)
-                data = JSON.parse(data)
-            }
-            else if (response.data) {
-                data = response.data
-            }
-        }
-        return data
-    }
-
-}
-
-export enum HTTP_METHOD {
-    GET = "GET",
-    POST = "POST"
-}
-
-export enum HTTP_TYPE {
-    connect = "connect",
-    recommendList = "recommendList"
-
-}
-
-//通关接口ERR CODE
-export enum PASS_ERR_CODE {
-    /** 关卡号不正*/
-    PASSNO_INCORRECT = 9001,
-    /**关卡号不能为空或者小于1 */
-    PASSNO_NULL = 9002,//
-    /***获取积分异常(积分传参非法)*/
-    SCORE_PARAM_ILLEGAL = 9003,
-    /**已达单关积分获取次数*/
-    SCORE_OVER_TIMES = 9004,
-    /**已达今日积分上限*/
-    SCORE_REACH_LIMIT = 9005
-}

+ 0 - 9
assets/script/before/mgr/HttpMgr.ts.meta

@@ -1,9 +0,0 @@
-{
-  "ver": "1.0.8",
-  "uuid": "72ec12d2-6d90-400a-a894-f8d119785357",
-  "isPlugin": false,
-  "loadPluginInWeb": true,
-  "loadPluginInNative": true,
-  "loadPluginInEditor": false,
-  "subMetas": {}
-}

+ 1 - 19
assets/script/before/util/GameLogic.ts

@@ -15,7 +15,7 @@ export default class GameLogic extends cc.Component {
      */
     public static loadHeadImg(headImgUrl: string, headSpr: cc.Sprite, size: number) {
         mk.console.log("[LoaderUtil] loadHeadImg ----------------------------------- ", headImgUrl);
-        mk.loader.loadRemote(`PlayerConst.headImgUrl + "?aaa=aa.jpg"`, null).then((res) => {
+        mk.loader.loadRemote(`${headImgUrl}+"?aaa=aa.jpg"`, null).then((res) => {
             let tex: cc.Texture2D = res as cc.Texture2D;
             headSpr.spriteFrame = new cc.SpriteFrame(tex);
             headSpr.node.setContentSize(size, size);
@@ -322,22 +322,4 @@ export default class GameLogic extends cc.Component {
         return leftXindexArr;
     }
 
-
-    //Ecpm相关-------------------------------------------------------
-    public static getVideoNumByEcpm() {
-        let videoNum_min: number = 5;
-        let videoNum_max: number = 30;
-        let videoNum: number = 5;
-        let ecpm = PlayerConst.average_ecpm;
-        if (ecpm) {
-            videoNum = Math.floor(0.5 * 1000 / PlayerConst.average_ecpm) + 1;
-        }
-        else {
-            return videoNum_max;
-        }
-        if (videoNum <= videoNum_min) { videoNum = videoNum_min; }
-        if (videoNum >= videoNum_max) { videoNum = videoNum_max; }
-        mk.console.log("videoNum", videoNum);
-        return videoNum;
-    }
 }

+ 2 - 10
assets/script/before/view/PauseUI.ts

@@ -132,17 +132,8 @@ export default class PauseUI extends cc.Component {
     }
 
     onClickRestartBtn() {
-        GameMgr.Inst.sendEvent(UI_NAME.PauseUI, "点击重新开始按钮");
-        if (PlayerConst.energyNum <= 0) {
-            EffectMgr.Inst.addTip("体力不足,请补充体力");
-            // this.node.active = false;
-            mk.ui.closePanel("PauseUI");
-            return;
-        }
-
+        //GameMgr.Inst.sendEvent(UI_NAME.PauseUI, "点击重新开始按钮");
         GamePlay.Inst.restart();
-  
-        // this.node.active = false;
         mk.ui.closePanel(this.node.name);
     }
 
@@ -151,6 +142,7 @@ export default class PauseUI extends cc.Component {
   
         mk.ui.closePanel("PauseUI")
         GamePlay.Inst.restart(false);//退出不扣体力
+        GamePlay.Inst.node.active = false;
         // let timeOut = setTimeout(()=>{
         //     Main.Inst.node_start.active = true;
         //     Main.Inst.node_game.active = false;

+ 4 - 5
assets/script/before/view/PlayerInfoUI.ts

@@ -145,11 +145,11 @@ export default class PlayerInfoUI extends cc.Component {
     }
 
     initHead() {
-        GameLogic.loadHeadImg(PlayerConst.headImgUrl + "?aaa=aa.jpg", this.spr_head, 95);
+        GameLogic.loadHeadImg("" + "?aaa=aa.jpg", this.spr_head, 95);
     }
 
     initNickName() {
-        this.label_nickName.string = PlayerConst.nickName;
+        this.label_nickName.string = "PlayerConst.nickName";
     }
 
     initInviteCode() {
@@ -157,9 +157,8 @@ export default class PlayerInfoUI extends cc.Component {
     }
 
     initCaseNum() {
-        // let num = Math.round((PlayerConst.cashNum * 100)) / 100;
-        let num = Util.numberFixed(PlayerConst.cashNum, 2);
-        this.label_cashNum.string = `¥ ${num}`;
+        // let num = Util.numberFixed(PlayerConst.cashNum, 2);
+        // this.label_cashNum.string = `¥ ${num}`;
     }
 
     onClickCloseBtn() {

+ 5 - 3
assets/script/before/view/uiItem/CellItem.ts

@@ -6,7 +6,7 @@ import GameConst from "../../data/GameConst";
 import AniFinishDestroy from "../../util/common/AniFinishDestroy";
 import EliminateScore from "../effect/EliminateScore";
 import ScoreEnergy from "../effect/ScoreEnergy";
-import PlayerConst from "../../data/PlayerConst";
+import { GameProp } from "../../../game/data/GameData";
 
 const { ccclass, property } = cc._decorator;
 
@@ -93,12 +93,14 @@ export default class CellItem extends cc.Component {
         else {
 
             let type: number = null;
-            if (GameConst.config_level[PlayerConst.levelNum]) {
+            let level = gData.gameData.getProp(GameProp.levelNum);
+            if (level != null && level != undefined) {
                 //原先
                 //type = GameConst.config_level[PlayerConst.levelNum][this.x][this.y];
                 //现在(配置就对照游戏真实的布局)
-                type = GameConst.config_level[PlayerConst.levelNum][this.y][this.x];
+                type = GameConst.config_level[level][this.y][this.x];
             }
+          
             if (type) {
                 this.type = type;
             }

+ 0 - 216
assets/script/before/view/uiItem/ClockInItem.ts

@@ -1,216 +0,0 @@
-// Learn TypeScript:
-//  - https://docs.cocos.com/creator/manual/en/scripting/typescript.html
-// Learn Attribute:
-//  - https://docs.cocos.com/creator/manual/en/scripting/reference/attributes.html
-// Learn life-cycle callbacks:
-//  - https://docs.cocos.com/creator/manual/en/scripting/life-cycle-callbacks.html
-
-import PlayerConst from "../../data/PlayerConst";
-import GameConst from "../../data/GameConst";
-import EffectMgr from "../../mgr/EffectMgr";
-import GameMgr, { UIITEM_NAME } from "../../mgr/GameMgr";
-
-const { ccclass, property } = cc._decorator;
-
-@ccclass
-export default class ClockInItem extends cc.Component {
-
-
-    /**普通bg */
-    @property(cc.Node)
-    node_nromalClockInBg: cc.Node = null;
-    /**未打卡bg */
-    @property(cc.Node)
-    node_unClockInBg: cc.Node = null;
-    /**已经打卡icon */
-    @property(cc.Node)
-    node_haveClockInIcon: cc.Node = null;
-
-    /**红包 */
-    @property(cc.Node)
-    node_reaPacket: cc.Node = null;
-    /**提示 */
-    @property(cc.Node)
-    node_tip: cc.Node = null;
-    /**宝箱 */
-    @property(cc.Node)
-    node_box: cc.Node = null;
-
-    /**当前打卡天 */
-    public curClockInDay: number = 0;
-    /**奖励类型 null 是无奖励 1 红包 2 是宝箱 */
-    public rewardType: number = null;
-    /**奖励数量 */
-    public rewardNum: number = null;
-
-    /**红包数目 */
-    public reaPacketCashNum: number = 0;
-
-    /**是否打卡成功 */
-    public ifClockInDay: boolean = false;
-
-    // LIFE-CYCLE CALLBACKS:
-
-    // onLoad () {}
-
-    start() {
-        this.node.on(cc.Node.EventType.TOUCH_END, this.onClick, this);
-    }
-
-    // update (dt) {}
-
-    init(day: number = null) {
-        // LogUtil.log("day",day)
-
-        // if (!day) {
-        //     return;
-        // }
-
-        if (day) {
-            this.curClockInDay = day;
-        }
-
-        // LogUtil.log("this.curClockInDay", this.curClockInDay);
-
-        let config = GameConst.config_clockIn[this.curClockInDay - 1];
-        // LogUtil.log("GameConst.config_clockIn", GameConst.config_clockIn);
-
-        this.rewardType = config.rewardType;
-        this.rewardNum = config.rewardNum
-
-        this.ifClockInDay = PlayerConst.ifClockInToday; 
-
-        let curRealClockInDay: number = 0;
-        //如果已经打卡  1 对应 1
-        if (this.ifClockInDay) {
-            curRealClockInDay = this.curClockInDay;
-        }
-        //如果未打开   1 对应 0
-        else {
-            curRealClockInDay = this.curClockInDay - 1;
-        }
-
-        if (curRealClockInDay < PlayerConst.clockInDay) {
-            this.node_unClockInBg.active = false;
-
-            this.node_nromalClockInBg.active = true;
-            if (this.rewardType == 1) {
-                this.node_nromalClockInBg.setScale(1, 1);
-            }
-            else {
-                this.node_nromalClockInBg.setScale(0.8, 0.8);
-            }
-            this.node_reaPacket.active = this.rewardType == 1;
-            this.node_haveClockInIcon.active = true;
-            
-            this.node_tip.active = false;
-
-            this.node_box.active = this.curClockInDay == GameConst.maxClockInDay;
-        }
-        else if (curRealClockInDay == (PlayerConst.clockInDay)) {
-
-            this.node_unClockInBg.active = false;
-
-            this.node_nromalClockInBg.active = true;
-            this.node_nromalClockInBg.setScale(1, 1);
-
-            this.node_reaPacket.active = this.rewardType == 1;
-            mk.console.log(" this.ifClockInDay", this.ifClockInDay);
-            this.node_haveClockInIcon.active = this.ifClockInDay;
-            this.node_tip.active = !this.ifClockInDay;
-
-            this.node_box.active = this.curClockInDay == GameConst.maxClockInDay;
-        }
-        else {
-
-            this.node_haveClockInIcon.active = false;
-            this.node_nromalClockInBg.active = false;
-            this.node_unClockInBg.active = true;
-            this.node_reaPacket.active = this.rewardType == 1;
-
-            this.node_box.active = this.rewardType == 2;
-        }
-
-
-
-        // if (this.curClockInDay < PlayerConst.clockInDay) {
-
-        //     //第一天情况特殊
-        //     if (PlayerConst.clockInDay == 0) {
-        //         this.node_unClockInBg.active = false;
-
-        //         this.node_nromalClockInBg.active = true;
-        //         this.node_nromalClockInBg.setScale(1, 1);
-
-        //         this.node_reaPacket.active = this.rewardType == 1;
-        //         LogUtil.log(" this.ifClockInDay", this.ifClockInDay);
-        //         this.node_haveClockInIcon.active = this.ifClockInDay;
-        //         this.node_tip.active = !this.ifClockInDay;
-
-        //         this.node_box.active = this.curClockInDay == GameConst.maxClockInDay;
-        //     }
-        //     else {
-        //         this.node_unClockInBg.active = false;
-
-        //         this.node_nromalClockInBg.active = true;
-        //         if (this.rewardType == 1) {
-        //             this.node_nromalClockInBg.setScale(1, 1);
-        //         }
-        //         else {
-        //             this.node_nromalClockInBg.setScale(0.8, 0.8);
-        //         }
-        //         this.node_reaPacket.active = this.rewardType == 1;
-        //         this.node_haveClockInIcon.active = true;
-
-        //         this.node_box.active = this.curClockInDay == GameConst.maxClockInDay;
-        //     }
-        // }
-        // else if (this.curClockInDay == (PlayerConst.clockInDay)) {
-
-        //     this.node_unClockInBg.active = false;
-
-        //     this.node_nromalClockInBg.active = true;
-        //     this.node_nromalClockInBg.setScale(1, 1);
-
-        //     this.node_reaPacket.active = this.rewardType == 1;
-        //     LogUtil.log(" this.ifClockInDay", this.ifClockInDay);
-        //     this.node_haveClockInIcon.active = this.ifClockInDay;
-        //     this.node_tip.active = !this.ifClockInDay;
-
-        //     this.node_box.active = this.curClockInDay == GameConst.maxClockInDay;
-        // }
-        // else {
-
-        //     this.node_haveClockInIcon.active = false;
-        //     this.node_nromalClockInBg.active = false;
-        //     this.node_unClockInBg.active = true;
-        //     this.node_reaPacket.active = this.rewardType == 1;
-
-        //     this.node_box.active = this.rewardType == 2;
-        // }
-    }
-
-    onClick() {
-
-        GameMgr.Inst.sendEvent(UIITEM_NAME.ClockInItem, `点击${this.curClockInDay}打卡Item`);
-
-        if (this.curClockInDay == PlayerConst.clockInDay && this.ifClockInDay) {
-            if (this.rewardType != null) {
-                EffectMgr.Inst.addTip(`打卡成功,可以提现啦`);
-            }
-            else {
-                EffectMgr.Inst.addTip(`继续累计打卡,领取后面红包吧`);
-            }
-        }
-        else {
-            if (this.rewardType != null) {
-                if (this.curClockInDay == GameConst.maxClockInDay) {
-                    EffectMgr.Inst.addTip(`连续打卡${this.curClockInDay}天,领取神秘宝箱`)
-                }
-                else {
-                    EffectMgr.Inst.addTip(`连续打卡${this.curClockInDay}天,提现${this.rewardNum}元`)
-                }
-            }
-        }
-    }
-}

+ 0 - 9
assets/script/before/view/uiItem/ClockInItem.ts.meta

@@ -1,9 +0,0 @@
-{
-  "ver": "1.0.8",
-  "uuid": "c3327a3d-0185-45b7-96b9-7bd63a5ca5eb",
-  "isPlugin": false,
-  "loadPluginInWeb": true,
-  "loadPluginInNative": true,
-  "loadPluginInEditor": false,
-  "subMetas": {}
-}

+ 1 - 1
assets/script/game/component/TableView.ts

@@ -357,7 +357,7 @@ export default class TableView extends cc.Component {
             //index存在-1的情况,类似于在缓存池里的item.
             let status1 = this.itemArr[i].index < this.firstItemIndex - 1 ? true : false;
             let status2 = this.itemArr[i].index > this.lastItemIndex + 1 ? true : false;
-            let status3 = this.itemArr[i].pfbType === this.itemData[index].pfbType;
+            let status3 = this.itemArr[i].pfbType === (this.itemData[index].pfbType || 0);
             //cc.log('item的索引', this.firstItemIndex, this.lastItemIndex)
             if (status1 && status3 || status2 && status3) {
                 //cc.log(i, index, this.itemArr, this.content.height);

+ 2 - 2
assets/script/game/component/tween/EffectOpenAndClose.ts

@@ -74,10 +74,10 @@ export default class EffectOpenAndClose extends cc.Component {
                 case EffectType.none:
                     break;
                 case EffectType.scale:
-                    mk.tween.scale(this.effect_par);
+                    mk.tween.scale(this.effect_par, 0.3, undefined, undefined, undefined, 'backOut');
                     break;
                 case EffectType.centerUnfolding:
-                    mk.tween.scaleX(this.effect_par);
+                    mk.tween.scaleX(this.effect_par, 0.3, undefined, undefined, undefined, 'backOut');
                     break;
                 case EffectType.rightIn:
                     this.effect_par.active = true;

+ 1 - 1
assets/script/game/data/AdData.ts

@@ -27,7 +27,7 @@ export class AdData {
 
 
     public init() {
-        this.datas = [, null, null, null, gData.turnable, gData.sign, gData.blessingBag];
+        this.datas = [, gData.reward, gData.reward, gData.reward, gData.turnable, gData.sign, gData.blessingBag];
     }
 
 

+ 22 - 13
assets/script/game/data/GameData.ts

@@ -17,7 +17,7 @@ export class GameData {
 
 
     public configs: any = {};
-    public adShowConfig:ADShowCfg;
+    public adShowConfig: ADShowCfg;
     /** 功能开启 */
     public funOpenData: string[] = [];
 
@@ -25,7 +25,7 @@ export class GameData {
     /** 标志位:刷新主界面货币 */
     public init_coin: boolean = false;
 
-    public props: Map<number, number>;
+    public props: Map<number, number> = new Map<number, number>();
 
     public pools = [
         { url: "game/prefab/tips", num: 20 },
@@ -69,9 +69,6 @@ export class GameData {
         mk.console.logSingle("getInfoCrypt", response.data);
         this.initPlayerProp(response.data)
 
-        if (this.props == null) {
-            this.props = new Map<number, number>();
-        }
 
         this.initProps(response.data.gameUserData);
 
@@ -116,9 +113,9 @@ export class GameData {
             key: key + '',
             value: value + ''
         };
+        this.props.set(key, value);
         await mk.http.sendData('savePlayerProp', data);
-        // this.props.set(key, value);
-        // this.savePropFinish = true;
+        this.savePropFinish = true;
     }
 
     /**
@@ -132,12 +129,11 @@ export class GameData {
         let data = {
             needProp: needProp
         };
-        await mk.http.sendData('saveAllPlayerProp', data);
 
         for (let i = 0; i < arr.length; i++) {
             this.props.set(arr[i].key, arr[i].value);
         }
-
+        await mk.http.sendData('saveAllPlayerProp', data);
         this.savePropsFinish = true;
     }
 
@@ -189,15 +185,20 @@ export class GameData {
  */
 export enum GameProp {
     /** ------------------ 游戏核心数据 --------------------------- */
-
+    /** 关卡数 */
+    levelNum = 10,
+    /** 锤子道具数目 */
+    hammerPropNum = 1001,
+    /** 重设道具数目 */
+    resetPropNum = 1002,
+    /** 变色道具数目 */
+    changePropNum = 1003,
 
     /** ------------------ 转盘数据 ------------------------------ */
     turnable_leftTimes = 20,
 
-
     /** ------------------ 存钱罐数据 ----------------------------- */
 
-
     /** ------------------ 签到数据 ----------------------------- */
     /** 上次签到进度 */
     sign_last_bar = 120,
@@ -216,7 +217,7 @@ class PlayerProp {
     gameUserData = 0;
     /** 今日是否有签到 */
     isSignInToday = 0;
-    
+
     private _piggyBank: number = 0;
     /** 存钱罐存款 */
     set piggyBank(value: number) {
@@ -258,6 +259,14 @@ class PlayerProp {
     versioncfg = 0;
     /** 福袋数据 */
     userTuCaoInfo = 0;
+    /** 关卡数 */
+    levelNum = 0;
+    /** 锤子道具数目 */
+    hammerPropNum = 0;
+    /** 重设道具数目 */
+    resetPropNum = 0;
+    /** 变色道具数目 */
+    changePropNum = 0;
 }
 
 /**

+ 11 - 2
assets/script/game/game/Game.ts

@@ -4,8 +4,9 @@ const { ccclass, property } = cc._decorator;
 
 @ccclass
 export default class Game extends cc.Component {
-    @property({ type: cc.Node, displayName: "游戏核心" })
-    node_game: cc.Node = null;
+
+    @property({ type: cc.Node, displayName: "游戏核心玩法" })
+    node_gameplay: cc.Node = null;
     @property({ type: cc.Node, displayName: "功能按钮" })
     node_btn: cc.Node = null;
     @property({ type: cc.Sprite, displayName: "头像" })
@@ -24,12 +25,14 @@ export default class Game extends cc.Component {
     btn_getRed2: cc.Node = null;
     @property({ type: cc.Node, displayName: "气泡红包3" })
     btn_getRed3: cc.Node = null;
+ 
     @property({ type: cc.Button, displayName: "开始游戏" })
     btn_start: cc.Button = null;
     @property({ type: cc.Node, displayName: "红包币图标" })
     icon_hb: cc.Node = null;
     @property({ type: cc.Node, displayName: "金猪币图标" })
     icon_zb: cc.Node = null;
+ 
 
     onLoad() {
         gData.gameData.gameStyle = this;
@@ -84,5 +87,11 @@ export default class Game extends cc.Component {
         mk.fly.PlayCoinAnim(1, 20, cc.v2(0, -300), cc.v2(0, 0));
         // mk.fly.PlayCoinAnim(2, 20, cc.v2(0, -300), 'Canvas/界面层/game/功能按钮/右侧按钮/btn2');
     }
+
+    /** */
+    public onClickStart() {
+        this.node_gameplay.active = true;
+
+    }
 }
 

+ 26 - 4
assets/script/game/module/reward/Reward.ts

@@ -1,3 +1,4 @@
+import GamePlay from "../../../before/GamePlay";
 import { AdFun } from "../../data/AdData";
 import { RewardType } from "../../data/GameData";
 
@@ -120,18 +121,33 @@ export default class Reward extends cc.Component {
     private clickWatchVideo() {
         cc.log('看广告请求');
         if (gData.reward.data[0] && gData.reward.data[0].rewardType === 1) {
-            gData.adData.watchVideo(AdFun.settlement)// 关卡结算视频
+            // 关卡结算视频
+            mk.ad.watchAd((success: boolean) => {
+                mk.console.log("watchAD:" + success);
+                if (success) {
+                    gData.adData.watchVideo(AdFun.settlement);
+                }
+            });
         } else {
-            gData.adData.watchVideo(AdFun.bubble);// 气泡视频
+            // 气泡视频
+            mk.ad.watchAd((success: boolean) => {
+                mk.console.log("watchAD:" + success);
+                if (success) {
+                    gData.adData.watchVideo(AdFun.bubble);
+                }
+            });
         }
         // 测试数据
-        gData.reward.adData = gData.reward.data;
+        // gData.reward.adData = gData.reward.data;
     }
 
     /**
      * 看广告回调:开奖
      */
     private watchVideoCall() {
+        if (gData.reward.adData) {
+            gData.reward.data = gData.reward.adData;
+        }
         if (!gData.reward.data || !gData.reward.data.length) return;
         mk.audio.playEffect("rewardOpen");
         this.cur_stage = LidType.none;
@@ -205,8 +221,14 @@ export default class Reward extends cc.Component {
     /**
      * 下一关操作
      */
-    private clickNextMission() {
+    public clickNextMission() {
+        GamePlay.Inst.nextLevel();
+    }
 
+    /** 点击返回 */
+    public clickBack() {
+        GamePlay.Inst.restart(false);//退出不扣体力
+        GamePlay.Inst.node.active = false;
     }
 
     onDestroy() {

+ 6 - 1
assets/script/game/module/sign/Sign.ts

@@ -68,7 +68,12 @@ export default class Sign extends cc.Component {
         if (!gData.sign.haveSignDay()) return;
 
         // 看广告
-        gData.adData.watchVideo(AdFun.sign);
+        mk.ad.watchAd((success: boolean) => {
+            mk.console.log("watchAD:" + success);
+            if (success) {
+                gData.adData.watchVideo(AdFun.sign);
+            }
+        });
     }
 
     /**

+ 2 - 2
assets/script/mk/utils/TweenUtil.ts

@@ -34,9 +34,9 @@ export default class TweenUtil {
     * @param end_scale 目标缩放属性
     * @param complete_fun 完成回调
     */
-    public scaleX(node: cc.Node, time: number = 0.15, start_scale: number = 0, end_scale: number = 1, complete_fun?: Function) {
+    public scaleX(node: cc.Node, time: number = 0.15, start_scale: number = 0, end_scale: number = 1, complete_fun?: Function, easing?: keyof typeof TweenEasing) {
         node.scaleX = start_scale;
-        let scale1 = cc.tween().to(time, { scaleX: end_scale });
+        let scale1 = cc.tween().to(time, { scaleX: end_scale }, { easing: easing });
         let call1 = cc.tween().call(() => { if (typeof complete_fun == 'function') complete_fun(); })
         cc.tween(node).then(scale1).then(call1).start()
     }

Some files were not shown because too many files changed in this diff