diff --git a/assets/comp/wallet/prefab/NftList.prefab b/assets/comp/wallet/prefab/NftList.prefab index 2f49bd3..03938cc 100644 --- a/assets/comp/wallet/prefab/NftList.prefab +++ b/assets/comp/wallet/prefab/NftList.prefab @@ -24,17 +24,17 @@ "_level": 1, "_components": [ { - "__id__": 13 + "__id__": 5 }, { - "__id__": 14 + "__id__": 6 }, { - "__id__": 15 + "__id__": 7 } ], "_prefab": { - "__id__": 16 + "__id__": 8 }, "_opacity": 255, "_color": { @@ -87,20 +87,16 @@ "_parent": { "__id__": 1 }, - "_children": [ - { - "__id__": 3 - } - ], + "_children": [], "_active": true, "_level": 3, "_components": [ { - "__id__": 11 + "__id__": 3 } ], "_prefab": { - "__id__": 12 + "__id__": 4 }, "_opacity": 255, "_color": { @@ -146,281 +142,6 @@ "groupIndex": 0, "_id": "" }, - { - "__type__": "cc.Node", - "_name": "OneNFT", - "_objFlags": 0, - "_parent": { - "__id__": 2 - }, - "_children": [ - { - "__id__": 4 - }, - { - "__id__": 7 - } - ], - "_active": true, - "_level": 4, - "_components": [], - "_prefab": { - "__id__": 10 - }, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 100, - "height": 120 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_position": { - "__type__": "cc.Vec3", - "x": -175, - "y": -60, - "z": 0 - }, - "_scale": { - "__type__": "cc.Vec3", - "x": 1, - "y": 1, - "z": 1 - }, - "_rotationX": 0, - "_rotationY": 0, - "_quat": { - "__type__": "cc.Quat", - "x": 0, - "y": 0, - "z": 0, - "w": 1 - }, - "_skewX": 0, - "_skewY": 0, - "groupIndex": 0, - "_id": "" - }, - { - "__type__": "cc.Node", - "_name": "New Sprite", - "_objFlags": 0, - "_parent": { - "__id__": 3 - }, - "_children": [], - "_active": true, - "_level": 5, - "_components": [ - { - "__id__": 5 - } - ], - "_prefab": { - "__id__": 6 - }, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 100, - "height": 100 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_position": { - "__type__": "cc.Vec3", - "x": 0, - "y": 10, - "z": 0 - }, - "_scale": { - "__type__": "cc.Vec3", - "x": 1, - "y": 1, - "z": 1 - }, - "_rotationX": 0, - "_rotationY": 0, - "_quat": { - "__type__": "cc.Quat", - "x": 0, - "y": 0, - "z": 0, - "w": 1 - }, - "_skewX": 0, - "_skewY": 0, - "groupIndex": 0, - "_id": "" - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 4 - }, - "_enabled": true, - "_srcBlendFactor": 770, - "_dstBlendFactor": 771, - "_spriteFrame": { - "__uuid__": "8cdb44ac-a3f6-449f-b354-7cd48cf84061" - }, - "_type": 0, - "_sizeMode": 0, - "_fillType": 0, - "_fillCenter": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0 - }, - "_fillStart": 0, - "_fillRange": 0, - "_isTrimmedMode": true, - "_state": 0, - "_atlas": null, - "_id": "" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__uuid__": "e64be85b-3d9f-4109-8e7d-48847666bf2c" - }, - "fileId": "d60oW7FvtHeYQMK3B9YDtO", - "sync": false - }, - { - "__type__": "cc.Node", - "_name": "idLabel", - "_objFlags": 0, - "_parent": { - "__id__": 3 - }, - "_children": [], - "_active": true, - "_level": 5, - "_components": [ - { - "__id__": 8 - } - ], - "_prefab": { - "__id__": 9 - }, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 48.94, - "height": 40 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0.5 - }, - "_position": { - "__type__": "cc.Vec3", - "x": -50, - "y": -45, - "z": 0 - }, - "_scale": { - "__type__": "cc.Vec3", - "x": 1, - "y": 1, - "z": 1 - }, - "_rotationX": 0, - "_rotationY": 0, - "_quat": { - "__type__": "cc.Quat", - "x": 0, - "y": 0, - "z": 0, - "w": 1 - }, - "_skewX": 0, - "_skewY": 0, - "groupIndex": 0, - "_id": "" - }, - { - "__type__": "cc.Label", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 7 - }, - "_enabled": true, - "_useOriginalSize": false, - "_string": "Label", - "_N$string": "Label", - "_fontSize": 20, - "_lineHeight": 40, - "_enableWrapText": true, - "_N$file": null, - "_isSystemFontUsed": true, - "_spacingX": 0, - "_batchAsBitmap": false, - "_N$horizontalAlign": 0, - "_N$verticalAlign": 1, - "_N$fontFamily": "Arial", - "_N$overflow": 0, - "_N$cacheMode": 0, - "_id": "" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__uuid__": "e64be85b-3d9f-4109-8e7d-48847666bf2c" - }, - "fileId": "fdPjhkyMBEwZHA5g8nn6Bd", - "sync": false - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__uuid__": "e64be85b-3d9f-4109-8e7d-48847666bf2c" - }, - "fileId": "d8aF0PaVNDOojtyTIMdXbp", - "sync": false - }, { "__type__": "cc.Layout", "_name": "", diff --git a/assets/comp/wallet/prefab/OneNFT.prefab b/assets/comp/wallet/prefab/OneNFT.prefab index 930895a..f3d9503 100644 --- a/assets/comp/wallet/prefab/OneNFT.prefab +++ b/assets/comp/wallet/prefab/OneNFT.prefab @@ -24,10 +24,14 @@ } ], "_active": true, - "_level": 4, - "_components": [], + "_level": 1, + "_components": [ + { + "__id__": 8 + } + ], "_prefab": { - "__id__": 8 + "__id__": 9 }, "_opacity": 255, "_color": { @@ -169,7 +173,7 @@ "__id__": 1 }, "asset": { - "__id__": 0 + "__uuid__": "259e752f-837f-4d16-b21f-3c886e3a7a7e" }, "fileId": "d60oW7FvtHeYQMK3B9YDtO", "sync": false @@ -195,14 +199,14 @@ "_opacity": 255, "_color": { "__type__": "cc.Color", - "r": 255, - "g": 255, + "r": 51, + "g": 0, "b": 255, "a": 255 }, "_contentSize": { "__type__": "cc.Size", - "width": 48.94, + "width": 48.38, "height": 40 }, "_anchorPoint": { @@ -213,7 +217,7 @@ "_position": { "__type__": "cc.Vec3", "x": -50, - "y": -45, + "y": -53, "z": 0 }, "_scale": { @@ -245,9 +249,9 @@ }, "_enabled": true, "_useOriginalSize": false, - "_string": "Label", - "_N$string": "Label", - "_fontSize": 20, + "_string": "loading", + "_N$string": "loading", + "_fontSize": 15, "_lineHeight": 40, "_enableWrapText": true, "_N$file": null, @@ -267,18 +271,34 @@ "__id__": 1 }, "asset": { - "__id__": 0 + "__uuid__": "259e752f-837f-4d16-b21f-3c886e3a7a7e" }, "fileId": "fdPjhkyMBEwZHA5g8nn6Bd", "sync": false }, + { + "__type__": "bb92dJjUI9LyKmoMkyL9R8O", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 1 + }, + "_enabled": true, + "nftIDlabel": { + "__id__": 6 + }, + "icon": { + "__id__": 3 + }, + "_id": "" + }, { "__type__": "cc.PrefabInfo", "root": { "__id__": 1 }, "asset": { - "__id__": 0 + "__uuid__": "259e752f-837f-4d16-b21f-3c886e3a7a7e" }, "fileId": "d8aF0PaVNDOojtyTIMdXbp", "sync": false diff --git a/assets/comp/wallet/scripts/JCWallet.ts b/assets/comp/wallet/scripts/JCWallet.ts index e027905..c5035d7 100644 --- a/assets/comp/wallet/scripts/JCWallet.ts +++ b/assets/comp/wallet/scripts/JCWallet.ts @@ -89,6 +89,7 @@ export default class JCWallet { return data } data = initAccount(address, chain) + this.data.push(data) return data } diff --git a/assets/comp/wallet/scripts/data/DataModel.ts b/assets/comp/wallet/scripts/data/DataModel.ts index 935cbd9..52e5e4c 100644 --- a/assets/comp/wallet/scripts/data/DataModel.ts +++ b/assets/comp/wallet/scripts/data/DataModel.ts @@ -11,13 +11,21 @@ export interface IToken { export interface INFT { address: string - tokenId: string + index: number + tokenId?: string image?: string name?: string desc?: string last?: number } +export function initNFT(address: string, index: number) { + return { + address, + index + } +} + export interface IAccount { address: string chain: number diff --git a/assets/comp/wallet/scripts/standards/ERC721Standard.ts b/assets/comp/wallet/scripts/standards/ERC721Standard.ts index b53a5e8..3355002 100644 --- a/assets/comp/wallet/scripts/standards/ERC721Standard.ts +++ b/assets/comp/wallet/scripts/standards/ERC721Standard.ts @@ -86,6 +86,25 @@ export class ERC721Standard { }); }; + getBalance = async ( + address: string, + selectedAddress: string + ): Promise => { + const contract = new this.web3.eth.Contract(abiERC721, address); + return new Promise((resolve, reject) => { + contract.methods.balanceOf( + selectedAddress).call((error: Error, result: number) => { + /* istanbul ignore if */ + if (error) { + reject(error); + return; + } + resolve(result); + }, + ); + }); + }; + /** * Query for tokenURI for a given asset. * diff --git a/assets/comp/wallet/scripts/ui/ListNode.ts b/assets/comp/wallet/scripts/ui/ListNode.ts index 8160b08..229dad0 100644 --- a/assets/comp/wallet/scripts/ui/ListNode.ts +++ b/assets/comp/wallet/scripts/ui/ListNode.ts @@ -37,6 +37,7 @@ export default class ListNode extends WalletBase { let node = cc.instantiate(this.nftListPreb) node.active = false node.getComponent('NftList').address = nftData[type] + node.getComponent('NftList').type = type this.node.addChild(node) this.otherNode.set(type, node) return node @@ -52,7 +53,9 @@ export default class ListNode extends WalletBase { this.tokenNode.getComponent('TokenList').updateList() } else { this.tokenNode.active = false - this.initOneNftList(type).active = true + const nftList = this.initOneNftList(type) + nftList.active = true + nftList.getComponent('NftList').updateList() } } } diff --git a/assets/comp/wallet/scripts/ui/NftList.ts b/assets/comp/wallet/scripts/ui/NftList.ts index 6ef1641..ffd4cc4 100644 --- a/assets/comp/wallet/scripts/ui/NftList.ts +++ b/assets/comp/wallet/scripts/ui/NftList.ts @@ -1,3 +1,5 @@ +import { INFT, initNFT } from "../data/DataModel"; +import JCWallet from "../JCWallet"; import WalletBase from "./WallerBase"; const {ccclass, property} = cc._decorator; @@ -12,14 +14,44 @@ export default class NftList extends WalletBase { contentNode: cc.Node = null public address: string = '' + public type: string = '' + // LIFE-CYCLE CALLBACKS: // onLoad () {} start () { - + super.start() } + // update (dt) {} + async updateList() { + const account = this.wallet.currentAccount().address + const amount = await this.wallet.erc721Standard.getBalance(this.address, account) + const nfts = this.wallet.currentAccountData[`${this.type}s`] + let refresh = false + if (nfts.length !== amount) { + refresh = true + } + this.contentNode.removeAllChildren() + if (refresh) { + nfts.length = 0 + for (let i = 0; i < amount; i++) { + const nftData = initNFT(this.address, i) + nfts.push(nftData) + this.addOneNft(nftData, true) + } + } else { + for (let nftData of nfts) { + this.addOneNft(nftData, false) + } + } + } + addOneNft(data: INFT, refresh: boolean) { + let node = cc.instantiate(this.tokenPreb) + node.getComponent('OneNFT').init(data, refresh) + this.contentNode.addChild(node) + } } diff --git a/assets/comp/wallet/scripts/ui/OneNFT.ts b/assets/comp/wallet/scripts/ui/OneNFT.ts index 5d3c21c..f715711 100644 --- a/assets/comp/wallet/scripts/ui/OneNFT.ts +++ b/assets/comp/wallet/scripts/ui/OneNFT.ts @@ -1,8 +1,13 @@ +import { ZError } from "../common/ZError"; import { INFT } from "../data/DataModel"; +import JCWallet from "../JCWallet"; +import { GET_JSON } from "../lib/Http"; import WalletBase from "./WallerBase"; const {ccclass, property} = cc._decorator; +const BASE_TOKEN_URI = 'https://market.cebg.games/api/nft/info/' + @ccclass export default class OneNFT extends WalletBase { @@ -13,14 +18,60 @@ export default class OneNFT extends WalletBase { icon: cc.Sprite = null; data: INFT = null + addressAccount: string = '' // LIFE-CYCLE CALLBACKS: // onLoad () {} start () { - + super.start() } // update (dt) {} + async init(data: INFT, refresh: boolean) { + if (!this.wallet) { + this.wallet = new JCWallet() + } + this.addressAccount = this.wallet.currentAccount().address + this.data = data + try { + const tokenId = await this.wallet.erc721Standard.getCollectibleTokenId( + this.data.address, + this.addressAccount, + this.data.index + ) + if (this.data.tokenId !== tokenId) { + this.data.tokenId = tokenId + refresh = true + } + } catch (e) { + console.log('error fetch tokenId from chain') + } + + if (refresh) { + await this.refreshNFTInfo() + } + this.updateUI() + } + + async refreshNFTInfo() { + const url = `${BASE_TOKEN_URI}${this.data.tokenId}?t=${Date.now()}` + const info: any = await GET_JSON(url) + console.log(info) + this.data.name = info.name + this.data.desc = info.description + this.data.image = info.image + } + + updateUI() { + if (this.data.image) { + cc.loader.load(this.data.image, function(err, texture){ + this.icon.spriteFrame = new cc.SpriteFrame(texture); + }) + } + this.nftIDlabel.string = this.data.tokenId + + } + } diff --git a/assets/comp/wallet/scripts/ui/WallerBase.ts b/assets/comp/wallet/scripts/ui/WallerBase.ts index 34d8d86..35f197a 100644 --- a/assets/comp/wallet/scripts/ui/WallerBase.ts +++ b/assets/comp/wallet/scripts/ui/WallerBase.ts @@ -7,10 +7,12 @@ export default class WalletBase extends cc.Component { protected wallet: JCWallet isAlter = false - - start () { + onLoad(): void { this.wallet = new JCWallet() } + start () { + + } update (dt) { if (this.isAlter) { diff --git a/assets/scenes/main.fire b/assets/scenes/main.fire index 64f7bc7..7a8f539 100644 --- a/assets/scenes/main.fire +++ b/assets/scenes/main.fire @@ -17,7 +17,7 @@ "__id__": 2 }, { - "__id__": 232 + "__id__": 190 } ], "_active": false, @@ -87,13 +87,13 @@ "_level": 1, "_components": [ { - "__id__": 229 + "__id__": 187 }, { - "__id__": 230 + "__id__": 188 }, { - "__id__": 233 + "__id__": 191 } ], "_prefab": null, @@ -4638,20 +4638,20 @@ "__id__": 136 }, { - "__id__": 186 + "__id__": 144 } ], "_active": true, "_level": 1, "_components": [ { - "__id__": 226 + "__id__": 184 }, { - "__id__": 227 + "__id__": 185 }, { - "__id__": 228 + "__id__": 186 } ], "_prefab": null, @@ -5948,16 +5948,13 @@ "_children": [ { "__id__": 137 - }, - { - "__id__": 169 } ], "_active": true, "_level": 2, "_components": [ { - "__id__": 185 + "__id__": 143 } ], "_prefab": null, @@ -6021,13 +6018,13 @@ "_level": 3, "_components": [ { - "__id__": 166 + "__id__": 140 }, { - "__id__": 167 + "__id__": 141 }, { - "__id__": 168 + "__id__": 142 } ], "_prefab": null, @@ -6082,37 +6079,12 @@ "_parent": { "__id__": 137 }, - "_children": [ - { - "__id__": 139 - }, - { - "__id__": 151 - }, - { - "__id__": 153 - }, - { - "__id__": 155 - }, - { - "__id__": 157 - }, - { - "__id__": 159 - }, - { - "__id__": 161 - }, - { - "__id__": 163 - } - ], + "_children": [], "_active": true, "_level": 3, "_components": [ { - "__id__": 165 + "__id__": 139 } ], "_prefab": null, @@ -6127,7 +6099,7 @@ "_contentSize": { "__type__": "cc.Size", "width": 450, - "height": 550 + "height": -10 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -6160,1030 +6132,6 @@ "groupIndex": 0, "_id": "ecpP4Pv7RG2KpdWR1JSfqc" }, - { - "__type__": "cc.Node", - "_name": "OneToken", - "_objFlags": 0, - "_parent": { - "__id__": 138 - }, - "_children": [ - { - "__id__": 140 - }, - { - "__id__": 143 - }, - { - "__id__": 146 - } - ], - "_active": true, - "_level": 4, - "_components": [ - { - "__id__": 149 - } - ], - "_prefab": { - "__id__": 150 - }, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 153, - "g": 153, - "b": 153, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 450, - "height": 60 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_position": { - "__type__": "cc.Vec3", - "x": 0, - "y": -30, - "z": 0 - }, - "_scale": { - "__type__": "cc.Vec3", - "x": 1, - "y": 1, - "z": 1 - }, - "_rotationX": 0, - "_rotationY": 0, - "_quat": { - "__type__": "cc.Quat", - "x": 0, - "y": 0, - "z": 0, - "w": 1 - }, - "_skewX": 0, - "_skewY": 0, - "groupIndex": 0, - "_id": "adoQSiLjZG56t5GXVWQvlL" - }, - { - "__type__": "cc.Node", - "_name": "icon", - "_objFlags": 0, - "_parent": { - "__id__": 139 - }, - "_children": [], - "_active": true, - "_level": 5, - "_components": [ - { - "__id__": 141 - } - ], - "_prefab": { - "__id__": 142 - }, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 40, - "height": 40 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_position": { - "__type__": "cc.Vec3", - "x": -190, - "y": 0, - "z": 0 - }, - "_scale": { - "__type__": "cc.Vec3", - "x": 1, - "y": 1, - "z": 1 - }, - "_rotationX": 0, - "_rotationY": 0, - "_quat": { - "__type__": "cc.Quat", - "x": 0, - "y": 0, - "z": 0, - "w": 1 - }, - "_skewX": 0, - "_skewY": 0, - "groupIndex": 0, - "_id": "1a8x2zZmNOU6glyFKwUfHp" - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 140 - }, - "_enabled": true, - "_srcBlendFactor": 770, - "_dstBlendFactor": 771, - "_spriteFrame": { - "__uuid__": "8cdb44ac-a3f6-449f-b354-7cd48cf84061" - }, - "_type": 0, - "_sizeMode": 0, - "_fillType": 0, - "_fillCenter": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0 - }, - "_fillStart": 0, - "_fillRange": 0, - "_isTrimmedMode": true, - "_state": 0, - "_atlas": null, - "_id": "adBGsVwU9P0Y9L2LIjAiZs" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 139 - }, - "asset": { - "__uuid__": "e4b00542-5961-4a6a-8ae5-c19d30ac84a2" - }, - "fileId": "1a8x2zZmNOU6glyFKwUfHp", - "sync": false - }, - { - "__type__": "cc.Node", - "_name": "nameLabel", - "_objFlags": 0, - "_parent": { - "__id__": 139 - }, - "_children": [], - "_active": true, - "_level": 5, - "_components": [ - { - "__id__": 144 - } - ], - "_prefab": { - "__id__": 145 - }, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 0, - "g": 0, - "b": 0, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 75.04, - "height": 40 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0.5 - }, - "_position": { - "__type__": "cc.Vec3", - "x": -162, - "y": 0, - "z": 0 - }, - "_scale": { - "__type__": "cc.Vec3", - "x": 1, - "y": 1, - "z": 1 - }, - "_rotationX": 0, - "_rotationY": 0, - "_quat": { - "__type__": "cc.Quat", - "x": 0, - "y": 0, - "z": 0, - "w": 1 - }, - "_skewX": 0, - "_skewY": 0, - "groupIndex": 0, - "_id": "7efChFqAdDMrznOWA5RJF0" - }, - { - "__type__": "cc.Label", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 143 - }, - "_enabled": true, - "_useOriginalSize": false, - "_string": "name", - "_N$string": "name", - "_fontSize": 30, - "_lineHeight": 40, - "_enableWrapText": true, - "_N$file": null, - "_isSystemFontUsed": true, - "_spacingX": 0, - "_batchAsBitmap": false, - "_N$horizontalAlign": 0, - "_N$verticalAlign": 1, - "_N$fontFamily": "Arial", - "_N$overflow": 0, - "_N$cacheMode": 0, - "_id": "5fwPZe8ChG95h3GcU/Jfvx" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 139 - }, - "asset": { - "__uuid__": "e4b00542-5961-4a6a-8ae5-c19d30ac84a2" - }, - "fileId": "7efChFqAdDMrznOWA5RJF0", - "sync": false - }, - { - "__type__": "cc.Node", - "_name": "countLabel", - "_objFlags": 0, - "_parent": { - "__id__": 139 - }, - "_children": [], - "_active": true, - "_level": 5, - "_components": [ - { - "__id__": 147 - } - ], - "_prefab": { - "__id__": 148 - }, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 0, - "g": 0, - "b": 0, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 108.44, - "height": 40 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 1, - "y": 0.5 - }, - "_position": { - "__type__": "cc.Vec3", - "x": 203, - "y": 0, - "z": 0 - }, - "_scale": { - "__type__": "cc.Vec3", - "x": 1, - "y": 1, - "z": 1 - }, - "_rotationX": 0, - "_rotationY": 0, - "_quat": { - "__type__": "cc.Quat", - "x": 0, - "y": 0, - "z": 0, - "w": 1 - }, - "_skewX": 0, - "_skewY": 0, - "groupIndex": 0, - "_id": "65w39W/ddIsLb50QRubYhg" - }, - { - "__type__": "cc.Label", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 146 - }, - "_enabled": true, - "_useOriginalSize": false, - "_string": "1000.00", - "_N$string": "1000.00", - "_fontSize": 30, - "_lineHeight": 40, - "_enableWrapText": true, - "_N$file": null, - "_isSystemFontUsed": true, - "_spacingX": 0, - "_batchAsBitmap": false, - "_N$horizontalAlign": 2, - "_N$verticalAlign": 1, - "_N$fontFamily": "Arial", - "_N$overflow": 0, - "_N$cacheMode": 0, - "_id": "940wW8S+RHLrrOnqkpV5N1" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 139 - }, - "asset": { - "__uuid__": "e4b00542-5961-4a6a-8ae5-c19d30ac84a2" - }, - "fileId": "65w39W/ddIsLb50QRubYhg", - "sync": false - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 139 - }, - "_enabled": true, - "_srcBlendFactor": 770, - "_dstBlendFactor": 771, - "_spriteFrame": { - "__uuid__": "13d3eb87-b218-4fb7-b7c2-31e8a58b67bc" - }, - "_type": 1, - "_sizeMode": 0, - "_fillType": 0, - "_fillCenter": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0 - }, - "_fillStart": 0, - "_fillRange": 0, - "_isTrimmedMode": true, - "_state": 0, - "_atlas": null, - "_id": "70qLzZaZBN74I91pN7A837" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 139 - }, - "asset": { - "__uuid__": "e4b00542-5961-4a6a-8ae5-c19d30ac84a2" - }, - "fileId": "adoQSiLjZG56t5GXVWQvlL", - "sync": false - }, - { - "__type__": "cc.Node", - "_name": "OneToken", - "_objFlags": 0, - "_parent": { - "__id__": 138 - }, - "_children": [], - "_active": true, - "_level": 4, - "_components": [ - { - "__id__": 152 - } - ], - "_prefab": null, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 450, - "height": 60 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_position": { - "__type__": "cc.Vec3", - "x": 0, - "y": -100, - "z": 0 - }, - "_scale": { - "__type__": "cc.Vec3", - "x": 1, - "y": 1, - "z": 1 - }, - "_rotationX": 0, - "_rotationY": 0, - "_quat": { - "__type__": "cc.Quat", - "x": 0, - "y": 0, - "z": 0, - "w": 1 - }, - "_skewX": 0, - "_skewY": 0, - "groupIndex": 0, - "_id": "33am9QFoxKCoN2SpCDjg2B" - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 151 - }, - "_enabled": true, - "_srcBlendFactor": 770, - "_dstBlendFactor": 771, - "_spriteFrame": { - "__uuid__": "8cdb44ac-a3f6-449f-b354-7cd48cf84061" - }, - "_type": 0, - "_sizeMode": 0, - "_fillType": 0, - "_fillCenter": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0 - }, - "_fillStart": 0, - "_fillRange": 0, - "_isTrimmedMode": true, - "_state": 0, - "_atlas": null, - "_id": "48X6ota+1FZZuSs9lQA7bA" - }, - { - "__type__": "cc.Node", - "_name": "OneToken", - "_objFlags": 0, - "_parent": { - "__id__": 138 - }, - "_children": [], - "_active": true, - "_level": 4, - "_components": [ - { - "__id__": 154 - } - ], - "_prefab": null, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 450, - "height": 60 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_position": { - "__type__": "cc.Vec3", - "x": 0, - "y": -170, - "z": 0 - }, - "_scale": { - "__type__": "cc.Vec3", - "x": 1, - "y": 1, - "z": 1 - }, - "_rotationX": 0, - "_rotationY": 0, - "_quat": { - "__type__": "cc.Quat", - "x": 0, - "y": 0, - "z": 0, - "w": 1 - }, - "_skewX": 0, - "_skewY": 0, - "groupIndex": 0, - "_id": "41Pi7Hu9xC/pmLEp5TqV6F" - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 153 - }, - "_enabled": true, - "_srcBlendFactor": 770, - "_dstBlendFactor": 771, - "_spriteFrame": { - "__uuid__": "8cdb44ac-a3f6-449f-b354-7cd48cf84061" - }, - "_type": 0, - "_sizeMode": 0, - "_fillType": 0, - "_fillCenter": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0 - }, - "_fillStart": 0, - "_fillRange": 0, - "_isTrimmedMode": true, - "_state": 0, - "_atlas": null, - "_id": "91lujcD6NM9Ljra2e4xaB2" - }, - { - "__type__": "cc.Node", - "_name": "OneToken", - "_objFlags": 0, - "_parent": { - "__id__": 138 - }, - "_children": [], - "_active": true, - "_level": 4, - "_components": [ - { - "__id__": 156 - } - ], - "_prefab": null, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 450, - "height": 60 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_position": { - "__type__": "cc.Vec3", - "x": 0, - "y": -240, - "z": 0 - }, - "_scale": { - "__type__": "cc.Vec3", - "x": 1, - "y": 1, - "z": 1 - }, - "_rotationX": 0, - "_rotationY": 0, - "_quat": { - "__type__": "cc.Quat", - "x": 0, - "y": 0, - "z": 0, - "w": 1 - }, - "_skewX": 0, - "_skewY": 0, - "groupIndex": 0, - "_id": "d0B5XN5b5N7Z58P9vS4e5E" - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 155 - }, - "_enabled": true, - "_srcBlendFactor": 770, - "_dstBlendFactor": 771, - "_spriteFrame": { - "__uuid__": "8cdb44ac-a3f6-449f-b354-7cd48cf84061" - }, - "_type": 0, - "_sizeMode": 0, - "_fillType": 0, - "_fillCenter": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0 - }, - "_fillStart": 0, - "_fillRange": 0, - "_isTrimmedMode": true, - "_state": 0, - "_atlas": null, - "_id": "27NTT+icdEmaNvB0akOR/2" - }, - { - "__type__": "cc.Node", - "_name": "OneToken", - "_objFlags": 0, - "_parent": { - "__id__": 138 - }, - "_children": [], - "_active": true, - "_level": 4, - "_components": [ - { - "__id__": 158 - } - ], - "_prefab": null, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 450, - "height": 60 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_position": { - "__type__": "cc.Vec3", - "x": 0, - "y": -310, - "z": 0 - }, - "_scale": { - "__type__": "cc.Vec3", - "x": 1, - "y": 1, - "z": 1 - }, - "_rotationX": 0, - "_rotationY": 0, - "_quat": { - "__type__": "cc.Quat", - "x": 0, - "y": 0, - "z": 0, - "w": 1 - }, - "_skewX": 0, - "_skewY": 0, - "groupIndex": 0, - "_id": "4e9xq87GtCcbTe7N2F2vb7" - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 157 - }, - "_enabled": true, - "_srcBlendFactor": 770, - "_dstBlendFactor": 771, - "_spriteFrame": { - "__uuid__": "8cdb44ac-a3f6-449f-b354-7cd48cf84061" - }, - "_type": 0, - "_sizeMode": 0, - "_fillType": 0, - "_fillCenter": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0 - }, - "_fillStart": 0, - "_fillRange": 0, - "_isTrimmedMode": true, - "_state": 0, - "_atlas": null, - "_id": "10NP21LE5EVrBWbeUKfpFJ" - }, - { - "__type__": "cc.Node", - "_name": "OneToken", - "_objFlags": 0, - "_parent": { - "__id__": 138 - }, - "_children": [], - "_active": true, - "_level": 4, - "_components": [ - { - "__id__": 160 - } - ], - "_prefab": null, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 450, - "height": 60 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_position": { - "__type__": "cc.Vec3", - "x": 0, - "y": -380, - "z": 0 - }, - "_scale": { - "__type__": "cc.Vec3", - "x": 1, - "y": 1, - "z": 1 - }, - "_rotationX": 0, - "_rotationY": 0, - "_quat": { - "__type__": "cc.Quat", - "x": 0, - "y": 0, - "z": 0, - "w": 1 - }, - "_skewX": 0, - "_skewY": 0, - "groupIndex": 0, - "_id": "71Ryg4VZdJvqHELuHze/BR" - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 159 - }, - "_enabled": true, - "_srcBlendFactor": 770, - "_dstBlendFactor": 771, - "_spriteFrame": { - "__uuid__": "8cdb44ac-a3f6-449f-b354-7cd48cf84061" - }, - "_type": 0, - "_sizeMode": 0, - "_fillType": 0, - "_fillCenter": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0 - }, - "_fillStart": 0, - "_fillRange": 0, - "_isTrimmedMode": true, - "_state": 0, - "_atlas": null, - "_id": "a8OFyrGZBNfJV2LYSoNdZ0" - }, - { - "__type__": "cc.Node", - "_name": "OneToken", - "_objFlags": 0, - "_parent": { - "__id__": 138 - }, - "_children": [], - "_active": true, - "_level": 4, - "_components": [ - { - "__id__": 162 - } - ], - "_prefab": null, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 450, - "height": 60 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_position": { - "__type__": "cc.Vec3", - "x": 0, - "y": -450, - "z": 0 - }, - "_scale": { - "__type__": "cc.Vec3", - "x": 1, - "y": 1, - "z": 1 - }, - "_rotationX": 0, - "_rotationY": 0, - "_quat": { - "__type__": "cc.Quat", - "x": 0, - "y": 0, - "z": 0, - "w": 1 - }, - "_skewX": 0, - "_skewY": 0, - "groupIndex": 0, - "_id": "4dRyc0PsJErrFurU+cDXdi" - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 161 - }, - "_enabled": true, - "_srcBlendFactor": 770, - "_dstBlendFactor": 771, - "_spriteFrame": { - "__uuid__": "8cdb44ac-a3f6-449f-b354-7cd48cf84061" - }, - "_type": 0, - "_sizeMode": 0, - "_fillType": 0, - "_fillCenter": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0 - }, - "_fillStart": 0, - "_fillRange": 0, - "_isTrimmedMode": true, - "_state": 0, - "_atlas": null, - "_id": "b9janEGAlIlLNjf3mOza3B" - }, - { - "__type__": "cc.Node", - "_name": "OneToken", - "_objFlags": 0, - "_parent": { - "__id__": 138 - }, - "_children": [], - "_active": true, - "_level": 4, - "_components": [ - { - "__id__": 164 - } - ], - "_prefab": null, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 450, - "height": 60 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_position": { - "__type__": "cc.Vec3", - "x": 0, - "y": -520, - "z": 0 - }, - "_scale": { - "__type__": "cc.Vec3", - "x": 1, - "y": 1, - "z": 1 - }, - "_rotationX": 0, - "_rotationY": 0, - "_quat": { - "__type__": "cc.Quat", - "x": 0, - "y": 0, - "z": 0, - "w": 1 - }, - "_skewX": 0, - "_skewY": 0, - "groupIndex": 0, - "_id": "40b17ofPhJ4ZxRfl1iNFSr" - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 163 - }, - "_enabled": true, - "_srcBlendFactor": 770, - "_dstBlendFactor": 771, - "_spriteFrame": { - "__uuid__": "8cdb44ac-a3f6-449f-b354-7cd48cf84061" - }, - "_type": 0, - "_sizeMode": 0, - "_fillType": 0, - "_fillCenter": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0 - }, - "_fillStart": 0, - "_fillRange": 0, - "_isTrimmedMode": true, - "_state": 0, - "_atlas": null, - "_id": "0696V9/hdIGbH/zEsPVCM8" - }, { "__type__": "cc.Layout", "_name": "", @@ -7195,7 +6143,7 @@ "_layoutSize": { "__type__": "cc.Size", "width": 450, - "height": 550 + "height": -10 }, "_resize": 1, "_N$layoutType": 2, @@ -7272,529 +6220,6 @@ }, "_id": "39qWwkkx9JpKagzlpdhkG0" }, - { - "__type__": "cc.Node", - "_name": "NftList", - "_objFlags": 0, - "_parent": { - "__id__": 136 - }, - "_children": [ - { - "__id__": 170 - } - ], - "_active": false, - "_level": 3, - "_components": [ - { - "__id__": 181 - }, - { - "__id__": 182 - }, - { - "__id__": 183 - } - ], - "_prefab": { - "__id__": 184 - }, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 450, - "height": 400 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_position": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - }, - "_scale": { - "__type__": "cc.Vec3", - "x": 1, - "y": 1, - "z": 1 - }, - "_rotationX": 0, - "_rotationY": 0, - "_quat": { - "__type__": "cc.Quat", - "x": 0, - "y": 0, - "z": 0, - "w": 1 - }, - "_skewX": 0, - "_skewY": 0, - "groupIndex": 0, - "_id": "edJmq9HR5CfZdb8CAuqySi" - }, - { - "__type__": "cc.Node", - "_name": "content", - "_objFlags": 0, - "_parent": { - "__id__": 169 - }, - "_children": [ - { - "__id__": 171 - } - ], - "_active": true, - "_level": 3, - "_components": [ - { - "__id__": 179 - } - ], - "_prefab": { - "__id__": 180 - }, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 450, - "height": 120 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 1 - }, - "_position": { - "__type__": "cc.Vec3", - "x": 0, - "y": 200, - "z": 0 - }, - "_scale": { - "__type__": "cc.Vec3", - "x": 1, - "y": 1, - "z": 1 - }, - "_rotationX": 0, - "_rotationY": 0, - "_quat": { - "__type__": "cc.Quat", - "x": 0, - "y": 0, - "z": 0, - "w": 1 - }, - "_skewX": 0, - "_skewY": 0, - "groupIndex": 0, - "_id": "6e2xzjh/1GC5AU8a/D8Qwk" - }, - { - "__type__": "cc.Node", - "_name": "OneNFT", - "_objFlags": 0, - "_parent": { - "__id__": 170 - }, - "_children": [ - { - "__id__": 172 - }, - { - "__id__": 175 - } - ], - "_active": true, - "_level": 4, - "_components": [], - "_prefab": { - "__id__": 178 - }, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 100, - "height": 120 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_position": { - "__type__": "cc.Vec3", - "x": -175, - "y": -60, - "z": 0 - }, - "_scale": { - "__type__": "cc.Vec3", - "x": 1, - "y": 1, - "z": 1 - }, - "_rotationX": 0, - "_rotationY": 0, - "_quat": { - "__type__": "cc.Quat", - "x": 0, - "y": 0, - "z": 0, - "w": 1 - }, - "_skewX": 0, - "_skewY": 0, - "groupIndex": 0, - "_id": "d8aF0PaVNDOojtyTIMdXbp" - }, - { - "__type__": "cc.Node", - "_name": "New Sprite", - "_objFlags": 0, - "_parent": { - "__id__": 171 - }, - "_children": [], - "_active": true, - "_level": 5, - "_components": [ - { - "__id__": 173 - } - ], - "_prefab": { - "__id__": 174 - }, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 100, - "height": 100 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_position": { - "__type__": "cc.Vec3", - "x": 0, - "y": 10, - "z": 0 - }, - "_scale": { - "__type__": "cc.Vec3", - "x": 1, - "y": 1, - "z": 1 - }, - "_rotationX": 0, - "_rotationY": 0, - "_quat": { - "__type__": "cc.Quat", - "x": 0, - "y": 0, - "z": 0, - "w": 1 - }, - "_skewX": 0, - "_skewY": 0, - "groupIndex": 0, - "_id": "d60oW7FvtHeYQMK3B9YDtO" - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 172 - }, - "_enabled": true, - "_srcBlendFactor": 770, - "_dstBlendFactor": 771, - "_spriteFrame": { - "__uuid__": "8cdb44ac-a3f6-449f-b354-7cd48cf84061" - }, - "_type": 0, - "_sizeMode": 0, - "_fillType": 0, - "_fillCenter": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0 - }, - "_fillStart": 0, - "_fillRange": 0, - "_isTrimmedMode": true, - "_state": 0, - "_atlas": null, - "_id": "dbhRGw/n5MT5yX02ob/Kdh" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 169 - }, - "asset": { - "__uuid__": "e64be85b-3d9f-4109-8e7d-48847666bf2c" - }, - "fileId": "d60oW7FvtHeYQMK3B9YDtO", - "sync": false - }, - { - "__type__": "cc.Node", - "_name": "idLabel", - "_objFlags": 0, - "_parent": { - "__id__": 171 - }, - "_children": [], - "_active": true, - "_level": 5, - "_components": [ - { - "__id__": 176 - } - ], - "_prefab": { - "__id__": 177 - }, - "_opacity": 255, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 48.94, - "height": 40 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0.5 - }, - "_position": { - "__type__": "cc.Vec3", - "x": -50, - "y": -45, - "z": 0 - }, - "_scale": { - "__type__": "cc.Vec3", - "x": 1, - "y": 1, - "z": 1 - }, - "_rotationX": 0, - "_rotationY": 0, - "_quat": { - "__type__": "cc.Quat", - "x": 0, - "y": 0, - "z": 0, - "w": 1 - }, - "_skewX": 0, - "_skewY": 0, - "groupIndex": 0, - "_id": "fdPjhkyMBEwZHA5g8nn6Bd" - }, - { - "__type__": "cc.Label", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 175 - }, - "_enabled": true, - "_useOriginalSize": false, - "_string": "Label", - "_N$string": "Label", - "_fontSize": 20, - "_lineHeight": 40, - "_enableWrapText": true, - "_N$file": null, - "_isSystemFontUsed": true, - "_spacingX": 0, - "_batchAsBitmap": false, - "_N$horizontalAlign": 0, - "_N$verticalAlign": 1, - "_N$fontFamily": "Arial", - "_N$overflow": 0, - "_N$cacheMode": 0, - "_id": "b2O2YnLfBJL4CsTQAL8SmB" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 169 - }, - "asset": { - "__uuid__": "e64be85b-3d9f-4109-8e7d-48847666bf2c" - }, - "fileId": "fdPjhkyMBEwZHA5g8nn6Bd", - "sync": false - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 169 - }, - "asset": { - "__uuid__": "e64be85b-3d9f-4109-8e7d-48847666bf2c" - }, - "fileId": "d8aF0PaVNDOojtyTIMdXbp", - "sync": false - }, - { - "__type__": "cc.Layout", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 170 - }, - "_enabled": true, - "_layoutSize": { - "__type__": "cc.Size", - "width": 450, - "height": 120 - }, - "_resize": 1, - "_N$layoutType": 3, - "_N$padding": 0, - "_N$cellSize": { - "__type__": "cc.Size", - "width": 40, - "height": 40 - }, - "_N$startAxis": 0, - "_N$paddingLeft": 0, - "_N$paddingRight": 0, - "_N$paddingTop": 0, - "_N$paddingBottom": 0, - "_N$spacingX": 10, - "_N$spacingY": 10, - "_N$verticalDirection": 1, - "_N$horizontalDirection": 0, - "_N$affectedByScale": false, - "_id": "88hBUmvppIgZuiA/NKVkY0" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 169 - }, - "asset": { - "__uuid__": "e64be85b-3d9f-4109-8e7d-48847666bf2c" - }, - "fileId": "6e2xzjh/1GC5AU8a/D8Qwk", - "sync": false - }, - { - "__type__": "cc.ScrollView", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 169 - }, - "_enabled": true, - "horizontal": false, - "vertical": true, - "inertia": true, - "brake": 0.5, - "elastic": true, - "bounceDuration": 1, - "scrollEvents": [], - "cancelInnerEvents": true, - "_N$content": { - "__id__": 170 - }, - "content": { - "__id__": 170 - }, - "_id": "c1dTpcs0FN148gHZkzcGGN" - }, - { - "__type__": "cc.Mask", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 169 - }, - "_enabled": true, - "_spriteFrame": null, - "_type": 0, - "_segments": 64, - "_N$alphaThreshold": 0, - "_N$inverted": false, - "_id": "aaZZnMXVdCQpqk+nzlF7Tb" - }, - { - "__type__": "d8e744LBIpBeKlOm9Kvb6W7", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 169 - }, - "_enabled": true, - "tokenPreb": { - "__uuid__": "259e752f-837f-4d16-b21f-3c886e3a7a7e" - }, - "contentNode": { - "__id__": 170 - }, - "_id": "f5sJ82q7hHDprRRXyCDMif" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 169 - }, - "asset": { - "__uuid__": "e64be85b-3d9f-4109-8e7d-48847666bf2c" - }, - "fileId": "edJmq9HR5CfZdb8CAuqySi", - "sync": false - }, { "__type__": "7646cRQerFFvpr/zZilZ84O", "_name": "", @@ -7820,47 +6245,47 @@ }, "_children": [ { - "__id__": 187 + "__id__": 145 }, { - "__id__": 189 + "__id__": 147 }, { - "__id__": 191 + "__id__": 149 }, { - "__id__": 193 + "__id__": 151 }, { - "__id__": 195 + "__id__": 153 }, { - "__id__": 197 + "__id__": 155 }, { - "__id__": 203 + "__id__": 161 }, { - "__id__": 207 + "__id__": 165 }, { - "__id__": 211 + "__id__": 169 }, { - "__id__": 213 + "__id__": 171 }, { - "__id__": 215 + "__id__": 173 } ], "_active": true, "_level": 2, "_components": [ { - "__id__": 224 + "__id__": 182 }, { - "__id__": 225 + "__id__": 183 } ], "_prefab": null, @@ -7913,14 +6338,14 @@ "_name": "balanceTitle", "_objFlags": 0, "_parent": { - "__id__": 186 + "__id__": 144 }, "_children": [], "_active": true, "_level": 3, "_components": [ { - "__id__": 188 + "__id__": 146 } ], "_prefab": null, @@ -7973,7 +6398,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 187 + "__id__": 145 }, "_enabled": true, "_useOriginalSize": false, @@ -7998,14 +6423,14 @@ "_name": "balanceLabel", "_objFlags": 0, "_parent": { - "__id__": 186 + "__id__": 144 }, "_children": [], "_active": true, "_level": 3, "_components": [ { - "__id__": 190 + "__id__": 148 } ], "_prefab": null, @@ -8058,7 +6483,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 189 + "__id__": 147 }, "_enabled": true, "_useOriginalSize": false, @@ -8083,14 +6508,14 @@ "_name": "addressTitle", "_objFlags": 0, "_parent": { - "__id__": 186 + "__id__": 144 }, "_children": [], "_active": true, "_level": 3, "_components": [ { - "__id__": 192 + "__id__": 150 } ], "_prefab": null, @@ -8143,7 +6568,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 191 + "__id__": 149 }, "_enabled": true, "_useOriginalSize": false, @@ -8168,14 +6593,14 @@ "_name": "addressLabel", "_objFlags": 0, "_parent": { - "__id__": 186 + "__id__": 144 }, "_children": [], "_active": true, "_level": 3, "_components": [ { - "__id__": 194 + "__id__": 152 } ], "_prefab": null, @@ -8228,7 +6653,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 193 + "__id__": 151 }, "_enabled": true, "_useOriginalSize": false, @@ -8253,14 +6678,14 @@ "_name": "copyBtn", "_objFlags": 0, "_parent": { - "__id__": 186 + "__id__": 144 }, "_children": [], "_active": true, "_level": 3, "_components": [ { - "__id__": 196 + "__id__": 154 } ], "_prefab": null, @@ -8313,7 +6738,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 195 + "__id__": 153 }, "_enabled": true, "_srcBlendFactor": 770, @@ -8341,21 +6766,21 @@ "_name": "receiveBtn", "_objFlags": 0, "_parent": { - "__id__": 186 + "__id__": 144 }, "_children": [ { - "__id__": 198 + "__id__": 156 } ], "_active": true, "_level": 3, "_components": [ { - "__id__": 200 + "__id__": 158 }, { - "__id__": 201 + "__id__": 159 } ], "_prefab": null, @@ -8408,14 +6833,14 @@ "_name": "label", "_objFlags": 0, "_parent": { - "__id__": 197 + "__id__": 155 }, "_children": [], "_active": true, "_level": 4, "_components": [ { - "__id__": 199 + "__id__": 157 } ], "_prefab": null, @@ -8468,7 +6893,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 198 + "__id__": 156 }, "_enabled": true, "_useOriginalSize": false, @@ -8493,7 +6918,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 197 + "__id__": 155 }, "_enabled": true, "_srcBlendFactor": 770, @@ -8521,14 +6946,14 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 197 + "__id__": 155 }, "_enabled": true, "duration": 0.1, "zoomScale": 1.2, "clickEvents": [ { - "__id__": 202 + "__id__": 160 } ], "_N$interactable": true, @@ -8589,7 +7014,7 @@ { "__type__": "cc.ClickEvent", "target": { - "__id__": 186 + "__id__": 144 }, "component": "", "_componentId": "3fe0aN9jsFD57pMhFser+jv", @@ -8601,18 +7026,18 @@ "_name": "sendBtn", "_objFlags": 0, "_parent": { - "__id__": 186 + "__id__": 144 }, "_children": [ { - "__id__": 204 + "__id__": 162 } ], "_active": true, "_level": 3, "_components": [ { - "__id__": 206 + "__id__": 164 } ], "_prefab": null, @@ -8665,14 +7090,14 @@ "_name": "New Label", "_objFlags": 0, "_parent": { - "__id__": 203 + "__id__": 161 }, "_children": [], "_active": true, "_level": 4, "_components": [ { - "__id__": 205 + "__id__": 163 } ], "_prefab": null, @@ -8725,7 +7150,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 204 + "__id__": 162 }, "_enabled": true, "_useOriginalSize": false, @@ -8750,7 +7175,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 203 + "__id__": 161 }, "_enabled": true, "_srcBlendFactor": 770, @@ -8778,17 +7203,17 @@ "_name": "closeBtn", "_objFlags": 0, "_parent": { - "__id__": 186 + "__id__": 144 }, "_children": [], "_active": true, "_level": 3, "_components": [ { - "__id__": 208 + "__id__": 166 }, { - "__id__": 209 + "__id__": 167 } ], "_prefab": null, @@ -8841,7 +7266,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 207 + "__id__": 165 }, "_enabled": true, "_srcBlendFactor": 770, @@ -8869,14 +7294,14 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 207 + "__id__": 165 }, "_enabled": true, "duration": 0.1, "zoomScale": 1.2, "clickEvents": [ { - "__id__": 210 + "__id__": 168 } ], "_N$interactable": true, @@ -8949,14 +7374,14 @@ "_name": "avator", "_objFlags": 0, "_parent": { - "__id__": 186 + "__id__": 144 }, "_children": [], "_active": true, "_level": 3, "_components": [ { - "__id__": 212 + "__id__": 170 } ], "_prefab": null, @@ -9009,7 +7434,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 211 + "__id__": 169 }, "_enabled": true, "_srcBlendFactor": 770, @@ -9037,14 +7462,14 @@ "_name": "New Label", "_objFlags": 0, "_parent": { - "__id__": 186 + "__id__": 144 }, "_children": [], "_active": true, "_level": 3, "_components": [ { - "__id__": 214 + "__id__": 172 } ], "_prefab": null, @@ -9097,7 +7522,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 213 + "__id__": 171 }, "_enabled": true, "_useOriginalSize": false, @@ -9122,21 +7547,21 @@ "_name": "qrNode", "_objFlags": 0, "_parent": { - "__id__": 186 + "__id__": 144 }, "_children": [ { - "__id__": 216 + "__id__": 174 }, { - "__id__": 221 + "__id__": 179 } ], "_active": false, "_level": 3, "_components": [ { - "__id__": 223 + "__id__": 181 } ], "_prefab": null, @@ -9189,20 +7614,20 @@ "_name": "New Sprite(Splash)", "_objFlags": 0, "_parent": { - "__id__": 215 + "__id__": 173 }, "_children": [], "_active": true, "_level": 4, "_components": [ { - "__id__": 217 + "__id__": 175 }, { - "__id__": 218 + "__id__": 176 }, { - "__id__": 219 + "__id__": 177 } ], "_prefab": null, @@ -9255,7 +7680,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 216 + "__id__": 174 }, "_enabled": true, "_srcBlendFactor": 770, @@ -9283,7 +7708,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 216 + "__id__": 174 }, "_enabled": true, "alignMode": 1, @@ -9310,14 +7735,14 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 216 + "__id__": 174 }, "_enabled": true, "duration": 0.1, "zoomScale": 1.2, "clickEvents": [ { - "__id__": 220 + "__id__": 178 } ], "_N$interactable": true, @@ -9378,7 +7803,7 @@ { "__type__": "cc.ClickEvent", "target": { - "__id__": 186 + "__id__": 144 }, "component": "", "_componentId": "3fe0aN9jsFD57pMhFser+jv", @@ -9390,14 +7815,14 @@ "_name": "qrImgNode", "_objFlags": 0, "_parent": { - "__id__": 215 + "__id__": 173 }, "_children": [], "_active": true, "_level": 4, "_components": [ { - "__id__": 222 + "__id__": 180 } ], "_prefab": null, @@ -9450,7 +7875,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 221 + "__id__": 179 }, "_enabled": true, "lightColor": { @@ -9474,7 +7899,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 215 + "__id__": 173 }, "_enabled": true, "alignMode": 1, @@ -9501,7 +7926,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 186 + "__id__": 144 }, "_enabled": true, "alignMode": 1, @@ -9528,17 +7953,17 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 186 + "__id__": 144 }, "_enabled": true, "addressLabel": { - "__id__": 194 + "__id__": 152 }, "balanceLabel": { - "__id__": 190 + "__id__": 148 }, "qrNode": { - "__id__": 215 + "__id__": 173 }, "_id": "8bO0XBvlFDPJ87FOgdOxUH" }, @@ -9609,7 +8034,7 @@ "__id__": 113 }, "listNode": { - "__id__": 185 + "__id__": 143 }, "_id": "a8YbO7l9lF95gWk3JRycGs" }, @@ -9639,7 +8064,7 @@ }, "_enabled": true, "webview": { - "__id__": 231 + "__id__": 189 }, "debugText": { "__id__": 6 @@ -9652,7 +8077,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 232 + "__id__": 190 }, "_enabled": true, "_useOriginalSize": false, @@ -9672,7 +8097,7 @@ "_level": 1, "_components": [ { - "__id__": 231 + "__id__": 189 } ], "_prefab": null,