Bladeren bron

增加身份验证
增加微信分享链接

kaka 4 jaren geleden
bovenliggende
commit
ca074b3d82
25 gewijzigde bestanden met toevoegingen van 2014 en 44 verwijderingen
  1. 12 0
      assets/resources/animation/Main.meta
  2. 67 11
      assets/resources/game/prefab/game.prefab
  3. 12 0
      assets/resources/module/certification.meta
  4. 1533 0
      assets/resources/module/certification/CertificationNode.prefab
  5. 8 0
      assets/resources/module/certification/CertificationNode.prefab.meta
  6. 12 0
      assets/resources/module/certification/texture.meta
  7. BIN
      assets/resources/module/certification/texture/currency_tc_tit.png
  8. 36 0
      assets/resources/module/certification/texture/currency_tc_tit.png.meta
  9. BIN
      assets/resources/module/certification/texture/giftbg.png
  10. 36 0
      assets/resources/module/certification/texture/giftbg.png.meta
  11. BIN
      assets/resources/module/certification/texture/jiasu_btn.png
  12. 36 0
      assets/resources/module/certification/texture/jiasu_btn.png.meta
  13. 3 3
      assets/resources/module/netDisconnect/NetDisConnect.prefab
  14. 12 0
      assets/script/game/data/GameData.ts
  15. 6 1
      assets/script/game/data/LoginData.ts
  16. 14 17
      assets/script/game/game/Farmer.ts
  17. 2 2
      assets/script/game/game/FunBtns.ts
  18. 4 10
      assets/script/game/game/Game.ts
  19. 12 0
      assets/script/game/module/certification.meta
  20. 107 0
      assets/script/game/module/certification/Certification.ts
  21. 9 0
      assets/script/game/module/certification/Certification.ts.meta
  22. 24 0
      assets/script/game/module/login/Login.ts
  23. 15 0
      assets/script/mk/system/JsbSystem.ts
  24. 50 0
      build/jsb-link/frameworks/runtime-src/proj.android-studio/app/src/com/aries/kxnly/mz/wxapi/WXEntryActivity.java
  25. 4 0
      build/jsb-link/frameworks/runtime-src/proj.android-studio/app/src/org/cocos2dx/javascript/thirdSdk/ThirdSdkMgr.java

+ 12 - 0
assets/resources/animation/Main.meta

@@ -0,0 +1,12 @@
+{
+  "ver": "1.1.2",
+  "uuid": "5e5c1a21-34aa-41a7-8969-a7350f9eda58",
+  "isBundle": false,
+  "bundleName": "",
+  "priority": 1,
+  "compressionType": {},
+  "optimizeHotUpdate": {},
+  "inlineSpriteFrames": {},
+  "isRemoteBundle": {},
+  "subMetas": {}
+}

+ 67 - 11
assets/resources/game/prefab/game.prefab

@@ -4481,7 +4481,7 @@
     "asset": {
       "__uuid__": "b4dea4a9-29c8-46bc-a50d-5754afa7a2bd"
     },
