b3a21d02-7e9f-407b-b876-7c3ca8bf68bf.js.map
1.62 KB
{"version":3,"sources":["assets/script/game/ui/view/type/notice/NewNoticeView.ts"],"names":[],"mappings":";;;;;;;AAEA;;GAEG;AACH,IAAY,UAGX;AAHD,WAAY,UAAU;IAClB,yDAAe,CAAA;IACf,yDAAe,CAAA;AACnB,CAAC,EAHW,UAAU,GAAV,kBAAU,KAAV,kBAAU,QAGrB;AAED;;GAEG;AACH,IAAY,UAGX;AAHD,WAAY,UAAU;IAClB,2DAAgB,CAAA;IAChB,iEAAmB,CAAA;AACvB,CAAC,EAHW,UAAU,GAAV,kBAAU,KAAV,kBAAU,QAGrB;AAqBY,QAAA,iBAAiB,GAAG,eAAe,CAAC","file":"","sourceRoot":"/","sourcesContent":["import { PureView } from \"../../../../../common/classbase/ViewBase\";\r\n\r\n/**\r\n * 来源界面,用来标识当前公告界面是从那个界面打开的\r\n */\r\nexport enum SourceView {\r\n MessageView = 0,//信息界面自动弹窗弹出公告\r\n SettingView = 1,//设置界面公告按钮弹出公告\r\n}\r\n\r\n/**\r\n * 活动类型\r\n */\r\nexport enum NoticeType {\r\n SystemNotice = 0,//系统公告\r\n ActvitiesNotice = 1,//活动公告\r\n}\r\n\r\nexport interface NewNoticeViewProps {\r\n sourceView: SourceView,\r\n onNoticeButtonClickCallback: (index: number) => void;\r\n onCloseButtonClickCalback: () => void;\r\n}\r\n\r\ntype NewNoticeViewBase = PureView<NewNoticeViewProps>;\r\n\r\nexport interface NewNoticeView extends NewNoticeViewBase {\r\n getButtonSpriteFrames: () => cc.SpriteFrame[];\r\n getNoticeButtons: () => cc.Button[];\r\n getNoticeNodes: () => cc.Node[];\r\n getContentRichText: () => cc.RichText;\r\n getActivitiesContentNode: () => cc.Node;\r\n getActivitiesItemPrefab: () => cc.Prefab;\r\n getTipsToggle: () => cc.Toggle;\r\n getCloseTipsLabel: () => cc.Label;\r\n}\r\n\r\nexport const NewNoticeViewType = \"NewNoticeView\";"]}