bing 2 yıl önce
ebeveyn
işleme
39bb51059f
78 değiştirilmiş dosya ile 6811 ekleme ve 16 silme
  1. 25 0
      .gitignore
  2. 12 0
      assets/first.meta
  3. 13 0
      assets/pay.meta
  4. 12 0
      assets/pay/font.meta
  5. 15 0
      assets/pay/font/big.fnt
  6. 143 0
      assets/pay/font/big.fnt.meta
  7. 0 0
      assets/pay/font/big.png
  8. 134 0
      assets/pay/font/big.png.meta
  9. 1 1
      assets/pay/font/small.fnt
  10. 44 0
      assets/pay/font/small.fnt.meta
  11. 0 0
      assets/pay/font/small.png
  12. 134 0
      assets/pay/font/small.png.meta
  13. 12 0
      assets/pay/prefab.meta
  14. 641 0
      assets/pay/prefab/item.prefab
  15. 13 0
      assets/pay/prefab/item.prefab.meta
  16. 1909 0
      assets/pay/prefab/pay.prefab
  17. 13 0
      assets/pay/prefab/pay.prefab.meta
  18. 12 0
      assets/pay/script.meta
  19. 30 0
      assets/pay/script/ItemPay.ts
  20. 9 0
      assets/pay/script/ItemPay.ts.meta
  21. 35 0
      assets/pay/script/Pay.ts
  22. 9 0
      assets/pay/script/Pay.ts.meta
  23. 12 0
      assets/pay/texture.meta
  24. 0 0
      assets/pay/texture/20.png
  25. 134 0
      assets/pay/texture/20.png.meta
  26. 0 0
      assets/pay/texture/21.png
  27. 134 0
      assets/pay/texture/21.png.meta
  28. 0 0
      assets/pay/texture/22.png
  29. 134 0
      assets/pay/texture/22.png.meta
  30. 0 0
      assets/pay/texture/23.png
  31. 134 0
      assets/pay/texture/23.png.meta
  32. 0 0
      assets/pay/texture/24.png
  33. 134 0
      assets/pay/texture/24.png.meta
  34. 0 0
      assets/pay/texture/25.png
  35. 134 0
      assets/pay/texture/25.png.meta
  36. 0 0
      assets/pay/texture/bg.png
  37. 134 0
      assets/pay/texture/bg.png.meta
  38. 0 0
      assets/pay/texture/bg2.png
  39. 134 0
      assets/pay/texture/bg2.png.meta
  40. 0 0
      assets/pay/texture/bg_item.png
  41. 134 0
      assets/pay/texture/bg_item.png.meta
  42. 0 0
      assets/pay/texture/btn.png
  43. 134 0
      assets/pay/texture/btn.png.meta
  44. 0 0
      assets/pay/texture/char.png
  45. 134 0
      assets/pay/texture/char.png.meta
  46. 0 0
      assets/pay/texture/desc1.png
  47. 134 0
      assets/pay/texture/desc1.png.meta
  48. 0 0
      assets/pay/texture/desc2.png
  49. 134 0
      assets/pay/texture/desc2.png.meta
  50. 0 0
      assets/pay/texture/descid.png
  51. 134 0
      assets/pay/texture/descid.png.meta
  52. 0 0
      assets/pay/texture/descmoney.png
  53. 134 0
      assets/pay/texture/descmoney.png.meta
  54. 0 0
      assets/pay/texture/icon_diamond.png
  55. 134 0
      assets/pay/texture/icon_diamond.png.meta
  56. 12 0
      assets/scene.meta
  57. 439 0
      assets/scene/main.scene
  58. 11 0
      assets/scene/main.scene.meta
  59. 12 0
      assets/scene/script.meta
  60. 95 0
      assets/scene/script/ExClass.ts
  61. 9 0
      assets/scene/script/ExClass.ts.meta
  62. 28 0
      assets/scene/script/MainScene.ts
  63. 9 0
      assets/scene/script/MainScene.ts.meta
  64. 141 0
      assets/scene/script/NodeEx.ts
  65. 9 0
      assets/scene/script/NodeEx.ts.meta
  66. 169 0
      assets/scene/script/UtilsPanel.ts
  67. 9 0
      assets/scene/script/UtilsPanel.ts.meta
  68. 12 0
      assets/scene/script/components.meta
  69. 282 0
      assets/scene/script/components/Generate.ts
  70. 9 0
      assets/scene/script/components/Generate.ts.meta
  71. 11 0
      assets/scene/script/components/ViewItemPro.ts
  72. 9 0
      assets/scene/script/components/ViewItemPro.ts.meta
  73. 27 0
      ccex.d.ts
  74. 0 0
      design/效果图.png
  75. 0 15
      h5充值界面2/大数字.fnt
  76. 8 0
      package.json
  77. 129 0
      settings/v2/packages/engine.json
  78. 9 0
      tsconfig.json

+ 25 - 0
.gitignore

@@ -0,0 +1,25 @@
+
+#///////////////////////////
+# Cocos Creator 3D Project
+#///////////////////////////
+library/
+temp/
+local/
+build/
+profiles/
+native
+.creator
+#//////////////////////////
+# NPM
+#//////////////////////////
+node_modules/
+
+#//////////////////////////
+# VSCode
+#//////////////////////////
+.vscode/
+
+#//////////////////////////
+# WebStorm
+#//////////////////////////
+.idea/

+ 12 - 0
assets/first.meta

@@ -0,0 +1,12 @@
+{
+  "ver": "1.1.0",
+  "importer": "directory",
+  "imported": true,
+  "uuid": "b3e16c1f-ebfb-4604-9ba5-5bfbaf9999d7",
+  "files": [],
+  "subMetas": {},
+  "userData": {
+    "compressionType": {},
+    "isRemoteBundle": {}
+  }
+}

+ 13 - 0
assets/pay.meta

@@ -0,0 +1,13 @@
+{
+  "ver": "1.1.0",
+  "importer": "directory",
+  "imported": true,
+  "uuid": "8456c541-aa04-4f7c-aa4c-7e050ffdadbc",
+  "files": [],
+  "subMetas": {},
+  "userData": {
+    "compressionType": {},
+    "isRemoteBundle": {},
+    "isBundle": true
+  }
+}

+ 12 - 0
assets/pay/font.meta

@@ -0,0 +1,12 @@
+{
+  "ver": "1.1.0",
+  "importer": "directory",
+  "imported": true,
+  "uuid": "f61cebd3-c742-4d9c-bbb7-3577d638c121",
+  "files": [],
+  "subMetas": {},
+  "userData": {
+    "compressionType": {},
+    "isRemoteBundle": {}
+  }
+}

+ 15 - 0
assets/pay/font/big.fnt

@@ -0,0 +1,15 @@
+info face="Arial" size=10 bold=0 italic=0 charset="" unicode=0 stretchH=100 smooth=1 aa=1 padding=0,0,0,0 spacing=2,2
+common lineHeight=76 base=10 scaleW=484 scaleH=76 pages=1 packed=0
+page id=0 file="big.png"
+chars count=11
+char id=57 x=0 y=0 width=46 height=76 xoffset=0 yoffset=0 xadvance=46 page=0 chnl=0 page=0 letter="9"
+char id=48 x=46 y=0 width=45 height=76 xoffset=0 yoffset=0 xadvance=45 page=0 chnl=0 page=0 letter="0"
+char id=49 x=91 y=0 width=34 height=74 xoffset=0 yoffset=0 xadvance=34 page=0 chnl=0 page=0 letter="1"
+char id=50 x=125 y=0 width=44 height=75 xoffset=0 yoffset=0 xadvance=44 page=0 chnl=0 page=0 letter="2"
+char id=51 x=169 y=0 width=45 height=76 xoffset=0 yoffset=0 xadvance=45 page=0 chnl=0 page=0 letter="3"
+char id=52 x=214 y=0 width=47 height=74 xoffset=0 yoffset=0 xadvance=47 page=0 chnl=0 page=0 letter="4"
+char id=53 x=261 y=0 width=46 height=75 xoffset=0 yoffset=0 xadvance=46 page=0 chnl=0 page=0 letter="5"
+char id=54 x=307 y=0 width=46 height=76 xoffset=0 yoffset=0 xadvance=46 page=0 chnl=0 page=0 letter="6"
+char id=55 x=353 y=0 width=38 height=74 xoffset=0 yoffset=0 xadvance=38 page=0 chnl=0 page=0 letter="7"
+char id=56 x=391 y=0 width=46 height=76 xoffset=0 yoffset=0 xadvance=46 page=0 chnl=0 page=0 letter="8"
+char id=32 x=437 y=0 width=47 height=76 xoffset=0 yoffset=0 xadvance=47 page=0 chnl=0 page=0 letter="space"

+ 143 - 0
assets/pay/font/big.fnt.meta

@@ -0,0 +1,143 @@
+{
+  "ver": "1.0.6",
+  "importer": "bitmap-font",
+  "imported": true,
+  "uuid": "0267c2ba-5242-48fa-9cf6-7b2a55ac0ea2",
+  "files": [
+    ".json"
+  ],
+  "subMetas": {},
+  "userData": {
+    "_fntConfig": {
+      "commonHeight": 76,
+      "fontSize": 10,
+      "atlasName": "big.png",
+      "fontDefDictionary": {
+        "32": {
+          "rect": {
+            "x": 437,
+            "y": 0,
+            "width": 47,
+            "height": 76
+          },
+          "xOffset": 0,
+          "yOffset": 0,
+          "xAdvance": 47
+        },
+        "48": {
+          "rect": {
+            "x": 46,
+            "y": 0,
+            "width": 45,
+            "height": 76
+          },
+          "xOffset": 0,
+          "yOffset": 0,
+          "xAdvance": 45
+        },
+        "49": {
+          "rect": {
+            "x": 91,
+            "y": 0,
+            "width": 34,
+            "height": 74
+          },
+          "xOffset": 0,
+          "yOffset": 0,
+          "xAdvance": 34
+        },
+        "50": {
+          "rect": {
+            "x": 125,
+            "y": 0,
+            "width": 44,
+            "height": 75
+          },
+          "xOffset": 0,
+          "yOffset": 0,
+          "xAdvance": 44
+        },
+        "51": {
+          "rect": {
+            "x": 169,
+            "y": 0,
+            "width": 45,
+            "height": 76
+          },
+          "xOffset": 0,
+          "yOffset": 0,
+          "xAdvance": 45
+        },
+        "52": {
+          "rect": {
+            "x": 214,
+            "y": 0,
+            "width": 47,
+            "height": 74
+          },
+          "xOffset": 0,
+          "yOffset": 0,
+          "xAdvance": 47
+        },
+        "53": {
+          "rect": {
+            "x": 261,
+            "y": 0,
+            "width": 46,
+            "height": 75
+          },
+          "xOffset": 0,
+          "yOffset": 0,
+          "xAdvance": 46
+        },
+        "54": {
+          "rect": {
+            "x": 307,
+            "y": 0,
+            "width": 46,
+            "height": 76
+          },
+          "xOffset": 0,
+          "yOffset": 0,
+          "xAdvance": 46
+        },
+        "55": {
+          "rect": {
+            "x": 353,
+            "y": 0,
+            "width": 38,
+            "height": 74
+          },
+          "xOffset": 0,
+          "yOffset": 0,
+          "xAdvance": 38
+        },
+        "56": {
+          "rect": {
+            "x": 391,
+            "y": 0,
+            "width": 46,
+            "height": 76
+          },
+          "xOffset": 0,
+          "yOffset": 0,
+          "xAdvance": 46
+        },
+        "57": {
+          "rect": {
+            "x": 0,
+            "y": 0,
+            "width": 46,
+            "height": 76
+          },
+          "xOffset": 0,
+          "yOffset": 0,
+          "xAdvance": 46
+        }
+      },
+      "kerningDict": {}
+    },
+    "fontSize": 10,
+    "textureUuid": "5d8ed6cb-4d7b-4006-b7e7-db1a51a7f3d7"
+  }
+}

+ 0 - 0
h5充值界面2/大数字.png → assets/pay/font/big.png


+ 134 - 0
assets/pay/font/big.png.meta

