future 1 rok temu
rodzic
commit
aeab106b3c
30 zmienionych plików z 2855 dodań i 207 usunięć
  1. 20 4
      assets/resources/effect/particle/weiqi/smoke.plist.meta
  2. 20 4
      assets/resources/effect/ui/caidai.plist.meta
  3. 73 134
      assets/resources/prefabs/game.prefab
  4. 2 0
      assets/resources/ui/home.prefab
  5. 1795 0
      assets/resources/ui/restart_view.prefab
  6. 13 0
      assets/resources/ui/restart_view.prefab.meta
  7. 4 4
      assets/resources/ui/setting.prefab
  8. 66 0
      assets/script/GameManager.ts
  9. 24 15
      assets/script/config.ts
  10. 7 3
      assets/script/data.ts
  11. 11 8
      assets/script/game/results.ts
  12. 38 1
      assets/script/manager/userDataManager.ts
  13. 26 9
      assets/script/sdkUtil.ts
  14. 6 3
      assets/script/ui/home/home.ts
  15. 1 0
      assets/script/ui/loading_view.ts
  16. 42 0
      assets/script/ui/restart_view.ts
  17. 9 0
      assets/script/ui/restart_view.ts.meta
  18. 17 20
      assets/script/ui/unLock_view.ts
  19. 9 0
      assets/texture/ui/restart_view.meta
  20. BIN
      assets/texture/ui/restart_view/restart_content.png
  21. 134 0
      assets/texture/ui/restart_view/restart_content.png.meta
  22. BIN
      assets/texture/ui/restart_view/restart_des.png
  23. 134 0
      assets/texture/ui/restart_view/restart_des.png.meta
  24. BIN
      assets/texture/ui/restart_view/restart_look_video.png
  25. 134 0
      assets/texture/ui/restart_view/restart_look_video.png.meta
  26. BIN
      assets/texture/ui/restart_view/restart_share.png
  27. 134 0
      assets/texture/ui/restart_view/restart_share.png.meta
  28. BIN
      assets/texture/ui/restart_view/restart_title.png
  29. 134 0
      assets/texture/ui/restart_view/restart_title.png.meta
  30. 2 2
      settings/v2/packages/information.json

+ 20 - 4
assets/resources/effect/particle/weiqi/smoke.plist.meta

@@ -17,16 +17,32 @@
     "srcBlendFactor": 770,
     "dstBlendFactor": 771,
     "startColor": {
-      "_val": 4294967295
+      "_val": 4294967295,
+      "r": 255,
+      "g": 255,
+      "b": 255,
+      "a": 255
     },
     "startColorVar": {
-      "_val": 0
+      "_val": 0,
+      "r": 0,
+      "g": 0,
+      "b": 0,
+      "a": 0
     },
     "endColor": {
-      "_val": 5662310
+      "_val": 5662310,
+      "r": 102,
+      "g": 102,
+      "b": 86.7,
+      "a": 0
     },
     "endColorVar": {
-      "_val": 4278190080
+      "_val": 4278190080,
+      "r": 0,
+      "g": 0,
+      "b": 0,
+      "a": 255
     },
     "startSize": 39,
     "startSizeVar": 30,

+ 20 - 4
assets/resources/effect/ui/caidai.plist.meta

@@ -17,16 +17,32 @@
     "srcBlendFactor": 770,
     "dstBlendFactor": 771,
     "startColor": {
-      "_val": 4284940287
+      "_val": 4284940287,
+      "r": 255,
+      "g": 255,
+      "b": 102,
+      "a": 255
     },
     "startColorVar": {
-      "_val": 1720508671
+      "_val": 1720508671,
+      "r": 255,
+      "g": 224.4,
+      "b": 140.25,
+      "a": 102
     },
     "endColor": {
-      "_val": 4288610303
+      "_val": 4288610303,
+      "r": 255,
+      "g": 255,
+      "b": 158.1,
+      "a": 255
     },
     "endColorVar": {
-      "_val": 1838799103
+      "_val": 1838799103,
+      "r": 255,
+      "g": 216.75,
+      "b": 153,
+      "a": 109.64999999999999
     },
     "startSize": 28,
     "startSizeVar": 7,

+ 73 - 134
assets/resources/prefabs/game.prefab

@@ -49,7 +49,7 @@
         "__id__": 310
       },
       {
-        "__id__": 408
+        "__id__": 406
       },
       {
         "__id__": 105
@@ -57,6 +57,9 @@
     ],
     "_active": true,
     "_components": [
+      {
+        "__id__": 418
+      },
       {
         "__id__": 420
       },
@@ -68,13 +71,10 @@
       },
       {
         "__id__": 426
-      },
-      {
-        "__id__": 428
       }
     ],
     "_prefab": {
-      "__id__": 430
+      "__id__": 428
     },
     "_lpos": {
       "__type__": "cc.Vec3",
@@ -6857,6 +6857,9 @@
     ],
     "_active": false,
     "_components": [
+      {
+        "__id__": 395
+      },
       {
         "__id__": 397
       },
@@ -6868,13 +6871,10 @@
       },
       {
         "__id__": 403
-      },
-      {
-        "__id__": 405
       }
     ],
     "_prefab": {
-      "__id__": 407
+      "__id__": 405
     },
     "_lpos": {
       "__type__": "cc.Vec3",
@@ -6921,17 +6921,17 @@
     "_active": true,
     "_components": [
       {
-        "__id__": 390
+        "__id__": 388
       },
       {
-        "__id__": 392
+        "__id__": 390
       },
       {
-        "__id__": 394
+        "__id__": 392
       }
     ],
     "_prefab": {
-      "__id__": 396
+      "__id__": 394
     },
     "_lpos": {
       "__type__": "cc.Vec3",
@@ -6978,23 +6978,23 @@
         "__id__": 321
       },
       {
-        "__id__": 373
+        "__id__": 371
       },
       {
-        "__id__": 379
+        "__id__": 377
       }
     ],
     "_active": true,
     "_components": [
       {
-        "__id__": 385
+        "__id__": 383
       },
       {
-        "__id__": 387
+        "__id__": 385
       }
     ],
     "_prefab": {
-      "__id__": 389
+      "__id__": 387
     },
     "_lpos": {
       "__type__": "cc.Vec3",
@@ -7221,14 +7221,14 @@
     "_active": true,
     "_components": [
       {
-        "__id__": 368
+        "__id__": 366
       },
       {
-        "__id__": 370
+        "__id__": 368
       }
     ],
     "_prefab": {
-      "__id__": 372
+      "__id__": 370
     },
     "_lpos": {
       "__type__": "cc.Vec3",
@@ -8150,13 +8150,10 @@
       },
       {
         "__id__": 363
-      },
-      {
-        "__id__": 365
       }
     ],
     "_prefab": {
-      "__id__": 367
+      "__id__": 365
     },
     "_lpos": {
       "__type__": "cc.Vec3",
@@ -8260,64 +8257,6 @@
     "__type__": "cc.CompPrefabInfo",
     "fileId": "84l3ud92NC0a/uokY4Aef3"
   },
-  {
-    "__type__": "cc.Button",
-    "_name": "",
-    "_objFlags": 0,
-    "__editorExtras__": {},
-    "node": {
-      "__id__": 360
-    },
-    "_enabled": true,
-    "__prefab": {
-      "__id__": 366
-    },
-    "clickEvents": [],
-    "_interactable": true,
-    "_transition": 0,
-    "_normalColor": {
-      "__type__": "cc.Color",
-      "r": 214,
-      "g": 214,
-      "b": 214,
-      "a": 255
-    },
-    "_hoverColor": {
-      "__type__": "cc.Color",
-      "r": 211,
-      "g": 211,
-      "b": 211,
-      "a": 255
-    },
-    "_pressedColor": {
-      "__type__": "cc.Color",
-      "r": 255,
-      "g": 255,
-      "b": 255,
-      "a": 255
-    },
-    "_disabledColor": {
-      "__type__": "cc.Color",
-      "r": 124,
-      "g": 124,
-      "b": 124,
-      "a": 255
-    },
-    "_normalSprite": null,
-    "_hoverSprite": null,
-    "_pressedSprite": null,
-    "_disabledSprite": null,
-    "_duration": 0.1,
-    "_zoomScale": 1.2,
-    "_target": {
-      "__id__": 360
-    },
-    "_id": ""
-  },
-  {
-    "__type__": "cc.CompPrefabInfo",
-    "fileId": "aesOT8V+dP8K92wjo0MBw8"
-  },
   {
     "__type__": "cc.PrefabInfo",
     "root": {
@@ -8341,7 +8280,7 @@
     },
     "_enabled": true,
     "__prefab": {
-      "__id__": 369
+      "__id__": 367
     },
     "_contentSize": {
       "__type__": "cc.Size",
@@ -8369,7 +8308,7 @@
     },
     "_enabled": true,
     "__prefab": {
-      "__id__": 371
+      "__id__": 369
     },
     "_resizeMode": 1,
     "_layoutType": 2,
@@ -8422,14 +8361,14 @@
     "_active": true,
     "_components": [
       {
-        "__id__": 374
+        "__id__": 372
       },
       {
-        "__id__": 376
+        "__id__": 374
       }
     ],
     "_prefab": {
-      "__id__": 378
+      "__id__": 376
     },
     "_lpos": {
       "__type__": "cc.Vec3",
@@ -8466,11 +8405,11 @@
     "_objFlags": 0,
     "__editorExtras__": {},
     "node": {
-      "__id__": 373
+      "__id__": 371
     },
     "_enabled": true,
     "__prefab": {
-      "__id__": 375
+      "__id__": 373
     },
     "_contentSize": {
       "__type__": "cc.Size",
@@ -8494,11 +8433,11 @@
     "_objFlags": 0,
     "__editorExtras__": {},
     "node": {
-      "__id__": 373
+      "__id__": 371
     },
     "_enabled": true,
     "__prefab": {
-      "__id__": 377
+      "__id__": 375
     },
     "_customMaterial": null,
     "_srcBlendFactor": 2,
@@ -8558,14 +8497,14 @@
     "_active": true,
     "_components": [
       {
-        "__id__": 380
+        "__id__": 378
       },
       {
-        "__id__": 382
+        "__id__": 380
       }
     ],
     "_prefab": {
-      "__id__": 384
+      "__id__": 382
     },
     "_lpos": {
       "__type__": "cc.Vec3",
@@ -8602,11 +8541,11 @@
     "_objFlags": 0,
     "__editorExtras__": {},
     "node": {
-      "__id__": 379
+      "__id__": 377
     },
     "_enabled": true,
     "__prefab": {
-      "__id__": 381
+      "__id__": 379
     },
     "_contentSize": {
       "__type__": "cc.Size",
@@ -8630,11 +8569,11 @@
     "_objFlags": 0,
     "__editorExtras__": {},
     "node": {
-      "__id__": 379
+      "__id__": 377
     },
     "_enabled": true,
     "__prefab": {
-      "__id__": 383
+      "__id__": 381
     },
     "_customMaterial": null,
     "_srcBlendFactor": 2,
@@ -8692,7 +8631,7 @@
     },
     "_enabled": true,
     "__prefab": {
-      "__id__": 386
+      "__id__": 384
     },
     "_contentSize": {
       "__type__": "cc.Size",
@@ -8720,7 +8659,7 @@
     },
     "_enabled": true,
     "__prefab": {
-      "__id__": 388
+      "__id__": 386
     },
     "_customMaterial": null,
     "_srcBlendFactor": 2,
@@ -8778,7 +8717,7 @@
     },
     "_enabled": true,
     "__prefab": {
-      "__id__": 391
+      "__id__": 389
     },
     "_contentSize": {
       "__type__": "cc.Size",
@@ -8806,7 +8745,7 @@
     },
     "_enabled": true,
     "__prefab": {
-      "__id__": 393
+      "__id__": 391
     },
     "_customMaterial": null,
     "_srcBlendFactor": 2,
@@ -8851,7 +8790,7 @@
     },
     "_enabled": true,
     "__prefab": {
-      "__id__": 395
+      "__id__": 393
     },
     "_alignFlags": 45,
     "_target": null,
@@ -8900,7 +8839,7 @@
     },
     "_enabled": true,
     "__prefab": {
-      "__id__": 398
+      "__id__": 396
     },
     "_contentSize": {
       "__type__": "cc.Size",
@@ -8928,7 +8867,7 @@
     },
     "_enabled": true,
     "__prefab": {
-      "__id__": 400
+      "__id__": 398
     },
     "btn_restart": {
       "__id__": 360
@@ -8937,7 +8876,7 @@
       "__id__": 322
     },
     "btn_back_home": {
-      "__id__": 379
+      "__id__": 377
     },
     "btn_video_reLife": {
       "__id__": 346
@@ -8946,7 +8885,7 @@
       "__id__": 334
     },
     "btn_share": {
-      "__id__": 373
+      "__id__": 371
     },
     "lab_des": {
       "__id__": 328
@@ -8967,7 +8906,7 @@
     },
     "_enabled": true,
     "__prefab": {
-      "__id__": 402
+      "__id__": 400
     },
     "_alignFlags": 45,
     "_target": null,
@@ -9003,7 +8942,7 @@
     },
     "_enabled": true,
     "__prefab": {
-      "__id__": 404
+      "__id__": 402
     },
     "_id": ""
   },