-    "fileId": "c12ouia9xAQKBuGh7pg8eD",
+    "fileId": "c0sgcafRFKVaCPUEYxt9cF",
     "sync": false
   },
   {
@@ -4693,7 +4693,7 @@
     "asset": {
       "__uuid__": "b4dea4a9-29c8-46bc-a50d-5754afa7a2bd"
     },
-    "fileId": "4311+4kTJPXbPCFJrBV3br",
+    "fileId": "e18ai0okZAfYjOffqHj6MK",
     "sync": false
   },
   {
@@ -4802,7 +4802,7 @@
     "asset": {
       "__uuid__": "b4dea4a9-29c8-46bc-a50d-5754afa7a2bd"
     },
-    "fileId": "34KpMCDKFCL4+w2MZf56nI",
+    "fileId": "3evkY4YyhOMp9h0fOQp3Rw",
     "sync": false
   },
   {
@@ -8182,7 +8182,7 @@
         1,
         1,
         1,
-        1
+        0
       ]
     },
     "_eulerAngles": {
@@ -8231,22 +8231,75 @@
     "_id": ""
   },
   {
-    "__type__": "b8d2cnq+GZLFK30xbLDqr/m",
+    "__type__": "cc.Button",
     "_name": "",
     "_objFlags": 0,
     "node": {
       "__id__": 246
     },
     "_enabled": true,
-    "panel_name": "module/inviteFriends/inviteFriends",
-    "bool_Auth": false,
-    "open_type": 0,
-    "transition_type": 0,
-    "onComplete": [
+    "_normalMaterial": null,
+    "_grayMaterial": null,
+    "duration": 0.1,
+    "zoomScale": 1.2,
+    "clickEvents": [
       {
         "__id__": 249
       }
     ],
+    "_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": null,
     "_id": ""
   },
   {
@@ -8256,7 +8309,7 @@
     },
     "component": "",
     "_componentId": "8760dQYasROwLaLe1idTS07",
-    "handler": "onClickInvite",
+    "handler": "onClickShare",
     "customEventData": ""
   },
   {
@@ -9599,6 +9652,9 @@
     "btn7": {
       "__id__": 246
     },
+    "btn8": {
+      "__id__": 281
+    },
     "_id": ""
   },
   {

+ 12 - 0
assets/resources/module/certification.meta

@@ -0,0 +1,12 @@
+{
+  "ver": "1.1.2",
+  "uuid": "fc866bc7-e87a-43c6-9757-8b2be9603f86",
+  "isBundle": false,
+  "bundleName": "",
+  "priority": 1,
+  "compressionType": {},
+  "optimizeHotUpdate": {},
+  "inlineSpriteFrames": {},
+  "isRemoteBundle": {},
+  "subMetas": {}
+}

+ 1533 - 0
assets/resources/module/certification/CertificationNode.prefab

@@ -0,0 +1,1533 @@
+[
+  {
+    "__type__": "cc.Prefab",
+    "_name": "",
+    "_objFlags": 0,
+    "_native": "",
+    "data": {
+      "__id__": 1
+    },
+    "optimizationPolicy": 0,
+    "asyncLoadAssets": false,
+    "readonly": false
+  },
+  {
+    "__type__": "cc.Node",
+    "_name": "CertificationNode",
+    "_objFlags": 0,
+    "_parent": null,
+    "_children": [
+      {
+        "__id__": 2
+      },
+      {
+        "__id__": 6
+      },
+      {
+        "__id__": 9
+      },
+      {
+        "__id__": 15
+      },
+      {
+        "__id__": 30
+      },
+      {
+        "__id__": 39
+      }
+    ],
+    "_active": true,
+    "_components": [
+      {
+        "__id__": 42
+      }
+    ],
+    "_prefab": {
+      "__id__": 43
+    },
+    "_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": "New Sprite(Splash)",
+    "_objFlags": 0,
+    "_parent": {
+      "__id__": 1
+    },
+    "_children": [],
+    "_active": true,
+    "_components": [
+      {
+        "__id__": 3
+      },
+      {
+        "__id__": 4
+      }
+    ],
+    "_prefab": {
+      "__id__": 5
+    },
+    "_opacity": 120,
+    "_color": {
+      "__type__": "cc.Color",
+      "r": 0,
+      "g": 0,
+      "b": 0,
+      "a": 255
+    },
+    "_contentSize": {
+      "__type__": "cc.Size",
+      "width": 750,
+      "height": 2000
+    },
+    "_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": "New Sprite(Splash)<Sprite>",
+    "_objFlags": 0,
+    "node": {
+      "__id__": 2
+    },
+    "_enabled": true,
+    "_materials": [
+      {
+        "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
+      }
+    ],
+    "_srcBlendFactor": 770,
+    "_dstBlendFactor": 771,
+    "_spriteFrame": {
+      "__uuid__": "a23235d1-15db-4b95-8439-a2e005bfff91"
+    },
+    "_type": 0,
+    "_sizeMode": 0,
+    "_fillType": 0,
+    "_fillCenter": {
+      "__type__": "cc.Vec2",
+      "x": 0,
+      "y": 0
+    },
+    "_fillStart": 0,
+    "_fillRange": 0,
+    "_isTrimmedMode": true,
+    "_atlas": null,
+    "_id": ""
+  },
+  {
+    "__type__": "cc.BlockInputEvents",
+    "_name": "",
+    "_objFlags": 0,
+    "node": {
+      "__id__": 2
+    },
+    "_enabled": true,
+    "_id": ""
+  },
+  {
+    "__type__": "cc.PrefabInfo",
+    "root": {
+      "__id__": 1
+    },
+    "asset": {
+      "__uuid__": "a317c7a3-6c93-4045-a8c4-f8f6d846893a"
+    },
+    "fileId": "1aNUAZ6a9Gx7EXyGZsyBS4",
+    "sync": false
+  },
+  {
+    "__type__": "cc.Node",
+    "_name": "giftbg",
+    "_objFlags": 0,
+    "_parent": {
+      "__id__": 1
+    },
+    "_children": [],
+    "_active": true,
+    "_components": [
+      {
+        "__id__": 7
+      }
+    ],
+    "_prefab": {
+      "__id__": 8
+    },
+    "_opacity": 255,
+    "_color": {
+      "__type__": "cc.Color",
+      "r": 255,
+      "g": 255,
+      "b": 255,
+      "a": 255
+    },
+    "_contentSize": {
+      "__type__": "cc.Size",
+      "width": 600,
+      "height": 400
+    },
+    "_anchorPoint": {
+      "__type__": "cc.Vec2",
+      "x": 0.5,
+      "y": 0.5
+    },
+    "_trs": {
+      "__type__": "TypedArray",
+      "ctor": "Float64Array",
+      "array": [
+        0,
+        56.297,
+        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": "giftbg<Sprite>",
+    "_objFlags": 0,
+    "node": {
+      "__id__": 6
+    },
+    "_enabled": true,
+    "_materials": [
+      {
+        "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
+      }
+    ],
+    "_srcBlendFactor": 770,
+    "_dstBlendFactor": 771,
+    "_spriteFrame": {
+      "__uuid__": "f16f2ae6-2c4c-4899-99b9-5af74db5a6fe"
+    },
+    "_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__": "a317c7a3-6c93-4045-a8c4-f8f6d846893a"
+    },
+    "fileId": "b82/fY/7pJa5S/5BYibN3Q",
+    "sync": false
+  },
+  {
+    "__type__": "cc.Node",
+    "_name": "currency_tc_tit",
+    "_objFlags": 0,
+    "_parent": {
+      "__id__": 1
+    },
+    "_children": [
+      {
+        "__id__": 10
+      }
+    ],
+    "_active": true,
+    "_components": [
+      {
+        "__id__": 13
+      }
+    ],
+    "_prefab": {
+      "__id__": 14
+    },
+    "_opacity": 255,
+    "_color": {
+      "__type__": "cc.Color",
+      "r": 255,
+      "g": 255,
+      "b": 255,
+      "a": 255
+    },
+    "_contentSize": {
+      "__type__": "cc.Size",
+      "width": 548,
+      "height": 127
+    },
+    "_anchorPoint": {
+      "__type__": "cc.Vec2",
+      "x": 0.5,
+      "y": 0.5
+    },
+    "_trs": {
+      "__type__": "TypedArray",
+      "ctor": "Float64Array",
+      "array": [
+        0,
+        283.022,
+        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": "New Label",
+    "_objFlags": 0,
+    "_parent": {
+      "__id__": 9
+    },
+    "_children": [],
+    "_active": true,
+    "_components": [
+      {
+        "__id__": 11
+      }
+    ],
+    "_prefab": {
+      "__id__": 12
+    },
+    "_opacity": 255,
+    "_color": {
+      "__type__": "cc.Color",
+      "r": 255,
+      "g": 240,
+      "b": 0,
+      "a": 255
+    },
+    "_contentSize": {
+      "__type__": "cc.Size",
+      "width": 220,
+      "height": 75.6
+    },
+    "_anchorPoint": {
+      "__type__": "cc.Vec2",
+      "x": 0.5,
+      "y": 0.5
+    },
+    "_trs": {
+      "__type__": "TypedArray",
+      "ctor": "Float64Array",
+      "array": [
+        0,
+        -7.59,
+        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": "New Label<Label>",
+    "_objFlags": 0,
+    "node": {
+      "__id__": 10
+    },
+    "_enabled": true,
+    "_materials": [
+      {
+        "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
+      }
+    ],
+    "_srcBlendFactor": 770,
+    "_dstBlendFactor": 771,
+    "_string": "实名认证",
+    "_N$string": "实名认证",
+    "_fontSize": 55,
+    "_lineHeight": 60,
+    "_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__": "a317c7a3-6c93-4045-a8c4-f8f6d846893a"
+    },
+    "fileId": "28F3gIOxlLFI6WMW2mZrxz",
+    "sync": false
+  },
+  {
+    "__type__": "cc.Sprite",
+    "_name": "currency_tc_tit<Sprite>",
+    "_objFlags": 0,
+    "node": {
+      "__id__": 9
+    },
+    "_enabled": true,
+    "_materials": [
+      {
+        "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
+      }
+    ],
+    "_srcBlendFactor": 770,
+    "_dstBlendFactor": 771,
+    "_spriteFrame": {
+      "__uuid__": "2d4a6cbe-e0a9-4434-b83e-eba0a0bb6515"
+    },
+    "_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__": "a317c7a3-6c93-4045-a8c4-f8f6d846893a"
+    },
+    "fileId": "6ed7ajABBKA5ubgmvW2m1L",
+    "sync": false
+  },
+  {
+    "__type__": "cc.Node",
+    "_name": "New EditBox",
+    "_objFlags": 0,
+    "_parent": {
+      "__id__": 1
+    },
+    "_children": [
+      {
+        "__id__": 16
+      },
+      {
+        "__id__": 20
+      },
+      {
+        "__id__": 24
+      }
+    ],
+    "_active": true,
+    "_components": [
+      {
+        "__id__": 28
+      }
+    ],
+    "_prefab": {
+      "__id__": 29
+    },
+    "_opacity": 255,
+    "_color": {
+      "__type__": "cc.Color",
+      "r": 255,
+      "g": 255,
+      "b": 255,
+      "a": 255
+    },
+    "_contentSize": {
+      "__type__": "cc.Size",
+      "width": 400,
+      "height": 60
+    },
+    "_anchorPoint": {
+      "__type__": "cc.Vec2",
+      "x": 0.5,
+      "y": 0.5
+    },
+    "_trs": {
+      "__type__": "TypedArray",
+      "ctor": "Float64Array",
+      "array": [
+        0,
+        137.43,
+        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": "BACKGROUND_SPRITE",
+    "_objFlags": 512,
+    "_parent": {
+      "__id__": 15
+    },
+    "_children": [],
+    "_active": true,
+    "_components": [
+      {
+        "__id__": 17
+      },
+      {
+        "__id__": 18
+      }
+    ],
+    "_prefab": {
+      "__id__": 19
+    },
+    "_opacity": 255,
+    "_color": {
+      "__type__": "cc.Color",
+      "r": 255,
+      "g": 255,
+      "b": 255,
+      "a": 255
+    },
+    "_contentSize": {
+      "__type__": "cc.Size",
+      "width": 400,
+      "height": 60
+    },
+    "_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": "BACKGROUND_SPRITE<Sprite>",
+    "_objFlags": 0,
+    "node": {
+      "__id__": 16
+    },
+    "_enabled": true,
+    "_materials": [
+      {
+        "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
+      }
+    ],
+    "_srcBlendFactor": 770,
+    "_dstBlendFactor": 771,
+    "_spriteFrame": {
+      "__uuid__": "ff0e91c7-55c6-4086-a39f-cb6e457b8c3b"
+    },
+    "_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.Widget",
+    "_name": "",
+    "_objFlags": 0,
+    "node": {
+      "__id__": 16
+    },
+    "_enabled": true,
+    "alignMode": 0,
+    "_target": null,
+    "_alignFlags": 45,
+    "_left": 0,
+    "_right": 0,
+    "_top": 0,
+    "_bottom": 0,
+    "_verticalCenter": 0,
+    "_horizontalCenter": 0,
+    "_isAbsLeft": true,
+    "_isAbsRight": true,
+    "_isAbsTop": true,
+    "_isAbsBottom": true,
+    "_isAbsHorizontalCenter": true,
+    "_isAbsVerticalCenter": true,
+    "_originalWidth": 160,
+    "_originalHeight": 40,
+    "_id": ""
+  },
+  {
+    "__type__": "cc.PrefabInfo",
+    "root": {
+      "__id__": 1
+    },
+    "asset": {
+      "__uuid__": "a317c7a3-6c93-4045-a8c4-f8f6d846893a"
+    },
+    "fileId": "f6LzAmRYdMcJaa5yCmL+HZ",
+    "sync": false
+  },
+  {
+    "__type__": "cc.Node",
+    "_name": "TEXT_LABEL",
+    "_objFlags": 512,
+    "_parent": {
+      "__id__": 15
+    },
+    "_children": [],
+    "_active": false,
+    "_components": [
+      {
+        "__id__": 21
+      },
+      {
+        "__id__": 22
+      }
+    ],
+    "_prefab": {
+      "__id__": 23
+    },
+    "_opacity": 255,
+    "_color": {
+      "__type__": "cc.Color",
+      "r": 255,
+      "g": 255,
+      "b": 255,
+      "a": 255
+    },
+    "_contentSize": {
+      "__type__": "cc.Size",
+      "width": 398,
+      "height": 60
+    },
+    "_anchorPoint": {
+      "__type__": "cc.Vec2",
+      "x": 0,
+      "y": 1
+    },
+    "_trs": {
+      "__type__": "TypedArray",
+      "ctor": "Float64Array",
+      "array": [
+        -198,
+        30,
+        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": "TEXT_LABEL<Label>",
+    "_objFlags": 0,
+    "node": {
+      "__id__": 20
+    },
+    "_enabled": true,
+    "_materials": [
+      {
+        "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
+      }
+    ],
+    "_srcBlendFactor": 770,
+    "_dstBlendFactor": 771,
+    "_string": "",
+    "_N$string": "",
+    "_fontSize": 36,
+    "_lineHeight": 36,
+    "_enableWrapText": false,
+    "_N$file": null,
+    "_isSystemFontUsed": true,
+    "_spacingX": 0,
+    "_batchAsBitmap": false,
+    "_styleFlags": 0,
+    "_underlineHeight": 0,
+    "_N$horizontalAlign": 0,
+    "_N$verticalAlign": 1,
+    "_N$fontFamily": "Arial",
+    "_N$overflow": 1,
+    "_N$cacheMode": 0,
+    "_id": ""
+  },
+  {
+    "__type__": "cc.Widget",
+    "_name": "",
+    "_objFlags": 0,
+    "node": {
+      "__id__": 20
+    },
+    "_enabled": true,
+    "alignMode": 0,
+    "_target": null,
+    "_alignFlags": 45,
+    "_left": 2,
+    "_right": 0,
+    "_top": 0,
+    "_bottom": 0,
+    "_verticalCenter": 0,
+    "_horizontalCenter": 0,
+    "_isAbsLeft": true,
+    "_isAbsRight": true,
+    "_isAbsTop": true,
+    "_isAbsBottom": true,
+    "_isAbsHorizontalCenter": true,
+    "_isAbsVerticalCenter": true,
+    "_originalWidth": 158,
+    "_originalHeight": 40,
+    "_id": ""
+  },
+  {
+    "__type__": "cc.PrefabInfo",
+    "root": {
+      "__id__": 1
+    },
+    "asset": {
+      "__uuid__": "a317c7a3-6c93-4045-a8c4-f8f6d846893a"
+    },
+    "fileId": "c3BY/Mau1DaKHT1GwLf/OH",
+    "sync": false
+  },
+  {
+    "__type__": "cc.Node",
+    "_name": "PLACEHOLDER_LABEL",
+    "_objFlags": 512,
+    "_parent": {
+      "__id__": 15
+    },
+    "_children": [],
+    "_active": true,
+    "_components": [
+      {
+        "__id__": 25
+      },
+      {
+        "__id__": 26
+      }
+    ],
+    "_prefab": {
+      "__id__": 27
+    },
+    "_opacity": 255,
+    "_color": {
+      "__type__": "cc.Color",
+      "r": 187,
+      "g": 187,
+      "b": 187,
+      "a": 255
+    },
+    "_contentSize": {
+      "__type__": "cc.Size",
+      "width": 398,
+      "height": 60
+    },
+    "_anchorPoint": {
+      "__type__": "cc.Vec2",
+      "x": 0,
+      "y": 1
+    },
+    "_trs": {
+      "__type__": "TypedArray",
+      "ctor": "Float64Array",
+      "array": [
+        -198,
+        30,
+        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": "PLACEHOLDER_LABEL<Label>",
+    "_objFlags": 0,
+    "node": {
+      "__id__": 24
+    },
+    "_enabled": true,
+    "_materials": [
+      {
+        "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
+      }
+    ],
+    "_srcBlendFactor": 770,
+    "_dstBlendFactor": 771,
+    "_string": "请输入18位身份证号",
+    "_N$string": "请输入18位身份证号",
+    "_fontSize": 36,
+    "_lineHeight": 36,
+    "_enableWrapText": false,
+    "_N$file": null,
+    "_isSystemFontUsed": true,
+    "_spacingX": 0,
+    "_batchAsBitmap": false,
+    "_styleFlags": 0,
+    "_underlineHeight": 0,
+    "_N$horizontalAlign": 0,
+    "_N$verticalAlign": 1,
+    "_N$fontFamily": "Arial",
+    "_N$overflow": 1,
+    "_N$cacheMode": 0,
+    "_id": ""
+  },
+  {
+    "__type__": "cc.Widget",
+    "_name": "",
+    "_objFlags": 0,
+    "node": {
+      "__id__": 24
+    },
+    "_enabled": true,
+    "alignMode": 0,
+    "_target": null,
+    "_alignFlags": 45,
+    "_left": 2,
+    "_right": 0,
+    "_top": 0,
+    "_bottom": 0,
+    "_verticalCenter": 0,
+    "_horizontalCenter": 0,
+    "_isAbsLeft": true,
+    "_isAbsRight": true,
+    "_isAbsTop": true,
+    "_isAbsBottom": true,
+    "_isAbsHorizontalCenter": true,
+    "_isAbsVerticalCenter": true,
+    "_originalWidth": 158,
+    "_originalHeight": 40,
+    "_id": ""
+  },
+  {
+    "__type__": "cc.PrefabInfo",
+    "root": {
+      "__id__": 1
+    },
+    "asset": {
+      "__uuid__": "a317c7a3-6c93-4045-a8c4-f8f6d846893a"
+    },
+    "fileId": "93XR7FAc9L5Kq5woD9++A5",
+    "sync": false
+  },
+  {
+    "__type__": "cc.EditBox",
+    "_name": "",
+    "_objFlags": 0,
+    "node": {
+      "__id__": 15
+    },
+    "_enabled": true,
+    "_string": "",
+    "returnType": 0,
+    "maxLength": 18,
+    "_tabIndex": 0,
+    "editingDidBegan": [],
+    "textChanged": [],
+    "editingDidEnded": [],
+    "editingReturn": [],
+    "_N$textLabel": {
+      "__id__": 21
+    },
+    "_N$placeholderLabel": {
+      "__id__": 25
+    },
+    "_N$background": {
+      "__id__": 17
+    },
+    "_N$inputFlag": 5,
+    "_N$inputMode": 6,
+    "_N$stayOnTop": false,
+    "_id": ""
+  },
+  {
+    "__type__": "cc.PrefabInfo",
+    "root": {
+      "__id__": 1
+    },
+    "asset": {
+      "__uuid__": "a317c7a3-6c93-4045-a8c4-f8f6d846893a"
+    },
+    "fileId": "2a5bE0ruxAurE+zD/n6EG1",
+    "sync": false
+  },
+  {
+    "__type__": "cc.Node",
+    "_name": "btnGo",
+    "_objFlags": 0,
+    "_parent": {
+      "__id__": 1
+    },
+    "_children": [
+      {
+        "__id__": 31
+      }
+    ],
+    "_active": true,
+    "_components": [
+      {
+        "__id__": 35
+      },
+      {
+        "__id__": 36
+      }
+    ],
+    "_prefab": {
+      "__id__": 38
+    },
+    "_opacity": 255,
+    "_color": {
+      "__type__": "cc.Color",
+      "r": 255,
+      "g": 255,
+      "b": 255,
+      "a": 255
+    },
+    "_contentSize": {
+      "__type__": "cc.Size",
+      "width": 366,
+      "height": 127
+    },
+    "_anchorPoint": {
+      "__type__": "cc.Vec2",
+      "x": 0.5,
+      "y": 0.5
+    },
+    "_trs": {
+      "__type__": "TypedArray",
+      "ctor": "Float64Array",
+      "array": [
+        0,
+        -39.814,
+        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": "New Label",
+    "_objFlags": 0,
+    "_parent": {
+      "__id__": 30
+    },
+    "_children": [],
+    "_active": true,
+    "_components": [
+      {
+        "__id__": 32
+      },
+      {
+        "__id__": 33
+      }
+    ],
+    "_prefab": {
+      "__id__": 34
+    },
+    "_opacity": 255,
+    "_color": {
+      "__type__": "cc.Color",
+      "r": 255,
+      "g": 255,
+      "b": 255,
+      "a": 255
+    },
+    "_contentSize": {
+      "__type__": "cc.Size",
+      "width": 86,
+      "height": 56.4
+    },
+    "_anchorPoint": {
+      "__type__": "cc.Vec2",
+      "x": 0.5,
+      "y": 0.5
+    },
+    "_trs": {
+      "__type__": "TypedArray",
+      "ctor": "Float64Array",
+      "array": [
+        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.Label",
+    "_name": "New Label<Label>",
+    "_objFlags": 0,
+    "node": {
+      "__id__": 31
+    },
+    "_enabled": true,
+    "_materials": [
+      {
+        "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
+      }
+    ],
+    "_srcBlendFactor": 770,
+    "_dstBlendFactor": 771,
+    "_string": "确定",
+    "_N$string": "确定",
+    "_fontSize": 40,
+    "_lineHeight": 40,
+    "_enableWrapText": true,
+    "_N$file": null,
+    "_isSystemFontUsed": true,
+    "_spacingX": 0,
+    "_batchAsBitmap": false,
+    "_styleFlags": 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__": 31
+    },
+    "_enabled": true,
+    "_color": {
+      "__type__": "cc.Color",
+      "r": 157,
+      "g": 104,
+      "b": 0,
+      "a": 255
+    },
+    "_width": 3,
+    "_id": ""
+  },
+  {
+    "__type__": "cc.PrefabInfo",
+    "root": {
+      "__id__": 1
+    },
+    "asset": {
+      "__uuid__": "a317c7a3-6c93-4045-a8c4-f8f6d846893a"
+    },
+    "fileId": "88rlLkBkNExqy1t+dvyPQG",
+    "sync": false
+  },
+  {
+    "__type__": "cc.Sprite",
+    "_name": "btnGo<Sprite>",
+    "_objFlags": 0,
+    "node": {
+      "__id__": 30
+    },
+    "_enabled": true,
+    "_materials": [
+      {
+        "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
+      }
+    ],
+    "_srcBlendFactor": 770,
+    "_dstBlendFactor": 771,
+    "_spriteFrame": {
+      "__uuid__": "fe828bc9-918e-4de0-a543-38c90903f6ee"
+    },
+    "_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.Button",
+    "_name": "",
+    "_objFlags": 0,
+    "node": {
+      "__id__": 30
+    },
+    "_enabled": true,
+    "_normalMaterial": {
+      "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
+    },
+    "_grayMaterial": null,
+    "duration": 0.1,
+    "zoomScale": 0.8,
+    "clickEvents": [
+      {
+        "__id__": 37
+      }
+    ],
+    "_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__": 30
+    },
+    "_id": ""
+  },
+  {
+    "__type__": "cc.ClickEvent",
+    "target": {
+      "__id__": 1
+    },
+    "component": "",
+    "_componentId": "460f3m5TAxORJC2wKirftWz",
+    "handler": "clickSure",
+    "customEventData": ""
+  },
+  {
+    "__type__": "cc.PrefabInfo",
+    "root": {
+      "__id__": 1
+    },
+    "asset": {
+      "__uuid__": "a317c7a3-6c93-4045-a8c4-f8f6d846893a"
+    },
+    "fileId": "1bQpAr8+JPS6+48KMm7ulU",
+    "sync": false
+  },
+  {
+    "__type__": "cc.Node",
+    "_name": "labResult",
+    "_objFlags": 0,
+    "_parent": {
+      "__id__": 1
+    },
+    "_children": [],
+    "_active": false,
+    "_components": [
+      {
+        "__id__": 40
+      }
+    ],
+    "_prefab": {
+      "__id__": 41
+    },
+    "_opacity": 255,
+    "_color": {
+      "__type__": "cc.Color",
+      "r": 0,
+      "g": 0,
+      "b": 0,
+      "a": 255
+    },
+    "_contentSize": {
+      "__type__": "cc.Size",
+      "width": 520,
+      "height": 90.39999999999999
+    },
+    "_anchorPoint": {
+      "__type__": "cc.Vec2",
+      "x": 0.5,
+      "y": 0.5
+    },
+    "_trs": {
+      "__type__": "TypedArray",
+      "ctor": "Float64Array",
+      "array": [
+        0,
+        132.463,
+        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": "New Label<Label>",
+    "_objFlags": 0,
+    "node": {
+      "__id__": 39
+    },
+    "_enabled": true,
+    "_materials": [
+      {
+        "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
+      }
+    ],
+    "_srcBlendFactor": 770,
+    "_dstBlendFactor": 771,
+    "_string": "您是 未成年⼈,已纳⼊防成谜系 统,每⽇时⻓不超过1.5⼩ 时",
+    "_N$string": "您是 未成年⼈,已纳⼊防成谜系 统,每⽇时⻓不超过1.5⼩ 时",
+    "_fontSize": 36,
+    "_lineHeight": 40,
+    "_enableWrapText": true,
+    "_N$file": null,
+    "_isSystemFontUsed": true,
+    "_spacingX": 0,
+    "_batchAsBitmap": false,
+    "_styleFlags": 0,
+    "_underlineHeight": 0,
+    "_N$horizontalAlign": 1,
+    "_N$verticalAlign": 1,
+    "_N$fontFamily": "Arial",
+    "_N$overflow": 3,
+    "_N$cacheMode": 0,
+    "_id": ""
+  },
+  {
+    "__type__": "cc.PrefabInfo",
+    "root": {
+      "__id__": 1
+    },
+    "asset": {
+      "__uuid__": "a317c7a3-6c93-4045-a8c4-f8f6d846893a"
+    },
+    "fileId": "9bTILW+VpPOYv3dMi0JXck",
+    "sync": false
+  },
+  {
+    "__type__": "460f3m5TAxORJC2wKirftWz",
+    "_name": "",
+    "_objFlags": 0,
+    "node": {
+      "__id__": 1
+    },
+    "_enabled": true,
+    "editBox": {
+      "__id__": 28
+    },
+    "labResult": {
+      "__id__": 39
+    },
+    "_id": ""
+  },
+  {
+    "__type__": "cc.PrefabInfo",
+    "root": {
+      "__id__": 1
+    },
+    "asset": {
+      "__uuid__": "a317c7a3-6c93-4045-a8c4-f8f6d846893a"
+    },
+    "fileId": "",
+    "sync": false
+  }
+]

+ 8 - 0
assets/resources/module/certification/CertificationNode.prefab.meta

@@ -0,0 +1,8 @@
+{
+  "ver": "1.2.9",
+  "uuid": "a317c7a3-6c93-4045-a8c4-f8f6d846893a",
+  "optimizationPolicy": "AUTO",
+  "asyncLoadAssets": false,
+  "readonly": false,
+  "subMetas": {}
+}

+ 12 - 0
assets/resources/module/certification/texture.meta

@@ -0,0 +1,12 @@
+{
+  "ver": "1.1.2",
+  "uuid": "2531c38f-fa15-4b0e-be76-7c7de8c10c76",
+  "isBundle": false,
+  "bundleName": "",
+  "priority": 1,
+  "compressionType": {},
+  "optimizeHotUpdate": {},
+  "inlineSpriteFrames": {},
+  "isRemoteBundle": {},
+  "subMetas": {}
+}

BIN
assets/resources/module/certification/texture/currency_tc_tit.png


+ 36 - 0
assets/resources/module/certification/texture/currency_tc_tit.png.meta

@@ -0,0 +1,36 @@
+{
+  "ver": "2.3.5",
+  "uuid": "f1036fc0-013c-4c3a-872e-8d810a788474",
+  "type": "sprite",
+  "wrapMode": "clamp",
+  "filterMode": "bilinear",
+  "premultiplyAlpha": false,
+  "genMipmaps": false,
+  "packable": true,
+  "width": 548,
+  "height": 127,
+  "platformSettings": {},
+  "subMetas": {
+    "currency_tc_tit": {
+      "ver": "1.0.4",
+      "uuid": "2d4a6cbe-e0a9-4434-b83e-eba0a0bb6515",
+      "rawTextureUuid": "f1036fc0-013c-4c3a-872e-8d810a788474",
+      "trimType": "auto",
+      "trimThreshold": 1,
+      "rotated": false,
+      "offsetX": 0,
+      "offsetY": 0,
+      "trimX": 0,
+      "trimY": 0,
+      "width": 548,
+      "height": 127,
+      "rawWidth": 548,
+      "rawHeight": 127,
+      "borderTop": 0,
+      "borderBottom": 0,
+      "borderLeft": 0,
+      "borderRight": 0,
+      "subMetas": {}
+    }
+  }
+}

BIN
assets/resources/module/certification/texture/giftbg.png


+ 36 - 0
assets/resources/module/certification/texture/giftbg.png.meta

@@ -0,0 +1,36 @@
+{
+  "ver": "2.3.5",
+  "uuid": "b5f7d92a-0365-4eec-9332-7b05430c5c0f",
+  "type": "sprite",
+  "wrapMode": "clamp",
+  "filterMode": "bilinear",
+  "premultiplyAlpha": false,
+  "genMipmaps": false,
+  "packable": true,
+  "width": 177,
+  "height": 183,
+  "platformSettings": {},
+  "subMetas": {
+    "giftbg": {
+      "ver": "1.0.4",
+      "uuid": "f16f2ae6-2c4c-4899-99b9-5af74db5a6fe",
+      "rawTextureUuid": "b5f7d92a-0365-4eec-9332-7b05430c5c0f",
+      "trimType": "auto",
+      "trimThreshold": 1,
+      "rotated": false,
+      "offsetX": 0,
+      "offsetY": 0,
+      "trimX": 0,
+      "trimY": 0,
+      "width": 177,
+      "height": 183,
+      "rawWidth": 177,
+      "rawHeight": 183,
+      "borderTop": 40,
+      "borderBottom": 40,
+      "borderLeft": 40,
+      "borderRight": 40,
+      "subMetas": {}
+    }
+  }
+}

BIN
assets/resources/module/certification/texture/jiasu_btn.png


+ 36 - 0
assets/resources/module/certification/texture/jiasu_btn.png.meta

@@ -0,0 +1,36 @@
+{
+  "ver": "2.3.5",
+  "uuid": "e691e6d4-c3d6-4307-b075-ddd343cebbbf",
+  "type": "sprite",
+  "wrapMode": "clamp",
+  "filterMode": "bilinear",
+  "premultiplyAlpha": false,
+  "genMipmaps": false,
+  "packable": true,
+  "width": 366,
+  "height": 127,
+  "platformSettings": {},
+  "subMetas": {
+    "jiasu_btn": {
+      "ver": "1.0.4",
+      "uuid": "fe828bc9-918e-4de0-a543-38c90903f6ee",
+      "rawTextureUuid": "e691e6d4-c3d6-4307-b075-ddd343cebbbf",
+      "trimType": "auto",
+      "trimThreshold": 1,
+      "rotated": false,
+      "offsetX": 0,
+      "offsetY": 0,
+      "trimX": 0,
+      "trimY": 0,
+      "width": 366,
+      "height": 127,
+      "rawWidth": 366,
+      "rawHeight": 127,
+      "borderTop": 0,
+      "borderBottom": 0,
+      "borderLeft": 0,
+      "borderRight": 0,
+      "subMetas": {}
+    }
+  }
+}

+ 3 - 3
assets/resources/module/netDisconnect/NetDisConnect.prefab

@@ -190,14 +190,14 @@
       "ctor": "Float64Array",
       "array": [
         0,
-        82.511,
+        34.437,
         0,
         0,
         0,
         0,
         1,
-        3,
-        3,
+        2,
+        2,
         1
       ]
     },

+ 12 - 0
assets/script/game/data/GameData.ts

@@ -88,6 +88,11 @@ export class GameData {
 
     public init_speedup = false;
 
+    public shareUrl = '';
+    public shareTitle = '';
+    public shareDes = '';
+    public shareImgUrl = '';
+
     /**
      * 初始化游戏数据:网络配置信息,用户信息
      * @returns 
@@ -149,6 +154,13 @@ export class GameData {
         this.funOpenData = this.configs.ServerConfig.Functionswitch.split(",");
         //从服务器解析配置
         this.setProductMapFromJson();
+
+        gData.loginData.popIdentifySwitch = this.configs.ServerConfig.popIdentifySwitch == '1';
+
+        gData.gameData.shareUrl = this.configs.ServerConfig.shareUrl;
+        gData.gameData.shareTitle = this.configs.ServerConfig.shareTitle;
+        gData.gameData.shareDes = this.configs.ServerConfig.shareDes;
+        gData.gameData.shareImgUrl = this.configs.ServerConfig.shareImgUrl;
     }
 
     /**

+ 6 - 1
assets/script/game/data/LoginData.ts

@@ -36,6 +36,11 @@ export class LoginData {
     /** 隐私协议 */
     public privacy_data: string[];
 
+    /** 身份认证开关 */
+    public popIdentifySwitch = false;
+    /** 身份认证通过 */
+    public passAnti = false;
+
     /**
      * 初始化本地配置
      * @returns 
@@ -60,7 +65,7 @@ export class LoginData {
         this.sessionKey = sessionKey ? sessionKey : "";
         let loginTicket = mk.storage.getStorage(StorageKey.loginTicket);
         this.loginTicket = loginTicket ? loginTicket : "";
-        
+
         console.log(`===[LoginData] uin =${uin} sessionKey = ${sessionKey}"`);
     }
 

+ 14 - 17
assets/script/game/game/Farmer.ts

@@ -11,20 +11,18 @@ export class Farmer extends cc.Component {
     @property({ type: cc.Sprite, tooltip: "动画组件" }) forwardMask: cc.Sprite = null;
     @property({ type: cc.Sprite, tooltip: "动画组件" }) backMask: cc.Sprite = null;
 
-    @property({displayName: '飞红包节点', type: cc.Node})
+    @property({ displayName: '飞红包节点', type: cc.Node })
     private fly_node: cc.Node = null;
 
     private clips: cc.AnimationClip[] = [];
 
     private refreshTime: number = 0;
-    private redMoneyNum: number = 0;
-    
-    start(){
+
+    start() {
 
         this.clips = this.animation.getClips();
 
         this.refreshTime = gData.gameData.configs.ServerConfig.AutoTime;
-        this.redMoneyNum = 3;
     }
     update(dt) {
         if (this.walk.curTargetPoint && this.walk.curTargetPoint.x > this.node.position.x) {
@@ -42,12 +40,13 @@ export class Farmer extends cc.Component {
             }
         }
 
-        if(this.refreshTime >=0)
-        {
-            this.refreshTime -= dt;
-        }else{
-            this.refreshTime = gData.gameData.configs.ServerConfig.AutoTime;
-            this.getRewardByHttp();
+        if (gData.gameData.funOpenData[1] == '1') {
+            if (this.refreshTime >= 0) {
+                this.refreshTime -= dt;
+            } else {
+                this.refreshTime = gData.gameData.configs.ServerConfig.AutoTime;
+                this.getRewardByHttp();
+            }
         }
     }
 
@@ -62,23 +61,21 @@ export class Farmer extends cc.Component {
 
         let add = response.data.redMoneyAddition;
         console.log('addCoinByFarmer===============>', add);
-        if(add > 0)
-        {
+        if (add > 0) {
             const several = 2;
             let intV = Math.floor(add / several);
             let r = add % several;
             mk.audio.playEffect('redmoney');
-            if(intV > 0)
-            {
+            if (intV > 0) {
                 for (let i = 0; i != several; ++i) {
                     mk.fly.PlayCoinAnim(1, 1, this.fly_node, '', null, -1, intV);
                 }
             }
-            
+
             if (r > 0) {
                 mk.fly.PlayCoinAnim(1, 1, this.fly_node, '', null, -1, r);
             }
-        }       
+        }
     }
 }
 

+ 2 - 2
assets/script/game/game/FunBtns.ts

@@ -1,5 +1,3 @@
-import { Fun } from "../data/GData";
-
 const { ccclass, property } = cc._decorator;
 
 @ccclass
@@ -18,6 +16,8 @@ export default class FunBtns extends cc.Component {
     btn6: cc.Node = null;
     @property({ type: cc.Node, displayName: "邀请" })
     btn7: cc.Node = null;
+    @property({ type: cc.Node, displayName: "漂浮红包" })
+    btn8: cc.Node = null;
 
     onLoad() {
         gData.gameData.funBtns = this;

+ 4 - 10
assets/script/game/game/Game.ts

@@ -163,7 +163,7 @@ export default class Game extends cc.Component {
         }
     }
     lateUpdate() {
-        gData.gameData.init_head = false;     
+        gData.gameData.init_head = false;
     }
 
     private initMusic() {
@@ -205,7 +205,7 @@ export default class Game extends cc.Component {
         //this.lbl_redMoney.node.getComponent(mk.component.numberAnim).setValue(gData.gameData.playerProp.redMoney);
         cc.tween(this.lbl_redMoney.node).to(0.1, { scale: 1.2 }).to(0.05, { scale: 1 }).start();
         this.lbl_redMoney.string = gData.gameData.playerProp.redMoney / 100 + "";
-        gData.gameData.init_coin = false;    
+        gData.gameData.init_coin = false;
     }
 
     private async initHead() {
@@ -385,13 +385,12 @@ export default class Game extends cc.Component {
 
     /**点击分享 */
     public onClickShare() {
-        mk.data.sendDataEvent(DataEventId.button_click, "互推icon");
+        mk.data.sendDataEvent(DataEventId.button_click, "邀请icon");
         if (!gData.loginData.isAuth) {
-            // mk.tip.pop("请先点击头像,在设置界面授权");
             JsbSystem.WxAuth();
             return;
         }
-        JsbSystem.sharePic();
+        JsbSystem.shareInviteUrl(gData.gameData.shareUrl, gData.gameData.shareTitle, gData.gameData.shareDes, gData.gameData.shareImgUrl);
     }
 
     /** 点击农场等级奖励 */
@@ -409,11 +408,6 @@ export default class Game extends cc.Component {
         mk.data.sendDataEvent(DataEventId.button_click, "任务红包icon");
     }
 
-    /** 点击邀请 */
-    public onClickInvite() {
-        mk.data.sendDataEvent(DataEventId.button_click, "邀请icon");
-    }
-
     /** 点击种植 */
     public onClickPlant() {
         mk.audio.playEffect("button");

+ 12 - 0
assets/script/game/module/certification.meta

@@ -0,0 +1,12 @@
+{
+  "ver": "1.1.2",
+  "uuid": "89460c52-fcf6-4960-a44d-18bd82cfd38f",
+  "isBundle": false,
+  "bundleName": "",
+  "priority": 1,
+  "compressionType": {},
+  "optimizeHotUpdate": {},
+  "inlineSpriteFrames": {},
+  "isRemoteBundle": {},
+  "subMetas": {}
+}

+ 107 - 0
assets/script/game/module/certification/Certification.ts

@@ -0,0 +1,107 @@
+
+/** 实名认证 */
+const { ccclass, property } = cc._decorator;
+
+@ccclass
+export default class Certification extends cc.Component {
+    @property(cc.EditBox)
+    editBox: cc.EditBox = null
+
+    @property(cc.Node)
+    labResult: cc.Node = null
+
+    start() {
+
+    }
+
+    clickClose() {
+        mk.audio.playEffect('button');
+        mk.ui.closePanel(this.node.name);
+    }
+
+    clickSure() {
+        mk.audio.playEffect('button');
+        if (this.labResult.active) {
+            mk.ui.closePanel(this.node.name);
+        }
+        else {
+            this.validateIdCard(this.editBox.string)
+        }
+    }
+
+    onDisable() {
+        // Loader.Inst.passAnti = true
+    }
+
+    /*
+        * 身份证15位编码规则:dddddd yymmdd xx p
+        * dddddd:6位地区编码
+        * yymmdd: 出生年(两位年)月日,如:910215
+        * xx: 顺序编码,系统产生,无法确定
+        * p: 性别,奇数为男,偶数为女
+        *
+        * 身份证18位编码规则:dddddd yyyymmdd xxx y
+        * dddddd:6位地区编码
+        * yyyymmdd: 出生年(四位年)月日,如:19910215
+        * xxx:顺序编码,系统产生,无法确定,奇数为男,偶数为女
+        * y: 校验码,该位数值可通过前17位计算获得
+        *
+        * 前17位号码加权因子为 Wi = [ 7, 9, 10, 5, 8, 4, 2, 1, 6, 3, 7, 9, 10, 5, 8, 4, 2 ]
+        * 验证位 Y = [ 1, 0, 10, 9, 8, 7, 6, 5, 4, 3, 2 ]
+        * 如果验证码恰好是10,为了保证身份证是十八位,那么第十八位将用X来代替
+        * 校验位计算公式:Y_P = mod( ∑(Ai×Wi),11 )
+        * i为身份证号码1...17 位; Y_P为校验码Y所在校验码数组位置
+    */
+    validateIdCard(idCard) {
+        //15位和18位身份证号码的正则表达式
+        var regIdCard = /^(^[1-9]\d{7}((0\d)|(1[0-2]))(([0|1|2]\d)|3[0-1])\d{3}$)|(^[1-9]\d{5}[1-9]\d{3}((0\d)|(1[0-2]))(([0|1|2]\d)|3[0-1])((\d{4})|\d{3}[Xx])$)$/;
+        //如果通过该验证,说明身份证格式正确,但准确性还需计算
+        if (regIdCard.test(idCard)) {
+            if (idCard.length == 18) {
+                var idCardWi = new Array(7, 9, 10, 5, 8, 4, 2, 1, 6, 3, 7, 9, 10, 5, 8, 4, 2); //将前17位加权因子保存在数组里
+                var idCardY = new Array(1, 0, 10, 9, 8, 7, 6, 5, 4, 3, 2); //这是除以11后,可能产生的11位余数、验证码,也保存成数组
+                var idCardWiSum = 0; //用来保存前17位各自乖以加权因子后的总和
+                for (var i = 0; i < 17; i++) {
+                    idCardWiSum += idCard.substring(i, i + 1) * idCardWi[i];
+                }
+                var idCardMod = idCardWiSum % 11;//计算出校验码所在数组的位置
+                var idCardLast = idCard.substring(17);//得到最后一位身份证号码
+                //如果等于2,则说明校验码是10,身份证号码最后一位应该是X
+                if (idCardMod == 2) {
+                    if (idCardLast == "X" || idCardLast == "x") {
+                        this.checkShowResult()
+                    } else {
+                        mk.tip.pop('身份证号码错误!');
+                    }
+                } else {
+                    //用计算出的验证码与最后一位身份证号码匹配,如果一致,说明通过,否则是无效的身份证号码
+                    if (idCardLast == idCardY[idCardMod]) {
+                        this.checkShowResult()
+                    } else {
+                        mk.tip.pop('身份证号码错误!');
+                    }
+                }
+            }
+        } else {
+            mk.tip.pop('身份证格式不正确!');
+        }
+    }
+
+    checkShowResult() {
+        let year = this.editBox.string.slice(6, 10)
+        let identification = 0;
+        let curYear = new Date().getFullYear();
+        let pass = curYear - Number(year);
+        if (pass >= 18) {
+            mk.tip.pop('恭喜通过验证啦!');
+            // this.editBox.node.active = false
+            // this.labResult.active = true
+            identification = 1;
+            mk.storage.setStorage('identification', identification);
+            gData.loginData.passAnti = true;
+        }
+        else {
+            mk.tip.pop('您未满18周岁,不能进入游戏');
+        }
+    }
+}

+ 9 - 0
assets/script/game/module/certification/Certification.ts.meta

@@ -0,0 +1,9 @@
+{
+  "ver": "1.0.8",
+  "uuid": "460f39b9-4c0c-4e44-90b6-c0a8ab7ed5b3",
+  "isPlugin": false,
+  "loadPluginInWeb": true,
+  "loadPluginInNative": true,
+  "loadPluginInEditor": false,
+  "subMetas": {}
+}

+ 24 - 0
assets/script/game/module/login/Login.ts

@@ -27,6 +27,8 @@ export default class Login extends cc.Component {
 
     private hasDeviceBackInit = false;
 
+    private hasCheckAnti = false;
+
     onLoad() {
         this.lbl_progress.node.active = false;
         this.node_load.active = true;
@@ -77,6 +79,17 @@ export default class Login extends cc.Component {
             return;
         }
 
+        if (gData.loginData.popIdentifySwitch) {
+            if (!this.hasCheckAnti) {
+                this.hasCheckAnti = true
+                this.checkShowIdentification()
+            }
+
+            if (!gData.loginData.passAnti) {
+                return
+            }
+        }
+
         if (this.process < 100) {
             this.process += 2;
             this.setProgress(this.process);
@@ -231,5 +244,16 @@ export default class Login extends cc.Component {
         //登录
         gData.loginData.login();
     }
+
+    /** 检查认证和防沉迷 */
+    checkShowIdentification() {
+        let identification = mk.storage.getStorage('identification');
+        if (identification == 1) {
+            gData.loginData.passAnti = true;
+        }
+        else {
+            mk.ui.openPanel('module/certification/CertificationNode');
+        }
+    }
 }
 

+ 15 - 0
assets/script/mk/system/JsbSystem.ts

@@ -557,6 +557,21 @@ export default class JsbSystem {
             mk.ui.openPanel('module/netDisconnect/NetDisConnect');
         }
     }
+
+    //分享链接
+    public static shareInviteUrl(url: string, title: string, describe: string, imgUrl: string) {
+        if (cc.sys.platform == cc.sys.WECHAT_GAME) {
+            return
+        }
+        if (cc.sys.os == cc.sys.OS_ANDROID) {
+            jsb.reflection.callStaticMethod(this._JSB_ANDROID_PATH, "shareInviteUrl",
+                "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V", url, title, describe, imgUrl);
+        }
+        else if (cc.sys.os == cc.sys.OS_IOS) {
+            //to do
+            // jsb.reflection.callStaticMethod("GameConfig", "sharePic:", "");
+        }
+    }
 }
 
 window['JsbMgr'] = JsbSystem

+ 50 - 0
build/jsb-link/frameworks/runtime-src/proj.android-studio/app/src/com/aries/kxnly/mz/wxapi/WXEntryActivity.java

@@ -23,6 +23,7 @@ import com.tencent.mm.opensdk.modelmsg.SendAuth;
 import com.tencent.mm.opensdk.modelmsg.SendMessageToWX;
 import com.tencent.mm.opensdk.modelmsg.WXImageObject;
 import com.tencent.mm.opensdk.modelmsg.WXMediaMessage;
+import com.tencent.mm.opensdk.modelmsg.WXWebpageObject;
 import com.tencent.mm.opensdk.openapi.IWXAPI;
 import com.tencent.mm.opensdk.openapi.IWXAPIEventHandler;
 import com.tencent.mm.opensdk.openapi.WXAPIFactory;
@@ -30,6 +31,10 @@ import com.tencent.mm.opensdk.openapi.WXAPIFactory;
 import org.cocos2dx.javascript.thirdSdk.ThirdSdkMgr;
 
 import java.io.ByteArrayOutputStream;
+import java.io.IOException;
+import java.io.InputStream;
+import java.net.URL;
+import java.net.URLConnection;
 
 public class WXEntryActivity extends Activity implements IWXAPIEventHandler {
 
@@ -209,4 +214,49 @@ public class WXEntryActivity extends Activity implements IWXAPIEventHandler {
     private String buildTransaction(final String type) {
         return (type == null) ? String.valueOf(System.currentTimeMillis()) : type + System.currentTimeMillis();
     }
+
+    /**
+     * 网页分享
+     * @param url  地址
+     * @param title 标题
+     * @param description  描述
+     * @param judge  类型选择 好友-WECHAT_FRIEND 朋友圈-WECHAT_MOMENT
+     */
+    public void WxUrlShare(String url,String title,String description,String imgUrl,int judge){
+        Bitmap bitmap = getBitMBitmap(imgUrl);
+        WXWebpageObject wxWebpageObject = new WXWebpageObject();
+        wxWebpageObject.webpageUrl = url;
+
+        WXMediaMessage wxMediaMessage = new WXMediaMessage(wxWebpageObject);
+        wxMediaMessage.title = title;
+        wxMediaMessage.description = description;
+        Bitmap thunmpBmp = Bitmap.createScaledBitmap(bitmap,100,100,true);
+        bitmap.recycle();
+        wxMediaMessage.thumbData = bmpToByteArray(thunmpBmp,true);
+
+        SendMessageToWX.Req req = new SendMessageToWX.Req();
+        req.transaction ="webpage"+String.valueOf(System.currentTimeMillis());
+        req.message = wxMediaMessage;
+        req.scene = SendMessageToWX.Req.WXSceneSession;
+        iwxapi.sendReq(req);
+    }
+
+    /**
+     * 图片url转bitmap
+     */
+    public static Bitmap getBitMBitmap(String urlpath) {
+        Bitmap map = null;
+        try {
+            URL url = new URL(urlpath);
+            URLConnection conn = url.openConnection();
+            conn.connect();
+            InputStream in;
+            in = conn.getInputStream();
+            map = BitmapFactory.decodeStream(in);
+            // TODO Auto-generated catch block
+        } catch (IOException e) {
+            e.printStackTrace();
+        }
+        return map;
+    }
 }

+ 4 - 0
build/jsb-link/frameworks/runtime-src/proj.android-studio/app/src/org/cocos2dx/javascript/thirdSdk/ThirdSdkMgr.java

@@ -291,4 +291,8 @@ public class ThirdSdkMgr {
             }
         });
     }
+
+    public static void shareInviteUrl(String url,String title,String desc,String imgUrl){
+        WXEntryActivity.getInstance().WxUrlShare(url,title, desc,imgUrl,1);
+    }
 }