@@ -0,0 +1,134 @@
+{
+  "ver": "1.0.25",
+  "importer": "image",
+  "imported": true,
+  "uuid": "5d8ed6cb-4d7b-4006-b7e7-db1a51a7f3d7",
+  "files": [
+    ".json",
+    ".png"
+  ],
+  "subMetas": {
+    "6c48a": {
+      "importer": "texture",
+      "uuid": "5d8ed6cb-4d7b-4006-b7e7-db1a51a7f3d7@6c48a",
+      "displayName": "big",
+      "id": "6c48a",
+      "name": "texture",
+      "userData": {
+        "wrapModeS": "clamp-to-edge",
+        "wrapModeT": "clamp-to-edge",
+        "imageUuidOrDatabaseUri": "5d8ed6cb-4d7b-4006-b7e7-db1a51a7f3d7",
+        "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": "5d8ed6cb-4d7b-4006-b7e7-db1a51a7f3d7@f9941",
+      "displayName": "big",
+      "id": "f9941",
+      "name": "spriteFrame",
+      "userData": {
+        "trimType": "auto",
+        "trimThreshold": 1,
+        "rotated": false,
+        "offsetX": -23.5,
+        "offsetY": 0,
+        "trimX": 0,
+        "trimY": 0,
+        "width": 437,
+        "height": 76,
+        "rawWidth": 484,
+        "rawHeight": 76,
+        "borderTop": 0,
+        "borderBottom": 0,
+        "borderLeft": 0,
+        "borderRight": 0,
+        "packable": true,
+        "pixelsToUnit": 100,
+        "pivotX": 0.5,
+        "pivotY": 0.5,
+        "meshType": 0,
+        "vertices": {
+          "rawPosition": [
+            -218.5,
+            -38,
+            0,
+            218.5,
+            -38,
+            0,
+            -218.5,
+            38,
+            0,
+            218.5,
+            38,
+            0
+          ],
+          "indexes": [
+            0,
+            1,
+            2,
+            2,
+            1,
+            3
+          ],
+          "uv": [
+            0,
+            76,
+            437,
+            76,
+            0,
+            0,
+            437,
+            0
+          ],
+          "nuv": [
+            0,
+            0,
+            0.9028925619834711,
+            0,
+            0,
+            1,
+            0.9028925619834711,
+            1
+          ],
+          "minPos": [
+            -218.5,
+            -38,
+            0
+          ],
+          "maxPos": [
+            218.5,
+            38,
+            0
+          ]
+        },
+        "isUuid": true,
+        "imageUuidOrDatabaseUri": "5d8ed6cb-4d7b-4006-b7e7-db1a51a7f3d7@6c48a",
+        "atlasUuid": ""
+      },
+      "ver": "1.0.11",
+      "imported": true,
+      "files": [
+        ".json"
+      ],
+      "subMetas": {}
+    }
+  },
+  "userData": {
+    "type": "sprite-frame",
+    "fixAlphaTransparencyArtifacts": true,
+    "hasAlpha": true,
+    "redirect": "5d8ed6cb-4d7b-4006-b7e7-db1a51a7f3d7@f9941"
+  }
+}

+ 1 - 1
h5充值界面2/小,数字.fnt → assets/pay/font/small.fnt

@@ -1,6 +1,6 @@
 info face="Arial" size=10 bold=0 italic=0 charset="" unicode=0 stretchH=100 smooth=1 aa=1 padding=0,0,0,0 spacing=2,2
 common lineHeight=21 base=10 scaleW=141 scaleH=21 pages=1 packed=0
-page id=0 file="小,数字.png"
+page id=0 file="small.png"
 chars count=11
 char id=22270 x=0 y=0 width=13 height=21 xoffset=0 yoffset=0 xadvance=13 page=0 chnl=0 page=0 letter="图"
 char id=22270 x=13 y=0 width=13 height=21 xoffset=0 yoffset=0 xadvance=13 page=0 chnl=0 page=0 letter="图"

+ 44 - 0
assets/pay/font/small.fnt.meta

@@ -0,0 +1,44 @@
+{
+  "ver": "1.0.6",
+  "importer": "bitmap-font",
+  "imported": true,
+  "uuid": "0b385cba-e43b-4e04-ad2f-8cace57b6573",
+  "files": [
+    ".json"
+  ],
+  "subMetas": {},
+  "userData": {
+    "_fntConfig": {
+      "commonHeight": 21,
+      "fontSize": 10,
+      "atlasName": "small.png",
+      "fontDefDictionary": {
+        "32": {
+          "rect": {
+            "x": 126,
+            "y": 0,
+            "width": 15,
+            "height": 21
+          },
+          "xOffset": 0,
+          "yOffset": 0,
+          "xAdvance": 15
+        },
+        "22270": {
+          "rect": {
+            "x": 112,
+            "y": 0,
+            "width": 14,
+            "height": 21
+          },
+          "xOffset": 0,
+          "yOffset": 0,
+          "xAdvance": 14
+        }
+      },
+      "kerningDict": {}
+    },
+    "fontSize": 10,
+    "textureUuid": "f9aa182e-83ac-47a3-a7ba-f9770eca4c85"
+  }
+}

+ 0 - 0
h5充值界面2/小,数字.png → assets/pay/font/small.png


+ 134 - 0
assets/pay/font/small.png.meta

@@ -0,0 +1,134 @@
+{
+  "ver": "1.0.25",
+  "importer": "image",
+  "imported": true,
+  "uuid": "f9aa182e-83ac-47a3-a7ba-f9770eca4c85",
+  "files": [
+    ".json",
+    ".png"
+  ],
+  "subMetas": {
+    "6c48a": {
+      "importer": "texture",
+      "uuid": "f9aa182e-83ac-47a3-a7ba-f9770eca4c85@6c48a",
+      "displayName": "small",
+      "id": "6c48a",
+      "name": "texture",
+      "userData": {
+        "wrapModeS": "clamp-to-edge",
+        "wrapModeT": "clamp-to-edge",
+        "imageUuidOrDatabaseUri": "f9aa182e-83ac-47a3-a7ba-f9770eca4c85",
+        "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": "f9aa182e-83ac-47a3-a7ba-f9770eca4c85@f9941",
+      "displayName": "small",
+      "id": "f9941",
+      "name": "spriteFrame",
+      "userData": {
+        "trimType": "auto",
+        "trimThreshold": 1,
+        "rotated": false,
+        "offsetX": -7.5,
+        "offsetY": 0,
+        "trimX": 0,
+        "trimY": 0,
+        "width": 126,
+        "height": 21,
+        "rawWidth": 141,
+        "rawHeight": 21,
+        "borderTop": 0,
+        "borderBottom": 0,
+        "borderLeft": 0,
+        "borderRight": 0,
+        "packable": true,
+        "pixelsToUnit": 100,
+        "pivotX": 0.5,
+        "pivotY": 0.5,
+        "meshType": 0,
+        "vertices": {
+          "rawPosition": [
+            -63,
+            -10.5,
+            0,
+            63,
+            -10.5,
+            0,
+            -63,
+            10.5,
+            0,
+            63,
+            10.5,
+            0
+          ],
+          "indexes": [
+            0,
+            1,
+            2,
+            2,
+            1,
+            3
+          ],
+          "uv": [
+            0,
+            21,
+            126,
+            21,
+            0,
+            0,
+            126,
+            0
+          ],
+          "nuv": [
+            0,
+            0,
+            0.8936170212765957,
+            0,
+            0,
+            1,
+            0.8936170212765957,
+            1
+          ],
+          "minPos": [
+            -63,
+            -10.5,
+            0
+          ],
+          "maxPos": [
+            63,
+            10.5,
+            0
+          ]
+        },
+        "isUuid": true,
+        "imageUuidOrDatabaseUri": "f9aa182e-83ac-47a3-a7ba-f9770eca4c85@6c48a",
+        "atlasUuid": ""
+      },
+      "ver": "1.0.11",
+      "imported": true,
+      "files": [
+        ".json"
+      ],
+      "subMetas": {}
+    }
+  },
+  "userData": {
+    "type": "sprite-frame",
+    "fixAlphaTransparencyArtifacts": true,
+    "hasAlpha": true,
+    "redirect": "f9aa182e-83ac-47a3-a7ba-f9770eca4c85@f9941"
+  }
+}

+ 12 - 0
assets/pay/prefab.meta

@@ -0,0 +1,12 @@
+{
+  "ver": "1.1.0",
+  "importer": "directory",
+  "imported": true,
+  "uuid": "ac90c4bc-3ff2-4c0f-bc36-9256291f515d",
+  "files": [],
+  "subMetas": {},
+  "userData": {
+    "compressionType": {},
+    "isRemoteBundle": {}
+  }
+}

+ 641 - 0
assets/pay/prefab/item.prefab

@@ -0,0 +1,641 @@
+[
+  {
+    "__type__": "cc.Prefab",
+    "_name": "item",
+    "_objFlags": 0,
+    "_native": "",
+    "data": {
+      "__id__": 1
+    },
+    "optimizationPolicy": 0,
+    "persistent": false,
+    "asyncLoadAssets": false
+  },
+  {
+    "__type__": "cc.Node",
+    "_name": "item",
+    "_objFlags": 0,
+    "__editorExtras__": {},
+    "_parent": null,
+    "_children": [
+      {
+        "__id__": 2
+      },
+      {
+        "__id__": 8
+      },
+      {
+        "__id__": 14
+      },
+      {
+        "__id__": 20
+      }
+    ],
+    "_active": true,
+    "_components": [
+      {
+        "__id__": 26
+      },
+      {
+        "__id__": 28
+      }
+    ],
+    "_prefab": {
+      "__id__": 30
+    },
+    "_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
+    },
+    "_layer": 33554432,
+    "_euler": {
+      "__type__": "cc.Vec3",
+      "x": 0,
+      "y": 0,
+      "z": 0
+    },
+    "_id": ""
+  },
+  {
+    "__type__": "cc.Node",
+    "_name": "bg_item",
+    "_objFlags": 0,
+    "_parent": {
+      "__id__": 1
+    },
+    "_children": [],
+    "_active": true,
+    "_components": [
+      {
+        "__id__": 3
+      },
+      {
+        "__id__": 5
+      }
+    ],
+    "_prefab": {
+      "__id__": 7
+    },
+    "_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
+    },
+    "_layer": 33554432,
+    "_euler": {
+      "__type__": "cc.Vec3",
+      "x": 0,
+      "y": 0,
+      "z": 0
+    },
+    "_id": ""
+  },
+  {
+    "__type__": "cc.UITransform",
+    "_name": "",
+    "_objFlags": 0,
+    "node": {
+      "__id__": 2
+    },
+    "_enabled": true,
+    "__prefab": {
+      "__id__": 4
+    },
+    "_contentSize": {
+      "__type__": "cc.Size",
+      "width": 196,
+      "height": 167
+    },
+    "_anchorPoint": {
+      "__type__": "cc.Vec2",
+      "x": 0.5,
+      "y": 0.5
+    },
+    "_id": ""
+  },
+  {
+    "__type__": "cc.CompPrefabInfo",
+    "fileId": "168vZZ8G5GHZeVs2RRz//z"
+  },
+  {
+    "__type__": "cc.Sprite",
+    "_name": "",
+    "_objFlags": 0,
+    "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__": "4012f4a9-c7cb-40f0-87b6-eaa14bab1547@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": "d3a1fB7dZKy5qzqlR5TnNq"
+  },
+  {
+    "__type__": "cc.PrefabInfo",
+    "root": {
+      "__id__": 1
+    },
+    "asset": {
+      "__id__": 0
+    },
+    "fileId": "c4fhWcbCxHybKLhymOLuu/"
+  },
+  {
+    "__type__": "cc.Node",
+    "_name": "sp_icon",
+    "_objFlags": 0,
+    "_parent": {
+      "__id__": 1
+    },
+    "_children": [],
+    "_active": true,
+    "_components": [
+      {
+        "__id__": 9
+      },
+      {
+        "__id__": 11
+      }
+    ],
+    "_prefab": {
+      "__id__": 13
+    },
+    "_lpos": {
+      "__type__": "cc.Vec3",
+      "x": 0,
+      "y": 22,
+      "z": 0
+    },
+    "_lrot": {
+      "__type__": "cc.Quat",
+      "x": 0,
+      "y": 0,
+      "z": 0,
+      "w": 1
+    },
+    "_lscale": {
+      "__type__": "cc.Vec3",
+      "x": 1,
+      "y": 1,
+      "z": 1
+    },
+    "_layer": 33554432,
+    "_euler": {
+      "__type__": "cc.Vec3",
+      "x": 0,
+      "y": 0,
+      "z": 0
+    },
+    "_id": ""
+  },
+  {
+    "__type__": "cc.UITransform",
+    "_name": "",
+    "_objFlags": 0,
+    "node": {
+      "__id__": 8
+    },
+    "_enabled": true,
+    "__prefab": {
+      "__id__": 10
+    },
+    "_contentSize": {
+      "__type__": "cc.Size",
+      "width": 40,
+      "height": 36
+    },
+    "_anchorPoint": {
+      "__type__": "cc.Vec2",
+      "x": 0.5,
+      "y": 0.5
+    },
+    "_id": ""
+  },
+  {
+    "__type__": "cc.CompPrefabInfo",
+    "fileId": "deAFpHTbdAJp+CYJjO9qxV"
+  },
+  {
+    "__type__": "cc.Sprite",
+    "_name": "",
+    "_objFlags": 0,
+    "node": {
+      "__id__": 8
+    },
+    "_enabled": true,
+    "__prefab": {
+      "__id__": 12
+    },
+    "_customMaterial": null,
+    "_srcBlendFactor": 2,
+    "_dstBlendFactor": 4,
+    "_color": {
+      "__type__": "cc.Color",
+      "r": 255,
+      "g": 255,
+      "b": 255,
+      "a": 255
+    },
+    "_spriteFrame": null,
+    "_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": "a8eYoEUcNKyIgHZZkhjIoC"
+  },
+  {
+    "__type__": "cc.PrefabInfo",
+    "root": {
+      "__id__": 1
+    },
+    "asset": {
+      "__id__": 0
+    },
+    "fileId": "fd+3KNUrRL5rE/oaYown0g"
+  },
+  {
+    "__type__": "cc.Node",
+    "_name": "icon_diamond",
+    "_objFlags": 0,
+    "_parent": {
+      "__id__": 1
+    },
+    "_children": [],
+    "_active": true,
+    "_components": [
+      {
+        "__id__": 15
+      },
+      {
+        "__id__": 17
+      }
+    ],
+    "_prefab": {
+      "__id__": 19
+    },
+    "_lpos": {
+      "__type__": "cc.Vec3",
+      "x": 69,
+      "y": -63,
+      "z": 0
+    },
+    "_lrot": {
+      "__type__": "cc.Quat",
+      "x": 0,
+      "y": 0,
+      "z": 0,
+      "w": 1
+    },
+    "_lscale": {
+      "__type__": "cc.Vec3",
+      "x": 1,
+      "y": 1,
+      "z": 1
+    },
+    "_layer": 33554432,
+    "_euler": {
+      "__type__": "cc.Vec3",
+      "x": 0,
+      "y": 0,
+      "z": 0
+    },
+    "_id": ""
+  },
+  {
+    "__type__": "cc.UITransform",
+    "_name": "",
+    "_objFlags": 0,
+    "node": {
+      "__id__": 14
+    },
+    "_enabled": true,
+    "__prefab": {
+      "__id__": 16
+    },
+    "_contentSize": {
+      "__type__": "cc.Size",
+      "width": 38,
+      "height": 30
+    },
+    "_anchorPoint": {
+      "__type__": "cc.Vec2",
+      "x": 0.5,
+      "y": 0.5
+    },
+    "_id": ""
+  },
+  {
+    "__type__": "cc.CompPrefabInfo",
+    "fileId": "37EVod5idGg7qk8ga++aMC"
+  },
+  {
+    "__type__": "cc.Sprite",
+    "_name": "",
+    "_objFlags": 0,
+    "node": {
+      "__id__": 14
+    },
+    "_enabled": true,
+    "__prefab": {
+      "__id__": 18
+    },
+    "_customMaterial": null,
+    "_srcBlendFactor": 2,
+    "_dstBlendFactor": 4,
+    "_color": {
+      "__type__": "cc.Color",
+      "r": 255,
+      "g": 255,
+      "b": 255,
+      "a": 255
+    },
+    "_spriteFrame": {
+      "__uuid__": "aa895b5f-0793-4bed-90b0-45633bb9e605@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": "07TnFtaWZH2JkV0AxHWbRG"
+  },
+  {
+    "__type__": "cc.PrefabInfo",
+    "root": {
+      "__id__": 1
+    },
+    "asset": {
+      "__id__": 0
+    },
+    "fileId": "0a1T3lkfJKHanwNp/gFqu1"
+  },
+  {
+    "__type__": "cc.Node",
+    "_name": "lb_count",
+    "_objFlags": 0,
+    "_parent": {
+      "__id__": 1
+    },
+    "_children": [],
+    "_active": true,
+    "_components": [
+      {
+        "__id__": 21
+      },
+      {
+        "__id__": 23
+      }
+    ],
+    "_prefab": {
+      "__id__": 25
+    },
+    "_lpos": {
+      "__type__": "cc.Vec3",
+      "x": -13,
+      "y": -61,
+      "z": 0
+    },
+    "_lrot": {
+      "__type__": "cc.Quat",
+      "x": 0,
+      "y": 0,
+      "z": 0,
+      "w": 1
+    },
+    "_lscale": {
+      "__type__": "cc.Vec3",
+      "x": 1,
+      "y": 1,
+      "z": 1
+    },
+    "_layer": 33554432,
+    "_euler": {
+      "__type__": "cc.Vec3",
+      "x": 0,
+      "y": 0,
+      "z": 0
+    },
+    "_id": ""
+  },
+  {
+    "__type__": "cc.UITransform",
+    "_name": "",
+    "_objFlags": 0,
+    "node": {
+      "__id__": 20
+    },
+    "_enabled": true,
+    "__prefab": {
+      "__id__": 22
+    },
+    "_contentSize": {
+      "__type__": "cc.Size",
+      "width": 0,
+      "height": 27.72
+    },
+    "_anchorPoint": {
+      "__type__": "cc.Vec2",
+      "x": 0.5,
+      "y": 0.5
+    },
+    "_id": ""
+  },
+  {
+    "__type__": "cc.CompPrefabInfo",
+    "fileId": "1aPXH13RdFVYcGZQUpcjPZ"
+  },
+  {
+    "__type__": "cc.Label",
+    "_name": "",
+    "_objFlags": 0,
+    "node": {
+      "__id__": 20
+    },
+    "_enabled": true,
+    "__prefab": {
+      "__id__": 24
+    },
+    "_customMaterial": null,
+    "_srcBlendFactor": 2,
+    "_dstBlendFactor": 4,
+    "_color": {
+      "__type__": "cc.Color",
+      "r": 70,
+      "g": 34,
+      "b": 34,
+      "a": 255
+    },
+    "_string": "",
+    "_horizontalAlign": 1,
+    "_verticalAlign": 1,
+    "_actualFontSize": 20,
+    "_fontSize": 20,
+    "_fontFamily": "Arial",
+    "_lineHeight": 22,
+    "_overflow": 0,
+    "_enableWrapText": true,
+    "_font": null,
+    "_isSystemFontUsed": true,
+    "_spacingX": 0,
+    "_isItalic": false,
+    "_isBold": false,
+    "_isUnderline": false,
+    "_underlineHeight": 2,
+    "_cacheMode": 0,
+    "_id": ""
+  },
+  {
+    "__type__": "cc.CompPrefabInfo",
+    "fileId": "abiAEQyqtIuKmdD5oS25IM"
+  },
+  {
+    "__type__": "cc.PrefabInfo",
+    "root": {
+      "__id__": 1
+    },
+    "asset": {
+      "__id__": 0
+    },
+    "fileId": "cedbb0aqBDM6219g5G1MM2"
+  },
+  {
+    "__type__": "d91d6a7FEVEsp/puCV0OWtL",
+    "_name": "",
+    "_objFlags": 0,
+    "node": {
+      "__id__": 1
+    },
+    "_enabled": true,
+    "__prefab": {
+      "__id__": 27
+    },
+    "_id": ""
+  },
+  {
+    "__type__": "cc.CompPrefabInfo",
+    "fileId": "f72olACYtFqKGnbrgtlgeq"
+  },
+  {
+    "__type__": "cc.UITransform",
+    "_name": "",
+    "_objFlags": 0,
+    "node": {
+      "__id__": 1
+    },
+    "_enabled": true,
+    "__prefab": {
+      "__id__": 29
+    },
+    "_contentSize": {
+      "__type__": "cc.Size",
+      "width": 220,
+      "height": 220
+    },
+    "_anchorPoint": {
+      "__type__": "cc.Vec2",
+      "x": 0.5,
+      "y": 0.5
+    },
+    "_id": ""
+  },
+  {
+    "__type__": "cc.CompPrefabInfo",
+    "fileId": "21UV1ns4RHnpXCDZObwfAv"
+  },
+  {
+    "__type__": "cc.PrefabInfo",
+    "root": {
+      "__id__": 1
+    },
+    "asset": {
+      "__id__": 0
+    },
+    "fileId": "6ahS1qgEJBJIrRTveecSsV"
+  }
+]

+ 13 - 0
assets/pay/prefab/item.prefab.meta

@@ -0,0 +1,13 @@
+{
+  "ver": "1.1.40",
+  "importer": "prefab",
+  "imported": true,
+  "uuid": "d8a4c3c2-6e13-404d-8d13-a5ba4f860596",
+  "files": [
+    ".json"
+  ],
+  "subMetas": {},
+  "userData": {
+    "syncNodeName": "item"
+  }
+}

+ 1909 - 0
assets/pay/prefab/pay.prefab

@@ -0,0 +1,1909 @@
+[
+  {
+    "__type__": "cc.Prefab",
+    "_name": "pay",
+    "_objFlags": 0,
+    "_native": "",
+    "data": {
+      "__id__": 1
+    },
+    "optimizationPolicy": 0,
+    "persistent": false,
+    "asyncLoadAssets": false
+  },
+  {
+    "__type__": "cc.Node",
+    "_name": "pay",
+    "_objFlags": 0,
+    "__editorExtras__": {},
+    "_parent": null,
+    "_children": [
+      {
+        "__id__": 2
+      },
+      {
+        "__id__": 8
+      },
+      {
+        "__id__": 14
+      },
+      {
+        "__id__": 20
+      },
+      {
+        "__id__": 26
+      },
+      {
+        "__id__": 32
+      },
+      {
+        "__id__": 38
+      },
+      {
+        "__id__": 44
+      },
+      {
+        "__id__": 50
+      },
+      {
+        "__id__": 58
+      },
+      {
+        "__id__": 64
+      }
+    ],
+    "_active": true,
+    "_components": [
+      {
+        "__id__": 85
+      },
+      {
+        "__id__": 87
+      }
+    ],
+    "_prefab": {
+      "__id__": 89
+    },
+    "_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
+    },
+    "_layer": 33554432,
+    "_euler": {
+      "__type__": "cc.Vec3",
+      "x": 0,
+      "y": 0,
+      "z": 0
+    },
+    "_id": ""
+  },
+  {
+    "__type__": "cc.Node",
+    "_name": "bg",
+    "_objFlags": 0,
+    "_parent": {
+      "__id__": 1
+    },
+    "_children": [],
+    "_active": true,
+    "_components": [
+      {
+        "__id__": 3
+      },
+      {
+        "__id__": 5
+      }
+    ],
+    "_prefab": {
+      "__id__": 7
+    },
+    "_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
+    },
+    "_layer": 33554432,
+    "_euler": {
+      "__type__": "cc.Vec3",
+      "x": 0,
+      "y": 0,
+      "z": 0
+    },
+    "_id": ""
+  },
+  {
+    "__type__": "cc.UITransform",
+    "_name": "",
+    "_objFlags": 0,
+    "node": {
+      "__id__": 2
+    },
+    "_enabled": true,
+    "__prefab": {
+      "__id__": 4
+    },
+    "_contentSize": {
+      "__type__": "cc.Size",
+      "width": 720,
+      "height": 1600
+    },
+    "_anchorPoint": {
+      "__type__": "cc.Vec2",
+      "x": 0.5,
+      "y": 0.5
+    },
+    "_id": ""
+  },
+  {
+    "__type__": "cc.CompPrefabInfo",
+    "fileId": "85KiLTlllNhY3ZLKBh9Q7W"
+  },
+  {
+    "__type__": "cc.Sprite",
+    "_name": "",
+    "_objFlags": 0,
+    "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__": "3503080e-1a72-4ada-8e49-c9db4f0549aa@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": "e00MZghplI7qvaaTq44ExN"
+  },
+  {
+    "__type__": "cc.PrefabInfo",
+    "root": {
+      "__id__": 1
+    },
+    "asset": {
+      "__id__": 0
+    },
+    "fileId": "9aciP452dAcJimuaim/9ck"
+  },
+  {
+    "__type__": "cc.Node",
+    "_name": "bg2",
+    "_objFlags": 0,
+    "_parent": {
+      "__id__": 1
+    },
+    "_children": [],
+    "_active": true,
+    "_components": [
+      {
+        "__id__": 9
+      },
+      {
+        "__id__": 11
+      }
+    ],
+    "_prefab": {
+      "__id__": 13
+    },
+    "_lpos": {
+      "__type__": "cc.Vec3",
+      "x": 0,
+      "y": -117,
+      "z": 0
+    },
+    "_lrot": {
+      "__type__": "cc.Quat",
+      "x": 0,
+      "y": 0,
+      "z": 0,
+      "w": 1
+    },
+    "_lscale": {
+      "__type__": "cc.Vec3",
+      "x": 1,
+      "y": 1,
+      "z": 1
+    },
+    "_layer": 33554432,
+    "_euler": {
+      "__type__": "cc.Vec3",
+      "x": 0,
+      "y": 0,
+      "z": 0
+    },
+    "_id": ""
+  },
+  {
+    "__type__": "cc.UITransform",
+    "_name": "",
+    "_objFlags": 0,
+    "node": {
+      "__id__": 8
+    },
+    "_enabled": true,
+    "__prefab": {
+      "__id__": 10
+    },
+    "_contentSize": {
+      "__type__": "cc.Size",
+      "width": 695,
+      "height": 1020
+    },
+    "_anchorPoint": {
+      "__type__": "cc.Vec2",
+      "x": 0.5,
+      "y": 0.5
+    },
+    "_id": ""
+  },
+  {
+    "__type__": "cc.CompPrefabInfo",
+    "fileId": "f8S+FklphBMaw6ngPWtjrh"
+  },
+  {
+    "__type__": "cc.Sprite",
+    "_name": "",
+    "_objFlags": 0,
+    "node": {
+      "__id__": 8
+    },
+    "_enabled": true,
+    "__prefab": {
+      "__id__": 12
+    },
+    "_customMaterial": null,
+    "_srcBlendFactor": 2,
+    "_dstBlendFactor": 4,
+    "_color": {
+      "__type__": "cc.Color",
+      "r": 255,
+      "g": 255,
+      "b": 255,
+      "a": 255
+    },
+    "_spriteFrame": {
+      "__uuid__": "74c59dc9-5d5f-4d3e-bd82-b20f160aa205@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": "1ddfG5NglFVqGsIZem3IXh"
+  },
+  {
+    "__type__": "cc.PrefabInfo",
+    "root": {
+      "__id__": 1
+    },
+    "asset": {
+      "__id__": 0
+    },
+    "fileId": "a0DCnXNhRJ9KSFQ++UUW2r"
+  },
+  {
+    "__type__": "cc.Node",
+    "_name": "node_descid",
+    "_objFlags": 0,
+    "_parent": {
+      "__id__": 1
+    },
+    "_children": [],
+    "_active": true,
+    "_components": [
+      {
+        "__id__": 15
+      },
+      {
+        "__id__": 17
+      }
+    ],
+    "_prefab": {
+      "__id__": 19
+    },
+    "_lpos": {
+      "__type__": "cc.Vec3",
+      "x": 153,
+      "y": 302,
+      "z": 0
+    },
+    "_lrot": {
+      "__type__": "cc.Quat",
+      "x": 0,
+      "y": 0,
+      "z": 0,
+      "w": 1
+    },
+    "_lscale": {
+      "__type__": "cc.Vec3",
+      "x": 1,
+      "y": 1,
+      "z": 1
+    },
+    "_layer": 33554432,
+    "_euler": {
+      "__type__": "cc.Vec3",
+      "x": 0,
+      "y": 0,
+      "z": 0
+    },
+    "_id": ""
+  },
+  {
+    "__type__": "cc.UITransform",
+    "_name": "",
+    "_objFlags": 0,
+    "node": {
+      "__id__": 14
+    },
+    "_enabled": true,
+    "__prefab": {
+      "__id__": 16
+    },
+    "_contentSize": {
+      "__type__": "cc.Size",
+      "width": 325,
+      "height": 41
+    },
+    "_anchorPoint": {
+      "__type__": "cc.Vec2",
+      "x": 0.5,
+      "y": 0.5
+    },
+    "_id": ""
+  },
+  {
+    "__type__": "cc.CompPrefabInfo",
+    "fileId": "efgp0/POlEFKJGA+GPTXxC"
+  },
+  {
+    "__type__": "cc.Sprite",
+    "_name": "",
+    "_objFlags": 0,
+    "node": {
+      "__id__": 14
+    },
+    "_enabled": true,
+    "__prefab": {
+      "__id__": 18
+    },
+    "_customMaterial": null,
+    "_srcBlendFactor": 2,
+    "_dstBlendFactor": 4,
+    "_color": {
+      "__type__": "cc.Color",
+      "r": 255,
+      "g": 255,
+      "b": 255,
+      "a": 255
+    },
+    "_spriteFrame": {
+      "__uuid__": "c4264bcd-019e-4aef-ac97-a80bc44a3603@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": "3e6J2sBd9MVJ7BJUYtGS4P"
+  },
+  {
+    "__type__": "cc.PrefabInfo",
+    "root": {
+      "__id__": 1
+    },
+    "asset": {
+      "__id__": 0
+    },
+    "fileId": "12+K4enzJNooKI1pVpuEhQ"
+  },
+  {
+    "__type__": "cc.Node",
+    "_name": "descmoney",
+    "_objFlags": 0,
+    "_parent": {
+      "__id__": 1
+    },
+    "_children": [],
+    "_active": true,
+    "_components": [
+      {
+        "__id__": 21
+      },
+      {
+        "__id__": 23
+      }
+    ],
+    "_prefab": {
+      "__id__": 25
+    },
+    "_lpos": {
+      "__type__": "cc.Vec3",
+      "x": -91,
+      "y": -365,
+      "z": 0
+    },
+    "_lrot": {
+      "__type__": "cc.Quat",
+      "x": 0,
+      "y": 0,
+      "z": 0,
+      "w": 1
+    },
+    "_lscale": {
+      "__type__": "cc.Vec3",
+      "x": 1,
+      "y": 1,
+      "z": 1
+    },
+    "_layer": 33554432,
+    "_euler": {
+      "__type__": "cc.Vec3",
+      "x": 0,
+      "y": 0,
+      "z": 0
+    },
+    "_id": ""
+  },
+  {
+    "__type__": "cc.UITransform",
+    "_name": "",
+    "_objFlags": 0,
+    "node": {
+      "__id__": 20
+    },
+    "_enabled": true,
+    "__prefab": {
+      "__id__": 22
+    },
+    "_contentSize": {
+      "__type__": "cc.Size",
+      "width": 86,
+      "height": 55
+    },
+    "_anchorPoint": {
+      "__type__": "cc.Vec2",
+      "x": 0.5,
+      "y": 0.5
+    },
+    "_id": ""
+  },
+  {
+    "__type__": "cc.CompPrefabInfo",
+    "fileId": "02MbMIANBCbovOLaRnPM/Y"
+  },
+  {
+    "__type__": "cc.Sprite",
+    "_name": "",
+    "_objFlags": 0,
+    "node": {
+      "__id__": 20
+    },
+    "_enabled": true,
+    "__prefab": {
+      "__id__": 24
+    },
+    "_customMaterial": null,
+    "_srcBlendFactor": 2,
+    "_dstBlendFactor": 4,
+    "_color": {
+      "__type__": "cc.Color",
+      "r": 255,
+      "g": 255,
+      "b": 255,
+      "a": 255
+    },
+    "_spriteFrame": {
+      "__uuid__": "a1f7b04c-376b-4bb0-8c72-df5d3177abc4@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": "7ag6vm2KhDcrVbSGWA7/gg"
+  },
+  {
+    "__type__": "cc.PrefabInfo",
+    "root": {
+      "__id__": 1
+    },
+    "asset": {
+      "__id__": 0
+    },
+    "fileId": "40Hb7nyuNEGYZsnw8Tkc4I"
+  },
+  {
+    "__type__": "cc.Node",
+    "_name": "char",
+    "_objFlags": 0,
+    "_parent": {
+      "__id__": 1
+    },
+    "_children": [],
+    "_active": true,
+    "_components": [
+      {
+        "__id__": 27
+      },
+      {
+        "__id__": 29
+      }
+    ],
+    "_prefab": {
+      "__id__": 31
+    },
+    "_lpos": {
+      "__type__": "cc.Vec3",
+      "x": -186,
+      "y": 527,
+      "z": 0
+    },
+    "_lrot": {
+      "__type__": "cc.Quat",
+      "x": 0,
+      "y": 0,
+      "z": 0,
+      "w": 1
+    },
+    "_lscale": {
+      "__type__": "cc.Vec3",
+      "x": 1,
+      "y": 1,
+      "z": 1
+    },
+    "_layer": 33554432,
+    "_euler": {
+      "__type__": "cc.Vec3",
+      "x": 0,
+      "y": 0,
+      "z": 0
+    },
+    "_id": ""
+  },
+  {
+    "__type__": "cc.UITransform",
+    "_name": "",
+    "_objFlags": 0,
+    "node": {
+      "__id__": 26
+    },
+    "_enabled": true,
+    "__prefab": {
+      "__id__": 28
+    },
+    "_contentSize": {
+      "__type__": "cc.Size",
+      "width": 309,
+      "height": 332
+    },
+    "_anchorPoint": {
+      "__type__": "cc.Vec2",
+      "x": 0.5,
+      "y": 0.5
+    },
+    "_id": ""
+  },
+  {
+    "__type__": "cc.CompPrefabInfo",
+    "fileId": "92+fMiLB5AorQyt15vql57"
+  },
+  {
+    "__type__": "cc.Sprite",
+    "_name": "",
+    "_objFlags": 0,
+    "node": {
+      "__id__": 26
+    },
+    "_enabled": true,
+    "__prefab": {
+      "__id__": 30
+    },
+    "_customMaterial": null,
+    "_srcBlendFactor": 2,
+    "_dstBlendFactor": 4,
+    "_color": {
+      "__type__": "cc.Color",
+      "r": 255,
+      "g": 255,
+      "b": 255,
+      "a": 255
+    },
+    "_spriteFrame": {
+      "__uuid__": "33947bb2-ae10-43c4-9bd3-202037bce5ba@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": "acZyl/CXZAc6C49NO/zwZQ"
+  },
+  {
+    "__type__": "cc.PrefabInfo",
+    "root": {
+      "__id__": 1
+    },
+    "asset": {
+      "__id__": 0
+    },
+    "fileId": "0aj2a3LBJH1LU70BE/5pvx"
+  },
+  {
+    "__type__": "cc.Node",
+    "_name": "desc1",
+    "_objFlags": 0,
+    "_parent": {
+      "__id__": 1
+    },
+    "_children": [],
+    "_active": true,
+    "_components": [
+      {
+        "__id__": 33
+      },
+      {
+        "__id__": 35
+      }
+    ],
+    "_prefab": {
+      "__id__": 37
+    },
+    "_lpos": {
+      "__type__": "cc.Vec3",
+      "x": 173,
+      "y": 445,
+      "z": 0
+    },
+    "_lrot": {
+      "__type__": "cc.Quat",
+      "x": 0,
+      "y": 0,
+      "z": 0,
+      "w": 1
+    },
+    "_lscale": {
+      "__type__": "cc.Vec3",
+      "x": 1,
+      "y": 1,
+      "z": 1
+    },
+    "_layer": 33554432,
+    "_euler": {
+      "__type__": "cc.Vec3",
+      "x": 0,
+      "y": 0,
+      "z": 0
+    },
+    "_id": ""
+  },
+  {
+    "__type__": "cc.UITransform",
+    "_name": "",
+    "_objFlags": 0,
+    "node": {
+      "__id__": 32
+    },
+    "_enabled": true,
+    "__prefab": {
+      "__id__": 34
+    },
+    "_contentSize": {
+      "__type__": "cc.Size",
+      "width": 349,
+      "height": 106
+    },
+    "_anchorPoint": {
+      "__type__": "cc.Vec2",
+      "x": 0.5,
+      "y": 0.5
+    },
+    "_id": ""
+  },
+  {
+    "__type__": "cc.CompPrefabInfo",
+    "fileId": "fdQCyXVTpDwZgyBAc88Tit"
+  },
+  {
+    "__type__": "cc.Sprite",
+    "_name": "",
+    "_objFlags": 0,
+    "node": {
+      "__id__": 32
+    },
+    "_enabled": true,
+    "__prefab": {
+      "__id__": 36
+    },
+    "_customMaterial": null,
+    "_srcBlendFactor": 2,
+    "_dstBlendFactor": 4,
+    "_color": {
+      "__type__": "cc.Color",
+      "r": 255,
+      "g": 255,
+      "b": 255,
+      "a": 255
+    },
+    "_spriteFrame": {
+      "__uuid__": "dc2b8f70-bc8d-4cd8-82da-13da6ff264ed@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": "8avFnUXEpLNIOWygk7AL+v"
+  },
+  {
+    "__type__": "cc.PrefabInfo",
+    "root": {
+      "__id__": 1
+    },
+    "asset": {
+      "__id__": 0
+    },
+    "fileId": "9aEuMqjbNPc4P7m/FvJ4Kc"
+  },
+  {
+    "__type__": "cc.Node",
+    "_name": "desc2",
+    "_objFlags": 0,
+    "_parent": {
+      "__id__": 1
+    },
+    "_children": [],
+    "_active": true,
+    "_components": [
+      {
+        "__id__": 39
+      },
+      {
+        "__id__": 41
+      }
+    ],
+    "_prefab": {
+      "__id__": 43
+    },
+    "_lpos": {
+      "__type__": "cc.Vec3",
+      "x": 247,
+      "y": 234,
+      "z": 0
+    },
+    "_lrot": {
+      "__type__": "cc.Quat",
+      "x": 0,
+      "y": 0,
+      "z": 0,
+      "w": 1
+    },
+    "_lscale": {
+      "__type__": "cc.Vec3",
+      "x": 1,
+      "y": 1,
+      "z": 1
+    },
+    "_layer": 33554432,
+    "_euler": {
+      "__type__": "cc.Vec3",
+      "x": 0,
+      "y": 0,
+      "z": 0
+    },
+    "_id": ""
+  },
+  {
+    "__type__": "cc.UITransform",
+    "_name": "",
+    "_objFlags": 0,
+    "node": {
+      "__id__": 38
+    },
+    "_enabled": true,
+    "__prefab": {
+      "__id__": 40
+    },
+    "_contentSize": {
+      "__type__": "cc.Size",
+      "width": 151,
+      "height": 37
+    },
+    "_anchorPoint": {
+      "__type__": "cc.Vec2",
+      "x": 0.5,
+      "y": 0.5
+    },
+    "_id": ""
+  },
+  {
+    "__type__": "cc.CompPrefabInfo",
+    "fileId": "2f0IyfRxNNipi5HcHFEn0o"
+  },
+  {
+    "__type__": "cc.Sprite",
+    "_name": "",
+    "_objFlags": 0,
+    "node": {
+      "__id__": 38
+    },
+    "_enabled": true,
+    "__prefab": {
+      "__id__": 42
+    },
+    "_customMaterial": null,
+    "_srcBlendFactor": 2,
+    "_dstBlendFactor": 4,
+    "_color": {
+      "__type__": "cc.Color",
+      "r": 255,
+      "g": 255,
+      "b": 255,
+      "a": 255
+    },
+    "_spriteFrame": {
+      "__uuid__": "7816c9e8-e26b-44a3-924f-7ec23e71ec65@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": "c3wx7Q9ONGKLtDqmSEObLg"
+  },
+  {
+    "__type__": "cc.PrefabInfo",
+    "root": {
+      "__id__": 1
+    },
+    "asset": {
+      "__id__": 0
+    },
+    "fileId": "43+xF2aFBF6omDNUqKOsh1"
+  },
+  {
+    "__type__": "cc.Node",
+    "_name": "node_buy",
+    "_objFlags": 0,
+    "_parent": {
+      "__id__": 1
+    },
+    "_children": [],
+    "_active": true,
+    "_components": [
+      {
+        "__id__": 45
+      },
+      {
+        "__id__": 47
+      }
+    ],
+    "_prefab": {
+      "__id__": 49
+    },
+    "_lpos": {
+      "__type__": "cc.Vec3",
+      "x": 0,
+      "y": -483,
+      "z": 0
+    },
+    "_lrot": {
+      "__type__": "cc.Quat",
+      "x": 0,
+      "y": 0,
+      "z": 0,
+      "w": 1
+    },
+    "_lscale": {
+      "__type__": "cc.Vec3",
+      "x": 1,
+      "y": 1,
+      "z": 1
+    },
+    "_layer": 33554432,
+    "_euler": {
+      "__type__": "cc.Vec3",
+      "x": 0,
+      "y": 0,
+      "z": 0
+    },
+    "_id": ""
+  },
+  {
+    "__type__": "cc.UITransform",
+    "_name": "",
+    "_objFlags": 0,
+    "node": {
+      "__id__": 44
+    },
+    "_enabled": true,
+    "__prefab": {
+      "__id__": 46
+    },
+    "_contentSize": {
+      "__type__": "cc.Size",
+      "width": 631,
+      "height": 103
+    },
+    "_anchorPoint": {
+      "__type__": "cc.Vec2",
+      "x": 0.5,
+      "y": 0.5
+    },
+    "_id": ""
+  },
+  {
+    "__type__": "cc.CompPrefabInfo",
+    "fileId": "f8aWKr0pNC35M/nUxvlh8B"
+  },
+  {
+    "__type__": "cc.Sprite",
+    "_name": "",
+    "_objFlags": 0,
+    "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__": "bbf258c4-9da9-49ec-a06b-1c4d4773cb3f@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": "deG/nU6pJOhIAVJzTtHH0H"
+  },
+  {
+    "__type__": "cc.PrefabInfo",
+    "root": {
+      "__id__": 1
+    },
+    "asset": {
+      "__id__": 0
+    },
+    "fileId": "894SjBwJ9Me6a8cefPZg3u"
+  },
+  {
+    "__type__": "cc.Node",
+    "_name": "gene_items",
+    "_objFlags": 0,
+    "_parent": {
+      "__id__": 1
+    },
+    "_children": [],
+    "_active": true,
+    "_components": [
+      {
+        "__id__": 51
+      },
+      {
+        "__id__": 53
+      },
+      {
+        "__id__": 55
+      }
+    ],
+    "_prefab": {
+      "__id__": 57
+    },
+    "_lpos": {
+      "__type__": "cc.Vec3",
+      "x": 0,
+      "y": -41,
+      "z": 0
+    },
+    "_lrot": {
+      "__type__": "cc.Quat",
+      "x": 0,
+      "y": 0,
+      "z": 0,
+      "w": 1
+    },
+    "_lscale": {
+      "__type__": "cc.Vec3",
+      "x": 1,
+      "y": 1,
+      "z": 1
+    },
+    "_layer": 33554432,
+    "_euler": {
+      "__type__": "cc.Vec3",
+      "x": 0,
+      "y": 0,
+      "z": 0
+    },
+    "_id": ""
+  },
+  {
+    "__type__": "20142MTDLxGvK3ShxW64SIh",
+    "_name": "",
+    "_objFlags": 0,
+    "node": {
+      "__id__": 50
+    },
+    "_enabled": true,
+    "__prefab": {
+      "__id__": 52
+    },
+    "pre_item": {
+      "__uuid__": "d8a4c3c2-6e13-404d-8d13-a5ba4f860596",
+      "__expectedType__": "cc.Prefab"
+    },
+    "first_add_num": 1,
+    "every_frame_add": 1,
+    "horizontal_num": 3,
+    "auto_align_child": true,
+    "change_size_mode": 2,
+    "item_have_script": true,
+    "left_to_right": false,
+    "split_child": false,
+    "_id": ""
+  },
+  {
+    "__type__": "cc.CompPrefabInfo",
+    "fileId": "83ahWO5GZIVKTKQjxD+fKk"
+  },
+  {
+    "__type__": "cc.UITransform",
+    "_name": "",
+    "_objFlags": 0,
+    "node": {
+      "__id__": 50
+    },
+    "_enabled": true,
+    "__prefab": {
+      "__id__": 54
+    },
+    "_contentSize": {
+      "__type__": "cc.Size",
+      "width": 660,
+      "height": 220
+    },
+    "_anchorPoint": {
+      "__type__": "cc.Vec2",
+      "x": 0.5,
+      "y": 0.5
+    },
+    "_id": ""
+  },
+  {
+    "__type__": "cc.CompPrefabInfo",
+    "fileId": "eekTaejY5DV6WS4Nblq2MN"
+  },
+  {
+    "__type__": "cc.Layout",
+    "_name": "",
+    "_objFlags": 0,
+    "node": {
+      "__id__": 50
+    },
+    "_enabled": true,
+    "__prefab": {
+      "__id__": 56
+    },
+    "_resizeMode": 1,
+    "_layoutType": 3,
+    "_cellSize": {
+      "__type__": "cc.Size",
+      "width": 40,
+      "height": 40
+    },
+    "_startAxis": 0,
+    "_paddingLeft": 0,
+    "_paddingRight": 0,
+    "_paddingTop": 0,
+    "_paddingBottom": 0,
+    "_spacingX": 0,
+    "_spacingY": 0,
+    "_verticalDirection": 1,
+    "_horizontalDirection": 1,
+    "_constraint": 0,
+    "_constraintNum": 2,
+    "_affectedByScale": false,
+    "_isAlign": false,
+    "_id": ""
+  },
+  {
+    "__type__": "cc.CompPrefabInfo",
+    "fileId": "8eDUWqk65Lm7ur7y/jQrBj"
+  },
+  {
+    "__type__": "cc.PrefabInfo",
+    "root": {
+      "__id__": 1
+    },
+    "asset": {
+      "__id__": 0
+    },
+    "fileId": "53Fq9wAuBEN5FRVBkSj/pl"
+  },
+  {
+    "__type__": "cc.Node",
+    "_name": "lb_money",
+    "_objFlags": 0,
+    "_parent": {
+      "__id__": 1
+    },
+    "_children": [],
+    "_active": true,
+    "_components": [
+      {
+        "__id__": 59
+      },
+      {
+        "__id__": 61
+      }
+    ],
+    "_prefab": {
+      "__id__": 63
+    },
+    "_lpos": {
+      "__type__": "cc.Vec3",
+      "x": -29,
+      "y": -330,
+      "z": 0
+    },
+    "_lrot": {
+      "__type__": "cc.Quat",
+      "x": 0,
+      "y": 0,
+      "z": 0,
+      "w": 1
+    },
+    "_lscale": {
+      "__type__": "cc.Vec3",
+      "x": 1,
+      "y": 1,
+      "z": 1
+    },
+    "_layer": 33554432,
+    "_euler": {
+      "__type__": "cc.Vec3",
+      "x": 0,
+      "y": 0,
+      "z": 0
+    },
+    "_id": ""
+  },
+  {
+    "__type__": "cc.UITransform",
+    "_name": "",
+    "_objFlags": 0,
+    "node": {
+      "__id__": 58
+    },
+    "_enabled": true,
+    "__prefab": {
+      "__id__": 60
+    },
+    "_contentSize": {
+      "__type__": "cc.Size",
+      "width": 0,
+      "height": 40
+    },
+    "_anchorPoint": {
+      "__type__": "cc.Vec2",
+      "x": 0,
+      "y": 0.5
+    },
+    "_id": ""
+  },
+  {
+    "__type__": "cc.CompPrefabInfo",
+    "fileId": "b0acT1GMRLfrvHomBetrym"
+  },
+  {
+    "__type__": "cc.Label",
+    "_name": "",
+    "_objFlags": 0,
+    "node": {
+      "__id__": 58
+    },
+    "_enabled": true,
+    "__prefab": {
+      "__id__": 62
+    },
+    "_customMaterial": null,
+    "_srcBlendFactor": 2,
+    "_dstBlendFactor": 4,
+    "_color": {
+      "__type__": "cc.Color",
+      "r": 255,
+      "g": 255,
+      "b": 255,
+      "a": 255
+    },
+    "_string": "",
+    "_horizontalAlign": 1,
+    "_verticalAlign": 1,
+    "_actualFontSize": 10,
+    "_fontSize": 10,
+    "_fontFamily": "Arial",
+    "_lineHeight": 40,
+    "_overflow": 0,
+    "_enableWrapText": true,
+    "_font": {
+      "__uuid__": "0267c2ba-5242-48fa-9cf6-7b2a55ac0ea2",
+      "__expectedType__": "cc.BitmapFont"
+    },
+    "_isSystemFontUsed": false,
+    "_spacingX": 0,
+    "_isItalic": false,
+    "_isBold": false,
+    "_isUnderline": false,
+    "_underlineHeight": 2,
+    "_cacheMode": 0,
+    "_id": ""
+  },
+  {
+    "__type__": "cc.CompPrefabInfo",
+    "fileId": "8fI+o7FcNK3a010BnkemD8"
+  },
+  {
+    "__type__": "cc.PrefabInfo",
+    "root": {
+      "__id__": 1
+    },
+    "asset": {
+      "__id__": 0
+    },
+    "fileId": "aeQqqWWXRLSYi95mGCrBH9"
+  },
+  {
+    "__type__": "cc.Node",
+    "_name": "edit_id",
+    "_objFlags": 0,
+    "_parent": {
+      "__id__": 1
+    },
+    "_children": [
+      {
+        "__id__": 65
+      },
+      {
+        "__id__": 71
+      }
+    ],
+    "_active": true,
+    "_components": [
+      {
+        "__id__": 77
+      },
+      {
+        "__id__": 79
+      },
+      {
+        "__id__": 82
+      }
+    ],
+    "_prefab": {
+      "__id__": 84
+    },
+    "_lpos": {
+      "__type__": "cc.Vec3",
+      "x": 64,
+      "y": 307,
+      "z": 0
+    },
+    "_lrot": {
+      "__type__": "cc.Quat",
+      "x": 0,
+      "y": 0,
+      "z": 0,
+      "w": 1
+    },
+    "_lscale": {
+      "__type__": "cc.Vec3",
+      "x": 1,
+      "y": 1,
+      "z": 1
+    },
+    "_layer": 33554432,
+    "_euler": {
+      "__type__": "cc.Vec3",
+      "x": 0,
+      "y": 0,
+      "z": 0
+    },
+    "_id": ""
+  },
+  {
+    "__type__": "cc.Node",
+    "_name": "TEXT_LABEL",
+    "_objFlags": 0,
+    "_parent": {
+      "__id__": 64
+    },
+    "_children": [],
+    "_active": false,
+    "_components": [
+      {
+        "__id__": 66
+      },
+      {
+        "__id__": 68
+      }
+    ],
+    "_prefab": {
+      "__id__": 70
+    },
+    "_lpos": {
+      "__type__": "cc.Vec3",
+      "x": -248,
+      "y": 30,
+      "z": 0
+    },
+    "_lrot": {
+      "__type__": "cc.Quat",
+      "x": 0,
+      "y": 0,
+      "z": 0,
+      "w": 1
+    },
+    "_lscale": {
+      "__type__": "cc.Vec3",
+      "x": 1,
+      "y": 1,
+      "z": 1
+    },
+    "_layer": 33554432,
+    "_euler": {
+      "__type__": "cc.Vec3",
+      "x": 0,
+      "y": 0,
+      "z": 0
+    },
+    "_id": ""
+  },
+  {
+    "__type__": "cc.UITransform",
+    "_name": "",
+    "_objFlags": 0,
+    "node": {
+      "__id__": 65
+    },
+    "_enabled": true,
+    "__prefab": {
+      "__id__": 67
+    },
+    "_contentSize": {
+      "__type__": "cc.Size",
+      "width": 498,
+      "height": 60
+    },
+    "_anchorPoint": {
+      "__type__": "cc.Vec2",
+      "x": 0,
+      "y": 1
+    },
+    "_id": ""
+  },
+  {
+    "__type__": "cc.CompPrefabInfo",
+    "fileId": "e6V5aQhGNFLpdjnRkkJ7Ed"
+  },
+  {
+    "__type__": "cc.Label",
+    "_name": "",
+    "_objFlags": 0,
+    "node": {
+      "__id__": 65
+    },
+    "_enabled": true,
+    "__prefab": {
+      "__id__": 69
+    },
+    "_customMaterial": null,
+    "_srcBlendFactor": 2,
+    "_dstBlendFactor": 4,
+    "_color": {
+      "__type__": "cc.Color",
+      "r": 63,
+      "g": 63,
+      "b": 63,
+      "a": 255
+    },
+    "_string": "",
+    "_horizontalAlign": 2,
+    "_verticalAlign": 1,
+    "_actualFontSize": 40,
+    "_fontSize": 40,
+    "_fontFamily": "Arial",
+    "_lineHeight": 40,
+    "_overflow": 1,
+    "_enableWrapText": false,
+    "_font": null,
+    "_isSystemFontUsed": true,
+    "_spacingX": 0,
+    "_isItalic": false,
+    "_isBold": false,
+    "_isUnderline": false,
+    "_underlineHeight": 2,
+    "_cacheMode": 0,
+    "_id": ""
+  },
+  {
+    "__type__": "cc.CompPrefabInfo",
+    "fileId": "e4MNrq7ztG04snOXujl1Nb"
+  },
+  {
+    "__type__": "cc.PrefabInfo",
+    "root": {
+      "__id__": 1
+    },
+    "asset": {
+      "__id__": 0
+    },
+    "fileId": "6afmCbjqhCb7nXOAvBtKBe"
+  },
+  {
+    "__type__": "cc.Node",
+    "_name": "PLACEHOLDER_LABEL",
+    "_objFlags": 0,
+    "_parent": {
+      "__id__": 64
+    },
+    "_children": [],
+    "_active": true,
+    "_components": [
+      {
+        "__id__": 72
+      },
+      {
+        "__id__": 74
+      }
+    ],
+    "_prefab": {
+      "__id__": 76
+    },
+    "_lpos": {
+      "__type__": "cc.Vec3",
+      "x": -248,
+      "y": 30,
+      "z": 0
+    },
+    "_lrot": {
+      "__type__": "cc.Quat",
+      "x": 0,
+      "y": 0,
+      "z": 0,
+      "w": 1
+    },
+    "_lscale": {
+      "__type__": "cc.Vec3",
+      "x": 1,
+      "y": 1,
+      "z": 1
+    },
+    "_layer": 33554432,
+    "_euler": {
+      "__type__": "cc.Vec3",
+      "x": 0,
+      "y": 0,
+      "z": 0
+    },
+    "_id": ""
+  },
+  {
+    "__type__": "cc.UITransform",
+    "_name": "",
+    "_objFlags": 0,
+    "node": {
+      "__id__": 71
+    },
+    "_enabled": true,
+    "__prefab": {
+      "__id__": 73
+    },
+    "_contentSize": {
+      "__type__": "cc.Size",
+      "width": 498,
+      "height": 60
+    },
+    "_anchorPoint": {
+      "__type__": "cc.Vec2",
+      "x": 0,
+      "y": 1
+    },
+    "_id": ""
+  },
+  {
+    "__type__": "cc.CompPrefabInfo",
+    "fileId": "3eL4Sorg5AnKqO4MQ5xkUh"
+  },
+  {
+    "__type__": "cc.Label",
+    "_name": "",
+    "_objFlags": 0,
+    "node": {
+      "__id__": 71
+    },
+    "_enabled": true,
+    "__prefab": {
+      "__id__": 75
+    },
+    "_customMaterial": null,
+    "_srcBlendFactor": 2,
+    "_dstBlendFactor": 4,
+    "_color": {
+      "__type__": "cc.Color",
+      "r": 187,
+      "g": 187,
+      "b": 187,
+      "a": 255
+    },
+    "_string": "",
+    "_horizontalAlign": 0,
+    "_verticalAlign": 1,
+    "_actualFontSize": 20,
+    "_fontSize": 20,
+    "_fontFamily": "Arial",
+    "_lineHeight": 60,
+    "_overflow": 1,
+    "_enableWrapText": false,
+    "_font": null,
+    "_isSystemFontUsed": true,
+    "_spacingX": 0,
+    "_isItalic": false,
+    "_isBold": false,
+    "_isUnderline": false,
+    "_underlineHeight": 2,
+    "_cacheMode": 0,
+    "_id": ""
+  },
+  {
+    "__type__": "cc.CompPrefabInfo",
+    "fileId": "d2fZBKSH5PPJ6yX63ChXGR"
+  },
+  {
+    "__type__": "cc.PrefabInfo",
+    "root": {
+      "__id__": 1
+    },
+    "asset": {
+      "__id__": 0
+    },
+    "fileId": "bdYXGkzpBK+LjyWEyPPuf7"
+  },
+  {
+    "__type__": "cc.UITransform",
+    "_name": "",
+    "_objFlags": 0,
+    "node": {
+      "__id__": 64
+    },
+    "_enabled": true,
+    "__prefab": {
+      "__id__": 78
+    },
+    "_contentSize": {
+      "__type__": "cc.Size",
+      "width": 500,
+      "height": 60
+    },
+    "_anchorPoint": {
+      "__type__": "cc.Vec2",
+      "x": 0.5,
+      "y": 0.5
+    },
+    "_id": ""
+  },
+  {
+    "__type__": "cc.CompPrefabInfo",
+    "fileId": "73h/h1i2ZDQ64LYTj753eM"
+  },
+  {
+    "__type__": "cc.EditBox",
+    "_name": "",
+    "_objFlags": 0,
+    "node": {
+      "__id__": 64
+    },
+    "_enabled": true,
+    "__prefab": {
+      "__id__": 80
+    },
+    "editingDidBegan": [],
+    "textChanged": [
+      {
+        "__id__": 81
+      }
+    ],
+    "editingDidEnded": [],
+    "editingReturn": [],
+    "_textLabel": {
+      "__id__": 68
+    },
+    "_placeholderLabel": {
+      "__id__": 74
+    },
+    "_returnType": 0,
+    "_string": "",
+    "_tabIndex": 0,
+    "_backgroundImage": null,
+    "_inputFlag": 5,
+    "_inputMode": 2,
+    "_maxLength": 10,
+    "_id": ""
+  },
+  {
+    "__type__": "cc.CompPrefabInfo",
+    "fileId": "dbVi3p58VAk7dTl9Y3e+W4"
+  },
+  {
+    "__type__": "cc.ClickEvent",
+    "target": {
+      "__id__": 1
+    },
+    "component": "",
+    "_componentId": "6977dPN6QBKVKaf9Zi5bfza",
+    "handler": "onEditChange",
+    "customEventData": ""
+  },
+  {
+    "__type__": "cc.Sprite",
+    "_name": "",
+    "_objFlags": 0,
+    "node": {
+      "__id__": 64
+    },
+    "_enabled": true,
+    "__prefab": {
+      "__id__": 83
+    },
+    "_customMaterial": null,
+    "_srcBlendFactor": 2,
+    "_dstBlendFactor": 4,
+    "_color": {
+      "__type__": "cc.Color",
+      "r": 255,
+      "g": 255,
+      "b": 255,
+      "a": 255
+    },
+    "_spriteFrame": null,
+    "_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": "3coQ1nv+FO+KCVzNGXCR9H"
+  },
+  {
+    "__type__": "cc.PrefabInfo",
+    "root": {
+      "__id__": 1
+    },
+    "asset": {
+      "__id__": 0
+    },
+    "fileId": "60Wi0BlLdO7YakE4/zigIU"
+  },
+  {
+    "__type__": "6977dPN6QBKVKaf9Zi5bfza",
+    "_name": "",
+    "_objFlags": 0,
+    "node": {
+      "__id__": 1
+    },
+    "_enabled": true,
+    "__prefab": {
+      "__id__": 86
+    },
+    "_id": ""
+  },
+  {
+    "__type__": "cc.CompPrefabInfo",
+    "fileId": "11OTZnl0ZJm6/UVmGwP1C7"
+  },
+  {
+    "__type__": "cc.UITransform",
+    "_name": "",
+    "_objFlags": 0,
+    "node": {
+      "__id__": 1
+    },
+    "_enabled": true,
+    "__prefab": {
+      "__id__": 88
+    },
+    "_contentSize": {
+      "__type__": "cc.Size",
+      "width": 0,
+      "height": 0
+    },
+    "_anchorPoint": {
+      "__type__": "cc.Vec2",
+      "x": 0.5,
+      "y": 0.5
+    },
+    "_id": ""
+  },
+  {
+    "__type__": "cc.CompPrefabInfo",
+    "fileId": "5eLetMiFpG8K4eJ5b5H1oO"
+  },
+  {
+    "__type__": "cc.PrefabInfo",
+    "root": {
+      "__id__": 1
+    },
+    "asset": {
+      "__id__": 0
+    },
+    "fileId": "87SmZPCItA8qVwqcqb3q6z"
+  }
+]

+ 13 - 0
assets/pay/prefab/pay.prefab.meta

@@ -0,0 +1,13 @@
+{
+  "ver": "1.1.40",
+  "importer": "prefab",
+  "imported": true,
+  "uuid": "52c65eb4-b281-43de-a5c5-2b74ad3d0228",
+  "files": [
+    ".json"
+  ],
+  "subMetas": {},
+  "userData": {
+    "syncNodeName": "pay"
+  }
+}

+ 12 - 0
assets/pay/script.meta

@@ -0,0 +1,12 @@
+{
+  "ver": "1.1.0",
+  "importer": "directory",
+  "imported": true,
+  "uuid": "7d7ff5bb-9bed-4978-98bc-14be1e897304",
+  "files": [],
+  "subMetas": {},
+  "userData": {
+    "compressionType": {},
+    "isRemoteBundle": {}
+  }
+}

+ 30 - 0
assets/pay/script/ItemPay.ts

@@ -0,0 +1,30 @@
+
+import { _decorator, Component, game, Label, Node, Sprite } from 'cc';
+import { UtilsPanel } from '../../scene/script/UtilsPanel';
+import { ViewItemPro } from '../../scene/script/components/ViewItemPro';
+import { Pay } from './Pay';
+const { ccclass } = _decorator;
+
+@ccclass('ItemPay')
+export class ItemPay extends ViewItemPro {
+
+    private sp_icon: Sprite = null;
+	private lb_count: Label = null;
+
+    private data = null;
+	protected onLoad(){
+		UtilsPanel.getAllNeedCom(this, this.node, false);
+        UtilsPanel.addBtnEvent(this.node, this.onClick, this);
+	}
+
+    public init(data: any, index?: number, p?: any): void {
+        if(index > 5)index = 5;
+        this.data = index;
+        this.lb_count.string = "" + index * 1000;
+        UtilsPanel.setItemIcon(Pay.bundle_name, "texture/2"+index+"/spriteFrame", this.sp_icon);
+    }
+
+    public onClick(){
+        game.emit("select_item", this.data);
+    }
+}

+ 9 - 0
assets/pay/script/ItemPay.ts.meta

@@ -0,0 +1,9 @@
+{
+  "ver": "4.0.23",
+  "importer": "typescript",
+  "imported": true,
+  "uuid": "d91d66bb-1445-44b2-9fe9-b82574396b4b",
+  "files": [],
+  "subMetas": {},
+  "userData": {}
+}

+ 35 - 0
assets/pay/script/Pay.ts

@@ -0,0 +1,35 @@
+
+import { _decorator, Component, EditBox, game, instantiate, Label, Node, Prefab } from 'cc';
+import { UtilsPanel } from '../../scene/script/UtilsPanel';
+import { Generate } from '../../scene/script/components/Generate';
+const { ccclass, property } = _decorator;
+
+@ccclass('Pay')
+export class Pay extends Component {
+    public static bundle_name = "pay";
+
+    private node_descid: Node = null;
+	private node_buy: Node = null;
+	private gene_items: Generate = null;
+	private lb_money: Label = null;
+	private edit_id: EditBox = null;
+    
+	protected onLoad(){
+		UtilsPanel.getAllNeedCom(this, this.node, false);
+        UtilsPanel.addBtnEvent(this.node_buy, this.onBuy, this);
+        //@ts-ignore
+        game.on("select_item", this.onSelect, this);
+	}
+    protected start(): void {
+        this.gene_items.initData(new Array(6));
+    }
+    private onEditChange(){
+        this.node_descid.active = this.edit_id.string.length == 0;
+    }
+    private onSelect(index:number){
+        this.lb_money.string = index * 1000 + "";
+    }
+    private onBuy(){
+
+    }
+}

+ 9 - 0
assets/pay/script/Pay.ts.meta

@@ -0,0 +1,9 @@
+{
+  "ver": "4.0.23",
+  "importer": "typescript",
+  "imported": true,
+  "uuid": "6977d3cd-e900-4a54-a69f-f598b96dfcda",
+  "files": [],
+  "subMetas": {},
+  "userData": {}
+}

+ 12 - 0
assets/pay/texture.meta

@@ -0,0 +1,12 @@
+{
+  "ver": "1.1.0",
+  "importer": "directory",
+  "imported": true,
+  "uuid": "26c7e78b-8e2a-4bac-a16a-cf22cdf2017e",
+  "files": [],
+  "subMetas": {},
+  "userData": {
+    "compressionType": {},
+    "isRemoteBundle": {}
+  }
+}

+ 0 - 0
h5充值界面2/钻石道具/20.png → assets/pay/texture/20.png


+ 134 - 0
assets/pay/texture/20.png.meta

@@ -0,0 +1,134 @@
+{
+  "ver": "1.0.25",
+  "importer": "image",
+  "imported": true,
+  "uuid": "5081d0ba-7b32-44c4-b9b2-afb7c82b4d03",
+  "files": [
+    ".json",
+    ".png"
+  ],
+  "subMetas": {
+    "6c48a": {
+      "importer": "texture",
+      "uuid": "5081d0ba-7b32-44c4-b9b2-afb7c82b4d03@6c48a",
+      "displayName": "20",
+      "id": "6c48a",
+      "name": "texture",
+      "userData": {
+        "wrapModeS": "clamp-to-edge",
+        "wrapModeT": "clamp-to-edge",
+        "imageUuidOrDatabaseUri": "5081d0ba-7b32-44c4-b9b2-afb7c82b4d03",
+        "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": "5081d0ba-7b32-44c4-b9b2-afb7c82b4d03@f9941",
+      "displayName": "20",
+      "id": "f9941",
+      "name": "spriteFrame",
+      "userData": {
+        "trimType": "auto",
+        "trimThreshold": 1,
+        "rotated": false,
+        "offsetX": 0,
+        "offsetY": 0,
+        "trimX": 0,
+        "trimY": 0,
+        "width": 63,
+        "height": 50,
+        "rawWidth": 63,
+        "rawHeight": 50,
+        "borderTop": 0,
+        "borderBottom": 0,
+        "borderLeft": 0,
+        "borderRight": 0,
+        "packable": true,
+        "pixelsToUnit": 100,
+        "pivotX": 0.5,
+        "pivotY": 0.5,
+        "meshType": 0,
+        "vertices": {
+          "rawPosition": [
+            -31.5,
+            -25,
+            0,
+            31.5,
+            -25,
+            0,
+            -31.5,
+            25,
+            0,
+            31.5,
+            25,
+            0
+          ],
+          "indexes": [
+            0,
+            1,
+            2,
+            2,
+            1,
+            3
+          ],
+          "uv": [
+            0,
+            50,
+            63,
+            50,
+            0,
+            0,
+            63,
+            0
+          ],
+          "nuv": [
+            0,
+            0,
+            1,
+            0,
+            0,
+            1,
+            1,
+            1
+          ],
+          "minPos": [
+            -31.5,
+            -25,
+            0
+          ],
+          "maxPos": [
+            31.5,
+            25,
+            0
+          ]
+        },
+        "isUuid": true,
+        "imageUuidOrDatabaseUri": "5081d0ba-7b32-44c4-b9b2-afb7c82b4d03@6c48a",
+        "atlasUuid": ""
+      },
+      "ver": "1.0.11",
+      "imported": true,
+      "files": [
+        ".json"
+      ],
+      "subMetas": {}
+    }
+  },
+  "userData": {
+    "type": "sprite-frame",
+    "fixAlphaTransparencyArtifacts": true,
+    "hasAlpha": true,
+    "redirect": "5081d0ba-7b32-44c4-b9b2-afb7c82b4d03@f9941"
+  }
+}

+ 0 - 0
h5充值界面2/钻石道具/21.png → assets/pay/texture/21.png


+ 134 - 0
assets/pay/texture/21.png.meta

@@ -0,0 +1,134 @@
+{
+  "ver": "1.0.25",
+  "importer": "image",
+  "imported": true,
+  "uuid": "83ecadd1-ffc6-4844-8421-b674f9864fc2",
+  "files": [
+    ".json",
+    ".png"
+  ],
+  "subMetas": {
+    "6c48a": {
+      "importer": "texture",
+      "uuid": "83ecadd1-ffc6-4844-8421-b674f9864fc2@6c48a",
+      "displayName": "21",
+      "id": "6c48a",
+      "name": "texture",
+      "userData": {
+        "wrapModeS": "clamp-to-edge",
+        "wrapModeT": "clamp-to-edge",
+        "imageUuidOrDatabaseUri": "83ecadd1-ffc6-4844-8421-b674f9864fc2",
+        "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": "83ecadd1-ffc6-4844-8421-b674f9864fc2@f9941",
+      "displayName": "21",
+      "id": "f9941",
+      "name": "spriteFrame",
+      "userData": {
+        "trimType": "auto",
+        "trimThreshold": 1,
+        "rotated": false,
+        "offsetX": 0,
+        "offsetY": 0,
+        "trimX": 0,
+        "trimY": 0,
+        "width": 78,
+        "height": 57,
+        "rawWidth": 78,
+        "rawHeight": 57,
+        "borderTop": 0,
+        "borderBottom": 0,
+        "borderLeft": 0,
+        "borderRight": 0,
+        "packable": true,
+        "pixelsToUnit": 100,
+        "pivotX": 0.5,
+        "pivotY": 0.5,
+        "meshType": 0,
+        "vertices": {
+          "rawPosition": [
+            -39,
+            -28.5,
+            0,
+            39,
+            -28.5,
+            0,
+            -39,
+            28.5,
+            0,
+            39,
+            28.5,
+            0
+          ],
+          "indexes": [
+            0,
+            1,
+            2,
+            2,
+            1,
+            3
+          ],
+          "uv": [
+            0,
+            57,
+            78,
+            57,
+            0,
+            0,
+            78,
+            0
+          ],
+          "nuv": [
+            0,
+            0,
+            1,
+            0,
+            0,
+            1,
+            1,
+            1
+          ],
+          "minPos": [
+            -39,
+            -28.5,
+            0
+          ],
+          "maxPos": [
+            39,
+            28.5,
+            0
+          ]
+        },
+        "isUuid": true,
+        "imageUuidOrDatabaseUri": "83ecadd1-ffc6-4844-8421-b674f9864fc2@6c48a",
+        "atlasUuid": ""
+      },
+      "ver": "1.0.11",
+      "imported": true,
+      "files": [
+        ".json"
+      ],
+      "subMetas": {}
+    }
+  },
+  "userData": {
+    "type": "sprite-frame",
+    "fixAlphaTransparencyArtifacts": true,
+    "hasAlpha": true,
+    "redirect": "83ecadd1-ffc6-4844-8421-b674f9864fc2@f9941"
+  }
+}

+ 0 - 0
h5充值界面2/钻石道具/22.png → assets/pay/texture/22.png


+ 134 - 0
assets/pay/texture/22.png.meta

@@ -0,0 +1,134 @@
+{
+  "ver": "1.0.25",
+  "importer": "image",
+  "imported": true,
+  "uuid": "01500f06-1d25-4cdc-9810-44e3337a1da5",
+  "files": [
+    ".json",
+    ".png"
+  ],
+  "subMetas": {
+    "6c48a": {
+      "importer": "texture",
+      "uuid": "01500f06-1d25-4cdc-9810-44e3337a1da5@6c48a",
+      "displayName": "22",
+      "id": "6c48a",
+      "name": "texture",
+      "userData": {
+        "wrapModeS": "clamp-to-edge",
+        "wrapModeT": "clamp-to-edge",
+        "imageUuidOrDatabaseUri": "01500f06-1d25-4cdc-9810-44e3337a1da5",
+        "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": "01500f06-1d25-4cdc-9810-44e3337a1da5@f9941",
+      "displayName": "22",
+      "id": "f9941",
+      "name": "spriteFrame",
+      "userData": {
+        "trimType": "auto",
+        "trimThreshold": 1,
+        "rotated": false,
+        "offsetX": 0,
+        "offsetY": 0,
+        "trimX": 0,
+        "trimY": 0,
+        "width": 118,
+        "height": 79,
+        "rawWidth": 118,
+        "rawHeight": 79,
+        "borderTop": 0,
+        "borderBottom": 0,
+        "borderLeft": 0,
+        "borderRight": 0,
+        "packable": true,
+        "pixelsToUnit": 100,
+        "pivotX": 0.5,
+        "pivotY": 0.5,
+        "meshType": 0,
+        "vertices": {
+          "rawPosition": [
+            -59,
+            -39.5,
+            0,
+            59,
+            -39.5,
+            0,
+            -59,
+            39.5,
+            0,
+            59,
+            39.5,
+            0
+          ],
+          "indexes": [
+            0,
+            1,
+            2,
+            2,
+            1,
+            3
+          ],
+          "uv": [
+            0,
+            79,
+            118,
+            79,
+            0,
+            0,
+            118,
+            0
+          ],
+          "nuv": [
+            0,
+            0,
+            1,
+            0,
+            0,
+            1,
+            1,
+            1
+          ],
+          "minPos": [
+            -59,
+            -39.5,
+            0
+          ],
+          "maxPos": [
+            59,
+            39.5,
+            0
+          ]
+        },
+        "isUuid": true,
+        "imageUuidOrDatabaseUri": "01500f06-1d25-4cdc-9810-44e3337a1da5@6c48a",
+        "atlasUuid": ""
+      },
+      "ver": "1.0.11",
+      "imported": true,
+      "files": [
+        ".json"
+      ],
+      "subMetas": {}
+    }
+  },
+  "userData": {
+    "type": "sprite-frame",
+    "fixAlphaTransparencyArtifacts": true,
+    "hasAlpha": true,
+    "redirect": "01500f06-1d25-4cdc-9810-44e3337a1da5@f9941"
+  }
+}

+ 0 - 0
h5充值界面2/钻石道具/23.png → assets/pay/texture/23.png


+ 134 - 0
assets/pay/texture/23.png.meta

@@ -0,0 +1,134 @@
+{
+  "ver": "1.0.25",
+  "importer": "image",
+  "imported": true,
+  "uuid": "d4682837-28de-4fd7-8bdc-149d7557a04e",
+  "files": [
+    ".json",
+    ".png"
+  ],
+  "subMetas": {
+    "6c48a": {
+      "importer": "texture",
+      "uuid": "d4682837-28de-4fd7-8bdc-149d7557a04e@6c48a",
+      "displayName": "23",
+      "id": "6c48a",
+      "name": "texture",
+      "userData": {
+        "wrapModeS": "clamp-to-edge",
+        "wrapModeT": "clamp-to-edge",
+        "imageUuidOrDatabaseUri": "d4682837-28de-4fd7-8bdc-149d7557a04e",
+        "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": "d4682837-28de-4fd7-8bdc-149d7557a04e@f9941",
+      "displayName": "23",
+      "id": "f9941",
+      "name": "spriteFrame",
+      "userData": {
+        "trimType": "auto",
+        "trimThreshold": 1,
+        "rotated": false,
+        "offsetX": 0,
+        "offsetY": 0,
+        "trimX": 0,
+        "trimY": 0,
+        "width": 111,
+        "height": 91,
+        "rawWidth": 111,
+        "rawHeight": 91,
+        "borderTop": 0,
+        "borderBottom": 0,
+        "borderLeft": 0,
+        "borderRight": 0,
+        "packable": true,
+        "pixelsToUnit": 100,
+        "pivotX": 0.5,
+        "pivotY": 0.5,
+        "meshType": 0,
+        "vertices": {
+          "rawPosition": [
+            -55.5,
+            -45.5,
+            0,
+            55.5,
+            -45.5,
+            0,
+            -55.5,
+            45.5,
+            0,
+            55.5,
+            45.5,
+            0
+          ],
+          "indexes": [
+            0,
+            1,
+            2,
+            2,
+            1,
+            3
+          ],
+          "uv": [
+            0,
+            91,
+            111,
+            91,
+            0,
+            0,
+            111,
+            0
+          ],
+          "nuv": [
+            0,
+            0,
+            1,
+            0,
+            0,
+            1,
+            1,
+            1
+          ],
+          "minPos": [
+            -55.5,
+            -45.5,
+            0
+          ],
+          "maxPos": [
+            55.5,
+            45.5,
+            0
+          ]
+        },
+        "isUuid": true,
+        "imageUuidOrDatabaseUri": "d4682837-28de-4fd7-8bdc-149d7557a04e@6c48a",
+        "atlasUuid": ""
+      },
+      "ver": "1.0.11",
+      "imported": true,
+      "files": [
+        ".json"
+      ],
+      "subMetas": {}
+    }
+  },
+  "userData": {
+    "type": "sprite-frame",
+    "fixAlphaTransparencyArtifacts": true,
+    "hasAlpha": true,
+    "redirect": "d4682837-28de-4fd7-8bdc-149d7557a04e@f9941"
+  }
+}

+ 0 - 0
h5充值界面2/钻石道具/24.png → assets/pay/texture/24.png


+ 134 - 0
assets/pay/texture/24.png.meta

@@ -0,0 +1,134 @@
+{
+  "ver": "1.0.25",
+  "importer": "image",
+  "imported": true,
+  "uuid": "795dbc0e-3ddb-4e92-a3f2-f1fb963f7cde",
+  "files": [
+    ".json",
+    ".png"
+  ],
+  "subMetas": {
+    "6c48a": {
+      "importer": "texture",
+      "uuid": "795dbc0e-3ddb-4e92-a3f2-f1fb963f7cde@6c48a",
+      "displayName": "24",
+      "id": "6c48a",
+      "name": "texture",
+      "userData": {
+        "wrapModeS": "clamp-to-edge",
+        "wrapModeT": "clamp-to-edge",
+        "imageUuidOrDatabaseUri": "795dbc0e-3ddb-4e92-a3f2-f1fb963f7cde",
+        "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": "795dbc0e-3ddb-4e92-a3f2-f1fb963f7cde@f9941",
+      "displayName": "24",
+      "id": "f9941",
+      "name": "spriteFrame",
+      "userData": {
+        "trimType": "auto",
+        "trimThreshold": 1,
+        "rotated": false,
+        "offsetX": 0,
+        "offsetY": 0,
+        "trimX": 0,
+        "trimY": 0,
+        "width": 104,
+        "height": 97,
+        "rawWidth": 104,
+        "rawHeight": 97,
+        "borderTop": 0,
+        "borderBottom": 0,
+        "borderLeft": 0,
+        "borderRight": 0,
+        "packable": true,
+        "pixelsToUnit": 100,
+        "pivotX": 0.5,
+        "pivotY": 0.5,
+        "meshType": 0,
+        "vertices": {
+          "rawPosition": [
+            -52,
+            -48.5,
+            0,
+            52,
+            -48.5,
+            0,
+            -52,
+            48.5,
+            0,
+            52,
+            48.5,
+            0
+          ],
+          "indexes": [
+            0,
+            1,
+            2,
+            2,
+            1,
+            3
+          ],
+          "uv": [
+            0,
+            97,
+            104,
+            97,
+            0,
+            0,
+            104,
+            0
+          ],
+          "nuv": [
+            0,
+            0,
+            1,
+            0,
+            0,
+            1,
+            1,
+            1
+          ],
+          "minPos": [
+            -52,
+            -48.5,
+            0
+          ],
+          "maxPos": [
+            52,
+            48.5,
+            0
+          ]
+        },
+        "isUuid": true,
+        "imageUuidOrDatabaseUri": "795dbc0e-3ddb-4e92-a3f2-f1fb963f7cde@6c48a",
+        "atlasUuid": ""
+      },
+      "ver": "1.0.11",
+      "imported": true,
+      "files": [
+        ".json"
+      ],
+      "subMetas": {}
+    }
+  },
+  "userData": {
+    "type": "sprite-frame",
+    "fixAlphaTransparencyArtifacts": true,
+    "hasAlpha": true,
+    "redirect": "795dbc0e-3ddb-4e92-a3f2-f1fb963f7cde@f9941"
+  }
+}

+ 0 - 0
h5充值界面2/钻石道具/25.png → assets/pay/texture/25.png


+ 134 - 0
assets/pay/texture/25.png.meta

@@ -0,0 +1,134 @@
+{
+  "ver": "1.0.25",
+  "importer": "image",
+  "imported": true,
+  "uuid": "fe430999-c39d-4404-bac7-d23beb0943c4",
+  "files": [
+    ".json",
+    ".png"
+  ],
+  "subMetas": {
+    "6c48a": {
+      "importer": "texture",
+      "uuid": "fe430999-c39d-4404-bac7-d23beb0943c4@6c48a",
+      "displayName": "25",
+      "id": "6c48a",
+      "name": "texture",
+      "userData": {
+        "wrapModeS": "clamp-to-edge",
+        "wrapModeT": "clamp-to-edge",
+        "imageUuidOrDatabaseUri": "fe430999-c39d-4404-bac7-d23beb0943c4",
+        "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": "fe430999-c39d-4404-bac7-d23beb0943c4@f9941",
+      "displayName": "25",
+      "id": "f9941",
+      "name": "spriteFrame",
+      "userData": {
+        "trimType": "auto",
+        "trimThreshold": 1,
+        "rotated": false,
+        "offsetX": 0,
+        "offsetY": 0,
+        "trimX": 0,
+        "trimY": 0,
+        "width": 123,
+        "height": 109,
+        "rawWidth": 123,
+        "rawHeight": 109,
+        "borderTop": 0,
+        "borderBottom": 0,
+        "borderLeft": 0,
+        "borderRight": 0,
+        "packable": true,
+        "pixelsToUnit": 100,
+        "pivotX": 0.5,
+        "pivotY": 0.5,
+        "meshType": 0,
+        "vertices": {
+          "rawPosition": [
+            -61.5,
+            -54.5,
+            0,
+            61.5,
+            -54.5,
+            0,
+            -61.5,
+            54.5,
+            0,
+            61.5,
+            54.5,
+            0
+          ],
+          "indexes": [
+            0,
+            1,
+            2,
+            2,
+            1,
+            3
+          ],
+          "uv": [
+            0,
+            109,
+            123,
+            109,
+            0,
+            0,
+            123,
+            0
+          ],
+          "nuv": [
+            0,
+            0,
+            1,
+            0,
+            0,
+            1,
+            1,
+            1
+          ],
+          "minPos": [
+            -61.5,
+            -54.5,
+            0
+          ],
+          "maxPos": [
+            61.5,
+            54.5,
+            0
+          ]
+        },
+        "isUuid": true,
+        "imageUuidOrDatabaseUri": "fe430999-c39d-4404-bac7-d23beb0943c4@6c48a",
+        "atlasUuid": ""
+      },
+      "ver": "1.0.11",
+      "imported": true,
+      "files": [
+        ".json"
+      ],
+      "subMetas": {}
+    }
+  },
+  "userData": {
+    "type": "sprite-frame",
+    "fixAlphaTransparencyArtifacts": true,
+    "hasAlpha": true,
+    "redirect": "fe430999-c39d-4404-bac7-d23beb0943c4@f9941"
+  }
+}

+ 0 - 0
h5充值界面2/底.png → assets/pay/texture/bg.png


+ 134 - 0
assets/pay/texture/bg.png.meta

@@ -0,0 +1,134 @@
+{
+  "ver": "1.0.25",
+  "importer": "image",
+  "imported": true,
+  "uuid": "3503080e-1a72-4ada-8e49-c9db4f0549aa",
+  "files": [
+    ".json",
+    ".png"
+  ],
+  "subMetas": {
+    "6c48a": {
+      "importer": "texture",
+      "uuid": "3503080e-1a72-4ada-8e49-c9db4f0549aa@6c48a",
+      "displayName": "bg",
+      "id": "6c48a",
+      "name": "texture",
+      "userData": {
+        "wrapModeS": "clamp-to-edge",
+        "wrapModeT": "clamp-to-edge",
+        "imageUuidOrDatabaseUri": "3503080e-1a72-4ada-8e49-c9db4f0549aa",
+        "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": "3503080e-1a72-4ada-8e49-c9db4f0549aa@f9941",
+      "displayName": "bg",
+      "id": "f9941",
+      "name": "spriteFrame",
+      "userData": {
+        "trimType": "auto",
+        "trimThreshold": 1,
+        "rotated": false,
+        "offsetX": 0,
+        "offsetY": 0,
+        "trimX": 0,
+        "trimY": 0,
+        "width": 720,
+        "height": 1600,
+        "rawWidth": 720,
+        "rawHeight": 1600,
+        "borderTop": 0,
+        "borderBottom": 0,
+        "borderLeft": 0,
+        "borderRight": 0,
+        "packable": true,
+        "pixelsToUnit": 100,
+        "pivotX": 0.5,
+        "pivotY": 0.5,
+        "meshType": 0,
+        "vertices": {
+          "rawPosition": [
+            -360,
+            -800,
+            0,
+            360,
+            -800,
+            0,
+            -360,
+            800,
+            0,
+            360,
+            800,
+            0
+          ],
+          "indexes": [
+            0,
+            1,
+            2,
+            2,
+            1,
+            3
+          ],
+          "uv": [
+            0,
+            1600,
+            720,
+            1600,
+            0,
+            0,
+            720,
+            0
+          ],
+          "nuv": [
+            0,
+            0,
+            1,
+            0,
+            0,
+            1,
+            1,
+            1
+          ],
+          "minPos": [
+            -360,
+            -800,
+            0
+          ],
+          "maxPos": [
+            360,
+            800,
+            0
+          ]
+        },
+        "isUuid": true,
+        "imageUuidOrDatabaseUri": "3503080e-1a72-4ada-8e49-c9db4f0549aa@6c48a",
+        "atlasUuid": ""
+      },
+      "ver": "1.0.11",
+      "imported": true,
+      "files": [
+        ".json"
+      ],
+      "subMetas": {}
+    }
+  },
+  "userData": {
+    "type": "sprite-frame",
+    "fixAlphaTransparencyArtifacts": true,
+    "hasAlpha": true,
+    "redirect": "3503080e-1a72-4ada-8e49-c9db4f0549aa@f9941"
+  }
+}

+ 0 - 0
h5充值界面2/地板2.png → assets/pay/texture/bg2.png


+ 134 - 0
assets/pay/texture/bg2.png.meta

@@ -0,0 +1,134 @@
+{
+  "ver": "1.0.25",
+  "importer": "image",
+  "imported": true,
+  "uuid": "74c59dc9-5d5f-4d3e-bd82-b20f160aa205",
+  "files": [
+    ".json",
+    ".png"
+  ],
+  "subMetas": {
+    "6c48a": {
+      "importer": "texture",
+      "uuid": "74c59dc9-5d5f-4d3e-bd82-b20f160aa205@6c48a",
+      "displayName": "bg2",
+      "id": "6c48a",
+      "name": "texture",
+      "userData": {
+        "wrapModeS": "clamp-to-edge",
+        "wrapModeT": "clamp-to-edge",
+        "imageUuidOrDatabaseUri": "74c59dc9-5d5f-4d3e-bd82-b20f160aa205",
+        "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": "74c59dc9-5d5f-4d3e-bd82-b20f160aa205@f9941",
+      "displayName": "bg2",
+      "id": "f9941",
+      "name": "spriteFrame",
+      "userData": {
+        "trimType": "auto",
+        "trimThreshold": 1,
+        "rotated": false,
+        "offsetX": 0,
+        "offsetY": 0,
+        "trimX": 0,
+        "trimY": 0,
+        "width": 695,
+        "height": 1020,
+        "rawWidth": 695,
+        "rawHeight": 1020,
+        "borderTop": 0,
+        "borderBottom": 0,
+        "borderLeft": 0,
+        "borderRight": 0,
+        "packable": true,
+        "pixelsToUnit": 100,
+        "pivotX": 0.5,
+        "pivotY": 0.5,
+        "meshType": 0,
+        "vertices": {
+          "rawPosition": [
+            -347.5,
+            -510,
+            0,
+            347.5,
+            -510,
+            0,
+            -347.5,
+            510,
+            0,
+            347.5,
+            510,
+            0
+          ],
+          "indexes": [
+            0,
+            1,
+            2,
+            2,
+            1,
+            3
+          ],
+          "uv": [
+            0,
+            1020,
+            695,
+            1020,
+            0,
+            0,
+            695,
+            0
+          ],
+          "nuv": [
+            0,
+            0,
+            1,
+            0,
+            0,
+            1,
+            1,
+            1
+          ],
+          "minPos": [
+            -347.5,
+            -510,
+            0
+          ],
+          "maxPos": [
+            347.5,
+            510,
+            0
+          ]
+        },
+        "isUuid": true,
+        "imageUuidOrDatabaseUri": "74c59dc9-5d5f-4d3e-bd82-b20f160aa205@6c48a",
+        "atlasUuid": ""
+      },
+      "ver": "1.0.11",
+      "imported": true,
+      "files": [
+        ".json"
+      ],
+      "subMetas": {}
+    }
+  },
+  "userData": {
+    "type": "sprite-frame",
+    "fixAlphaTransparencyArtifacts": true,
+    "hasAlpha": true,
+    "redirect": "74c59dc9-5d5f-4d3e-bd82-b20f160aa205@f9941"
+  }
+}

+ 0 - 0
h5充值界面2/钻石框.png → assets/pay/texture/bg_item.png


+ 134 - 0
assets/pay/texture/bg_item.png.meta

@@ -0,0 +1,134 @@
+{
+  "ver": "1.0.25",
+  "importer": "image",
+  "imported": true,
+  "uuid": "4012f4a9-c7cb-40f0-87b6-eaa14bab1547",
+  "files": [
+    ".json",
+    ".png"
+  ],
+  "subMetas": {
+    "6c48a": {
+      "importer": "texture",
+      "uuid": "4012f4a9-c7cb-40f0-87b6-eaa14bab1547@6c48a",
+      "displayName": "bg_item",
+      "id": "6c48a",
+      "name": "texture",
+      "userData": {
+        "wrapModeS": "clamp-to-edge",
+        "wrapModeT": "clamp-to-edge",
+        "imageUuidOrDatabaseUri": "4012f4a9-c7cb-40f0-87b6-eaa14bab1547",
+        "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": "4012f4a9-c7cb-40f0-87b6-eaa14bab1547@f9941",
+      "displayName": "bg_item",
+      "id": "f9941",
+      "name": "spriteFrame",
+      "userData": {
+        "trimType": "auto",
+        "trimThreshold": 1,
+        "rotated": false,
+        "offsetX": 0,
+        "offsetY": 0,
+        "trimX": 0,
+        "trimY": 0,
+        "width": 196,
+        "height": 167,
+        "rawWidth": 196,
+        "rawHeight": 167,
+        "borderTop": 0,
+        "borderBottom": 0,
+        "borderLeft": 0,
+        "borderRight": 0,
+        "packable": true,
+        "pixelsToUnit": 100,
+        "pivotX": 0.5,
+        "pivotY": 0.5,
+        "meshType": 0,
+        "vertices": {
+          "rawPosition": [
+            -98,
+            -83.5,
+            0,
+            98,
+            -83.5,
+            0,
+            -98,
+            83.5,
+            0,
+            98,
+            83.5,
+            0
+          ],
+          "indexes": [
+            0,
+            1,
+            2,
+            2,
+            1,
+            3
+          ],
+          "uv": [
+            0,
+            167,
+            196,
+            167,
+            0,
+            0,
+            196,
+            0
+          ],
+          "nuv": [
+            0,
+            0,
+            1,
+            0,
+            0,
+            1,
+            1,
+            1
+          ],
+          "minPos": [
+            -98,
+            -83.5,
+            0
+          ],
+          "maxPos": [
+            98,
+            83.5,
+            0
+          ]
+        },
+        "isUuid": true,
+        "imageUuidOrDatabaseUri": "4012f4a9-c7cb-40f0-87b6-eaa14bab1547@6c48a",
+        "atlasUuid": ""
+      },
+      "ver": "1.0.11",
+      "imported": true,
+      "files": [
+        ".json"
+      ],
+      "subMetas": {}
+    }
+  },
+  "userData": {
+    "type": "sprite-frame",
+    "fixAlphaTransparencyArtifacts": true,
+    "hasAlpha": true,
+    "redirect": "4012f4a9-c7cb-40f0-87b6-eaa14bab1547@f9941"
+  }
+}

+ 0 - 0
h5充值界面2/立刻充值.png → assets/pay/texture/btn.png


+ 134 - 0
assets/pay/texture/btn.png.meta

@@ -0,0 +1,134 @@
+{
+  "ver": "1.0.25",
+  "importer": "image",
+  "imported": true,
+  "uuid": "bbf258c4-9da9-49ec-a06b-1c4d4773cb3f",
+  "files": [
+    ".json",
+    ".png"
+  ],
+  "subMetas": {
+    "6c48a": {
+      "importer": "texture",
+      "uuid": "bbf258c4-9da9-49ec-a06b-1c4d4773cb3f@6c48a",
+      "displayName": "btn",
+      "id": "6c48a",
+      "name": "texture",
+      "userData": {
+        "wrapModeS": "clamp-to-edge",
+        "wrapModeT": "clamp-to-edge",
+        "imageUuidOrDatabaseUri": "bbf258c4-9da9-49ec-a06b-1c4d4773cb3f",
+        "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": "bbf258c4-9da9-49ec-a06b-1c4d4773cb3f@f9941",
+      "displayName": "btn",
+      "id": "f9941",
+      "name": "spriteFrame",
+      "userData": {
+        "trimType": "auto",
+        "trimThreshold": 1,
+        "rotated": false,
+        "offsetX": 0,
+        "offsetY": 0,
+        "trimX": 0,
+        "trimY": 0,
+        "width": 631,
+        "height": 103,
+        "rawWidth": 631,
+        "rawHeight": 103,
+        "borderTop": 0,
+        "borderBottom": 0,
+        "borderLeft": 0,
+        "borderRight": 0,
+        "packable": true,
+        "pixelsToUnit": 100,
+        "pivotX": 0.5,
+        "pivotY": 0.5,
+        "meshType": 0,
+        "vertices": {
+          "rawPosition": [
+            -315.5,
+            -51.5,
+            0,
+            315.5,
+            -51.5,
+            0,
+            -315.5,
+            51.5,
+            0,
+            315.5,
+            51.5,
+            0
+          ],
+          "indexes": [
+            0,
+            1,
+            2,
+            2,
+            1,
+            3
+          ],
+          "uv": [
+            0,
+            103,
+            631,
+            103,
+            0,
+            0,
+            631,
+            0
+          ],
+          "nuv": [
+            0,
+            0,
+            1,
+            0,
+            0,
+            1,
+            1,
+            1
+          ],
+          "minPos": [
+            -315.5,
+            -51.5,
+            0
+          ],
+          "maxPos": [
+            315.5,
+            51.5,
+            0
+          ]
+        },
+        "isUuid": true,
+        "imageUuidOrDatabaseUri": "bbf258c4-9da9-49ec-a06b-1c4d4773cb3f@6c48a",
+        "atlasUuid": ""
+      },
+      "ver": "1.0.11",
+      "imported": true,
+      "files": [
+        ".json"
+      ],
+      "subMetas": {}
+    }
+  },
+  "userData": {
+    "type": "sprite-frame",
+    "fixAlphaTransparencyArtifacts": true,
+    "hasAlpha": true,
+    "redirect": "bbf258c4-9da9-49ec-a06b-1c4d4773cb3f@f9941"
+  }
+}

+ 0 - 0
h5充值界面2/精灵.png → assets/pay/texture/char.png


+ 134 - 0
assets/pay/texture/char.png.meta

@@ -0,0 +1,134 @@
+{
+  "ver": "1.0.25",
+  "importer": "image",
+  "imported": true,
+  "uuid": "33947bb2-ae10-43c4-9bd3-202037bce5ba",
+  "files": [
+    ".json",
+    ".png"
+  ],
+  "subMetas": {
+    "6c48a": {
+      "importer": "texture",
+      "uuid": "33947bb2-ae10-43c4-9bd3-202037bce5ba@6c48a",
+      "displayName": "char",
+      "id": "6c48a",
+      "name": "texture",
+      "userData": {
+        "wrapModeS": "clamp-to-edge",
+        "wrapModeT": "clamp-to-edge",
+        "imageUuidOrDatabaseUri": "33947bb2-ae10-43c4-9bd3-202037bce5ba",
+        "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": "33947bb2-ae10-43c4-9bd3-202037bce5ba@f9941",
+      "displayName": "char",
+      "id": "f9941",
+      "name": "spriteFrame",
+      "userData": {
+        "trimType": "auto",
+        "trimThreshold": 1,
+        "rotated": false,
+        "offsetX": 0,
+        "offsetY": 0,
+        "trimX": 0,
+        "trimY": 0,
+        "width": 309,
+        "height": 332,
+        "rawWidth": 309,
+        "rawHeight": 332,
+        "borderTop": 0,
+        "borderBottom": 0,
+        "borderLeft": 0,
+        "borderRight": 0,
+        "packable": true,
+        "pixelsToUnit": 100,
+        "pivotX": 0.5,
+        "pivotY": 0.5,
+        "meshType": 0,
+        "vertices": {
+          "rawPosition": [
+            -154.5,
+            -166,
+            0,
+            154.5,
+            -166,
+            0,
+            -154.5,
+            166,
+            0,
+            154.5,
+            166,
+            0
+          ],
+          "indexes": [
+            0,
+            1,
+            2,
+            2,
+            1,
+            3
+          ],
+          "uv": [
+            0,
+            332,
+            309,
+            332,
+            0,
+            0,
+            309,
+            0
+          ],
+          "nuv": [
+            0,
+            0,
+            1,
+            0,
+            0,
+            1,
+            1,
+            1
+          ],
+          "minPos": [
+            -154.5,
+            -166,
+            0
+          ],
+          "maxPos": [
+            154.5,
+            166,
+            0
+          ]
+        },
+        "isUuid": true,
+        "imageUuidOrDatabaseUri": "33947bb2-ae10-43c4-9bd3-202037bce5ba@6c48a",
+        "atlasUuid": ""
+      },
+      "ver": "1.0.11",
+      "imported": true,
+      "files": [
+        ".json"
+      ],
+      "subMetas": {}
+    }
+  },
+  "userData": {
+    "type": "sprite-frame",
+    "fixAlphaTransparencyArtifacts": true,
+    "hasAlpha": true,
+    "redirect": "33947bb2-ae10-43c4-9bd3-202037bce5ba@f9941"
+  }
+}

+ 0 - 0
h5充值界面2/钻石充值.png → assets/pay/texture/desc1.png


+ 134 - 0
assets/pay/texture/desc1.png.meta

@@ -0,0 +1,134 @@
+{
+  "ver": "1.0.25",
+  "importer": "image",
+  "imported": true,
+  "uuid": "dc2b8f70-bc8d-4cd8-82da-13da6ff264ed",
+  "files": [
+    ".json",
+    ".png"
+  ],
+  "subMetas": {
+    "6c48a": {
+      "importer": "texture",
+      "uuid": "dc2b8f70-bc8d-4cd8-82da-13da6ff264ed@6c48a",
+      "displayName": "desc1",
+      "id": "6c48a",
+      "name": "texture",
+      "userData": {
+        "wrapModeS": "clamp-to-edge",
+        "wrapModeT": "clamp-to-edge",
+        "imageUuidOrDatabaseUri": "dc2b8f70-bc8d-4cd8-82da-13da6ff264ed",
+        "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": "dc2b8f70-bc8d-4cd8-82da-13da6ff264ed@f9941",
+      "displayName": "desc1",
+      "id": "f9941",
+      "name": "spriteFrame",
+      "userData": {
+        "trimType": "auto",
+        "trimThreshold": 1,
+        "rotated": false,
+        "offsetX": 0,
+        "offsetY": 0,
+        "trimX": 0,
+        "trimY": 0,
+        "width": 349,
+        "height": 106,
+        "rawWidth": 349,
+        "rawHeight": 106,
+        "borderTop": 0,
+        "borderBottom": 0,
+        "borderLeft": 0,
+        "borderRight": 0,
+        "packable": true,
+        "pixelsToUnit": 100,
+        "pivotX": 0.5,
+        "pivotY": 0.5,
+        "meshType": 0,
+        "vertices": {
+          "rawPosition": [
+            -174.5,
+            -53,
+            0,
+            174.5,
+            -53,
+            0,
+            -174.5,
+            53,
+            0,
+            174.5,
+            53,
+            0
+          ],
+          "indexes": [
+            0,
+            1,
+            2,
+            2,
+            1,
+            3
+          ],
+          "uv": [
+            0,
+            106,
+            349,
+            106,
+            0,
+            0,
+            349,
+            0
+          ],
+          "nuv": [
+            0,
+            0,
+            1,
+            0,
+            0,
+            1,
+            1,
+            1
+          ],
+          "minPos": [
+            -174.5,
+            -53,
+            0
+          ],
+          "maxPos": [
+            174.5,
+            53,
+            0
+          ]
+        },
+        "isUuid": true,
+        "imageUuidOrDatabaseUri": "dc2b8f70-bc8d-4cd8-82da-13da6ff264ed@6c48a",
+        "atlasUuid": ""
+      },
+      "ver": "1.0.11",
+      "imported": true,
+      "files": [
+        ".json"
+      ],
+      "subMetas": {}
+    }
+  },
+  "userData": {
+    "type": "sprite-frame",
+    "fixAlphaTransparencyArtifacts": true,
+    "hasAlpha": true,
+    "redirect": "dc2b8f70-bc8d-4cd8-82da-13da6ff264ed@f9941"
+  }
+}

+ 0 - 0
h5充值界面2/اسم اللاعب.png → assets/pay/texture/desc2.png


+ 134 - 0
assets/pay/texture/desc2.png.meta

@@ -0,0 +1,134 @@
+{
+  "ver": "1.0.25",
+  "importer": "image",
+  "imported": true,
+  "uuid": "7816c9e8-e26b-44a3-924f-7ec23e71ec65",
+  "files": [
+    ".json",
+    ".png"
+  ],
+  "subMetas": {
+    "6c48a": {
+      "importer": "texture",
+      "uuid": "7816c9e8-e26b-44a3-924f-7ec23e71ec65@6c48a",
+      "displayName": "desc2",
+      "id": "6c48a",
+      "name": "texture",
+      "userData": {
+        "wrapModeS": "clamp-to-edge",
+        "wrapModeT": "clamp-to-edge",
+        "imageUuidOrDatabaseUri": "7816c9e8-e26b-44a3-924f-7ec23e71ec65",
+        "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": "7816c9e8-e26b-44a3-924f-7ec23e71ec65@f9941",
+      "displayName": "desc2",
+      "id": "f9941",
+      "name": "spriteFrame",
+      "userData": {
+        "trimType": "auto",
+        "trimThreshold": 1,
+        "rotated": false,
+        "offsetX": 0,
+        "offsetY": 0,
+        "trimX": 0,
+        "trimY": 0,
+        "width": 151,
+        "height": 37,
+        "rawWidth": 151,
+        "rawHeight": 37,
+        "borderTop": 0,
+        "borderBottom": 0,
+        "borderLeft": 0,
+        "borderRight": 0,
+        "packable": true,
+        "pixelsToUnit": 100,
+        "pivotX": 0.5,
+        "pivotY": 0.5,
+        "meshType": 0,
+        "vertices": {
+          "rawPosition": [
+            -75.5,
+            -18.5,
+            0,
+            75.5,
+            -18.5,
+            0,
+            -75.5,
+            18.5,
+            0,
+            75.5,
+            18.5,
+            0
+          ],
+          "indexes": [
+            0,
+            1,
+            2,
+            2,
+            1,
+            3
+          ],
+          "uv": [
+            0,
+            37,
+            151,
+            37,
+            0,
+            0,
+            151,
+            0
+          ],
+          "nuv": [
+            0,
+            0,
+            1,
+            0,
+            0,
+            1,
+            1,
+            1
+          ],
+          "minPos": [
+            -75.5,
+            -18.5,
+            0
+          ],
+          "maxPos": [
+            75.5,
+            18.5,
+            0
+          ]
+        },
+        "isUuid": true,
+        "imageUuidOrDatabaseUri": "7816c9e8-e26b-44a3-924f-7ec23e71ec65@6c48a",
+        "atlasUuid": ""
+      },
+      "ver": "1.0.11",
+      "imported": true,
+      "files": [
+        ".json"
+      ],
+      "subMetas": {}
+    }
+  },
+  "userData": {
+    "type": "sprite-frame",
+    "fixAlphaTransparencyArtifacts": true,
+    "hasAlpha": true,
+    "redirect": "7816c9e8-e26b-44a3-924f-7ec23e71ec65@f9941"
+  }
+}

+ 0 - 0
h5充值界面2/IDيرجى إدخال اللعبة.png → assets/pay/texture/descid.png


+ 134 - 0
assets/pay/texture/descid.png.meta

@@ -0,0 +1,134 @@
+{
+  "ver": "1.0.25",
+  "importer": "image",
+  "imported": true,
+  "uuid": "c4264bcd-019e-4aef-ac97-a80bc44a3603",
+  "files": [
+    ".json",
+    ".png"
+  ],
+  "subMetas": {
+    "6c48a": {
+      "importer": "texture",
+      "uuid": "c4264bcd-019e-4aef-ac97-a80bc44a3603@6c48a",
+      "displayName": "descid",
+      "id": "6c48a",
+      "name": "texture",
+      "userData": {
+        "wrapModeS": "clamp-to-edge",
+        "wrapModeT": "clamp-to-edge",
+        "imageUuidOrDatabaseUri": "c4264bcd-019e-4aef-ac97-a80bc44a3603",
+        "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": "c4264bcd-019e-4aef-ac97-a80bc44a3603@f9941",
+      "displayName": "descid",
+      "id": "f9941",
+      "name": "spriteFrame",
+      "userData": {
+        "trimType": "auto",
+        "trimThreshold": 1,
+        "rotated": false,
+        "offsetX": 0,
+        "offsetY": 0,
+        "trimX": 0,
+        "trimY": 0,
+        "width": 325,
+        "height": 41,
+        "rawWidth": 325,
+        "rawHeight": 41,
+        "borderTop": 0,
+        "borderBottom": 0,
+        "borderLeft": 0,
+        "borderRight": 0,
+        "packable": true,
+        "pixelsToUnit": 100,
+        "pivotX": 0.5,
+        "pivotY": 0.5,
+        "meshType": 0,
+        "vertices": {
+          "rawPosition": [
+            -162.5,
+            -20.5,
+            0,
+            162.5,
+            -20.5,
+            0,
+            -162.5,
+            20.5,
+            0,
+            162.5,
+            20.5,
+            0
+          ],
+          "indexes": [
+            0,
+            1,
+            2,
+            2,
+            1,
+            3
+          ],
+          "uv": [
+            0,
+            41,
+            325,
+            41,
+            0,
+            0,
+            325,
+            0
+          ],
+          "nuv": [
+            0,
+            0,
+            1,
+            0,
+            0,
+            1,
+            1,
+            1
+          ],
+          "minPos": [
+            -162.5,
+            -20.5,
+            0
+          ],
+          "maxPos": [
+            162.5,
+            20.5,
+            0
+          ]
+        },
+        "isUuid": true,
+        "imageUuidOrDatabaseUri": "c4264bcd-019e-4aef-ac97-a80bc44a3603@6c48a",
+        "atlasUuid": ""
+      },
+      "ver": "1.0.11",
+      "imported": true,
+      "files": [
+        ".json"
+      ],
+      "subMetas": {}
+    }
+  },
+  "userData": {
+    "type": "sprite-frame",
+    "fixAlphaTransparencyArtifacts": true,
+    "hasAlpha": true,
+    "redirect": "c4264bcd-019e-4aef-ac97-a80bc44a3603@f9941"
+  }
+}

+ 0 - 0
h5充值界面2/ريال.png → assets/pay/texture/descmoney.png


+ 134 - 0
assets/pay/texture/descmoney.png.meta

@@ -0,0 +1,134 @@
+{
+  "ver": "1.0.25",
+  "importer": "image",
+  "imported": true,
+  "uuid": "a1f7b04c-376b-4bb0-8c72-df5d3177abc4",
+  "files": [
+    ".json",
+    ".png"
+  ],
+  "subMetas": {
+    "6c48a": {
+      "importer": "texture",
+      "uuid": "a1f7b04c-376b-4bb0-8c72-df5d3177abc4@6c48a",
+      "displayName": "descmoney",
+      "id": "6c48a",
+      "name": "texture",
+      "userData": {
+        "wrapModeS": "clamp-to-edge",
+        "wrapModeT": "clamp-to-edge",
+        "imageUuidOrDatabaseUri": "a1f7b04c-376b-4bb0-8c72-df5d3177abc4",
+        "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": "a1f7b04c-376b-4bb0-8c72-df5d3177abc4@f9941",
+      "displayName": "descmoney",
+      "id": "f9941",
+      "name": "spriteFrame",
+      "userData": {
+        "trimType": "auto",
+        "trimThreshold": 1,
+        "rotated": false,
+        "offsetX": 0,
+        "offsetY": 0,
+        "trimX": 0,
+        "trimY": 0,
+        "width": 86,
+        "height": 55,
+        "rawWidth": 86,
+        "rawHeight": 55,
+        "borderTop": 0,
+        "borderBottom": 0,
+        "borderLeft": 0,
+        "borderRight": 0,
+        "packable": true,
+        "pixelsToUnit": 100,
+        "pivotX": 0.5,
+        "pivotY": 0.5,
+        "meshType": 0,
+        "vertices": {
+          "rawPosition": [
+            -43,
+            -27.5,
+            0,
+            43,
+            -27.5,
+            0,
+            -43,
+            27.5,
+            0,
+            43,
+            27.5,
+            0
+          ],
+          "indexes": [
+            0,
+            1,
+            2,
+            2,
+            1,
+            3
+          ],
+          "uv": [
+            0,
+            55,
+            86,
+            55,
+            0,
+            0,
+            86,
+            0
+          ],
+          "nuv": [
+            0,
+            0,
+            1,
+            0,
+            0,
+            1,
+            1,
+            1
+          ],
+          "minPos": [
+            -43,
+            -27.5,
+            0
+          ],
+          "maxPos": [
+            43,
+            27.5,
+            0
+          ]
+        },
+        "isUuid": true,
+        "imageUuidOrDatabaseUri": "a1f7b04c-376b-4bb0-8c72-df5d3177abc4@6c48a",
+        "atlasUuid": ""
+      },
+      "ver": "1.0.11",
+      "imported": true,
+      "files": [
+        ".json"
+      ],
+      "subMetas": {}
+    }
+  },
+  "userData": {
+    "type": "sprite-frame",
+    "fixAlphaTransparencyArtifacts": true,
+    "hasAlpha": true,
+    "redirect": "a1f7b04c-376b-4bb0-8c72-df5d3177abc4@f9941"
+  }
+}

+ 0 - 0
h5充值界面2/小钻石.png → assets/pay/texture/icon_diamond.png


+ 134 - 0
assets/pay/texture/icon_diamond.png.meta

@@ -0,0 +1,134 @@
+{
+  "ver": "1.0.25",
+  "importer": "image",
+  "imported": true,
+  "uuid": "aa895b5f-0793-4bed-90b0-45633bb9e605",
+  "files": [
+    ".json",
+    ".png"
+  ],
+  "subMetas": {
+    "6c48a": {
+      "importer": "texture",
+      "uuid": "aa895b5f-0793-4bed-90b0-45633bb9e605@6c48a",
+      "displayName": "icon_diamond",
+      "id": "6c48a",
+      "name": "texture",
+      "userData": {
+        "wrapModeS": "clamp-to-edge",
+        "wrapModeT": "clamp-to-edge",
+        "imageUuidOrDatabaseUri": "aa895b5f-0793-4bed-90b0-45633bb9e605",
+        "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": "aa895b5f-0793-4bed-90b0-45633bb9e605@f9941",
+      "displayName": "icon_diamond",
+      "id": "f9941",
+      "name": "spriteFrame",
+      "userData": {
+        "trimType": "auto",
+        "trimThreshold": 1,
+        "rotated": false,
+        "offsetX": 0,
+        "offsetY": 0,
+        "trimX": 0,
+        "trimY": 0,
+        "width": 38,
+        "height": 30,
+        "rawWidth": 38,
+        "rawHeight": 30,
+        "borderTop": 0,
+        "borderBottom": 0,
+        "borderLeft": 0,
+        "borderRight": 0,
+        "packable": true,
+        "pixelsToUnit": 100,
+        "pivotX": 0.5,
+        "pivotY": 0.5,
+        "meshType": 0,
+        "vertices": {
+          "rawPosition": [
+            -19,
+            -15,
+            0,
+            19,
+            -15,
+            0,
+            -19,
+            15,
+            0,
+            19,
+            15,
+            0
+          ],
+          "indexes": [
+            0,
+            1,
+            2,
+            2,
+            1,
+            3
+          ],
+          "uv": [
+            0,
+            30,
+            38,
+            30,
+            0,
+            0,
+            38,
+            0
+          ],
+          "nuv": [
+            0,
+            0,
+            1,
+            0,
+            0,
+            1,
+            1,
+            1
+          ],
+          "minPos": [
+            -19,
+            -15,
+            0
+          ],
+          "maxPos": [
+            19,
+            15,
+            0
+          ]
+        },
+        "isUuid": true,
+        "imageUuidOrDatabaseUri": "aa895b5f-0793-4bed-90b0-45633bb9e605@6c48a",
+        "atlasUuid": ""
+      },
+      "ver": "1.0.11",
+      "imported": true,
+      "files": [
+        ".json"
+      ],
+      "subMetas": {}
+    }
+  },
+  "userData": {
+    "type": "sprite-frame",
+    "fixAlphaTransparencyArtifacts": true,
+    "hasAlpha": true,
+    "redirect": "aa895b5f-0793-4bed-90b0-45633bb9e605@f9941"
+  }
+}

+ 12 - 0
assets/scene.meta

@@ -0,0 +1,12 @@
+{
+  "ver": "1.1.0",
+  "importer": "directory",
+  "imported": true,
+  "uuid": "aaca6399-29f6-44dd-ac57-6638046ffd84",
+  "files": [],
+  "subMetas": {},
+  "userData": {
+    "compressionType": {},
+    "isRemoteBundle": {}
+  }
+}

+ 439 - 0
assets/scene/main.scene

@@ -0,0 +1,439 @@
+[
+  {
+    "__type__": "cc.SceneAsset",
+    "_name": "",
+    "_objFlags": 0,
+    "_native": "",
+    "scene": {
+      "__id__": 1
+    }
+  },
+  {
+    "__type__": "cc.Scene",
+    "_name": "main",
+    "_objFlags": 0,
+    "_parent": null,
+    "_children": [
+      {
+        "__id__": 2
+      },
+      {
+        "__id__": 8
+      }
+    ],
+    "_active": true,
+    "_components": [],
+    "_prefab": {
+      "__id__": 10
+    },
+    "autoReleaseAssets": false,
+    "_globals": {
+      "__id__": 11
+    },
+    "_id": "1408f0f3-5008-411c-9a16-b42d8fe86b71"
+  },
+  {
+    "__type__": "cc.Node",
+    "_name": "Canvas",
+    "_objFlags": 0,
+    "_parent": {
+      "__id__": 1
+    },
+    "_children": [
+      {
+        "__id__": 3
+      }
+    ],
+    "_active": true,
+    "_components": [
+      {
+        "__id__": 5
+      },
+      {
+        "__id__": 6
+      },
+      {
+        "__id__": 7
+      }
+    ],
+    "_prefab": null,
+    "_lpos": {
+      "__type__": "cc.Vec3",
+      "x": 360.00000000000006,
+      "y": 720,
+      "z": 0
+    },
+    "_lrot": {
+      "__type__": "cc.Quat",
+      "x": 0,
+      "y": 0,
+      "z": 0,
+      "w": 1
+    },
+    "_lscale": {
+      "__type__": "cc.Vec3",
+      "x": 1,
+      "y": 1,
+      "z": 1
+    },
+    "_layer": 33554432,
+    "_euler": {
+      "__type__": "cc.Vec3",
+      "x": 0,
+      "y": 0,
+      "z": 0
+    },
+    "_id": "beI88Z2HpFELqR4T5EMHpg"
+  },
+  {
+    "__type__": "cc.Node",
+    "_name": "Camera",
+    "_objFlags": 0,
+    "_parent": {
+      "__id__": 2
+    },
+    "_children": [],
+    "_active": true,
+    "_components": [
+      {
+        "__id__": 4
+      }
+    ],
+    "_prefab": null,
+    "_lpos": {
+      "__type__": "cc.Vec3",
+      "x": 0,
+      "y": 0,
+      "z": 1000
+    },
+    "_lrot": {
+      "__type__": "cc.Quat",
+      "x": 0,
+      "y": 0,
+      "z": 0,
+      "w": 1
+    },
+    "_lscale": {
+      "__type__": "cc.Vec3",
+      "x": 1,
+      "y": 1,
+      "z": 1
+    },
+    "_layer": 1073741824,
+    "_euler": {
+      "__type__": "cc.Vec3",
+      "x": 0,
+      "y": 0,
+      "z": 0
+    },
+    "_id": "ebFwiq8gBFaYpqYbdoDODe"
+  },
+  {
+    "__type__": "cc.Camera",
+    "_name": "",
+    "_objFlags": 0,
+    "node": {
+      "__id__": 3
+    },
+    "_enabled": true,
+    "__prefab": null,
+    "_projection": 0,
+    "_priority": 1073741824,
+    "_fov": 45,
+    "_fovAxis": 0,
+    "_orthoHeight": 720,
+    "_near": 0,
+    "_far": 2000,
+    "_color": {
+      "__type__": "cc.Color",
+      "r": 0,
+      "g": 0,
+      "b": 0,
+      "a": 255
+    },
+    "_depth": 1,
+    "_stencil": 0,
+    "_clearFlags": 7,
+    "_rect": {
+      "__type__": "cc.Rect",
+      "x": 0,
+      "y": 0,
+      "width": 1,
+      "height": 1
+    },
+    "_aperture": 19,
+    "_shutter": 7,
+    "_iso": 0,
+    "_screenScale": 1,
+    "_visibility": 1107296256,
+    "_targetTexture": null,
+    "_cameraType": -1,
+    "_trackingType": 0,
+    "_id": "63WIch3o5BEYRlXzTT0oWc"
+  },
+  {
+    "__type__": "cc.UITransform",
+    "_name": "",
+    "_objFlags": 0,
+    "node": {
+      "__id__": 2
+    },
+    "_enabled": true,
+    "__prefab": null,
+    "_contentSize": {
+      "__type__": "cc.Size",
+      "width": 720,
+      "height": 1440
+    },
+    "_anchorPoint": {
+      "__type__": "cc.Vec2",
+      "x": 0.5,
+      "y": 0.5
+    },
+    "_id": "d6rUX5yfhMlKoWX2bSbawx"
+  },
+  {
+    "__type__": "cc.Canvas",
+    "_name": "",
+    "_objFlags": 0,
+    "node": {
+      "__id__": 2
+    },
+    "_enabled": true,
+    "__prefab": null,
+    "_cameraComponent": {
+      "__id__": 4
+    },
+    "_alignCanvasWithScreen": true,
+    "_id": "12O/ljcVlEqLmVm3U2gEOQ"
+  },
+  {
+    "__type__": "cc.Widget",
+    "_name": "",
+    "_objFlags": 0,
+    "node": {
+      "__id__": 2
+    },
+    "_enabled": true,
+    "__prefab": null,
+    "_alignFlags": 45,
+    "_target": null,
+    "_left": 5.684341886080802e-14,
+    "_right": 5.684341886080802e-14,
+    "_top": 5.684341886080802e-14,
+    "_bottom": 5.684341886080802e-14,
+    "_horizontalCenter": 0,
+    "_verticalCenter": 0,
+    "_isAbsLeft": true,
+    "_isAbsRight": true,
+    "_isAbsTop": true,
+    "_isAbsBottom": true,
+    "_isAbsHorizontalCenter": true,
+    "_isAbsVerticalCenter": true,
+    "_originalWidth": 0,
+    "_originalHeight": 0,
+    "_alignMode": 2,
+    "_lockFlags": 0,
+    "_id": "c5V1EV8IpMtrIvY1OE9t2u"
+  },
+  {
+    "__type__": "cc.Node",
+    "_name": "game",
+    "_objFlags": 0,
+    "_parent": {
+      "__id__": 1
+    },
+    "_children": [],
+    "_active": true,
+    "_components": [
+      {
+        "__id__": 9
+      }
+    ],
+    "_prefab": null,
+    "_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
+    },
+    "_layer": 1073741824,
+    "_euler": {
+      "__type__": "cc.Vec3",
+      "x": 0,
+      "y": 0,
+      "z": 0
+    },
+    "_id": "83asROrZpN8qHV3Hqs6M4P"
+  },
+  {
+    "__type__": "b7826TgthhCaYFUDWmk66Ia",
+    "_name": "",
+    "_objFlags": 0,
+    "node": {
+      "__id__": 8
+    },
+    "_enabled": true,
+    "__prefab": null,
+    "_id": "aeaYO8gqFBfqcemEwcHsLi"
+  },
+  {
+    "__type__": "cc.PrefabInfo",
+    "fileId": "1408f0f3-5008-411c-9a16-b42d8fe86b71"
+  },
+  {
+    "__type__": "cc.SceneGlobals",
+    "ambient": {
+      "__id__": 12
+    },
+    "shadows": {
+      "__id__": 13
+    },
+    "_skybox": {
+      "__id__": 14
+    },
+    "fog": {
+      "__id__": 15
+    },
+    "octree": {
+      "__id__": 16
+    }
+  },
+  {
+    "__type__": "cc.AmbientInfo",
+    "_skyColorHDR": {
+      "__type__": "cc.Vec4",
+      "x": 0,
+      "y": 0,
+      "z": 0,
+      "w": 0.520833125
+    },
+    "_skyColor": {
+      "__type__": "cc.Vec4",
+      "x": 0,
+      "y": 0,
+      "z": 0,
+      "w": 0.520833125
+    },
+    "_skyIllumHDR": 20000,
+    "_skyIllum": 20000,
+    "_groundAlbedoHDR": {
+      "__type__": "cc.Vec4",
+      "x": 0,
+      "y": 0,
+      "z": 0,
+      "w": 0
+    },
+    "_groundAlbedo": {
+      "__type__": "cc.Vec4",
+      "x": 0,
+      "y": 0,
+      "z": 0,
+      "w": 0
+    },
+    "_skyColorLDR": {
+      "__type__": "cc.Vec4",
+      "x": 0.2,
+      "y": 0.5,
+      "z": 0.8,
+      "w": 1
+    },
+    "_skyIllumLDR": 20000,
+    "_groundAlbedoLDR": {
+      "__type__": "cc.Vec4",
+      "x": 0.2,
+      "y": 0.2,
+      "z": 0.2,
+      "w": 1
+    }
+  },
+  {
+    "__type__": "cc.ShadowsInfo",
+    "_enabled": false,
+    "_type": 0,
+    "_normal": {
+      "__type__": "cc.Vec3",
+      "x": 0,
+      "y": 1,
+      "z": 0
+    },
+    "_distance": 0,
+    "_shadowColor": {
+      "__type__": "cc.Color",
+      "r": 76,
+      "g": 76,
+      "b": 76,
+      "a": 255
+    },
+    "_maxReceived": 4,
+    "_size": {
+      "__type__": "cc.Vec2",
+      "x": 512,
+      "y": 512
+    }
+  },
+  {
+    "__type__": "cc.SkyboxInfo",
+    "_envLightingType": 0,
+    "_envmapHDR": null,
+    "_envmap": null,
+    "_envmapLDR": null,
+    "_diffuseMapHDR": null,
+    "_diffuseMapLDR": null,
+    "_enabled": false,
+    "_useHDR": true,
+    "_editableMaterial": null,
+    "_reflectionHDR": null,
+    "_reflectionLDR": null,
+    "_rotationAngle": 0
+  },
+  {
+    "__type__": "cc.FogInfo",
+    "_type": 0,
+    "_fogColor": {
+      "__type__": "cc.Color",
+      "r": 200,
+      "g": 200,
+      "b": 200,
+      "a": 255
+    },
+    "_enabled": false,
+    "_fogDensity": 0.3,
+    "_fogStart": 0.5,
+    "_fogEnd": 300,
+    "_fogAtten": 5,
+    "_fogTop": 1.5,
+    "_fogRange": 1.2,
+    "_accurate": false
+  },
+  {
+    "__type__": "cc.OctreeInfo",
+    "_enabled": false,
+    "_minPos": {
+      "__type__": "cc.Vec3",
+      "x": -1024,
+      "y": -1024,
+      "z": -1024
+    },
+    "_maxPos": {
+      "__type__": "cc.Vec3",
+      "x": 1024,
+      "y": 1024,
+      "z": 1024
+    },
+    "_depth": 8
+  }
+]

+ 11 - 0
assets/scene/main.scene.meta

@@ -0,0 +1,11 @@
+{
+  "ver": "1.1.40",
+  "importer": "scene",
+  "imported": true,
+  "uuid": "1408f0f3-5008-411c-9a16-b42d8fe86b71",
+  "files": [
+    ".json"
+  ],
+  "subMetas": {},
+  "userData": {}
+}

+ 12 - 0
assets/scene/script.meta

@@ -0,0 +1,12 @@
+{
+  "ver": "1.1.0",
+  "importer": "directory",
+  "imported": true,
+  "uuid": "f6295ff1-31a4-4367-925b-335aafd94c4c",
+  "files": [],
+  "subMetas": {},
+  "userData": {
+    "compressionType": {},
+    "isRemoteBundle": {}
+  }
+}

+ 95 - 0
assets/scene/script/ExClass.ts

@@ -0,0 +1,95 @@
+import { Node, Vec3 } from "cc";
+
+
+export class CircleArray<T>{
+    private arr: Array<T> = null;
+    private begin = 0;
+    private len = 0;
+    constructor(arr:Array<T>, len:number){
+        this.arr = arr;
+        this.len = len;
+    }
+    public get(index:number):T{
+        if(index > -1 && index < this.len){
+            let real_index = (this.begin + index) % this.len;
+            return this.arr[real_index];
+        }
+        return null;
+    }
+    public getLast(offset:number):T{
+        let index = this.begin - offset;
+        if(index < 0)index += this.len;
+        return this.arr[index];
+    }
+    public addOffset(add:number){
+        this.begin = (this.begin + add) % this.len;
+        if(this.begin < 0)this.begin += this.len;
+    }
+    public getLen(){
+        return this.len;
+    }
+    public resetArrIndex(){
+        if(this.begin == 0)return;
+        let arr_temp = this.arr.slice();
+        let map = new Array(this.len);
+        for(let i = 0; i < this.len; i++){
+            map[i] = (this.begin + i) % this.len;
+        }
+        for(let i = 0; i < this.len; i++){
+            this.arr[i] = arr_temp[map[i]];
+        }
+    }
+}
+
+export class SplitInfo{
+    public static getOffsetByNode(node:Node){
+        let children = node.children;
+        let arr = new Array(children.length);
+        for(let i = 0 ; i < children.length ; i++){
+            arr[i] = [children[i].position.x, children[i].position.y];
+        }
+        return arr;
+    }
+    public offset = 0;
+    public parent: Node = null;
+    public children: Array<Node> = null;
+    private status: Array<boolean> = null;
+    private state = false;
+    constructor(parent:Node){
+        this.parent = parent;
+        this.children = parent.children.concat();
+        let grand = parent.parent;
+        this.status = new Array(this.children.length);
+        for(let i = 0 ; i < this.children.length ; i++){
+            this.children[i].setParent(grand);
+            this.status[i] = this.children[i].active;
+        }
+        this.state = parent.active;
+    }
+    public setSlisByIndex(index:number){
+        let len = this.children.length;
+        for(let i = 0 ; i < len ; i++){
+            this.children[i].setSiblingIndex((index + 1) * (i + 1) + index + this.offset);
+        }
+    }
+    public setActive(state:boolean){
+        if(this.state == state)return;
+        this.state = state;
+        if(state){
+            for(let i = 0 , l = this.children.length ; i < l ; i++)this.children[i].active = this.status[i];
+        }
+        else{
+            for(let i = 0 , l = this.children.length ; i < l ; i++){
+                this.status[i] = this.children[i].active;
+                this.children[i].active = false;
+            }
+        }
+    }
+    public moveByOffset(offset_arr:Array<Array<number>>){
+        let base_x = this.parent.position.x;
+        let base_y = this.parent.position.y;
+        for(let i = 0 ; i < offset_arr.length ; i++){
+            this.children[i].toXY(base_x + offset_arr[i][0], base_y + offset_arr[i][1]);
+        }
+    }
+}

+ 9 - 0
assets/scene/script/ExClass.ts.meta

@@ -0,0 +1,9 @@
+{
+  "ver": "4.0.23",
+  "importer": "typescript",
+  "imported": true,
+  "uuid": "19e575b7-8cdb-426a-a012-d3659373d793",
+  "files": [],
+  "subMetas": {},
+  "userData": {}
+}

+ 28 - 0
assets/scene/script/MainScene.ts

@@ -0,0 +1,28 @@
+
+import { _decorator, AssetManager, assetManager, Component, find, instantiate, Node, Prefab, sys } from 'cc';
+const { ccclass } = _decorator;
+
+@ccclass('MainScene')
+export class MainScene extends Component {
+
+    protected onLoad(): void {
+        let str = "pay";
+        if (sys.isBrowser) {
+            let index = location.href.indexOf("?");
+            if(index > -1){
+                str = location.href.slice(index + 1);
+            }
+        }
+        this.loadPrefab("prefab/"+str);    
+    }
+
+    private loadPrefab(path:string){
+        assetManager.loadBundle(path, (err:any, bundle:AssetManager.Bundle)=>{
+            if(err)return;
+            bundle.load(path, Prefab, (err:any, pre:Prefab)=>{
+                let new_node = instantiate(pre);
+                new_node.setParent(find("Canvas"));
+            })
+        })
+    }
+}

+ 9 - 0
assets/scene/script/MainScene.ts.meta

@@ -0,0 +1,9 @@
+{
+  "ver": "4.0.23",
+  "importer": "typescript",
+  "imported": true,
+  "uuid": "b78264e0-b618-4269-8154-0d69a4eba21a",
+  "files": [],
+  "subMetas": {},
+  "userData": {}
+}

+ 141 - 0
assets/scene/script/NodeEx.ts

@@ -0,0 +1,141 @@
+
+import { Director, director, Node, NodeEventType, sys, UIOpacity, UIRenderer, Vec3 } from 'cc';
+import { JSB } from 'cc/env';
+
+const nodeProto: any = Node.prototype;
+
+const temp_v3 = new Vec3();
+
+//需要刷新层级的时候再调用
+export function sortChildrenByZIndex(parent: Node): void {
+    if (!parent) {
+        return;
+    }
+
+    let children = parent.children.concat();
+    children.sort((a, b): number => {
+        if (a.zIndex == null) {
+            a.zIndex = 0;
+        }
+        if (b.zIndex == null) {
+            b.zIndex = 0;
+        }
+        return a.zIndex - b.zIndex;
+    });
+    let maxIndex = children.length;
+    for (const node of children) {
+        node.setSiblingIndex(maxIndex);
+    }
+}
+
+nodeProto._delaySort = function(){
+    director.on(Director.EVENT_AFTER_UPDATE, this.sortByPosZ, this);
+}
+nodeProto.autoSort = function(){
+    this.on(NodeEventType.CHILD_ADDED, this._delaySort, this);
+}
+nodeProto.sortByPosZ = function(){
+    let _children = this._children;
+    if (_children.length > 1) {
+        // insertion sort
+        let child, child2;
+        for (let i = 1, count = _children.length; i < count; i++) {
+            child = _children[i];
+            let j = i;
+            for (; j > 0 &&
+                (child2 = _children[j - 1])._lpos.z > child._lpos.z; j--) {
+                    _children[j] = child2;
+                }
+            _children[j] = child;
+        }
+    }
+    this._updateSiblingIndex();
+    if(sys.isNative){
+        this._setChildren(_children);
+    }
+    director.off(Director.EVENT_AFTER_UPDATE, this._delaySort, this);
+}
+nodeProto.toX = function(x: number){
+    Vec3.copy(temp_v3, this._lpos);
+    temp_v3.x = x;
+    this.setPosition(temp_v3);
+}
+nodeProto.addX = function(add_x: number){
+    Vec3.copy(temp_v3, this._lpos);
+    temp_v3.x += add_x;
+    this.setPosition(temp_v3);
+}
+nodeProto.toY = function(y: number){
+    Vec3.copy(temp_v3, this._lpos);
+    temp_v3.y = y;
+    this.setPosition(temp_v3);
+}
+nodeProto.addY = function(add_y: number){
+    Vec3.copy(temp_v3, this._lpos);
+    temp_v3.y += add_y;
+    this.setPosition(temp_v3);
+}
+nodeProto.toZ = function(z: number, need_sort:boolean){
+    this._lpos.z = z;
+    // Vec3.copy(temp_v3, this._lpos);
+    // temp_v3.z = z;
+    // this.setPosition(temp_v3);
+    if(need_sort && this.parent){
+        this.parent._delaySort();
+    }
+}
+nodeProto.toXY = function(x:number, y:number){
+    Vec3.copy(temp_v3, this._lpos);
+    temp_v3.x = x;
+    temp_v3.y = y;
+    this.setPosition(temp_v3);
+}
+nodeProto.to0 = function(){
+    Vec3.copy(temp_v3, this._lpos);
+    temp_v3.x = 0;
+    temp_v3.y = 0;
+    this.setPosition(temp_v3);
+}
+nodeProto.toXYByArr = function(pos:Array<number>){
+    Vec3.copy(temp_v3, this._lpos);
+    temp_v3.x = pos[0];
+    temp_v3.y = pos[1];
+    this.setPosition(temp_v3);
+}
+
+nodeProto.toScaleX = function(x: number){
+    Vec3.copy(temp_v3, this._lscale);
+    temp_v3.x = x;
+    this.setScale(temp_v3);
+}
+nodeProto.toScaleY = function(y: number){
+    Vec3.copy(temp_v3, this._lscale);
+    temp_v3.y = y;
+    this.setScale(temp_v3);
+}
+nodeProto.toScaleXY = function(scale: number){
+    Vec3.copy(temp_v3, this._lscale);
+    temp_v3.x = temp_v3.y = scale;
+    this.setScale(temp_v3);
+}
+function setLocalOpacityDirty (node: Node, dirty: boolean, opacity: number) {
+    if (!node.isValid) {
+        return;
+    }
+    const render = node._uiProps.uiComp as UIRenderer;
+    let final_opacity = node._uiProps.localOpacity * opacity;
+    if (render && render.color) { // exclude UIMeshRenderer which has not color
+        render.renderEntity.colorDirty = dirty;
+        render.renderEntity.localOpacity = final_opacity
+    }
+    for (let i = 0; i < node.children.length; i++) {
+        setLocalOpacityDirty(node.children[i], dirty, final_opacity);
+    }
+}
+nodeProto.toOpacity = function(opacity: number){
+    // console.log(this.name, opacity)
+    this._uiProps.localOpacity = opacity;
+    if (JSB) {
+        setLocalOpacityDirty(this, true, 1);
+    }
+}

+ 9 - 0
assets/scene/script/NodeEx.ts.meta

@@ -0,0 +1,9 @@
+{
+  "ver": "4.0.23",
+  "importer": "typescript",
+  "imported": true,
+  "uuid": "2d04d0ce-a67c-4e93-a913-e5babf73eed0",
+  "files": [],
+  "subMetas": {},
+  "userData": {}
+}

+ 169 - 0
assets/scene/script/UtilsPanel.ts

@@ -0,0 +1,169 @@
+
+import { _decorator, SpriteFrame, Node, Sprite, Button, Label, Toggle, EditBox, RichText, sp, isValid, Prefab, instantiate, assetManager, UITransform, UIOpacity, ImageAsset, Component, js, builtinResMgr, UIRenderer, Material, ProgressBar, Layers, view, NodeEventType, Color, tween, Tween } from 'cc';
+import { Generate } from './components/Generate';
+
+export class UtilsPanel {
+
+    public static getAllNeedCom(sc: any, node: Node, recursive: boolean = false) {
+        SC = sc;
+        let children = node.children;
+        if (recursive) {
+            for (let i = 0, len = children.length; i < len; i++) {
+                children[i].walk(getComByName);
+            }
+        }
+        else {
+            for (let i = 0, len = children.length; i < len; i++) {
+                getComByName(children[i]);
+            }
+        }
+    }
+    public static getArrCom(node: Node, name: string, count: number, type = null) {
+        let arr = new Array(count);
+        let children = node.children;
+        let cur_connt = 0;
+        for (let i = 0; i < children.length; i++) {
+            if (children[i].name.startsWith(name)) {
+                cur_connt++;
+                let index = parseInt(children[i].name.slice(name.length));
+                arr[index] = type ? children[i].getComponent(type) : children[i];
+                if (cur_connt >= count) break;
+            }
+        }
+        return arr;
+    }
+    
+    public static addBtnEvent(btn_node: Node, func: Function, target?: any) {
+        let btn = btn_node.getComponent(Button);
+        if (!btn) {
+            btn = btn_node.addComponent(Button);
+            btn.transition = Button.Transition.SCALE;
+            btn.target = btn_node;
+            btn.zoomScale = 0.9;
+            btn.duration = 0.1;
+        }
+        btn_node.on("click", func, target);
+        return btn;
+    }
+    public static addBtnEvent2(btn_node: Node, func: string, target: any, param: string | number) {
+        let btn = btn_node.getComponent(Button);
+        if (!btn) {
+            btn = btn_node.addComponent(Button);
+            btn.transition = Button.Transition.SCALE;
+            btn.target = btn_node;
+            btn.zoomScale = 0.9;
+            btn.duration = 0.1;
+        }
+        let handler = new Component.EventHandler();
+        handler.target = target.node;
+        handler.component = js.getClassName(target);
+        handler.handler = func;
+        //@ts-ignore
+        handler.customEventData = param;
+        btn.clickEvents.push(handler);
+        return btn;
+    }
+    public static clearBtnEvent(node: Node, remove_btn: boolean) {
+        node.off("click");
+        let btn = node.getComponent(Button);
+        if (btn) {
+            btn.clickEvents.length = 0;
+            if (remove_btn) btn.destroy();
+        }
+    }
+    public static removeBtns(node: Node) {
+        node.walk(function (node1: Node) {
+            let btn = node1.getComponent(Button);
+            if (btn) btn.destroy();
+            node1.off("click");
+        })
+    }
+    public static setNodeGray(node_or_btn: Node | Button, state: boolean, recursive = false) {
+        let node = node_or_btn;
+        let btn = null;
+        if (node_or_btn instanceof Button) {
+            btn = node_or_btn;
+            node = node_or_btn.node;
+        }
+        else {
+            btn = (node as Node).getComponent(Button);
+        }
+        if (btn) btn.interactable = state;
+        // let mat_name = state ? "ui-sprite-material" : "";
+        let mat = state ? null : builtinResMgr.get("ui-sprite-gray-material");
+
+        let func = function (node0: any) {
+            let btn = node0.getComponent(Button)
+            btn && (btn.interactable = state);
+            let com_rendener = node0.getComponent(UIRenderer);
+            if (com_rendener && !com_rendener.setAnimation) com_rendener.customMaterial = mat;
+        }
+        if (recursive) {
+            (node as Node).walk(func);
+        }
+        else {
+            func(node);
+        }
+    }
+    public static setItemIcon(bundle_name: string, url: string, sp_icon: Sprite) {
+        assetManager.getBundle(bundle_name)?.load(url, SpriteFrame, (err: any, sp: SpriteFrame) => {
+            if (err) return;
+            if (isValid(sp_icon)) {
+                sp_icon.spriteFrame = sp;
+            }
+        })
+    }
+}
+
+var SC = null;
+function getComByName(node: Node) {
+    let name = node.name;
+    let com = null;
+    switch (name[0]) {
+        case "a":
+            if (name.startsWith("auto_btn_")) {
+                let click_name = name.slice(10);
+                let func_name = "on" + name[9].toUpperCase() + click_name + "Click";
+                if (SC[func_name]) UtilsPanel.addBtnEvent(node, SC[func_name], SC);
+            }
+            break;
+        case "b":
+            if (name.startsWith("btn_")) com = node.getComponent(Button);
+            break;
+        case "e":
+            if (name.startsWith("edit_")) com = node.getComponent(EditBox);
+            break;
+        case "g":
+            if (name.startsWith("gene_")) com = node.getComponent(Generate);
+            break;
+        case "l":
+            if (name.startsWith("lb_")) com = node.getComponent(Label);
+            break;
+        case "n":
+            if (name.startsWith("node_")) com = node;
+            break;
+        case "r":
+            if (name.startsWith("rich_")) com = node.getComponent(RichText);
+            break;
+        case "s":
+            if (name.startsWith("spine_")) com = node.getComponent(sp.Skeleton);
+            else if (name.startsWith("sp_")) com = node.getComponent(Sprite);
+            else if (name.startsWith("sc_")) {
+                name = name.slice(3);
+                //@ts-ignore
+                com = node._components[0];//cocos creator 中组件排序 如果取不到留意顺序是否出错
+            }
+            break;
+        case "t":
+            if (name.startsWith("toggle_")) com = node.getComponent(Toggle);
+            break;
+        case "u":
+            if (name.startsWith("uitrans_")) com = node.getComponent(UITransform);
+            if (name.startsWith("uiopca_")) com = node.getComponent(UIOpacity);
+            break;
+    }
+    if (com && SC.hasOwnProperty(name)) {
+        if (SC[name]) console.warn("重复调用?", name);
+        SC[name] = com;
+    }
+}

+ 9 - 0
assets/scene/script/UtilsPanel.ts.meta

@@ -0,0 +1,9 @@
+{
+  "ver": "4.0.23",
+  "importer": "typescript",
+  "imported": true,
+  "uuid": "12d413a2-f5b3-483b-b0d2-7f9ed4194e6c",
+  "files": [],
+  "subMetas": {},
+  "userData": {}
+}

+ 12 - 0
assets/scene/script/components.meta

@@ -0,0 +1,12 @@
+{
+  "ver": "1.1.0",
+  "importer": "directory",
+  "imported": true,
+  "uuid": "3f7c0130-6fab-4774-8015-89acd3277351",
+  "files": [],
+  "subMetas": {},
+  "userData": {
+    "compressionType": {},
+    "isRemoteBundle": {}
+  }
+}

+ 282 - 0
assets/scene/script/components/Generate.ts

@@ -0,0 +1,282 @@
+import { _decorator, Component, Prefab, Node, instantiate, Vec3, UITransform } from 'cc';
+import { ViewItemPro } from './ViewItemPro';
+import { SplitInfo } from '../ExClass';
+
+const { ccclass, property,menu } = _decorator;
+
+@ccclass('Generate')
+@menu("新组件/Generate")
+export class Generate extends Component {
+
+    @property(Prefab)
+    public pre_item: Prefab | Node = null;
+
+    @property({ tooltip: "第一帧加载个数" })
+    public first_add_num = 1;
+    @property({ tooltip: "每帧加载个个数" })
+    public every_frame_add = 1;
+    @property({ tooltip: "每行最多个数" })
+    public horizontal_num = 1;
+    @property({ tooltip: "是否需要计算子节点位置" })
+    public auto_align_child = true;
+    @property({ tooltip: "1 高度=item行数*高度\n2:1的基础上宽度=列数*宽度" })
+    public change_size_mode = 1;
+    @property({ tooltip: "item是否上有脚本" })
+    public item_have_script = true;
+    @property({ tooltip: "从左往右排" })
+    public left_to_right = true;
+    @property
+    public split_child = false;
+
+    private uitrans = null;
+    private m_data: any = null;
+    private item_list: Array<any> = [];
+    private state: number = 0;
+    private have_init = false;
+    private first_node: Node = null;
+    private need_refresh = false;
+    private p: any = null;
+    private item_width: number = 0;
+    private item_height: number = 0;
+    private offset_x: number = 0;
+    private offset_y: number = 0;
+
+    private offsets: Array<any> = [];
+    private split_infos: Array<SplitInfo> = [];
+    private size_override: Array<number> = null;
+
+    protected onLoad() {
+        this.uitrans = this.node.getComponent(UITransform);
+        this.first_node = null;
+        if(!this.pre_item && this.node.children.length > 0){
+            this.split_child = false;
+            this.pre_item = this.node.children[0];
+            if(this.item_have_script){
+                this.item_list.push(this.pre_item.getComponent(ViewItemPro));
+            }
+            else{
+                this.item_list.push(this.pre_item.components[0]);
+            }
+        }
+    }
+    protected onEnable(): void {
+        if(this.need_refresh)this.initData(this.m_data, this.p);
+    }
+    public setOverrideSize(size:any){
+        this.size_override = size;
+        this.have_init = false;
+    }
+
+    public setPrefab(pre: Prefab) {
+        this.pre_item = pre;
+        this.first_node = instantiate(pre);
+    }
+
+    public initData(data: any, p: any = null) {
+        this.m_data = data;
+        this.p = p;
+        this.need_refresh = !this.enabled;
+        if(!this.enabled)return;
+        this.initParams();
+        this.updateSize();
+        if (!data || data.length == 0) {
+            this.item_list.forEach((element, index) => {
+                element.node.active = false;
+                if(this.split_child)this.split_infos[index].setActive(false);
+            });
+            return;
+        }
+        if (this.change_size_mode > 0 && this.auto_align_child) {
+            this.updateItemsPos();
+        }
+        let items_len = this.item_list.length;
+        let need_add = data.length - items_len;
+        if (need_add > 0) {
+            let need_add = data.length - items_len;
+            need_add = Math.min(need_add, this.first_add_num);
+            this.addItems(items_len, items_len + need_add);
+            this.updateItems(0, items_len + need_add);
+            this.state = 1;
+            return;
+        } 
+        else if(need_add < 0){
+            for (let i = items_len + need_add; i < items_len; i++){
+                this.item_list[i].node.active = false;
+                if(this.split_child)this.split_infos[i].setActive(false);
+            }
+        }
+        this.updateItems(0, this.m_data.length);
+    }
+
+    private initParams() {
+        if (!this.have_init) {
+            let node = null;
+            if(this.first_node){
+                node = this.first_node;
+            }
+            else{
+                if(Node.isNode(this.pre_item)){
+                    node = this.node.children[0];
+                }
+                else{
+                    node = instantiate(this.pre_item);
+                }
+                this.first_node = node;
+                if (this.split_child) {
+                    this.offsets = SplitInfo.getOffsetByNode(node);
+                }
+            }
+            let trans = node.getComponent(UITransform);
+            if(this.size_override){
+                this.item_width = this.size_override[0];
+                this.item_height = this.size_override[1];
+            }
+            else{
+                this.item_width = trans.width;
+                this.item_height = trans.height;
+            }
+            if(this.left_to_right)this.offset_x = trans.anchorX * this.item_width;
+            else this.offset_x = (trans.anchorX - 1) * this.item_width;
+            this.offset_y = (1 - trans.anchorY) * this.item_height;
+            this.have_init = true;
+        }
+    }
+
+    private updateSize() {
+        let len = 0;
+        if(this.m_data)len = this.m_data.length;
+        let row = Math.ceil(len / this.horizontal_num);
+        if (this.change_size_mode == 2) {
+            let col = len > this.horizontal_num ? this.horizontal_num : len;
+            this.uitrans.setContentSize(col * this.item_width, row * this.item_height);
+        } 
+        else if (this.change_size_mode == 1) {
+            this.uitrans.height = row * this.item_height;
+        }
+    }
+
+    private addItems(begin: number, end: number) {
+        let begin_x = this.left_to_right ? this._getLeftBoundary() : this._getRightBoundary();
+        let begin_y = this._getTopBoundary();
+        let row = 0, col = 0;
+        for (let i = begin; i < end; i++) {
+            let node = i == 0 ? this.first_node : instantiate(this.pre_item) as Node;
+            if(this.item_have_script)this.item_list.push(node.getComponent(ViewItemPro));
+            else this.item_list.push(node.components[0]);
+            node.setParent(this.node);
+            let flag = this.left_to_right ? 1 : -1;
+            let x = 0 , y = 0;
+            if (this.auto_align_child) {
+                row = Math.floor(i / this.horizontal_num);
+                col = i % this.horizontal_num;
+                x = begin_x + flag * col * this.item_width + this.offset_x;
+                y = begin_y - row * this.item_height - this.offset_y;
+                node.toXY(x, y);
+            }
+        }
+        if (this.split_child) {
+            let com_node = null;
+            let info = null;
+            for (let i = begin; i < end; i++) {
+                com_node = this.item_list[i].node;
+                info = new SplitInfo(com_node);
+                this.split_infos.push(info);
+                com_node.setSiblingIndex(i);
+                info.setSlisByIndex(i);
+                info.moveByOffset(this.offsets);
+            }
+            //console.log(this.node.children)
+        }
+    }
+
+    private updateItemsPos() {
+        if (this.item_list.length == 0) return;
+        let begin_x = this.left_to_right ? this._getLeftBoundary() : this._getRightBoundary();
+        let begin_y = this._getTopBoundary();
+        let row = 0, col = 0;
+        let x = 0 , y = 0;
+        let flag = this.left_to_right ? 1 : -1;
+        for (let i = 0, len = this.item_list.length; i < len; i++) {
+            let node = this.item_list[i].node;
+            row = Math.floor(i / this.horizontal_num);
+            col = i % this.horizontal_num;
+            x = begin_x + flag * col * this.item_width + this.offset_x;
+            y = begin_y - row * this.item_height - this.offset_y;
+            node.toXY(x, y);
+            if(this.split_child){
+                this.split_infos[i].moveByOffset(this.offsets);
+            }
+        }
+    }
+    private updateItems(begin: number, end: number) {
+        for (let i = begin; i < end; i++) {
+            this.item_list[i].node.active = true;
+            if(this.split_child)this.split_infos[i].setActive(true);
+            if(this.item_have_script){
+                this.item_list[i].reset();
+                this.item_list[i].init(this.m_data[i], i, this.p);
+            }
+            else{
+                this.p(this.item_list[i].node, i);
+            }
+        }
+    }
+
+    private _getLeftBoundary() {
+        return -this.uitrans.anchorX * this.uitrans.width;
+    }
+    private _getBottomBoundary() {
+        return -this.uitrans.anchorY * this.uitrans.height;
+    }
+    private _getRightBoundary() {
+        return (1 - this.uitrans.anchorX) * this.uitrans.width;
+    }
+    private _getTopBoundary() {
+        return (1 - this.uitrans.anchorY) * this.uitrans.height;
+    }
+
+    public getValidCount(){
+        return this.m_data.length;
+    }
+    public getItems() {
+        return this.item_list;
+    }
+
+    public removeAllItems() {
+        if(!this.isValid)return;
+        for(let i = 0 ; i < this.item_list.length ; i++){
+            this.node.removeChild(this.item_list[i].node);
+        }
+        this.have_init = false;
+        this.item_list.length = 0;
+        this.first_node = null;
+    }
+
+    public getItemById(index: number) {
+        return this.item_list[index];
+    }
+    public getPosById(index:number){
+        let begin_x = this.left_to_right ? this._getLeftBoundary() : this._getRightBoundary();
+        let begin_y = this._getTopBoundary();
+        let row = Math.floor(index / this.horizontal_num);
+        let col = index % this.horizontal_num;
+        let flag = this.left_to_right ? 1 : -1;
+        let x = begin_x + flag * col * this.item_width + this.offset_x;
+        let y = begin_y - row * this.item_height - this.offset_y;
+        return [x, y];
+    }
+    protected update(dt: number) {
+        if (this.state == 0) return;
+        if (this.item_list.length >= this.m_data.length) {
+            this.state = 0;
+            //console.log(this.node.children)
+            this.node.emit("load_end");
+        } else {
+            let add = Math.min(this.every_frame_add, this.m_data.length - this.item_list.length);
+            let items_len = this.item_list.length;
+            this.addItems(items_len, items_len + add);
+            this.updateItems(items_len, items_len + add);
+        }
+    }
+
+}

+ 9 - 0
assets/scene/script/components/Generate.ts.meta

@@ -0,0 +1,9 @@
+{
+  "ver": "4.0.23",
+  "importer": "typescript",
+  "imported": true,
+  "uuid": "20142313-0cbc-46bc-add2-8715bae12221",
+  "files": [],
+  "subMetas": {},
+  "userData": {}
+}

+ 11 - 0
assets/scene/script/components/ViewItemPro.ts

@@ -0,0 +1,11 @@
+import { _decorator, Component } from 'cc';
+const {ccclass} = _decorator;
+
+// const {ccclass} = cc._decorator;
+// 
+@ccclass('ViewItemPro')
+export class ViewItemPro extends Component {
+    public init(data:any,index:number=0,p:any=null){}
+    public showAction(index:number){};
+    public reset(){}
+}

+ 9 - 0
assets/scene/script/components/ViewItemPro.ts.meta

@@ -0,0 +1,9 @@
+{
+  "ver": "4.0.23",
+  "importer": "typescript",
+  "imported": true,
+  "uuid": "eff1e8f7-50b1-49e8-af74-8eaa02725d2e",
+  "files": [],
+  "subMetas": {},
+  "userData": {}
+}

+ 27 - 0
ccex.d.ts

@@ -0,0 +1,27 @@
+declare module "cc"{
+    interface Node{
+         //添加子节点时自动排序
+         autoSort():void;
+         //按position.z为自己点排序
+         sortByPosZ():void;
+         toX(x:number):void;
+         addX(add_x: number):void;
+         toY(y:number):void;
+         addY(add_y: number):void;
+         toZ(z: number, need_sort:boolean):void;
+         toXY(x:number, y:number):void;
+         toXYByArr(pos:Array<number>):void;
+         //position. x  = .y   = 0;
+         to0():void;
+         toScaleX(x: number):void;
+         toScaleY(y: number):void;
+         toScaleXY(scale: number):void;
+         toOpacity(opacity: number):void;
+    }
+    interface Tween<T>{
+        toPro(duration: number, props: any, opts?: ITweenOption): Tween<T>;
+        byPro(duration: number, props: any, opts?: ITweenOption): Tween<T>;
+        bezierTo(duration: number, end_pos: Vec3 | Vec2, c1: Vec3 | Vec2, c2: Vec3 | Vec2, opts?: any): Tween<T>;
+        bezierToByArr(duration: number, end_pos: Array<number>, c: Array<number>, opts?: any): Tween<T>;
+    }
+}

+ 0 - 0
h5充值界面2/效果图.png → design/效果图.png


+ 0 - 15
h5充值界面2/大数字.fnt

@@ -1,15 +0,0 @@
-info face="Arial" size=10 bold=0 italic=0 charset="" unicode=0 stretchH=100 smooth=1 aa=1 padding=0,0,0,0 spacing=2,2
-common lineHeight=76 base=10 scaleW=484 scaleH=76 pages=1 packed=0
-page id=0 file="大数字.png"
-chars count=11
-char id=22270 x=0 y=0 width=46 height=76 xoffset=0 yoffset=0 xadvance=46 page=0 chnl=0 page=0 letter="图"
-char id=22270 x=46 y=0 width=45 height=76 xoffset=0 yoffset=0 xadvance=45 page=0 chnl=0 page=0 letter="图"
-char id=22270 x=91 y=0 width=34 height=74 xoffset=0 yoffset=0 xadvance=34 page=0 chnl=0 page=0 letter="图"
-char id=22270 x=125 y=0 width=44 height=75 xoffset=0 yoffset=0 xadvance=44 page=0 chnl=0 page=0 letter="图"
-char id=22270 x=169 y=0 width=45 height=76 xoffset=0 yoffset=0 xadvance=45 page=0 chnl=0 page=0 letter="图"
-char id=22270 x=214 y=0 width=47 height=74 xoffset=0 yoffset=0 xadvance=47 page=0 chnl=0 page=0 letter="图"
-char id=22270 x=261 y=0 width=46 height=75 xoffset=0 yoffset=0 xadvance=46 page=0 chnl=0 page=0 letter="图"
-char id=22270 x=307 y=0 width=46 height=76 xoffset=0 yoffset=0 xadvance=46 page=0 chnl=0 page=0 letter="图"
-char id=22270 x=353 y=0 width=38 height=74 xoffset=0 yoffset=0 xadvance=38 page=0 chnl=0 page=0 letter="图"
-char id=22270 x=391 y=0 width=46 height=76 xoffset=0 yoffset=0 xadvance=46 page=0 chnl=0 page=0 letter="图"
-char id=32 x=437 y=0 width=47 height=76 xoffset=0 yoffset=0 xadvance=47 page=0 chnl=0 page=0 letter="space"

+ 8 - 0
package.json

@@ -0,0 +1,8 @@
+{
+  "name": "payH51",
+  "uuid": "2274e71f-291f-4a65-8483-9b70da7b2b20",
+  "version": "3.6.3",
+  "creator": {
+    "version": "3.6.3"
+  }
+}

+ 129 - 0
settings/v2/packages/engine.json

@@ -0,0 +1,129 @@
+{
+  "__version__": "1.0.7",
+  "modules": {
+    "cache": {
+      "base": {
+        "_value": true
+      },
+      "graphcis": {
+        "_value": true
+      },
+      "gfx-webgl": {
+        "_value": true
+      },
+      "gfx-webgl2": {
+        "_value": true
+      },
+      "animation": {
+        "_value": false
+      },
+      "skeletal-animation": {
+        "_value": false
+      },
+      "3d": {
+        "_value": false
+      },
+      "2d": {
+        "_value": true
+      },
+      "xr": {
+        "_value": false
+      },
+      "ui": {
+        "_value": true
+      },
+      "particle": {
+        "_value": false
+      },
+      "physics": {
+        "_value": false,
+        "_option": "physics-ammo"
+      },
+      "physics-ammo": {
+        "_value": false
+      },
+      "physics-cannon": {
+        "_value": false
+      },
+      "physics-physx": {
+        "_value": false
+      },
+      "physics-builtin": {
+        "_value": false
+      },
+      "physics-2d": {
+        "_value": false,
+        "_option": "physics-2d-box2d"
+      },
+      "physics-2d-box2d": {
+        "_value": false
+      },
+      "physics-2d-builtin": {
+        "_value": false
+      },
+      "intersection-2d": {
+        "_value": false
+      },
+      "primitive": {
+        "_value": false
+      },
+      "profiler": {
+        "_value": false
+      },
+      "occlusion-query": {
+        "_value": false
+      },
+      "geometry-renderer": {
+        "_value": false
+      },
+      "debug-renderer": {
+        "_value": false
+      },
+      "particle-2d": {
+        "_value": false
+      },
+      "audio": {
+        "_value": false
+      },
+      "video": {
+        "_value": false
+      },
+      "webview": {
+        "_value": false
+      },
+      "tween": {
+        "_value": false
+      },
+      "terrain": {
+        "_value": false
+      },
+      "tiled-map": {
+        "_value": false
+      },
+      "spine": {
+        "_value": false
+      },
+      "dragon-bones": {
+        "_value": false
+      },
+      "marionette": {
+        "_value": false
+      },
+      "custom-pipeline": {
+        "_value": false
+      }
+    },
+    "includeModules": [
+      "2d",
+      "base",
+      "gfx-webgl",
+      "gfx-webgl2",
+      "ui"
+    ],
+    "noDeprecatedFeatures": {
+      "value": false,
+      "version": ""
+    },
+    "flags": {}
+  }
+}

+ 9 - 0
tsconfig.json

@@ -0,0 +1,9 @@
+{
+  /* Base configuration. Do not edit this field. */
+  "extends": "./temp/tsconfig.cocos.json",
+
+  /* Add your custom configuration here. */
+  "compilerOptions": {
+    "strict": false
+  }
+}