@@ -9021,7 +8960,7 @@
     },
     "_enabled": true,
     "__prefab": {
-      "__id__": 406
+      "__id__": 404
     },
     "_customMaterial": null,
     "_srcBlendFactor": 2,
@@ -9079,20 +9018,20 @@
     },
     "_children": [
       {
-        "__id__": 409
+        "__id__": 407
       }
     ],
     "_active": false,
     "_components": [
       {
-        "__id__": 415
+        "__id__": 413
       },
       {
-        "__id__": 417
+        "__id__": 415
       }
     ],
     "_prefab": {
-      "__id__": 419
+      "__id__": 417
     },
     "_lpos": {
       "__type__": "cc.Vec3",
@@ -9129,20 +9068,20 @@
     "_objFlags": 0,
     "__editorExtras__": {},
     "_parent": {
-      "__id__": 408
+      "__id__": 406
     },
     "_children": [],
     "_active": true,
     "_components": [
       {
-        "__id__": 410
+        "__id__": 408
       },
       {
-        "__id__": 412
+        "__id__": 410
       }
     ],
     "_prefab": {
-      "__id__": 414
+      "__id__": 412
     },
     "_lpos": {
       "__type__": "cc.Vec3",
@@ -9179,11 +9118,11 @@
     "_objFlags": 0,
     "__editorExtras__": {},
     "node": {
-      "__id__": 409
+      "__id__": 407
     },
     "_enabled": true,
     "__prefab": {
-      "__id__": 411
+      "__id__": 409
     },
     "_contentSize": {
       "__type__": "cc.Size",
@@ -9207,11 +9146,11 @@
     "_objFlags": 0,
     "__editorExtras__": {},
     "node": {
-      "__id__": 409
+      "__id__": 407
     },
     "_enabled": true,
     "__prefab": {
-      "__id__": 413
+      "__id__": 411
     },
     "_customMaterial": null,
     "_srcBlendFactor": 2,
@@ -9291,11 +9230,11 @@
     "_objFlags": 0,
     "__editorExtras__": {},
     "node": {
-      "__id__": 408
+      "__id__": 406
     },
     "_enabled": true,
     "__prefab": {
-      "__id__": 416
+      "__id__": 414
     },
     "_contentSize": {
       "__type__": "cc.Size",
@@ -9319,14 +9258,14 @@
     "_objFlags": 0,
     "__editorExtras__": {},
     "node": {
-      "__id__": 408
+      "__id__": 406
     },
     "_enabled": true,
     "__prefab": {
-      "__id__": 418
+      "__id__": 416
     },
     "lab_time": {
-      "__id__": 409
+      "__id__": 407
     },
     "_id": ""
   },
@@ -9357,7 +9296,7 @@
     },
     "_enabled": true,
     "__prefab": {
-      "__id__": 421
+      "__id__": 419
     },
     "_contentSize": {
       "__type__": "cc.Size",
@@ -9385,7 +9324,7 @@
     },
     "_enabled": true,
     "__prefab": {
-      "__id__": 423
+      "__id__": 421
     },
     "_alignFlags": 45,
     "_target": null,
@@ -9421,7 +9360,7 @@
     },
     "_enabled": true,
     "__prefab": {
-      "__id__": 425
+      "__id__": 423
     },
     "sfList": [
       {
@@ -9511,7 +9450,7 @@
       "__id__": 300
     },
     "count_time": {
-      "__id__": 408
+      "__id__": 406
     },
     "mWeiqiManager": {
       "__id__": 205
@@ -9538,7 +9477,7 @@
     },
     "_enabled": true,
     "__prefab": {
-      "__id__": 427
+      "__id__": 425
     },
     "_type": 0,
     "_inverted": false,
@@ -9560,7 +9499,7 @@
     },
     "_enabled": true,
     "__prefab": {
-      "__id__": 429
+      "__id__": 427
     },
     "_customMaterial": null,
     "_srcBlendFactor": 2,

+ 2 - 0
assets/resources/ui/home.prefab

@@ -5299,6 +5299,8 @@
       "__id__": 0
     },
     "fileId": "526rKwZYxAb7e10ZUcUCAY",
