01823de2-c606-4ed9-87c4-6ad747986ec3.js.map 2.03 KB
{"version":3,"sources":["assets/script/game/ui/view/impl/QRCodeViewImpl.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,yCAAgC;AAChC,sEAA4E;AAC5E,wEAAqE;AACrE,4GAAqG;AACrG,yEAAuD;AACvD,mDAAiF;AAEjF,MAAM,EAAE,OAAO,EAAE,QAAQ,EAAE,GAAG,EAAE,CAAC,UAAU,CAAC;AAI5C;IAAA,IAAa,cAAc,GAA3B,MAAa,cAAe,SAAQ,uBAA2B;QAA/D;;YAGY,aAAQ,GAAG,2BAAU,CAAC;YAEtB,iBAAY,GAAG,4BAAW,CAAC;QAavC,CAAC;QAXG,MAAM;YACF,IAAI,CAAC,QAAQ,CAAC,UAAU,EAAE,IAAI,CAAC,QAAQ,EAAE,QAAQ,CAAC,CAAC;YACnD,IAAI,CAAC,QAAQ,CAAC,YAAY,EAAE,CAAC,KAAK,EAAE,EAAE;gBAClC,mCAAyB,CAAC,WAAW,EAAE,CAAC,aAAa,CAAC,KAAK,EAAE,IAAI,CAAC,YAAY,CAAC,CAAC;YACpF,CAAC,CAAC,CAAC;QACP,CAAC;QAED,oBAAoB;YAChB,IAAI,CAAC,KAAK,EAAE,CAAC;YACb,eAAG,CAAC,kBAAkB,EAAE,CAAC;QAC7B,CAAC;KACJ,CAAA;IAfG;QADC,QAAQ,CAAC,EAAE,CAAC,KAAK,CAAC;oDACW;IAE9B;QADC,QAAQ,CAAC,EAAE,CAAC,MAAM,CAAC;wDACe;IAL1B,cAAc;QAF1B,OAAO;QACP,gCAAO,CAAC,2BAAc,EAAE,sBAAsB,CAAC;OACnC,cAAc,CAkB1B;IAAD,qBAAC;KAAA;AAlBY,wCAAc","file":"","sourceRoot":"/","sourcesContent":["import { SDK } from \"simba-sdk\";\nimport { DummyLabel, DummySprite } from \"../../../../common/CCDummyObjects\";\nimport { CCPureView } from \"../../../../common/classbase/CCViewBase\";\nimport CustomerServiceDataCenter from \"../../../../customerService/script/CustomerServiceDataCenter\";\nimport { RegView } from \"../../PresenterCCViewFactory\";\nimport { QRCodeViewType, QRCodeViewProps, QRCodeView } from \"../type/QRCodeView\";\n\nconst { ccclass, property } = cc._decorator;\n\n@ccclass\n@RegView(QRCodeViewType, \"prefab/ui/QRCodeView\")\nexport class QRCodeViewImpl extends CCPureView<QRCodeViewProps> implements QRCodeView {\n\n    @property(cc.Label)\n    private tipLabel = DummyLabel;\n    @property(cc.Sprite)\n    private qrCodeSprite = DummySprite;\n\n    onLoad() {\n        this.bindProp(\"tipLabel\", this.tipLabel, \"string\");\n        this.bindProp(\"qrCodePath\", (value) => {\n            CustomerServiceDataCenter.getInstance().refreshQRCode(value, this.qrCodeSprite);\n        });\n    }\n\n    onCloseClickCallBack() {\n        this.close();\n        SDK.showGameClubButton();\n    }\n}"]}