a7e179e4-e522-4225-880b-7ca696cbd5b3.js.map 2.45 KB
{"version":3,"sources":["assets/script/game/ui/view/impl/bedroom/ItemIntroductionViewImpl.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,yEAAuG;AACvG,2EAAgF;AAChF,4EAA0D;AAC1D,0EAA4H;AAE5H,MAAM,EAAE,OAAO,EAAE,QAAQ,EAAE,GAAG,EAAE,CAAC,UAAU,CAAC;AAI5C;IAAA,IAAa,wBAAwB,GAArC,MAAa,wBAAyB,SAAQ,uBAAqC;QAAnF;;YAGY,eAAU,GAAG,4BAAW,CAAC;YAEzB,eAAU,GAAG,0BAAS,CAAC;QA+BnC,CAAC;QA3BG,MAAM;YACF,IAAI,CAAC,iBAAiB,GAAG,IAAI,CAAC,IAAI,CAAC,MAAM,CAAC,YAAY,CAAC,mBAAM,CAAC,CAAC;QACnE,CAAC;QAED,iBAAiB;YACb,OAAO,IAAI,CAAC,UAAU,CAAC;QAC3B,CAAC;QAED,YAAY;YACR,OAAO,IAAI,CAAC,iBAAiB,CAAC;QAClC,CAAC;QAED,6BAA6B;YACzB,IAAI,CAAC,MAAM,CAAC,qBAAqB,EAAE,CAAC;QACxC,CAAC;QAED,sBAAsB;YAClB,IAAI,CAAC,MAAM,CAAC,cAAc,EAAE,CAAC;QACjC,CAAC;QAED,oBAAoB;YAChB,IAAI,CAAC,KAAK,EAAE,CAAC;QACjB,CAAC;QAED,wBAAwB,CAAC,MAAe;YACpC,IAAI,CAAC,UAAU,CAAC,MAAM,GAAG,MAAM,CAAC;QACpC,CAAC;KACJ,CAAA;IAjCG;QADC,QAAQ,CAAC,EAAE,CAAC,MAAM,CAAC;gEACa;IAEjC;QADC,QAAQ,CAAC,EAAE,CAAC,IAAI,CAAC;gEACa;IALtB,wBAAwB;QAFpC,OAAO;QACP,gCAAO,CAAC,+CAAwB,EAAE,gCAAgC,CAAC;OACvD,wBAAwB,CAoCpC;IAAD,+BAAC;KAAA;AApCY,4DAAwB","file":"","sourceRoot":"/","sourcesContent":["import { DummyButton, DummyLabel, DummyNode, DummySprite } from \"../../../../../common/CCDummyObjects\";\nimport { CCPureView, CCView } from \"../../../../../common/classbase/CCViewBase\";\nimport { RegView } from \"../../../PresenterCCViewFactory\";\nimport { ItemIntroductionView, ItemIntroductionViewProps, ItemIntroductionViewType } from \"../../type/ItemIntroductionView\";\n\nconst { ccclass, property } = cc._decorator;\n\n@ccclass\n@RegView(ItemIntroductionViewType, \"prefab/ui/ItemIntroductionView\")\nexport class ItemIntroductionViewImpl extends CCPureView<ItemIntroductionViewProps> implements ItemIntroductionView {\n\n    @property(cc.Sprite)\n    private itemSprite = DummySprite;\n    @property(cc.Node)\n    private redDotNode = DummyNode;\n\n    private _contentContainer: CCView;\n\n    onLoad() {\n        this._contentContainer = this.node.parent.addComponent(CCView);\n    }\n\n    getItemSpriteNode(): cc.Sprite {\n        return this.itemSprite;\n    }\n\n    getContainer(): CCView {\n        return this._contentContainer;\n    }\n\n    onSpecialPlotBtnClickCallBack() {\n        this._props.onSpecialPlotBtnClick();\n    }\n\n    onShopBtnClickCallBack() {\n        this._props.onShopBtnClick();\n    }\n\n    onCloseClickCallBack() {\n        this.close();\n    }\n\n    showSpecialPlotBtnRedDot(isShow: boolean) {\n        this.redDotNode.active = isShow;\n    }\n}"]}