+    "instance": null,
+    "targetOverrides": null,
     "nestedPrefabInstanceRoots": null
   },
   {

+ 1795 - 0
assets/resources/ui/restart_view.prefab

@@ -0,0 +1,1795 @@
+[
+  {
+    "__type__": "cc.Prefab",
+    "_name": "restart_view",
+    "_objFlags": 0,
+    "__editorExtras__": {},
+    "_native": "",
+    "data": {
+      "__id__": 1
+    },
+    "optimizationPolicy": 0,
+    "persistent": false
+  },
+  {
+    "__type__": "cc.Node",
+    "_name": "restart_view",
+    "_objFlags": 0,
+    "__editorExtras__": {},
+    "_parent": null,
+    "_children": [
+      {
+        "__id__": 2
+      },
+      {
+        "__id__": 10
+      },
+      {
+        "__id__": 62
+      }
+    ],
+    "_active": true,
+    "_components": [
+      {
+        "__id__": 70
+      },
+      {
+        "__id__": 72
+      },
+      {
+        "__id__": 74
+      },
+      {
+        "__id__": 76
+      }
+    ],
+    "_prefab": {
+      "__id__": 78
+    },
+    "_lpos": {
+      "__type__": "cc.Vec3",
+      "x": 0,
+      "y": 0,
+      "z": 0
+    },
+    "_lrot": {
+      "__type__": "cc.Quat",
+      "x": 0,
+      "y": 0,
+      "z": 0,
+      "w": 1
+    },
+    "_lscale": {
+      "__type__": "cc.Vec3",
+      "x": 1,
+      "y": 1,
+      "z": 1
+    },
+    "_mobility": 0,
+    "_layer": 33554432,
+    "_euler": {
+      "__type__": "cc.Vec3",
+      "x": 0,
+      "y": 0,
+      "z": 0
+    },
+    "_id": ""
+  },
+  {
+    "__type__": "cc.Node",
+    "_name": "public_bg",
+    "_objFlags": 0,
+    "__editorExtras__": {},
+    "_parent": {
+      "__id__": 1
+    },
+    "_children": [],
+    "_active": true,
+    "_components": [
+      {
+        "__id__": 3
+      },
+      {
+        "__id__": 5
+      },
+      {
+        "__id__": 7
+      }
+    ],
+    "_prefab": {
+      "__id__": 9
+    },
+    "_lpos": {
+      "__type__": "cc.Vec3",
+      "x": 0,
+      "y": 0,
+      "z": 0
+    },
+    "_lrot": {
+      "__type__": "cc.Quat",
+      "x": 0,
+      "y": 0,
+      "z": 0,
+      "w": 1
+    },
+    "_lscale": {
+      "__type__": "cc.Vec3",
+      "x": 1,
+      "y": 1,
+      "z": 1
+    },
+    "_mobility": 0,
+    "_layer": 33554432,
+    "_euler": {
+      "__type__": "cc.Vec3",
+      "x": 0,
+      "y": 0,
+      "z": 0
+    },
+    "_id": ""
+  },
+  {
+    "__type__": "cc.UITransform",
+    "_name": "",
+    "_objFlags": 0,
+    "__editorExtras__": {},
+    "node": {
+      "__id__": 2
+    },
+    "_enabled": true,
+    "__prefab": {
+      "__id__": 4
+    },
+    "_contentSize": {
+      "__type__": "cc.Size",
+      "width": 1080,
+      "height": 1920
+    },
+    "_anchorPoint": {
+      "__type__": "cc.Vec2",
+      "x": 0.5,
+      "y": 0.5
+    },
+    "_id": ""
+  },
+  {
+    "__type__": "cc.CompPrefabInfo",
+    "fileId": "0bhxd1gpxDf5RvcxMQg9dr"
+  },
+  {
+    "__type__": "cc.Sprite",
+    "_name": "",
+    "_objFlags": 0,
+    "__editorExtras__": {},
+    "node": {
+      "__id__": 2
+    },
+    "_enabled": true,
+    "__prefab": {
+      "__id__": 6
+    },
+    "_customMaterial": null,
+    "_srcBlendFactor": 2,
+    "_dstBlendFactor": 4,
+    "_color": {
+      "__type__": "cc.Color",
+      "r": 255,
+      "g": 255,
+      "b": 255,
+      "a": 255
+    },
+    "_spriteFrame": {
+      "__uuid__": "433b4378-f731-459b-be68-93cd8b0899a6@f9941",
+      "__expectedType__": "cc.SpriteFrame"
+    },
+    "_type": 0,
+    "_fillType": 0,
+    "_sizeMode": 0,
+    "_fillCenter": {
+      "__type__": "cc.Vec2",
+      "x": 0,
+      "y": 0
+    },
+    "_fillStart": 0,
+    "_fillRange": 0,
+    "_isTrimmedMode": true,
+    "_useGrayscale": false,
+    "_atlas": null,
+    "_id": ""
+  },
+  {
+    "__type__": "cc.CompPrefabInfo",
+    "fileId": "75jMe9YT5M5b/eZNK0SAdp"
+  },
+  {
+    "__type__": "cc.Widget",
+    "_name": "",
+    "_objFlags": 0,
+    "__editorExtras__": {},
+    "node": {
+      "__id__": 2
+    },
+    "_enabled": true,
+    "__prefab": {
+      "__id__": 8
+    },
+    "_alignFlags": 45,
+    "_target": null,
+    "_left": 0,
+    "_right": 0,
+    "_top": 0,
+    "_bottom": 0,
+    "_horizontalCenter": 0,
+    "_verticalCenter": 0,
+    "_isAbsLeft": true,
+    "_isAbsRight": true,
+    "_isAbsTop": true,
+    "_isAbsBottom": true,
+    "_isAbsHorizontalCenter": true,
+    "_isAbsVerticalCenter": true,
+    "_originalWidth": 1080,
+    "_originalHeight": 1920,
+    "_alignMode": 2,
+    "_lockFlags": 0,
+    "_id": ""
+  },
+  {
+    "__type__": "cc.CompPrefabInfo",
+    "fileId": "5byDwQ5WRLCJDLLAI9fYwY"
+  },
+  {
+    "__type__": "cc.PrefabInfo",
+    "root": {
+      "__id__": 1
+    },
+    "asset": {
+      "__id__": 0
+    },
+    "fileId": "c1MWYCFVlNTZoh8RuGkD1u",
+    "instance": null,
+    "targetOverrides": null,
+    "nestedPrefabInstanceRoots": null
+  },
+  {
+    "__type__": "cc.Node",
+    "_name": "img_bg",
+    "_objFlags": 0,
+    "__editorExtras__": {},
+    "_parent": {
+      "__id__": 1
+    },
+    "_children": [
+      {
+        "__id__": 11
+      },
+      {
+        "__id__": 17
+      },
+      {
+        "__id__": 23
+      },
+      {
+        "__id__": 29
+      },
+      {
+        "__id__": 35
+      }
+    ],
+    "_active": true,
+    "_components": [
+      {
+        "__id__": 57
+      },
+      {
+        "__id__": 59
+      }
+    ],
+    "_prefab": {
+      "__id__": 61
+    },
+    "_lpos": {
+      "__type__": "cc.Vec3",
+      "x": 0,
+      "y": 78,
+      "z": 0
+    },
+    "_lrot": {
+      "__type__": "cc.Quat",
+      "x": 0,
+      "y": 0,
+      "z": 0,
+      "w": 1
+    },
+    "_lscale": {
+      "__type__": "cc.Vec3",
+      "x": 1,
+      "y": 1,
+      "z": 1
+    },
+    "_mobility": 0,
+    "_layer": 33554432,
+    "_euler": {
+      "__type__": "cc.Vec3",
+      "x": 0,
+      "y": 0,
+      "z": 0
+    },
+    "_id": ""
+  },
+  {
+    "__type__": "cc.Node",
+    "_name": "img_logo",
+    "_objFlags": 0,
+    "__editorExtras__": {},
+    "_parent": {
+      "__id__": 10
+    },
+    "_children": [],
+    "_active": true,
+    "_components": [
+      {
+        "__id__": 12
+      },
+      {
+        "__id__": 14
+      }
+    ],
+    "_prefab": {
+      "__id__": 16
+    },
+    "_lpos": {
+      "__type__": "cc.Vec3",
+      "x": 0,
+      "y": 739,
+      "z": 0
+    },
+    "_lrot": {
+      "__type__": "cc.Quat",
+      "x": 0,
+      "y": 0,
+      "z": 0,
+      "w": 1
+    },
+    "_lscale": {
+      "__type__": "cc.Vec3",
+      "x": 1,
+      "y": 1,
+      "z": 1
+    },
+    "_mobility": 0,
+    "_layer": 33554432,
+    "_euler": {
+      "__type__": "cc.Vec3",
+      "x": 0,
+      "y": 0,
+      "z": 0
+    },
+    "_id": ""
+  },
+  {
+    "__type__": "cc.UITransform",
+    "_name": "",
+    "_objFlags": 0,
+    "__editorExtras__": {},
+    "node": {
+      "__id__": 11
+    },
+    "_enabled": true,
+    "__prefab": {
+      "__id__": 13
+    },
+    "_contentSize": {
+      "__type__": "cc.Size",
+      "width": 367,
+      "height": 81
+    },
+    "_anchorPoint": {
+      "__type__": "cc.Vec2",
+      "x": 0.5,
+      "y": 0.5
+    },
+    "_id": ""
+  },
+  {
+    "__type__": "cc.CompPrefabInfo",
+    "fileId": "6c2DBZLVVGGaDA5Nhu1yc0"
+  },
+  {
+    "__type__": "cc.Sprite",
+    "_name": "",
+    "_objFlags": 0,
+    "__editorExtras__": {},
+    "node": {
+      "__id__": 11
+    },
+    "_enabled": true,
+    "__prefab": {
+      "__id__": 15
+    },
+    "_customMaterial": null,
+    "_srcBlendFactor": 2,
+    "_dstBlendFactor": 4,
+    "_color": {
+      "__type__": "cc.Color",
+      "r": 255,
+      "g": 255,
+      "b": 255,
+      "a": 255
+    },
+    "_spriteFrame": {
+      "__uuid__": "5575383b-b666-4828-9e96-9aa0863085a4@f9941",
+      "__expectedType__": "cc.SpriteFrame"
+    },
+    "_type": 0,
+    "_fillType": 0,
+    "_sizeMode": 1,
+    "_fillCenter": {
+      "__type__": "cc.Vec2",
+      "x": 0,
+      "y": 0
+    },
+    "_fillStart": 0,
+    "_fillRange": 0,
+    "_isTrimmedMode": true,
+    "_useGrayscale": false,
+    "_atlas": null,
+    "_id": ""
+  },
+  {
+    "__type__": "cc.CompPrefabInfo",
+    "fileId": "9aiM/tmUdBsIaVBbgBAl6l"
+  },
+  {
+    "__type__": "cc.PrefabInfo",
+    "root": {
+      "__id__": 1
+    },
+    "asset": {
+      "__id__": 0
+    },
+    "fileId": "1fjJEZHItCQJRj4gVS0P7Q",
+    "instance": null,
+    "targetOverrides": null,
+    "nestedPrefabInstanceRoots": null
+  },
+  {
+    "__type__": "cc.Node",
+    "_name": "img_title",
+    "_objFlags": 0,
+    "__editorExtras__": {},
+    "_parent": {
+      "__id__": 10
+    },
+    "_children": [],
+    "_active": true,
+    "_components": [
+      {
+        "__id__": 18
+      },
+      {
+        "__id__": 20
+      }
+    ],
+    "_prefab": {
+      "__id__": 22
+    },
+    "_lpos": {
+      "__type__": "cc.Vec3",
+      "x": 0,
+      "y": 583,
+      "z": 0
+    },
+    "_lrot": {
+      "__type__": "cc.Quat",
+      "x": 0,
+      "y": 0,
+      "z": 0,
+      "w": 1
+    },
+    "_lscale": {
+      "__type__": "cc.Vec3",
+      "x": 1,
+      "y": 1,
+      "z": 1
+    },
+    "_mobility": 0,
+    "_layer": 33554432,
+    "_euler": {
+      "__type__": "cc.Vec3",
+      "x": 0,
+      "y": 0,
+      "z": 0
+    },
+    "_id": ""
+  },
+  {
+    "__type__": "cc.UITransform",
+    "_name": "",
+    "_objFlags": 0,
+    "__editorExtras__": {},
+    "node": {
+      "__id__": 17
+    },
+    "_enabled": true,
+    "__prefab": {
+      "__id__": 19
+    },
+    "_contentSize": {
+      "__type__": "cc.Size",
+      "width": 336,
+      "height": 104
+    },
+    "_anchorPoint": {
+      "__type__": "cc.Vec2",
+      "x": 0.5,
+      "y": 0.5
+    },
+    "_id": ""
+  },
+  {
+    "__type__": "cc.CompPrefabInfo",
+    "fileId": "c8KkAjJ+5Kw6HKLjNm8eFT"
+  },
+  {
+    "__type__": "cc.Sprite",
+    "_name": "",
+    "_objFlags": 0,
+    "__editorExtras__": {},
+    "node": {
+      "__id__": 17
+    },
+    "_enabled": true,
+    "__prefab": {
+      "__id__": 21
+    },
+    "_customMaterial": null,
+    "_srcBlendFactor": 2,
+    "_dstBlendFactor": 4,
+    "_color": {
+      "__type__": "cc.Color",
+      "r": 255,
+      "g": 255,
+      "b": 255,
+      "a": 255
+    },
+    "_spriteFrame": {
+      "__uuid__": "56c022d3-3d6f-4bd4-9d8a-66f38e797535@f9941",
+      "__expectedType__": "cc.SpriteFrame"
+    },
+    "_type": 0,
+    "_fillType": 0,
+    "_sizeMode": 1,
+    "_fillCenter": {
+      "__type__": "cc.Vec2",
+      "x": 0,
+      "y": 0
+    },
+    "_fillStart": 0,
+    "_fillRange": 0,
+    "_isTrimmedMode": true,
+    "_useGrayscale": false,
+    "_atlas": null,
+    "_id": ""
+  },
+  {
+    "__type__": "cc.CompPrefabInfo",
+    "fileId": "305zY64c1OfLCklhLdJAlx"
+  },
+  {
+    "__type__": "cc.PrefabInfo",
+    "root": {
+      "__id__": 1
+    },
+    "asset": {
+      "__id__": 0
+    },
+    "fileId": "0cf8stXAFPRqmaiLd8Rctf",
+    "instance": null,
+    "targetOverrides": null,
+    "nestedPrefabInstanceRoots": null
+  },
+  {
+    "__type__": "cc.Node",
+    "_name": "img_content",
+    "_objFlags": 0,
+    "__editorExtras__": {},
+    "_parent": {
+      "__id__": 10
+    },
+    "_children": [],
+    "_active": true,
+    "_components": [
+      {
+        "__id__": 24
+      },
+      {
+        "__id__": 26
+      }
+    ],
+    "_prefab": {
+      "__id__": 28
+    },
+    "_lpos": {
+      "__type__": "cc.Vec3",
+      "x": 0,
+      "y": 81,
+      "z": 0
+    },
+    "_lrot": {
+      "__type__": "cc.Quat",
+      "x": 0,
+      "y": 0,
+      "z": 0,
+      "w": 1
+    },
+    "_lscale": {
+      "__type__": "cc.Vec3",
+      "x": 1,
+      "y": 1,
+      "z": 1
+    },
+    "_mobility": 0,
+    "_layer": 33554432,
+    "_euler": {
+      "__type__": "cc.Vec3",
+      "x": 0,
+      "y": 0,
+      "z": 0
+    },
+    "_id": ""
+  },
+  {
+    "__type__": "cc.UITransform",
+    "_name": "",
+    "_objFlags": 0,
+    "__editorExtras__": {},
+    "node": {
+      "__id__": 23
+    },
+    "_enabled": true,
+    "__prefab": {
+      "__id__": 25
+    },
+    "_contentSize": {
+      "__type__": "cc.Size",
+      "width": 769,
+      "height": 640
+    },
+    "_anchorPoint": {
+      "__type__": "cc.Vec2",
+      "x": 0.5,
+      "y": 0.5
+    },
+    "_id": ""
+  },
+  {
+    "__type__": "cc.CompPrefabInfo",
+    "fileId": "71MEJkUGNNsK8++KoRcExJ"
+  },
+  {
+    "__type__": "cc.Sprite",
+    "_name": "",
+    "_objFlags": 0,
+    "__editorExtras__": {},
+    "node": {
+      "__id__": 23
+    },
+    "_enabled": true,
+    "__prefab": {
+      "__id__": 27
+    },
+    "_customMaterial": null,
+    "_srcBlendFactor": 2,
+    "_dstBlendFactor": 4,
+    "_color": {
+      "__type__": "cc.Color",
+      "r": 255,
+      "g": 255,
+      "b": 255,
+      "a": 255
+    },
+    "_spriteFrame": {
+      "__uuid__": "8a90ed91-9b28-4ee0-9535-c3da3580e0f6@f9941",
+      "__expectedType__": "cc.SpriteFrame"
+    },
+    "_type": 0,
+    "_fillType": 0,
+    "_sizeMode": 1,
+    "_fillCenter": {
+      "__type__": "cc.Vec2",
+      "x": 0,
+      "y": 0
+    },
+    "_fillStart": 0,
+    "_fillRange": 0,
+    "_isTrimmedMode": true,
+    "_useGrayscale": false,
+    "_atlas": null,
+    "_id": ""
+  },
+  {
+    "__type__": "cc.CompPrefabInfo",
+    "fileId": "7ejYKtWv9Imr7iPxtnZyGO"
+  },
+  {
+    "__type__": "cc.PrefabInfo",
+    "root": {
+      "__id__": 1
+    },
+    "asset": {
+      "__id__": 0
+    },
+    "fileId": "4aKYBdb9NLsLQPhE1LW+mH",
+    "instance": null,
+    "targetOverrides": null,
+    "nestedPrefabInstanceRoots": null
+  },
+  {
+    "__type__": "cc.Node",
+    "_name": "img_des",
+    "_objFlags": 0,
+    "__editorExtras__": {},
+    "_parent": {
+      "__id__": 10
+    },
+    "_children": [],
+    "_active": true,
+    "_components": [
+      {
+        "__id__": 30
+      },
+      {
+        "__id__": 32
+      }
+    ],
+    "_prefab": {
+      "__id__": 34
+    },
+    "_lpos": {
+      "__type__": "cc.Vec3",
+      "x": -9.247,
+      "y": -338.652,
+      "z": 0
+    },
+    "_lrot": {
+      "__type__": "cc.Quat",
+      "x": 0,
+      "y": 0,
+      "z": 0,
+      "w": 1
+    },
+    "_lscale": {
+      "__type__": "cc.Vec3",
+      "x": 1,
+      "y": 1,
+      "z": 1
+    },
+    "_mobility": 0,
+    "_layer": 33554432,
+    "_euler": {
+      "__type__": "cc.Vec3",
+      "x": 0,
+      "y": 0,
+      "z": 0
+    },
+    "_id": ""
+  },
+  {
+    "__type__": "cc.UITransform",
+    "_name": "",
+    "_objFlags": 0,
+    "__editorExtras__": {},
+    "node": {
+      "__id__": 29
+    },
+    "_enabled": true,
+    "__prefab": {
+      "__id__": 31
+    },
+    "_contentSize": {
+      "__type__": "cc.Size",
+      "width": 712,
+      "height": 101
+    },
+    "_anchorPoint": {
+      "__type__": "cc.Vec2",
+      "x": 0.5,
+      "y": 0.5
+    },
+    "_id": ""
+  },
+  {
+    "__type__": "cc.CompPrefabInfo",
+    "fileId": "0aY4Ot6s9J/53eY1Y1nhVF"
+  },
+  {
+    "__type__": "cc.Sprite",
+    "_name": "",
+    "_objFlags": 0,
+    "__editorExtras__": {},
+    "node": {
+      "__id__": 29
+    },
+    "_enabled": true,
+    "__prefab": {
+      "__id__": 33
+    },
+    "_customMaterial": null,
+    "_srcBlendFactor": 2,
+    "_dstBlendFactor": 4,
+    "_color": {
+      "__type__": "cc.Color",
+      "r": 255,
+      "g": 255,
+      "b": 255,
+      "a": 255
+    },
+    "_spriteFrame": {
+      "__uuid__": "3fa485fd-ca55-4e94-bbf4-ba319bb884a2@f9941",
+      "__expectedType__": "cc.SpriteFrame"
+    },
+    "_type": 0,
+    "_fillType": 0,
+    "_sizeMode": 1,
+    "_fillCenter": {
+      "__type__": "cc.Vec2",
+      "x": 0,
+      "y": 0
+    },
+    "_fillStart": 0,
+    "_fillRange": 0,
+    "_isTrimmedMode": true,
+    "_useGrayscale": false,
+    "_atlas": null,
+    "_id": ""
+  },
+  {
+    "__type__": "cc.CompPrefabInfo",
+    "fileId": "e2keR7OmROtatv2UCW0O/F"
+  },
+  {
+    "__type__": "cc.PrefabInfo",
+    "root": {
+      "__id__": 1
+    },
+    "asset": {
+      "__id__": 0
+    },
+    "fileId": "90wImzABtHha6esnkui28x",
+    "instance": null,
+    "targetOverrides": null,
+    "nestedPrefabInstanceRoots": null
+  },
+  {
+    "__type__": "cc.Node",
+    "_name": "bottom",
+    "_objFlags": 0,
+    "__editorExtras__": {},
+    "_parent": {
+      "__id__": 10
+    },
+    "_children": [
+      {
+        "__id__": 36
+      },
+      {
+        "__id__": 44
+      }
+    ],
+    "_active": true,
+    "_components": [
+      {
+        "__id__": 52
+      },
+      {
+        "__id__": 54
+      }
+    ],
+    "_prefab": {
+      "__id__": 56
+    },
+    "_lpos": {
+      "__type__": "cc.Vec3",
+      "x": 9,
+      "y": -561.226,
+      "z": 0
+    },
+    "_lrot": {
+      "__type__": "cc.Quat",
+      "x": 0,
+      "y": 0,
+      "z": 0,
+      "w": 1
+    },
+    "_lscale": {
+      "__type__": "cc.Vec3",
+      "x": 1,
+      "y": 1,
+      "z": 1
+    },
+    "_mobility": 0,
+    "_layer": 33554432,
+    "_euler": {
+      "__type__": "cc.Vec3",
+      "x": 0,
+      "y": 0,
+      "z": 0
+    },
+    "_id": ""
+  },
+  {
+    "__type__": "cc.Node",
+    "_name": "btn_look_video",
+    "_objFlags": 0,
+    "__editorExtras__": {},
+    "_parent": {
+      "__id__": 35
+    },
+    "_children": [],
+    "_active": true,
+    "_components": [
+      {
+        "__id__": 37
+      },
+      {
+        "__id__": 39
+      },
+      {
+        "__id__": 41
+      }
+    ],
+    "_prefab": {
+      "__id__": 43
+    },
+    "_lpos": {
+      "__type__": "cc.Vec3",
+      "x": -243.5,
+      "y": 0,
+      "z": 0
+    },
+    "_lrot": {
+      "__type__": "cc.Quat",
+      "x": 0,
+      "y": 0,
+      "z": 0,
+      "w": 1
+    },
+    "_lscale": {
+      "__type__": "cc.Vec3",
+      "x": 1,
+      "y": 1,
+      "z": 1
+    },
+    "_mobility": 0,
+    "_layer": 33554432,
+    "_euler": {
+      "__type__": "cc.Vec3",
+      "x": 0,
+      "y": 0,
+      "z": 0
+    },
+    "_id": ""
+  },
+  {
+    "__type__": "cc.UITransform",
+    "_name": "",
+    "_objFlags": 0,
+    "__editorExtras__": {},
+    "node": {
+      "__id__": 36
+    },
+    "_enabled": true,
+    "__prefab": {
+      "__id__": 38
+    },
+    "_contentSize": {
+      "__type__": "cc.Size",
+      "width": 333,
+      "height": 136
+    },
+    "_anchorPoint": {
+      "__type__": "cc.Vec2",
+      "x": 0.5,
+      "y": 0.5
+    },
+    "_id": ""
+  },
+  {
+    "__type__": "cc.CompPrefabInfo",
+    "fileId": "cc2+dD6VFBqoQEkZ4bLduZ"
+  },
+  {
+    "__type__": "cc.Sprite",
+    "_name": "",
+    "_objFlags": 0,
+    "__editorExtras__": {},
+    "node": {
+      "__id__": 36
+    },
+    "_enabled": true,
+    "__prefab": {
+      "__id__": 40
+    },
+    "_customMaterial": null,
+    "_srcBlendFactor": 2,
+    "_dstBlendFactor": 4,
+    "_color": {
+      "__type__": "cc.Color",
+      "r": 255,
+      "g": 255,
+      "b": 255,
+      "a": 255
+    },
+    "_spriteFrame": {
+      "__uuid__": "64871b15-afd1-4e0f-8f11-cfde1553036b@f9941",
+      "__expectedType__": "cc.SpriteFrame"
+    },
+    "_type": 1,
+    "_fillType": 0,
+    "_sizeMode": 1,
+    "_fillCenter": {
+      "__type__": "cc.Vec2",
+      "x": 0,
+      "y": 0
+    },
+    "_fillStart": 0,
+    "_fillRange": 0,
+    "_isTrimmedMode": true,
+    "_useGrayscale": false,
+    "_atlas": null,
+    "_id": ""
+  },
+  {
+    "__type__": "cc.CompPrefabInfo",
+    "fileId": "1aNtu/nnJDzrDw9fhlQFmn"
+  },
+  {
+    "__type__": "cc.Button",
+    "_name": "",
+    "_objFlags": 0,
+    "__editorExtras__": {},
+    "node": {
+      "__id__": 36
+    },
+    "_enabled": true,
+    "__prefab": {
+      "__id__": 42
+    },
+    "clickEvents": [],
+    "_interactable": true,
+    "_transition": 3,
+    "_normalColor": {
+      "__type__": "cc.Color",
+      "r": 214,
+      "g": 214,
+      "b": 214,
+      "a": 255
+    },
+    "_hoverColor": {
+      "__type__": "cc.Color",
+      "r": 211,
+      "g": 211,
+      "b": 211,
+      "a": 255
+    },
+    "_pressedColor": {
+      "__type__": "cc.Color",
+      "r": 255,
+      "g": 255,
+      "b": 255,
+      "a": 255
+    },
+    "_disabledColor": {
+      "__type__": "cc.Color",
+      "r": 124,
+      "g": 124,
+      "b": 124,
+      "a": 255
+    },
+    "_normalSprite": null,
+    "_hoverSprite": null,
+    "_pressedSprite": null,
+    "_disabledSprite": null,
+    "_duration": 0.1,
+    "_zoomScale": 0.9,
+    "_target": {
+      "__id__": 36
+    },
+    "_id": ""
+  },
+  {
+    "__type__": "cc.CompPrefabInfo",
+    "fileId": "8esMhDpTdI57Tjkwquitz9"
+  },
+  {
+    "__type__": "cc.PrefabInfo",
+    "root": {
+      "__id__": 1
+    },
+    "asset": {
+      "__id__": 0
+    },
+    "fileId": "76Q/RY7/5PQqbuv5zKqWgX",
+    "instance": null,
+    "targetOverrides": null,
+    "nestedPrefabInstanceRoots": null
+  },
+  {
+    "__type__": "cc.Node",
+    "_name": "btn_share",
+    "_objFlags": 0,
+    "__editorExtras__": {},
+    "_parent": {
+      "__id__": 35
+    },
+    "_children": [],
+    "_active": true,
+    "_components": [
+      {
+        "__id__": 45
+      },
+      {
+        "__id__": 47
+      },
+      {
+        "__id__": 49
+      }
+    ],
+    "_prefab": {
+      "__id__": 51
+    },
+    "_lpos": {
+      "__type__": "cc.Vec3",
+      "x": 244,
+      "y": 0,
+      "z": 0
+    },
+    "_lrot": {
+      "__type__": "cc.Quat",
+      "x": 0,
+      "y": 0,
+      "z": 0,
+      "w": 1
+    },
+    "_lscale": {
+      "__type__": "cc.Vec3",
+      "x": 1,
+      "y": 1,
+      "z": 1
+    },
+    "_mobility": 0,
+    "_layer": 33554432,
+    "_euler": {
+      "__type__": "cc.Vec3",
+      "x": 0,
+      "y": 0,
+      "z": 0
+    },
+    "_id": ""
+  },
+  {
+    "__type__": "cc.UITransform",
+    "_name": "",
+    "_objFlags": 0,
+    "__editorExtras__": {},
+    "node": {
+      "__id__": 44
+    },
+    "_enabled": true,
+    "__prefab": {
+      "__id__": 46
+    },
+    "_contentSize": {
+      "__type__": "cc.Size",
+      "width": 334,
+      "height": 136
+    },
+    "_anchorPoint": {
+      "__type__": "cc.Vec2",
+      "x": 0.5,
+      "y": 0.5
+    },
+    "_id": ""
+  },
+  {
+    "__type__": "cc.CompPrefabInfo",
+    "fileId": "f7+7tKr/FPj76tQ0Ig7tWO"
+  },
+  {
+    "__type__": "cc.Sprite",
+    "_name": "",
+    "_objFlags": 0,
+    "__editorExtras__": {},
+    "node": {
+      "__id__": 44
+    },
+    "_enabled": true,
+    "__prefab": {
+      "__id__": 48
+    },
+    "_customMaterial": null,
+    "_srcBlendFactor": 2,
+    "_dstBlendFactor": 4,
+    "_color": {
+      "__type__": "cc.Color",
+      "r": 255,
+      "g": 255,
+      "b": 255,
+      "a": 255
+    },
+    "_spriteFrame": {
+      "__uuid__": "f92fea72-d521-4cb3-a32d-78c68634ed21@f9941",
+      "__expectedType__": "cc.SpriteFrame"
+    },
+    "_type": 1,
+    "_fillType": 0,
+    "_sizeMode": 1,
+    "_fillCenter": {
+      "__type__": "cc.Vec2",
+      "x": 0,
+      "y": 0
+    },
+    "_fillStart": 0,
+    "_fillRange": 0,
+    "_isTrimmedMode": true,
+    "_useGrayscale": false,
+    "_atlas": null,
+    "_id": ""
+  },
+  {
+    "__type__": "cc.CompPrefabInfo",
+    "fileId": "a2RUhM8nVJuJgDEAfId7Oj"
+  },
+  {
+    "__type__": "cc.Button",
+    "_name": "",
+    "_objFlags": 0,
+    "__editorExtras__": {},
+    "node": {
+      "__id__": 44
+    },
+    "_enabled": true,
+    "__prefab": {
+      "__id__": 50
+    },
+    "clickEvents": [],
+    "_interactable": true,
+    "_transition": 3,
+    "_normalColor": {
+      "__type__": "cc.Color",
+      "r": 214,
+      "g": 214,
+      "b": 214,
+      "a": 255
+    },
+    "_hoverColor": {
+      "__type__": "cc.Color",
+      "r": 211,
+      "g": 211,
+      "b": 211,
+      "a": 255
+    },
+    "_pressedColor": {
+      "__type__": "cc.Color",
+      "r": 255,
+      "g": 255,
+      "b": 255,
+      "a": 255
+    },
+    "_disabledColor": {
+      "__type__": "cc.Color",
+      "r": 124,
+      "g": 124,
+      "b": 124,
+      "a": 255
+    },
+    "_normalSprite": null,
+    "_hoverSprite": null,
+    "_pressedSprite": null,
+    "_disabledSprite": null,
+    "_duration": 0.1,
+    "_zoomScale": 0.9,
+    "_target": {
+      "__id__": 44
+    },
+    "_id": ""
+  },
+  {
+    "__type__": "cc.CompPrefabInfo",
+    "fileId": "f0Vs1MRidFy4G+T6i4G64R"
+  },
+  {
+    "__type__": "cc.PrefabInfo",
+    "root": {
+      "__id__": 1
+    },
+    "asset": {
+      "__id__": 0
+    },
+    "fileId": "3b44Ch6h5PgahD2ZolT61T",
+    "instance": null,
+    "targetOverrides": null,
+    "nestedPrefabInstanceRoots": null
+  },
+  {
+    "__type__": "cc.UITransform",
+    "_name": "",
+    "_objFlags": 0,
+    "__editorExtras__": {},
+    "node": {
+      "__id__": 35
+    },
+    "_enabled": true,
+    "__prefab": {
+      "__id__": 53
+    },
+    "_contentSize": {
+      "__type__": "cc.Size",
+      "width": 820,
+      "height": 140
+    },
+    "_anchorPoint": {
+      "__type__": "cc.Vec2",
+      "x": 0.5,
+      "y": 0.5
+    },
+    "_id": ""
+  },
+  {
+    "__type__": "cc.CompPrefabInfo",
+    "fileId": "28UzfrfaVJY6JlyLoaGw6o"
+  },
+  {
+    "__type__": "cc.Layout",
+    "_name": "",
+    "_objFlags": 0,
+    "__editorExtras__": {},
+    "node": {
+      "__id__": 35
+    },
+    "_enabled": false,
+    "__prefab": {
+      "__id__": 55
+    },
+    "_resizeMode": 0,
+    "_layoutType": 1,
+    "_cellSize": {
+      "__type__": "cc.Size",
+      "width": 40,
+      "height": 40
+    },
+    "_startAxis": 0,
+    "_paddingLeft": 0,
+    "_paddingRight": 0,
+    "_paddingTop": 0,
+    "_paddingBottom": 0,
+    "_spacingX": 154,
+    "_spacingY": 0,
+    "_verticalDirection": 1,
+    "_horizontalDirection": 0,
+    "_constraint": 0,
+    "_constraintNum": 2,
+    "_affectedByScale": false,
+    "_isAlign": true,
+    "_id": ""
+  },
+  {
+    "__type__": "cc.CompPrefabInfo",
+    "fileId": "46xvbQp8BFtIju6Ut11TOO"
+  },
+  {
+    "__type__": "cc.PrefabInfo",
+    "root": {
+      "__id__": 1
+    },
+    "asset": {
+      "__id__": 0
+    },
+    "fileId": "41V49afs5L6LBye6HcL5bZ",
+    "instance": null,
+    "targetOverrides": null,
+    "nestedPrefabInstanceRoots": null
+  },
+  {
+    "__type__": "cc.UITransform",
+    "_name": "",
+    "_objFlags": 0,
+    "__editorExtras__": {},
+    "node": {
+      "__id__": 10
+    },
+    "_enabled": true,
+    "__prefab": {
+      "__id__": 58
+    },
+    "_contentSize": {
+      "__type__": "cc.Size",
+      "width": 980,
+      "height": 1400
+    },
+    "_anchorPoint": {
+      "__type__": "cc.Vec2",
+      "x": 0.5,
+      "y": 0.5
+    },
+    "_id": ""
+  },
+  {
+    "__type__": "cc.CompPrefabInfo",
+    "fileId": "0aBzaW1rhKCIthGl7hqHaX"
+  },
+  {
+    "__type__": "cc.Sprite",
+    "_name": "",
+    "_objFlags": 0,
+    "__editorExtras__": {},
+    "node": {
+      "__id__": 10
+    },
+    "_enabled": true,
+    "__prefab": {
+      "__id__": 60
+    },
+    "_customMaterial": null,
+    "_srcBlendFactor": 2,
+    "_dstBlendFactor": 4,
+    "_color": {
+      "__type__": "cc.Color",
+      "r": 255,
+      "g": 255,
+      "b": 255,
+      "a": 255
+    },
+    "_spriteFrame": {
+      "__uuid__": "7b364691-940f-440c-b120-b96f250f5c96@f9941",
+      "__expectedType__": "cc.SpriteFrame"
+    },
+    "_type": 0,
+    "_fillType": 0,
+    "_sizeMode": 0,
+    "_fillCenter": {
+      "__type__": "cc.Vec2",
+      "x": 0,
+      "y": 0
+    },
+    "_fillStart": 0,
+    "_fillRange": 0,
+    "_isTrimmedMode": true,
+    "_useGrayscale": false,
+    "_atlas": null,
+    "_id": ""
+  },
+  {
+    "__type__": "cc.CompPrefabInfo",
+    "fileId": "admXWgTw9BmI/WzVSfn5+o"
+  },
+  {
+    "__type__": "cc.PrefabInfo",
+    "root": {
+      "__id__": 1
+    },
+    "asset": {
+      "__id__": 0
+    },
+    "fileId": "f3RIKTtX1MvaRdDx3R6Hcr",
+    "instance": null,
+    "targetOverrides": null,
+    "nestedPrefabInstanceRoots": null
+  },
+  {
+    "__type__": "cc.Node",
+    "_name": "btn_close",
+    "_objFlags": 0,
+    "__editorExtras__": {},
+    "_parent": {
+      "__id__": 1
+    },
+    "_children": [],
+    "_active": true,
+    "_components": [
+      {
+        "__id__": 63
+      },
+      {
+        "__id__": 65
+      },
+      {
+        "__id__": 67
+      }
+    ],
+    "_prefab": {
+      "__id__": 69
+    },
+    "_lpos": {
+      "__type__": "cc.Vec3",
+      "x": 0,
+      "y": -779.245,
+      "z": 0
+    },
+    "_lrot": {
+      "__type__": "cc.Quat",
+      "x": 0,
+      "y": 0,
+      "z": 0,
+      "w": 1
+    },
+    "_lscale": {
+      "__type__": "cc.Vec3",
+      "x": 1,
+      "y": 1,
+      "z": 1
+    },
+    "_mobility": 0,
+    "_layer": 33554432,
+    "_euler": {
+      "__type__": "cc.Vec3",
+      "x": 0,
+      "y": 0,
+      "z": 0
+    },
+    "_id": ""
+  },
+  {
+    "__type__": "cc.UITransform",
+    "_name": "",
+    "_objFlags": 0,
+    "__editorExtras__": {},
+    "node": {
+      "__id__": 62
+    },
+    "_enabled": true,
+    "__prefab": {
+      "__id__": 64
+    },
+    "_contentSize": {
+      "__type__": "cc.Size",
+      "width": 99,
+      "height": 101
+    },
+    "_anchorPoint": {
+      "__type__": "cc.Vec2",
+      "x": 0.5,
+      "y": 0.5
+    },
+    "_id": ""
+  },
+  {
+    "__type__": "cc.CompPrefabInfo",
+    "fileId": "89rDi7FXFMvbQU1KiMNMnw"
+  },
+  {
+    "__type__": "cc.Sprite",
+    "_name": "",
+    "_objFlags": 0,
+    "__editorExtras__": {},
+    "node": {
+      "__id__": 62
+    },
+    "_enabled": true,
+    "__prefab": {
+      "__id__": 66
+    },
+    "_customMaterial": null,
+    "_srcBlendFactor": 2,
+    "_dstBlendFactor": 4,
+    "_color": {
+      "__type__": "cc.Color",
+      "r": 255,
+      "g": 255,
+      "b": 255,
+      "a": 255
+    },
+    "_spriteFrame": {
+      "__uuid__": "da183f68-0bf6-4ff1-98b2-e3ead70f6b96@f9941",
+      "__expectedType__": "cc.SpriteFrame"
+    },
+    "_type": 0,
+    "_fillType": 0,
+    "_sizeMode": 0,
+    "_fillCenter": {
+      "__type__": "cc.Vec2",
+      "x": 0,
+      "y": 0
+    },
+    "_fillStart": 0,
+    "_fillRange": 0,
+    "_isTrimmedMode": true,
+    "_useGrayscale": false,
+    "_atlas": null,
+    "_id": ""
+  },
+  {
+    "__type__": "cc.CompPrefabInfo",
+    "fileId": "35cjg3bANNG6AHJIWw8gWS"
+  },
+  {
+    "__type__": "cc.Button",
+    "_name": "",
+    "_objFlags": 0,
+    "__editorExtras__": {},
+    "node": {
+      "__id__": 62
+    },
+    "_enabled": true,
+    "__prefab": {
+      "__id__": 68
+    },
+    "clickEvents": [],
+    "_interactable": true,
+    "_transition": 3,
+    "_normalColor": {
+      "__type__": "cc.Color",
+      "r": 255,
+      "g": 255,
+      "b": 255,
+      "a": 255
+    },
+    "_hoverColor": {
+      "__type__": "cc.Color",
+      "r": 211,
+      "g": 211,
+      "b": 211,
+      "a": 255
+    },
+    "_pressedColor": {
+      "__type__": "cc.Color",
+      "r": 255,
+      "g": 255,
+      "b": 255,
+      "a": 255
+    },
+    "_disabledColor": {
+      "__type__": "cc.Color",
+      "r": 124,
+      "g": 124,
+      "b": 124,
+      "a": 255
+    },
+    "_normalSprite": null,
+    "_hoverSprite": null,
+    "_pressedSprite": null,
+    "_disabledSprite": null,
+    "_duration": 0.1,
+    "_zoomScale": 0.9,
+    "_target": null,
+    "_id": ""
+  },
+  {
+    "__type__": "cc.CompPrefabInfo",
+    "fileId": "506bvWLMdIK7lisehjssY1"
+  },
+  {
+    "__type__": "cc.PrefabInfo",
+    "root": {
+      "__id__": 1
+    },
+    "asset": {
+      "__id__": 0
+    },
+    "fileId": "cauVpdRZRJ7aMyF2J5WrZE",
+    "instance": null,
+    "targetOverrides": null,
+    "nestedPrefabInstanceRoots": null
+  },
+  {
+    "__type__": "cc.UITransform",
+    "_name": "",
+    "_objFlags": 0,
+    "__editorExtras__": {},
+    "node": {
+      "__id__": 1
+    },
+    "_enabled": true,
+    "__prefab": {
+      "__id__": 71
+    },
+    "_contentSize": {
+      "__type__": "cc.Size",
+      "width": 1080,
+      "height": 1920
+    },
+    "_anchorPoint": {
+      "__type__": "cc.Vec2",
+      "x": 0.5,
+      "y": 0.5
+    },
+    "_id": ""
+  },
+  {
+    "__type__": "cc.CompPrefabInfo",
+    "fileId": "dakojtz8NDg6sJfbtTkgCh"
+  },
+  {
+    "__type__": "cc.Widget",
+    "_name": "",
+    "_objFlags": 0,
+    "__editorExtras__": {},
+    "node": {
+      "__id__": 1
+    },
+    "_enabled": true,
+    "__prefab": {
+      "__id__": 73
+    },
+    "_alignFlags": 45,
+    "_target": null,
+    "_left": 0,
+    "_right": 0,
+    "_top": 0,
+    "_bottom": 0,
+    "_horizontalCenter": 0,
+    "_verticalCenter": 0,
+    "_isAbsLeft": true,
+    "_isAbsRight": true,
+    "_isAbsTop": true,
+    "_isAbsBottom": true,
+    "_isAbsHorizontalCenter": true,
+    "_isAbsVerticalCenter": true,
+    "_originalWidth": 100,
+    "_originalHeight": 100,
+    "_alignMode": 2,
+    "_lockFlags": 0,
+    "_id": ""
+  },
+  {
+    "__type__": "cc.CompPrefabInfo",
+    "fileId": "feCziRrN1Bp6tYlVIEidXL"
+  },
+  {
+    "__type__": "fc4bfMhqMtF8b7Uq+J9GccS",
+    "_name": "",
+    "_objFlags": 0,
+    "__editorExtras__": {},
+    "node": {
+      "__id__": 1
+    },
+    "_enabled": true,
+    "__prefab": {
+      "__id__": 75
+    },
+    "btn_close": {
+      "__id__": 62
+    },
+    "btn_look_video": {
+      "__id__": 36
+    },
+    "btn_share": {
+      "__id__": 44
+    },
+    "_id": ""
+  },
+  {
+    "__type__": "cc.CompPrefabInfo",
+    "fileId": "866TdiFvBF1aVKgkYAZVxD"
+  },
+  {
+    "__type__": "cc.BlockInputEvents",
+    "_name": "",
+    "_objFlags": 0,
+    "__editorExtras__": {},
+    "node": {
+      "__id__": 1
+    },
+    "_enabled": true,
+    "__prefab": {
+      "__id__": 77
+    },
+    "_id": ""
+  },
+  {
+    "__type__": "cc.CompPrefabInfo",
+    "fileId": "1eYQwcGQZEUpQ6qwUxk4Ib"
+  },
+  {
+    "__type__": "cc.PrefabInfo",
+    "root": {
+      "__id__": 1
+    },
+    "asset": {
+      "__id__": 0
+    },
+    "fileId": "c46/YsCPVOJYA4mWEpNYRx",
+    "instance": null,
+    "targetOverrides": null
+  }
+]

+ 13 - 0
assets/resources/ui/restart_view.prefab.meta

@@ -0,0 +1,13 @@
+{
+  "ver": "1.1.50",
+  "importer": "prefab",
+  "imported": true,
+  "uuid": "1dbc698f-5ebb-4e06-a0bd-f9eb2df35662",
+  "files": [
+    ".json"
+  ],
+  "subMetas": {},
+  "userData": {
+    "syncNodeName": "restart_view"
+  }
+}

+ 4 - 4
assets/resources/ui/setting.prefab

@@ -140,7 +140,7 @@
     "_contentSize": {
       "__type__": "cc.Size",
       "width": 1080,
-      "height": 1919.9999999999998
+      "height": 1920
     },
     "_anchorPoint": {
       "__type__": "cc.Vec2",
@@ -476,7 +476,7 @@
     "_lpos": {
       "__type__": "cc.Vec3",
       "x": 0,
-      "y": 467.81499999999994,
+      "y": 464.81499999999994,
       "z": 0
     },
     "_lrot": {
@@ -2386,7 +2386,7 @@
     },
     "_type": 0,
     "_fillType": 0,
-    "_sizeMode": 1,
+    "_sizeMode": 0,
     "_fillCenter": {
       "__type__": "cc.Vec2",
       "x": 0,
@@ -2487,7 +2487,7 @@
     "_contentSize": {
       "__type__": "cc.Size",
       "width": 1080,
-      "height": 1919.9999999999998
+      "height": 1920
     },
     "_anchorPoint": {
       "__type__": "cc.Vec2",

+ 66 - 0
assets/script/GameManager.ts

@@ -6,6 +6,7 @@ import { imageCacheManager } from './manager/imageCacheManager';
 import { userDataManager } from './manager/userDataManager';
 import { SdkUtil } from './sdkUtil';
 import { uiManager } from './manager/uiManager';
+import { restart_view } from './ui/restart_view';
 const { ccclass, property } = _decorator;
 
 @ccclass('GameManager')
@@ -22,6 +23,37 @@ export class GameManager extends Component {
         let sf = imageCacheManager.getRankCarImageById(userDataManager.user_car_list.default_car_id)
         return sf
     }
+    
+    public static checkPlayGame(parent_node:Node,cb) {
+        if(userDataManager.getUserIsFreeAds()) {
+            cb()
+            return
+        }
+        if(userDataManager.isTodayCanFreePlayGame()) {
+            userDataManager.addTodayPlayGameNumber()
+            cb()
+            return
+        }
+
+        uiManager.Instance().showUi(config.UI.ui_restart_view, parent_node, (node:Node)=>{
+            node.getComponent(restart_view).initView(()=>{
+                GameManager.showVideoAd(config.ADS_TYPE.GAME_RESTART, ()=>{
+                    cb()
+                })
+            },()=>{
+                if(userDataManager.isTodayCanShare()) {
+                    userDataManager.addTodayShareNumber()
+                    cb()
+                    return
+                }
+                SdkUtil.shareGame('',(r)=>{
+                    if(r==true) {
+                        cb()
+                    }
+                })
+            })
+        })
+    }
 
     // 设置
     public static getSettingData():settingData {
@@ -156,6 +188,40 @@ export class GameManager extends Component {
             }
         })
     }
+
+    // 请求同步数据
+    public static requestSyncNumber(opt,success_cb=null,fail_cb=null) {
+        http.post(config.API.sync_free_number, opt, (err,data)=>{
+            if(!err) {
+                let _data = JSON.parse(data)
+                if(_data.code==config.status.SUCCESS) {
+                    if(success_cb) {
+                        success_cb(_data.content)
+                    }
+                } else {
+                    if(fail_cb) {
+                        fail_cb(_data.code)
+                    }
+                }
+            } else {
+                if(fail_cb) {
+                    fail_cb(err)
+                }
+            }
+        })
+    }
+
+    // 显示视频广告
+    public static showVideoAd(ads_type=config.ADS_TYPE.UNKNOWN, success_cb, err_cb=null) {
+        let ad_id = SdkUtil.getAdId(ads_type)
+        SdkUtil.showVideoAd(ad_id,(res)=>{
+            if(res.isEnded) {
+                success_cb(res)
+            } else {
+                err_cb(res)
+            }
+        })
+    }
 }
 
 

+ 24 - 15
assets/script/config.ts

@@ -21,7 +21,8 @@ export class config  {
         user_set_default_car_id: "/snake/user/set_default_car_id",
         unlock_number_status: "/snake/user/unlock_number_status",
         feedback: "/snake/user/feedback",
-        up_feedback_img: "/tool/file/up_feedback_img",   
+        up_feedback_img: "/tool/file/up_feedback_img",
+        sync_free_number: "/snake/user/sync_free_number",  
     }
     public static STATIC_API = {
         sysconfig : "/snakestatic/sysconfig.json",
@@ -34,16 +35,6 @@ export class config  {
         }
     }
 
-    static SETTING_DATA:string = "SETTING_DATA"
-    static USER_FREE_ADS_DATA:string = 'USER_FREE_ADS_DATA'
-
-    public static ADS_TYPE = {
-        UNKNOWN:"",
-        GAME_RELIFE_VIDEO:"GAME_RELIFE_VIDEO",
-        GAME_INFINITE_DEGREE_VIDEO:"GAME_INFINITE_DEGREE_VIDEO",
-    }
-
-
     public static status = {
         SUCCESS:10000
     }
@@ -107,6 +98,7 @@ export class config  {
         ui_user_info_view:"ui/user_info_view",
         ui_tips_view:"ui/tips_view",
         ui_feedback:"ui/feedback",
+        ui_restart_view:"ui/restart_view",
         loading_view:"ui/loading_view",
         home:"ui/home",
         rank:"ui/rank",
@@ -129,10 +121,27 @@ export class config  {
         MSG_GUANGBO_RANK:"msg_guangbo_rank",
     }
 
-    public static ADS_CONFIG = {
-        GAME_RELIFE_VIDEO:"129f13tkcgi1k9i38h",           //游戏看视频复活
-        GAME_RELIFE_SHARE_TITLE:"分享游戏获得复活",          //游戏分享复活
-        GAME_INFINITE_DEGREE_VIDEO:"c7lih7for4j2vjmllv",  //无限次数
+    static SETTING_DATA:string = "SETTING_DATA"
+    static USER_FREE_ADS_DATA:string = 'USER_FREE_ADS_DATA'
+
+    public static ADS_TYPE = {
+        UNKNOWN:"UNKNOWN",
+        GAME_INFINITE_DEGREE_VIDEO:"GAME_INFINITE_DEGREE_VIDEO",
+        GAME_RELIFE_VIDEO:"GAME_RELIFE_VIDEO",
+        GAME_RESTART:"GAME_RESTART",
+    }
+    public static TT_CONFIG = {
+        SHARE_RELIFE_TITLE:"分享游戏获得复活",                 //分享复活标题
+        SHARE_RECORD_VIDEO_ID:"15nc5nd2apoh170on0",         //分享录制视频ID
+        ADS_ID_INFINITE_DEGREE_VIDEO:"c7lih7for4j2vjmllv",  //无限次数
+        ADS_ID_RELIFE_VIDEO:"129f13tkcgi1k9i38h",           //游戏看视频复活
+        ADS_ID_RESTART:"50u85j05scv25idia2",                //在玩一局
+    }
+    public static WX_CONFIG = {
+        SHARE_RELIFE_TITLE:"",            //分享复活标题
+        ADS_ID_INFINITE_DEGREE_VIDEO:"",  //无限次数
+        ADS_ID_RELIFE_VIDEO:"",           //游戏看视频复活
+        ADS_ID_RESTART:"",                //在玩一局
     }
 
     public static USER_TT_SIDEBAR_REWARD = {

+ 7 - 3
assets/script/data.ts

@@ -59,6 +59,8 @@ export class userData{
     public city_name:string = ""
     public update_region_status:number = 1 //1:本周已经设置 0:本周未设置
     public tt_sidebar_reward_status:number = 0 //1:已经领取 0:未领取
+    public free_game_number:number = 0 //今日免费玩游戏次数
+    public share_number:number = 0     //今日分享次数
 }
 
 export class rankData{
@@ -102,9 +104,11 @@ export class user_results{
 export class sysConfig{
     public bulletin_img:string = "" //公告
     public game_introduction_img:string = ""//游戏介绍
-    public free_ads_number:number = 0 //免费广告数量
-    public free_game_time:number = 0  //免费游戏时间,单位s
-    public share_des:string = ''//分享描述
+    public free_ads_number:number = 0  //免费广告数量
+    public free_game_time:number = 0   //免费游戏时间,单位s
+    public free_game_number:number = 0 //今日免费玩游戏次数
+    public share_number:number = 0     //今日分享次数
+    public share_des:string = ''       //分享描述
 }
 
 export class user_free_ads_data{

+ 11 - 8
assets/script/game/results.ts

@@ -9,6 +9,8 @@ import { ClientEvent } from '../lib/clientEvent';
 import { SdkUtil } from '../sdkUtil';
 import { results_unlock_car } from './results_unlock_car';
 import { base_ui } from '../fw/base_ui';
+import { GameManager } from '../GameManager';
+import { restart_view } from '../ui/restart_view';
 const { ccclass, property } = _decorator;
 
 @ccclass('results')
@@ -25,9 +27,12 @@ export class results extends base_ui {
     start() {
         this.onButtonListen(this.btn_restart,()=>{
             if(this.call_back!=null){
-                this.call_back()
-                this.close()
+                GameManager.checkPlayGame(this.node,()=>{
+                    this.call_back(false)
+                    this.close()
+                })
             }
+            // this.onClickRestart()
         })
         this.onButtonListen(this.btn_back_home,()=>{
             if(this.back_home_cb){
@@ -35,8 +40,7 @@ export class results extends base_ui {
             }
         })
         this.onButtonListen(this.btn_video_reLife,()=>{
-            let ad_id = SdkUtil.getAdId(config.ADS_TYPE.GAME_RELIFE_VIDEO)
-            SdkUtil.showVideoAd(ad_id,()=>{
+            GameManager.showVideoAd(config.ADS_TYPE.GAME_RELIFE_VIDEO, ()=>{
                 if(this.call_back){
                     this.call_back(true)
                     this.close()
@@ -45,20 +49,19 @@ export class results extends base_ui {
         })
 
         this.onButtonListen(this.btn_share,()=>{
-            SdkUtil.shareGame(config.ADS_CONFIG.GAME_RELIFE_SHARE_TITLE,()=>{
+            // SdkUtil.shareGame('',()=>{
                 // if(this.call_back){
                 //     this.call_back(true)
                 //     this.close()
                 // }
-            })
+            // })
          })
     }
 
-    protected close(){
+    protected close(): void {
         this.node.active = false;
     }
 
-
     public show(scores:number,call,back_home_cb,isReLife:boolean){
         this.back_home_cb = back_home_cb
         this.btn_video_reLife.active = isReLife

+ 38 - 1
assets/script/manager/userDataManager.ts

@@ -2,6 +2,7 @@ import { _decorator, sys } from 'cc';
 import { user_car_list, user_free_ads_data, userData } from '../data';
 import { config } from '../config';
 import { tools } from '../tools';
+import { GameManager } from '../GameManager';
 const { ccclass, property } = _decorator;
 
 @ccclass('userDataManager')
@@ -10,7 +11,43 @@ export class userDataManager  {
     public static user_car_list:user_car_list = null
     public static free_ads_data:user_free_ads_data = null
 
-    // 用户免广告
+    // 今天分享相关
+    public static isTodayCanShare():boolean {
+        if(userDataManager.user_data.share_number>=tools.sys_config.share_number) {
+            return false
+        }
+        return true
+    }
+
+    public static addTodayShareNumber() {
+        if(userDataManager.user_data.share_number>=tools.sys_config.share_number) {
+            return 
+        }
+        userDataManager.user_data.share_number+=1
+        // console.log('同步接口  今天分享数:',userDataManager.user_data.share_number)
+        let opt = {'share_number':userDataManager.user_data.share_number}
+        GameManager.requestSyncNumber(opt)
+    }
+
+    // 每天免费玩游戏
+    public static isTodayCanFreePlayGame():boolean {
+        if(userDataManager.user_data.free_game_number>=tools.sys_config.free_game_number) {
+            return false
+        }
+        return true
+    }
+
+    public static addTodayPlayGameNumber() {
+        if(userDataManager.user_data.free_game_number>=tools.sys_config.free_game_number) {
+            return
+        }
+        userDataManager.user_data.free_game_number+=1
+        // console.log('同步接口  今天玩游戏数:',userDataManager.user_data.free_game_number)
+        let opt = {'free_game_number':userDataManager.user_data.free_game_number}
+        GameManager.requestSyncNumber(opt)
+    }
+
+    // 用户免广告相关
     public static getUserIsFreeAds():boolean {
         return userDataManager.free_ads_data.is_free
     }

+ 26 - 9
assets/script/sdkUtil.ts

@@ -184,19 +184,27 @@ export class SdkUtil {
     // 分享游戏
     public static shareGame(title: string, call_back) {
         if(sys.platform == sys.Platform.BYTEDANCE_MINI_GAME) {
+            if(title.length<=0) { title = config.TT_CONFIG.SHARE_RELIFE_TITLE }
             let desc = tools.sys_config.share_des
             if(desc==undefined||desc==null) { desc = ''}
             tt.shareAppMessage({
                 title: title,
                 desc: desc,
-                success() { console.log("分享成功") },
-                fail(e) { console.log("分享失败",e) },
+                success() { 
+                    console.log("分享成功") 
+                    SdkUtil.showToast('分享成功')
+                    call_back(true)
+                },
+                fail(e) { 
+                    console.log("分享失败",e) 
+                    SdkUtil.showToast('分享失败')
+                    call_back(false)
+                },
               });
-            call_back()
         } else if(sys.platform == sys.Platform.WECHAT_GAME) {
-            title = title + '好刺激、好好玩'
+            if(title.length<=0) { title = config.WX_CONFIG.SHARE_RELIFE_TITLE }
         }else{
-            call_back()
+            call_back(true)
         }
     }
     // public static shareGame(title: string, imageUrl: string, videoPath: string) {
@@ -214,12 +222,21 @@ export class SdkUtil {
     public static getAdId(ad_type = config.ADS_TYPE.UNKNOWN):string {
         let ad_id = ""
         if(sys.platform == sys.Platform.BYTEDANCE_MINI_GAME) {
-            if(ad_type==config.ADS_TYPE.GAME_RELIFE_VIDEO) {
-                ad_id = config.ADS_CONFIG.GAME_RELIFE_VIDEO
-            } else if(ad_type==config.ADS_TYPE.GAME_INFINITE_DEGREE_VIDEO) {
-                ad_id = config.ADS_CONFIG.GAME_INFINITE_DEGREE_VIDEO
+            if(ad_type==config.ADS_TYPE.GAME_INFINITE_DEGREE_VIDEO) {
+                ad_id = config.TT_CONFIG.ADS_ID_INFINITE_DEGREE_VIDEO
+            } else if(ad_type==config.ADS_TYPE.GAME_RELIFE_VIDEO) {
+                ad_id = config.TT_CONFIG.ADS_ID_RELIFE_VIDEO
+            } else if(ad_type==config.ADS_TYPE.GAME_RESTART) {
+                ad_id = config.TT_CONFIG.ADS_ID_RESTART
             }
         } else if (sys.platform == sys.Platform.WECHAT_GAME) {
+            if(ad_type==config.ADS_TYPE.GAME_INFINITE_DEGREE_VIDEO) {
+                ad_id = config.WX_CONFIG.ADS_ID_INFINITE_DEGREE_VIDEO
+            } else if(ad_type==config.ADS_TYPE.GAME_RELIFE_VIDEO) {
+                ad_id = config.WX_CONFIG.ADS_ID_RELIFE_VIDEO
+            } else if(ad_type==config.ADS_TYPE.GAME_RESTART) {
+                ad_id = config.WX_CONFIG.ADS_ID_RESTART
+            }
             // if(SdkUtil.KS_GAME) {
             // } else {
             // }

+ 6 - 3
assets/script/ui/home/home.ts

@@ -8,6 +8,7 @@ import { ClientEvent } from '../../lib/clientEvent';
 import { config } from '../../config';
 import { userDataManager } from '../../manager/userDataManager';
 import { user_results } from '../../data';
+import { GameManager } from '../../GameManager';
 const { ccclass, property } = _decorator;
 
 @ccclass('home')
@@ -19,10 +20,12 @@ export class home extends Component {
 
     protected start(): void {
         uiManager.Instance().onButtonListen(this.btn_start_game,()=>{
-            tools.playGame(()=>{
-                this.node.parent.active = true
+            GameManager.checkPlayGame(this.node,()=>{
+                tools.playGame(()=>{
+                    this.node.parent.active = true
+                })
+                this.node.parent.active = false
             })
-            this.node.parent.active = false
         })
         ClientEvent.on(config.UI_EVENT.GET_NEW_CAR,this.onGetNewCar.bind(this),this)
         ClientEvent.on(config.UI_EVENT.UPDATE_USER_DEFAULT_CAR,this.onUpdateUserDefaultCar.bind(this),this)

+ 1 - 0
assets/script/ui/loading_view.ts

@@ -173,6 +173,7 @@ export class loading_view extends Component {
                 let data = JSON.parse(d)
                 if(data.code===config.status.SUCCESS){
                     tools.sys_config = data.content
+                    // console.log('系统配置=',tools.sys_config)
                     if(cb!=null) {
                         cb()
                     }

+ 42 - 0
assets/script/ui/restart_view.ts

@@ -0,0 +1,42 @@
+import { _decorator, Component, Node } from 'cc';
+import { base_ui } from '../fw/base_ui';
+import { userDataManager } from '../manager/userDataManager';
+const { ccclass, property } = _decorator;
+
+@ccclass('restart_view')
+export class restart_view extends base_ui {
+    @property(Node) btn_close:Node = null
+    @property(Node) btn_look_video:Node = null
+    @property(Node) btn_share:Node = null
+    private m_look_video_cb = null
+    private m_share_cb = null
+    start() {
+        this.onButtonListen(this.btn_close, ()=>{
+            this.close()
+        })
+        this.onButtonListen(this.btn_look_video, ()=>{
+            if(this.m_look_video_cb){
+                this.m_look_video_cb(this)
+            }
+            this.close()
+        })
+        this.onButtonListen(this.btn_share, ()=>{
+            if(this.m_share_cb) {
+                this.m_share_cb(this)
+            }
+            this.close()
+        })
+    }
+
+    initView(look_video_cb,share_cb) {
+        this.m_look_video_cb = look_video_cb
+        this.m_share_cb = share_cb
+        if(userDataManager.isTodayCanShare()) {
+            this.btn_share.active = true
+        } else {
+            this.btn_share.active = false
+            this.btn_look_video.setPosition(0, this.btn_look_video.getPosition().y)
+        }
+    }
+}
+

+ 9 - 0
assets/script/ui/restart_view.ts.meta

@@ -0,0 +1,9 @@
+{
+  "ver": "4.0.23",
+  "importer": "typescript",
+  "imported": true,
+  "uuid": "fc4bf321-a8cb-45f1-bed4-abe27d19c712",
+  "files": [],
+  "subMetas": {},
+  "userData": {}
+}

+ 17 - 20
assets/script/ui/unLock_view.ts

@@ -4,6 +4,7 @@ import { userDataManager } from '../manager/userDataManager';
 import { tools } from '../tools';
 import { SdkUtil } from '../sdkUtil';
 import { config } from '../config';
+import { GameManager } from '../GameManager';
 const { ccclass, property } = _decorator;
 
 @ccclass('unLock_view')
@@ -46,29 +47,25 @@ export class unLock_view extends base_ui {
         if(this.m_cur_count>=this.m_max_count) {
             return
         }
-        let ad_id = SdkUtil.getAdId(config.ADS_TYPE.GAME_INFINITE_DEGREE_VIDEO)
-        SdkUtil.showVideoAd(ad_id,(res)=>{
-            if(res.isEnded){
-                this.m_cur_count++
-                this.lab_look_video.getComponent(Label).string = '看视频' + this.m_cur_count + '/' + this.m_max_count
-                let free_ads_data = userDataManager.getUserFreeAdsData()
-                if(this.m_cur_count<this.m_max_count) {
-                    free_ads_data.look_video_count = this.m_cur_count
-                    userDataManager.saveUserFreeAdsData()
-                } else {
-                    let cur_time = new Date().getTime()
-                    free_ads_data.start_date_time = cur_time
-                    free_ads_data.look_video_count = 0
-                    free_ads_data.is_look_video_infinite_count_reward = true
-                    userDataManager.saveUserFreeAdsData()
-                    if(this.m_lookVideo_finish_cb) {
-                        this.m_lookVideo_finish_cb(this)
-                    }
-                    this.closeSelf()
+        GameManager.showVideoAd(config.ADS_TYPE.GAME_INFINITE_DEGREE_VIDEO, (res)=>{
+            this.m_cur_count++
+            this.lab_look_video.getComponent(Label).string = '看视频' + this.m_cur_count + '/' + this.m_max_count
+            let free_ads_data = userDataManager.getUserFreeAdsData()
+            if(this.m_cur_count<this.m_max_count) {
+                free_ads_data.look_video_count = this.m_cur_count
+                userDataManager.saveUserFreeAdsData()
+            } else {
+                let cur_time = new Date().getTime()
+                free_ads_data.start_date_time = cur_time
+                free_ads_data.look_video_count = 0
+                free_ads_data.is_look_video_infinite_count_reward = true
+                userDataManager.saveUserFreeAdsData()
+                if(this.m_lookVideo_finish_cb) {
+                    this.m_lookVideo_finish_cb(this)
                 }
+                this.closeSelf()
             }
         })
-        
     }
 
     closeSelf() {

+ 9 - 0
assets/texture/ui/restart_view.meta

@@ -0,0 +1,9 @@
+{
+  "ver": "1.2.0",
+  "importer": "directory",
+  "imported": true,
+  "uuid": "54a7016d-b044-4d8f-ad6f-e7274cfa1c62",
+  "files": [],
+  "subMetas": {},
+  "userData": {}
+}

BIN
assets/texture/ui/restart_view/restart_content.png


+ 134 - 0
assets/texture/ui/restart_view/restart_content.png.meta

@@ -0,0 +1,134 @@
+{
+  "ver": "1.0.26",
+  "importer": "image",
+  "imported": true,
+  "uuid": "8a90ed91-9b28-4ee0-9535-c3da3580e0f6",
+  "files": [
+    ".json",
+    ".png"
+  ],
+  "subMetas": {
+    "6c48a": {
+      "importer": "texture",
+      "uuid": "8a90ed91-9b28-4ee0-9535-c3da3580e0f6@6c48a",
+      "displayName": "restart_content",
+      "id": "6c48a",
+      "name": "texture",
+      "userData": {
+        "wrapModeS": "clamp-to-edge",
+        "wrapModeT": "clamp-to-edge",
+        "imageUuidOrDatabaseUri": "8a90ed91-9b28-4ee0-9535-c3da3580e0f6",
+        "isUuid": true,
+        "visible": false,
+        "minfilter": "linear",
+        "magfilter": "linear",
+        "mipfilter": "none",
+        "anisotropy": 0
+      },
+      "ver": "1.0.22",
+      "imported": true,
+      "files": [
+        ".json"
+      ],
+      "subMetas": {}
+    },
+    "f9941": {
+      "importer": "sprite-frame",
+      "uuid": "8a90ed91-9b28-4ee0-9535-c3da3580e0f6@f9941",
+      "displayName": "restart_content",
+      "id": "f9941",
+      "name": "spriteFrame",
+      "userData": {
+        "trimType": "auto",
+        "trimThreshold": 1,
+        "rotated": false,
+        "offsetX": 0,
+        "offsetY": 0,
+        "trimX": 0,
+        "trimY": 0,
+        "width": 769,
+        "height": 640,
+        "rawWidth": 769,
+        "rawHeight": 640,
+        "borderTop": 0,
+        "borderBottom": 0,
+        "borderLeft": 0,
+        "borderRight": 0,
+        "packable": true,
+        "pixelsToUnit": 100,
+        "pivotX": 0.5,
+        "pivotY": 0.5,
+        "meshType": 0,
+        "vertices": {
+          "rawPosition": [
+            -384.5,
+            -320,
+            0,
+            384.5,
+            -320,
+            0,
+            -384.5,
+            320,
+            0,
+            384.5,
+            320,
+            0
+          ],
+          "indexes": [
+            0,
+            1,
+            2,
+            2,
+            1,
+            3
+          ],
+          "uv": [
+            0,
+            640,
+            769,
+            640,
+            0,
+            0,
+            769,
+            0
+          ],
+          "nuv": [
+            0,
+            0,
+            1,
+            0,
+            0,
+            1,
+            1,
+            1
+          ],
+          "minPos": [
+            -384.5,
+            -320,
+            0
+          ],
+          "maxPos": [
+            384.5,
+            320,
+            0
+          ]
+        },
+        "isUuid": true,
+        "imageUuidOrDatabaseUri": "8a90ed91-9b28-4ee0-9535-c3da3580e0f6@6c48a",
+        "atlasUuid": ""
+      },
+      "ver": "1.0.12",
+      "imported": true,
+      "files": [
+        ".json"
+      ],
+      "subMetas": {}
+    }
+  },
+  "userData": {
+    "type": "sprite-frame",
+    "hasAlpha": true,
+    "fixAlphaTransparencyArtifacts": false,
+    "redirect": "8a90ed91-9b28-4ee0-9535-c3da3580e0f6@f9941"
+  }
+}

BIN
assets/texture/ui/restart_view/restart_des.png


+ 134 - 0
assets/texture/ui/restart_view/restart_des.png.meta

@@ -0,0 +1,134 @@
+{
+  "ver": "1.0.26",
+  "importer": "image",
+  "imported": true,
+  "uuid": "3fa485fd-ca55-4e94-bbf4-ba319bb884a2",
+  "files": [
+    ".json",
+    ".png"
+  ],
+  "subMetas": {
+    "6c48a": {
+      "importer": "texture",
+      "uuid": "3fa485fd-ca55-4e94-bbf4-ba319bb884a2@6c48a",
+      "displayName": "restart_des",
+      "id": "6c48a",
+      "name": "texture",
+      "userData": {
+        "wrapModeS": "clamp-to-edge",
+        "wrapModeT": "clamp-to-edge",
+        "imageUuidOrDatabaseUri": "3fa485fd-ca55-4e94-bbf4-ba319bb884a2",
+        "isUuid": true,
+        "visible": false,
+        "minfilter": "linear",
+        "magfilter": "linear",
+        "mipfilter": "none",
+        "anisotropy": 0
+      },
+      "ver": "1.0.22",
+      "imported": true,
+      "files": [
+        ".json"
+      ],
+      "subMetas": {}
+    },
+    "f9941": {
+      "importer": "sprite-frame",
+      "uuid": "3fa485fd-ca55-4e94-bbf4-ba319bb884a2@f9941",
+      "displayName": "restart_des",
+      "id": "f9941",
+      "name": "spriteFrame",
+      "userData": {
+        "trimType": "auto",
+        "trimThreshold": 1,
+        "rotated": false,
+        "offsetX": 0,
+        "offsetY": 0,
+        "trimX": 0,
+        "trimY": 0,
+        "width": 712,
+        "height": 101,
+        "rawWidth": 712,
+        "rawHeight": 101,
+        "borderTop": 0,
+        "borderBottom": 0,
+        "borderLeft": 0,
+        "borderRight": 0,
+        "packable": true,
+        "pixelsToUnit": 100,
+        "pivotX": 0.5,
+        "pivotY": 0.5,
+        "meshType": 0,
+        "vertices": {
+          "rawPosition": [
+            -356,
+            -50.5,
+            0,
+            356,
+            -50.5,
+            0,
+            -356,
+            50.5,
+            0,
+            356,
+            50.5,
+            0
+          ],
+          "indexes": [
+            0,
+            1,
+            2,
+            2,
+            1,
+            3
+          ],
+          "uv": [
+            0,
+            101,
+            712,
+            101,
+            0,
+            0,
+            712,
+            0
+          ],
+          "nuv": [
+            0,
+            0,
+            1,
+            0,
+            0,
+            1,
+            1,
+            1
+          ],
+          "minPos": [
+            -356,
+            -50.5,
+            0
+          ],
+          "maxPos": [
+            356,
+            50.5,
+            0
+          ]
+        },
+        "isUuid": true,
+        "imageUuidOrDatabaseUri": "3fa485fd-ca55-4e94-bbf4-ba319bb884a2@6c48a",
+        "atlasUuid": ""
+      },
+      "ver": "1.0.12",
+      "imported": true,
+      "files": [
+        ".json"
+      ],
+      "subMetas": {}
+    }
+  },
+  "userData": {
+    "type": "sprite-frame",
+    "hasAlpha": true,
+    "fixAlphaTransparencyArtifacts": false,
+    "redirect": "3fa485fd-ca55-4e94-bbf4-ba319bb884a2@f9941"
+  }
+}

BIN
assets/texture/ui/restart_view/restart_look_video.png


+ 134 - 0
assets/texture/ui/restart_view/restart_look_video.png.meta

@@ -0,0 +1,134 @@
+{
+  "ver": "1.0.26",
+  "importer": "image",
+  "imported": true,
+  "uuid": "64871b15-afd1-4e0f-8f11-cfde1553036b",
+  "files": [
+    ".json",
+    ".png"
+  ],
+  "subMetas": {
+    "6c48a": {
+      "importer": "texture",
+      "uuid": "64871b15-afd1-4e0f-8f11-cfde1553036b@6c48a",
+      "displayName": "restart_look_video",
+      "id": "6c48a",
+      "name": "texture",
+      "userData": {
+        "wrapModeS": "clamp-to-edge",
+        "wrapModeT": "clamp-to-edge",
+        "imageUuidOrDatabaseUri": "64871b15-afd1-4e0f-8f11-cfde1553036b",
+        "isUuid": true,
+        "visible": false,
+        "minfilter": "linear",
+        "magfilter": "linear",
+        "mipfilter": "none",
+        "anisotropy": 0
+      },
+      "ver": "1.0.22",
+      "imported": true,
+      "files": [
+        ".json"
+      ],
+      "subMetas": {}
+    },
+    "f9941": {
+      "importer": "sprite-frame",
+      "uuid": "64871b15-afd1-4e0f-8f11-cfde1553036b@f9941",
+      "displayName": "restart_look_video",
+      "id": "f9941",
+      "name": "spriteFrame",
+      "userData": {
+        "trimType": "auto",
+        "trimThreshold": 1,
+        "rotated": false,
+        "offsetX": -0.5,
+        "offsetY": 0.5,
+        "trimX": 1,
+        "trimY": 0,
+        "width": 333,
+        "height": 136,
+        "rawWidth": 336,
+        "rawHeight": 137,
+        "borderTop": 0,
+        "borderBottom": 0,
+        "borderLeft": 0,
+        "borderRight": 0,
+        "packable": true,
+        "pixelsToUnit": 100,
+        "pivotX": 0.5,
+        "pivotY": 0.5,
+        "meshType": 0,
+        "vertices": {
+          "rawPosition": [
+            -166.5,
+            -68,
+            0,
+            166.5,
+            -68,
+            0,
+            -166.5,
+            68,
+            0,
+            166.5,
+            68,
+            0
+          ],
+          "indexes": [
+            0,
+            1,
+            2,
+            2,
+            1,
+            3
+          ],
+          "uv": [
+            1,
+            137,
+            334,
+            137,
+            1,
+            1,
+            334,
+            1
+          ],
+          "nuv": [
+            0.002976190476190476,
+            0.0072992700729927005,
+            0.9940476190476191,
+            0.0072992700729927005,
+            0.002976190476190476,
+            1,
+            0.9940476190476191,
+            1
+          ],
+          "minPos": [
+            -166.5,
+            -68,
+            0
+          ],
+          "maxPos": [
+            166.5,
+            68,
+            0
+          ]
+        },
+        "isUuid": true,
+        "imageUuidOrDatabaseUri": "64871b15-afd1-4e0f-8f11-cfde1553036b@6c48a",
+        "atlasUuid": ""
+      },
+      "ver": "1.0.12",
+      "imported": true,
+      "files": [
+        ".json"
+      ],
+      "subMetas": {}
+    }
+  },
+  "userData": {
+    "type": "sprite-frame",
+    "hasAlpha": true,
+    "fixAlphaTransparencyArtifacts": false,
+    "redirect": "64871b15-afd1-4e0f-8f11-cfde1553036b@f9941"
+  }
+}

BIN
assets/texture/ui/restart_view/restart_share.png


+ 134 - 0
assets/texture/ui/restart_view/restart_share.png.meta

@@ -0,0 +1,134 @@
+{
+  "ver": "1.0.26",
+  "importer": "image",
+  "imported": true,
+  "uuid": "f92fea72-d521-4cb3-a32d-78c68634ed21",
+  "files": [
+    ".json",
+    ".png"
+  ],
+  "subMetas": {
+    "6c48a": {
+      "importer": "texture",
+      "uuid": "f92fea72-d521-4cb3-a32d-78c68634ed21@6c48a",
+      "displayName": "restart_share",
+      "id": "6c48a",
+      "name": "texture",
+      "userData": {
+        "wrapModeS": "clamp-to-edge",
+        "wrapModeT": "clamp-to-edge",
+        "imageUuidOrDatabaseUri": "f92fea72-d521-4cb3-a32d-78c68634ed21",
+        "isUuid": true,
+        "visible": false,
+        "minfilter": "linear",
+        "magfilter": "linear",
+        "mipfilter": "none",
+        "anisotropy": 0
+      },
+      "ver": "1.0.22",
+      "imported": true,
+      "files": [
+        ".json"
+      ],
+      "subMetas": {}
+    },
+    "f9941": {
+      "importer": "sprite-frame",
+      "uuid": "f92fea72-d521-4cb3-a32d-78c68634ed21@f9941",
+      "displayName": "restart_share",
+      "id": "f9941",
+      "name": "spriteFrame",
+      "userData": {
+        "trimType": "auto",
+        "trimThreshold": 1,
+        "rotated": false,
+        "offsetX": -1,
+        "offsetY": 0.5,
+        "trimX": 0,
+        "trimY": 0,
+        "width": 334,
+        "height": 136,
+        "rawWidth": 336,
+        "rawHeight": 137,
+        "borderTop": 0,
+        "borderBottom": 0,
+        "borderLeft": 0,
+        "borderRight": 0,
+        "packable": true,
+        "pixelsToUnit": 100,
+        "pivotX": 0.5,
+        "pivotY": 0.5,
+        "meshType": 0,
+        "vertices": {
+          "rawPosition": [
+            -167,
+            -68,
+            0,
+            167,
+            -68,
+            0,
+            -167,
+            68,
+            0,
+            167,
+            68,
+            0
+          ],
+          "indexes": [
+            0,
+            1,
+            2,
+            2,
+            1,
+            3
+          ],
+          "uv": [
+            0,
+            137,
+            334,
+            137,
+            0,
+            1,
+            334,
+            1
+          ],
+          "nuv": [
+            0,
+            0.0072992700729927005,
+            0.9940476190476191,
+            0.0072992700729927005,
+            0,
+            1,
+            0.9940476190476191,
+            1
+          ],
+          "minPos": [
+            -167,
+            -68,
+            0
+          ],
+          "maxPos": [
+            167,
+            68,
+            0
+          ]
+        },
+        "isUuid": true,
+        "imageUuidOrDatabaseUri": "f92fea72-d521-4cb3-a32d-78c68634ed21@6c48a",
+        "atlasUuid": ""
+      },
+      "ver": "1.0.12",
+      "imported": true,
+      "files": [
+        ".json"
+      ],
+      "subMetas": {}
+    }
+  },
+  "userData": {
+    "type": "sprite-frame",
+    "hasAlpha": true,
+    "fixAlphaTransparencyArtifacts": false,
+    "redirect": "f92fea72-d521-4cb3-a32d-78c68634ed21@f9941"
+  }
+}

BIN
assets/texture/ui/restart_view/restart_title.png


+ 134 - 0
assets/texture/ui/restart_view/restart_title.png.meta

@@ -0,0 +1,134 @@
+{
+  "ver": "1.0.26",
+  "importer": "image",
+  "imported": true,
+  "uuid": "56c022d3-3d6f-4bd4-9d8a-66f38e797535",
+  "files": [
+    ".json",
+    ".png"
+  ],
+  "subMetas": {
+    "6c48a": {
+      "importer": "texture",
+      "uuid": "56c022d3-3d6f-4bd4-9d8a-66f38e797535@6c48a",
+      "displayName": "restart_title",
+      "id": "6c48a",
+      "name": "texture",
+      "userData": {
+        "wrapModeS": "clamp-to-edge",
+        "wrapModeT": "clamp-to-edge",
+        "imageUuidOrDatabaseUri": "56c022d3-3d6f-4bd4-9d8a-66f38e797535",
+        "isUuid": true,
+        "visible": false,
+        "minfilter": "linear",
+        "magfilter": "linear",
+        "mipfilter": "none",
+        "anisotropy": 0
+      },
+      "ver": "1.0.22",
+      "imported": true,
+      "files": [
+        ".json"
+      ],
+      "subMetas": {}
+    },
+    "f9941": {
+      "importer": "sprite-frame",
+      "uuid": "56c022d3-3d6f-4bd4-9d8a-66f38e797535@f9941",
+      "displayName": "restart_title",
+      "id": "f9941",
+      "name": "spriteFrame",
+      "userData": {
+        "trimType": "auto",
+        "trimThreshold": 1,
+        "rotated": false,
+        "offsetX": 0,
+        "offsetY": -0.5,
+        "trimX": 7,
+        "trimY": 6,
+        "width": 336,
+        "height": 104,
+        "rawWidth": 350,
+        "rawHeight": 115,
+        "borderTop": 0,
+        "borderBottom": 0,
+        "borderLeft": 0,
+        "borderRight": 0,
+        "packable": true,
+        "pixelsToUnit": 100,
+        "pivotX": 0.5,
+        "pivotY": 0.5,
+        "meshType": 0,
+        "vertices": {
+          "rawPosition": [
+            -168,
+            -52,
+            0,
+            168,
+            -52,
+            0,
+            -168,
+            52,
+            0,
+            168,
+            52,
+            0
+          ],
+          "indexes": [
+            0,
+            1,
+            2,
+            2,
+            1,
+            3
+          ],
+          "uv": [
+            7,
+            109,
+            343,
+            109,
+            7,
+            5,
+            343,
+            5
+          ],
+          "nuv": [
+            0.02,
+            0.043478260869565216,
+            0.98,
+            0.043478260869565216,
+            0.02,
+            0.9478260869565217,
+            0.98,
+            0.9478260869565217
+          ],
+          "minPos": [
+            -168,
+            -52,
+            0
+          ],
+          "maxPos": [
+            168,
+            52,
+            0
+          ]
+        },
+        "isUuid": true,
+        "imageUuidOrDatabaseUri": "56c022d3-3d6f-4bd4-9d8a-66f38e797535@6c48a",
+        "atlasUuid": ""
+      },
+      "ver": "1.0.12",
+      "imported": true,
+      "files": [
+        ".json"
+      ],
+      "subMetas": {}
+    }
+  },
+  "userData": {
+    "type": "sprite-frame",
+    "hasAlpha": true,
+    "fixAlphaTransparencyArtifacts": false,
+    "redirect": "56c022d3-3d6f-4bd4-9d8a-66f38e797535@f9941"
+  }
+}

+ 2 - 2
settings/v2/packages/information.json

@@ -7,7 +7,7 @@
       "enable": true,
       "customSplash": {
         "complete": true,
-        "form": "https://creator-api.cocos.com/api/form/show?sid=03d76cb652aad5a52ddc8d5cc6571dac"
+        "form": "https://creator-api.cocos.com/api/form/show?sid=8e125ea0415dad462fae4bbdd116626f"
       }
     },
     "removeSplash": {
@@ -16,7 +16,7 @@
       "enable": true,
       "removeSplash": {
         "complete": true,
-        "form": "https://creator-api.cocos.com/api/form/show?sid=03d76cb652aad5a52ddc8d5cc6571dac"
+        "form": "https://creator-api.cocos.com/api/form/show?sid=8e125ea0415dad462fae4bbdd116626f"
       }
     }
   }