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F,IAAI,YAAY,IAAI,yCAAiB,CAAC,GAAG,IAAI,YAAY,IAAI,yCAAiB,CAAC,UAAU,EAAE;oBACvF,IAAI,CAAC,IAAI,CAAC,kBAAkB,EAAE,CAAC,cAAc,CAAC,cAAc,CAAC,CAAC,MAAM,GAAG,IAAI,CAAC;iBAC/E;YACL,CAAC,CAAC,CAAC;YACH,MAAM,+CAAsB,CAAC,cAAc,EAAE,CAAC;YAC9C,mCAAgB,CAAC,sBAAsB,CAAC,KAAK,CAAC,CAAC;YAC/C,IAAI,CAAC,gBAAgB,GAAG,KAAK,CAAC;QAClC,CAAC;KA0DJ,CAAA;IAtkBY,uBAAuB;QADnC,wCAAe,CAAC,2CAAsB,CAAC;OAC3B,uBAAuB,CAskBnC;IAAD,8BAAC;KAAA;AAtkBY,0DAAuB","file":"","sourceRoot":"/","sourcesContent":["import { ResUtils } from \"simba-cc-resutils\";\nimport { ConfigManager } from \"simba-config-manager\";\nimport { GameRecord, PlotManager, ReadonlyPlots } from \"../../../avg/AVG\";\nimport { DateType } from \"../../../avg/EditorEnums\";\nimport { Presenter, Subpresenter } from \"../../../common/classbase/PresenterBase\";\nimport { GameTextData } from \"../../../common/gameplay/gamedata/GameTextData\";\nimport { UIManager } from \"../../../common/gameplay/managers/UIManager\";\nimport { StringUtils } from \"../../../common/utils/StringUtils\";\nimport { dateSceneConfig } from \"../../../config/DateSceneConfig\";\nimport { GameConfig } from \"../../../GameConfig\";\nimport { CommonLocation, DatePrefabDirectType, DirectionType, EventLocation, EventOperationType, GuideLocation, GuideOperationType, GuideState, StepType } from \"../../Enums\";\nimport GameDotMgr from \"../../GameDotMgr\";\nimport CDKeyEventManager from \"../../model/CDKeyEventManager\";\nimport { DatingEventSceneModel, DatingEventStatus } from \"../../model/DatingEventSceneModel\";\nimport { ExtraStoryModelManager } from \"../../model/ExtraStoryModelManager\";\nimport { GameModelManager } from \"../../model/GameModelManager\";\nimport { RegPresenter, RegSubpresenter } from \"../PresenterCCViewFactory\";\nimport SectionBtn from \"../SectionBtn\";\nimport { AlertDialogViewProps } from \"../view/type/AlertDialogView\";\nimport { DatingEventItemProps, DatingEventSubview, DatingEventSubviewType } from \"../view/type/DatingEventSubview\";\nimport { DatingEventView, DatingEventViewProps, DatingEventViewType } from \"../view/type/DatingEventView\";\nimport { ExtraPlotViewProps } from \"../view/type/ExtraPlotView\";\nimport AlertDialogViewPresenter from \"./AlertDialogViewPresenter\";\nimport { DatingScenePresenter } from \"./DatingScenePresenter\";\nimport ExtraPlotViewPresenter from \"./ExtraPlotViewPresenter\";\nimport GuideViewPresenter, { GuideViewParamModel } from \"./GuideViewPresenter\";\n\n@RegPresenter(DatingEventViewType)\nexport default class DatingEventViewPresenter extends Presenter<undefined, DatingEventView> {\n static uuid = \"DatingEventViewPresenter\";\n\n private _viewProps: DatingEventViewProps;\n constructor() {\n super();\n this._viewProps = {\n }\n }\n\n onOpen() {\n super.onOpen(undefined);\n this._disposable.add(GameModelManager.ShowDatingEventArrowGuide.on(this.onShowDatingEventArrowGuide));\n this.onShow();\n }\n\n onEnterForeground() {\n super.onEnterForeground();\n }\n\n onShow() {\n super.onShow();\n this.view.setProps(this._viewProps);\n if (GameConfig.debug) {\n this.view.showRoleLikeLabel();\n this.view.showMaskLabel();\n }\n }\n\n onClose() {\n super.onClose();\n }\n\n onShowDatingEventArrowGuide = (isShow: boolean, wordPos?: cc.Vec3) => {\n this.view.showArrowGuide(isShow, wordPos);\n }\n}\n\n@RegSubpresenter(DatingEventSubviewType)\nexport class DatingEventSubpresenter extends Subpresenter<DatingEventSubview> {\n // private _items: DatingEventItemProps[];\n private _lineStyle: 0 | 1 = 0;\n private _modelMap: { [key: string]: DatingEventSceneModel } = {};\n private _dailySceneNum: number = -1;\n private _curChapterIndex: number = 1;\n private _maxChapterIndex: number = 1;\n private _maxChapterIsChange: boolean = false;\n private _isStartBranches: boolean = false;\n private _clickKey: string = \"\";\n isReview: boolean;\n\n private sceneModelToViewModel(item: DatingEventSceneModel, index: number): DatingEventItemProps {\n this._modelMap[item.id.toString()] = item;\n // let cfg = ConfigManager.getConfig(dateSceneConfig, item.id);\n // let progress = GameModelManager.getDateSceneKeyPlotsProgress(item.id);\n let direct = DatePrefabDirectType.Left;\n if (this._curChapterIndex % 2 === 1) {\n direct = (index + 1) % 2 === 1 ? DatePrefabDirectType.Left : DatePrefabDirectType.Right;\n } else {\n direct = (index + 1) % 2 === 0 ? DatePrefabDirectType.Left : DatePrefabDirectType.Right;\n }\n return {\n key: item.id + \"\",\n title: GameModelManager.getConfigLanguageTxt(item.config.name),\n // date: item.config.date,\n // time: item.config.time,\n status: item.status,\n coverImage: \"textures/dating_event/cover/\" + item.config.background,\n // lineStyle: this._lineStyle,\n // progress: progress,\n // showItemClear: item.status === DatingEventStatus.Completed && progress === 100,\n // showProgress: item.status === DatingEventStatus.Completed,\n // firstCostNum: cfg.first_energy_cost,\n // reviewCostNum: cfg.memory_energy_cost,\n itype: direct\n }\n }\n\n refreshItems() {\n let items: DatingEventItemProps[] = [];\n let srcModels = GameModelManager.getMainDatingEventScenesModelByChapterindex(this._curChapterIndex);\n // let srcModels = GameModelManager.getMainDatingEventScenesModel();\n for (let i = srcModels.length - 1; i >= 0; i--) {\n items.push(this.sceneModelToViewModel(srcModels[i], i));\n }\n // if (items.length) {\n // items[0].lineStyle = \"none\";\n // }\n //count dailySceneNum from table\n if (this._dailySceneNum == -1) {\n let maxItemsNum: number = 0;\n let cfg = ConfigManager.getAllConfig(dateSceneConfig);\n for (let id in cfg) {\n let c = cfg[id];\n if (c) {\n maxItemsNum++;\n }\n }\n this._dailySceneNum = maxItemsNum;\n }\n let showContinue = false;\n if (srcModels.length !== 0) {\n let c = 0;\n let cfgs = ConfigManager.getAllConfig(dateSceneConfig);\n for (let id in cfgs) {\n let cfg = cfgs[id];\n if (cfg) {\n c++;\n }\n }\n let last = srcModels[srcModels.length - 1];\n showContinue = last.id === c;\n }\n this.view.setProps({\n items,\n onItemClick: this.onItemAdModeClick,\n // onItemClick: this.onItemEnergyCostClick,\n showContinue: showContinue,\n chapterName: this.getChapterName(this._curChapterIndex),\n showLeft: this._curChapterIndex !== 1,\n showRight: this._curChapterIndex !== this._maxChapterIndex,\n showChapterClear: this.checkChapterClear(items, this._curChapterIndex),\n onOptionChapter: this.onOptionChapter,\n chapterIndex: this._curChapterIndex,\n onScrollBegin: this.onScrollBegin,\n onScrollEnd: this.onScrollEnd,\n onLeftButtonClickCallback: this.onLeftButtonClickCallback,\n onRightButtonClickCallback: this.onRightButtonClickCallback,\n onNameButtonClickCallback: this.onNameButtonClickCallback,\n onCloseSectionViewCallBack: this.onCloseSectionViewCallBack\n });\n }\n\n onScrollBegin = () => {\n GameModelManager.ShowDatingEventArrowGuide.emit(false);\n }\n\n onScrollEnd = () => {\n this.refreshArrowGuide();\n }\n\n checkChapterClear(items: DatingEventItemProps[], chapterIndex: number): boolean {\n let showClear: boolean = true;\n let cfg = ConfigManager.getAllConfig(dateSceneConfig);\n let cnt = 0;\n for (let id in cfg) {\n let c = cfg[id]\n if (c && c.chapter_index === chapterIndex) {\n cnt++;\n }\n }\n if (cnt !== items.length) {\n return false;\n }\n // for (let i = 0; i < items.length; i++) {\n // if (items[i].showItemClear === false) {\n // showClear = false;\n // break;\n // }\n // }\n return showClear;\n }\n\n getChapterName(chapterIndex: number): string {\n chapterIndex -= 1;\n let nameArr: string[] =\n [\n \"一\", \"二\", \"三\", \"四\", \"五\", \"六\", \"七\", \"八\", \"九\", \"十\",\n \"十一\", \"十二\", \"十三\", \"十四\", \"十五\", \"十六\", \"十七\", \"十八\", \"十九\", \"二十\"\n ];\n let name = StringUtils.format(GameModelManager.getLanguageTxt(GameTextData.GAME_TEXT_CHAPTER_NAME), nameArr[chapterIndex]);\n return name\n }\n\n onItemAdModeClick = (key: string) => {\n GameModelManager.setGuideEventItemRecord(key, GuideState.Complete);\n let m = this._modelMap[key];\n let hasRecord = this.checkIsSceneHasAdRecord(m.id);\n CDKeyEventManager.getInstance().shiftCDKeyRemovePlotAD();\n let removeAdCardNum: number = CDKeyEventManager.getInstance().checkCDKeyRemovePlotAD();\n if (m.status !== DatingEventStatus.Completed) {\n GameDotMgr.getInstance().dotClickUI(\"click_date_card\" + m.config.id);\n }\n let showAdAlert: boolean = !(removeAdCardNum > 0) && !hasRecord && m.config.ads === 1 && m.status == DatingEventStatus.New;\n if (showAdAlert) {\n let temp: AlertDialogViewProps =\n {\n dataptr: { key },\n titlecontent: GameModelManager.getLanguageTxt(GameTextData.GAME_TEXT_WAIT_VALUE),\n content: GameModelManager.getLanguageTxt(GameTextData.GAME_TEXT_SHOW_AD_UNLOCK_DATE_VALUE),\n ishasad: true,\n istwobtn: true,\n adconfig: \"inject_fruit\",\n location: CommonLocation.Event,\n callback: this.showAdCallBack,\n hasBanner: false,\n isthreebtn: true\n };\n console.log(\"Push AlertDialogViewPros data end\");\n UIManager.pushPresenter(AlertDialogViewPresenter, temp);\n console.log(\"pushPresenter=========\");\n } else {\n this.enterDatingScene(key);\n }\n }\n\n showAdCallBack = (type, ret: boolean, param: any) => {\n if (ret) {\n //if (type === \"video\" || channel == \"dummy\") {\n if (true) {\n let key = param[\"key\"] as string;\n let m = this._modelMap[key];\n this.pushSceneAdToRecord(m.id);\n setTimeout(() => {\n this.enterDatingScene(key);\n }, 300);\n } else {\n UIManager.popPresenter();\n setTimeout(() => {\n let temp: AlertDialogViewProps =\n {\n dataptr: {},\n titlecontent: \"提示\",\n content: \"今天广告君太累了,休息啦~~可以点击去除广告,或者明天再来哦(*•̀ᴗ•́*)و ̑̑\",\n ishasad: false,\n istwobtn: true,\n adconfig: \"\",\n callback: () => {\n\n },\n hasBanner: false,\n isadlimit: true\n };\n UIManager.pushPresenter(AlertDialogViewPresenter, temp);\n }, 500);\n }\n } else {\n if (type === \"video\") {\n UIManager.showToast(\"解锁失败,请完整观看视频,不可点击跳过\");\n }\n }\n }\n\n checkIsSceneHasAdRecord(id: number): boolean {\n let ret: boolean = false;\n let record = GameRecord.globalVariables[\"date_ad_arr\"] as string;\n if (record) {\n let a: number[] = JSON.parse(record);\n let i = a.findIndex((v) => v === id);\n ret = i !== -1;\n }\n return ret;\n }\n\n pushSceneAdToRecord(id: number) {\n let record = GameRecord.globalVariables[\"date_ad_arr\"] as string;\n let a: number[] = [];\n let isExsit: boolean = false;\n if (record) {\n a = JSON.parse(record);\n let i = a.findIndex((v) => v === id);\n if (i >= 0) {\n isExsit = true;\n }\n }\n if (!isExsit) {\n a.push(id);\n a.reverse();\n GameRecord.globalVariables[\"date_ad_arr\"] = JSON.stringify(a);\n GameRecord.autoSave();\n }\n }\n\n enterDatingScene(key: string) {\n GameModelManager.ShowDatingEventArrowGuide.emit(false);\n UIManager.pushPresenter(DatingScenePresenter, this._modelMap[key], true);\n }\n\n onOwnerShow() {\n if (!this.view.isHidden) {\n this.selectCurChapter();\n this.refreshMaxChapterIndex();\n this.refreshItems();\n this.refreshArrowGuide();\n this.changeButtonState();\n this.checkLastChapterIsOver();\n this.onCloseSectionViewCallBack();\n }\n }\n\n onOwnerEnterForeground() {\n if (!this.view.isHidden) {\n this.refreshMaxChapterIndex();\n this.refreshItems();\n this.refreshArrowGuide();\n this.changeButtonState();\n this.checkLastChapterIsOver();\n }\n if (this._maxChapterIsChange) {\n this.selectCurChapter();\n }\n }\n\n onOpen() {\n super.onOpen();\n this._disposable.add(GameModelManager.CheckDateGuide.on(this.checkGuideItem));\n this._disposable.add(GameModelManager.ForceClickDatingItem.on(this.onForceClickItem));\n this._disposable.add(GameModelManager.RefreshAllStatus.on(this.onRefreshAllStatus));\n this._disposable.add(GameModelManager.CloseDatingSceneView.on(this.onCloseDatingSceneView));\n this._disposable.add(GameModelManager.CloseExtraSceneView.on(this.onCloseExtraSceneView));\n\n this.selectCurChapter();\n if (!this.view.isHidden) {\n this.refreshMaxChapterIndex();\n this.onShow();\n }\n }\n\n async onShow() {\n this.refreshMaxChapterIndex();\n this.refreshItems();\n this.checkGuideItem();\n this.refreshArrowGuide();\n this.changeButtonState();\n this.checkLastChapterIsOver();\n await this.updateExtraPlotButtonRedDot();\n }\n\n onHide() {\n\n }\n\n selectCurChapter() {\n let models = GameModelManager.getMainDatingEventScenesModel();\n if (models && models.length) {\n let last = models[models.length - 1];\n this._curChapterIndex = last.config.chapter_index;\n if (this._curChapterIndex !== 1) {\n GameModelManager.setNotNeedEnterCurDateChapter();\n }\n }\n }\n\n checkGuideItem = () => {\n let k = GameModelManager.getEventItemGuideKey();\n if (k && \"\" !== k) {\n let node = this.view.getItemNode(k);\n if (node) {\n let wp = node.convertToWorldSpaceAR(cc.v2(0, 0));\n let m: GuideViewParamModel = {\n x: wp.x,\n y: wp.y,\n w: node.width,\n h: node.height,\n d: DirectionType.DOWM,\n call: () => {\n this.onItemAdModeClick(k);\n // this.onItemEnergyCostClick(k);\n GameModelManager.setGuideEventItemRecord(k, GuideState.Complete);\n }\n }\n UIManager.pushPresenter(GuideViewPresenter, m);\n }\n }\n this.refreshArrowGuide();\n }\n\n refreshMaxChapterIndex() {\n let maxChapterIndex = this._maxChapterIndex;\n let arr = GameModelManager.getMainDatingEventScenesModel();\n if (arr && arr.length) {\n let dId = arr[arr.length - 1].id;\n let cfg = ConfigManager.getConfig(dateSceneConfig, dId);\n this._maxChapterIndex = cfg.chapter_index;\n }\n this._maxChapterIsChange = maxChapterIndex == this._maxChapterIndex ? false : true;\n }\n\n onOptionChapter = (stepType: StepType) => {\n let tempIndex = stepType === StepType.Add ? this._curChapterIndex + 1 : this._curChapterIndex - 1;\n this._curChapterIndex = tempIndex >= 1 && tempIndex <= this._maxChapterIndex ? tempIndex : this._curChapterIndex;\n this.refreshItems();\n }\n\n costEnergyCallBack = (type, ret: boolean, param: any) => {\n if (ret) {\n let oprType = this.isReview ? EventOperationType.memory : EventOperationType.event;\n let location = EventLocation.ClickEnergyCost;\n let role = GameModelManager.getPlayerData();\n let key = param[\"key\"] as string;\n let m = this._modelMap[key];\n this.pushSceneAdToRecord(m.id);\n setTimeout(() => {\n this.enterDatingScene(key);\n }, 300);\n }\n }\n\n\n refreshArrowGuide() {\n let srcModels = GameModelManager.getMainDatingEventScenesModelByChapterindex(this._curChapterIndex);\n if (!srcModels || srcModels.length === 0) {\n return;\n }\n let model = srcModels[srcModels.length - 1];\n if (model.status !== DatingEventStatus.Completed) {\n let key = model.id + \"\";\n let node = this.view.getItemNode(key);\n if (node) {\n let wp = node.convertToWorldSpaceAR(cc.v2(0, 0));\n //世界坐标y是否在屏幕区域内\n if (wp.y > 120 && wp.y < cc.winSize.height - 200) {\n GameModelManager.ShowDatingEventArrowGuide.emit(true, cc.v3(wp.x, wp.y, 0));\n } else {\n GameModelManager.ShowDatingEventArrowGuide.emit(false);\n }\n }\n } else {\n GameModelManager.ShowDatingEventArrowGuide.emit(false);\n }\n }\n\n onForceClickItem = (id: number) => {\n console.log(\"DatingEventSubpresenter onForceClickItem id = \", id);\n let k = id + \"\";\n if (!this._modelMap || !this._modelMap[k]) {\n return;\n }\n this._clickKey = k;\n if (!this._isStartBranches) {\n this.onItemAdModeClick(k);\n } else {\n //@ts-ignore\n this.view.schedule(this.checkCanEnterDatingScene, 0.1);\n }\n }\n\n checkCanEnterDatingScene = () => {\n if (!this._isStartBranches) {\n this.onItemAdModeClick(this._clickKey);\n //@ts-ignore\n this.view.unschedule(this.checkCanEnterDatingScene);\n }\n }\n\n onRefreshAllStatus = () => {\n this.selectCurChapter();\n this.onShow();\n }\n\n onCloseDatingSceneView = (eventId: number) => {\n // this.view.setCurrEventId(eventId);\n let cfg = ConfigManager.getAllConfig(dateSceneConfig);\n for (const id in cfg) {\n if (cfg[id].id == eventId) {\n this._curChapterIndex = cfg[id].chapter_index;\n }\n }\n this.refreshItems();\n this.checkGuideItem();\n this.refreshArrowGuide();\n this.changeButtonState();\n this.checkLastChapterIsOver();\n }\n\n onCloseExtraSceneView = async () => {\n await this.updateExtraPlotButtonRedDot();\n }\n\n changeButtonState() {\n let nameSprite = this.view.getNameButton().node.getComponent(cc.Sprite);\n nameSprite.scheduleOnce(async () => {\n let spritePath = \"textures/main_view/dating/chapterIcon/chapter\";\n nameSprite.spriteFrame = await ResUtils.loadRes(spritePath + this._curChapterIndex, cc.SpriteFrame);\n if (this._curChapterIndex == this._maxChapterIndex) {\n this.view.getRightButton().node.opacity = 0;\n } else {\n this.view.getRightButton().node.opacity = 255;\n }\n if (this._curChapterIndex == 1) {\n this.view.getLeftButton().node.opacity = 0;\n } else {\n this.view.getLeftButton().node.opacity = 255;\n }\n });\n }\n\n checkLastChapterIsOver() {\n let isOver = false;\n let arr = GameModelManager.getMainDatingEventScenesModel();\n if (arr && arr.length) {\n let lastChapter = arr[arr.length - 1];\n isOver = lastChapter.status == DatingEventStatus.Completed ? true : false;\n }\n if (!isOver && this._curChapterIndex !== this._maxChapterIndex) {\n this.view.getRightButton().node.getChildByName(\"RedDotSprite\").active = true;\n this.startButtonAction(this.view.getRightButton().node);\n } else {\n this.view.getRightButton().node.getChildByName(\"RedDotSprite\").active = false;\n this.stopButtonAction(this.view.getRightButton().node);\n }\n }\n\n startButtonAction(node: cc.Node) {\n let fadeInAct = cc.fadeTo(1, 255);\n let fadeOutAct = cc.fadeTo(1, 100);\n let scaleInAct = cc.scaleTo(1, 1.2);\n let scaleOutAct = cc.scaleTo(1, 1);\n node.stopAllActions();\n node.runAction(cc.repeatForever(cc.sequence(fadeInAct, fadeOutAct)));\n node.runAction(cc.repeatForever(cc.sequence(scaleInAct, scaleOutAct)));\n }\n\n stopButtonAction(node: cc.Node) {\n node.stopAllActions();\n node.scale = 1;\n node.opacity = 255;\n }\n\n getAllChapterInfo(): { chapterIndex: number, chapterName: string }[] {\n let chapterIndex: number[] = [];\n let chapterName: string[] = [];\n let cfg = ConfigManager.getAllConfig(dateSceneConfig);\n for (const id in cfg) {\n if (chapterIndex.indexOf(cfg[id].chapter_index) == -1 && cfg[id].chapter_index <= this._maxChapterIndex) {\n chapterIndex.push(cfg[id].chapter_index);\n chapterName.push(cfg[id].chapter_name);\n }\n }\n let chapterInfo: { chapterIndex: number, chapterName: string }[] = [];\n for (let i = 0; i < chapterIndex.length; i++) {\n if (chapterName[i]) {\n chapterInfo.push({\n chapterIndex: chapterIndex[i],\n chapterName: chapterName[i]\n });\n }\n }\n return chapterInfo;\n }\n\n async updateExtraPlotButtonRedDot() {\n //return;\n this._isStartBranches = true;\n this.view.getExtraPlotButton().getChildByName(\"RedDotSprite\").active = false;\n let cfg = ConfigManager.getAllConfig(dateSceneConfig);\n let startPlotIds: number[] = [];\n let cfgIds:number[] = [];\n for (const id in cfg) {\n if (cfg[id].DateType == DateType.Date_Sp) {\n startPlotIds.push(cfg[id].start_plot_id);\n cfgIds.push(Number(id));\n }\n }\n await ExtraStoryModelManager.startBranches(startPlotIds,(index:number,startPlotId:number)=>{\n let branchStatus = ExtraStoryModelManager.getBranchStatus(cfgIds[index], startPlotId);\n if (branchStatus == DatingEventStatus.New || branchStatus == DatingEventStatus.InProgress) {\n this.view.getExtraPlotButton().getChildByName(\"RedDotSprite\").active = true;\n }\n });\n await ExtraStoryModelManager.exitExtraStory();\n GameModelManager.setIsMainPlotSceneType(false);\n this._isStartBranches = false;\n }\n\n onLeftButtonClickCallback = () => {\n GameModelManager.setIsMainPlotSceneType(false);\n if (this._curChapterIndex == 1) {\n this.view.getLeftButton().node.opacity = 0;\n } else {\n this._curChapterIndex--;\n this.view.getLeftButton().node.opacity = 255;\n this.onShow();\n }\n }\n\n onRightButtonClickCallback = () => {\n GameModelManager.setIsMainPlotSceneType(false);\n if (this._curChapterIndex == this._maxChapterIndex) {\n this.view.getRightButton().node.opacity = 0;\n } else {\n this._curChapterIndex++;\n this.view.getRightButton().node.opacity = 255;\n this.onShow();\n }\n }\n\n onNameButtonClickCallback = () => {\n let allChapterInfo = this.getAllChapterInfo();\n // console.log(\"allChapterInfo\", allChapterInfo);\n this.view.getScrollViewRoot().active = true;\n let scrollView = this.view.getScrollViewRoot().getChildByName(\"ScrollView\");\n scrollView.scaleY = 0;\n cc.tween(scrollView)\n .to(0.2, { scaleY: 1 })\n .call(() => {\n this.view.getScrollViewContent().removeAllChildren();\n for (let i = 0; i < allChapterInfo.length; ++i) {\n let btn = cc.instantiate(this.view.getSectionBtn());\n let isCurrChapter = allChapterInfo[i].chapterIndex == this._curChapterIndex;\n btn.getComponent(SectionBtn).setData(allChapterInfo[i].chapterIndex, allChapterInfo[i].chapterName, isCurrChapter, () => {\n this._curChapterIndex = allChapterInfo[i].chapterIndex;\n this.onShow();\n this.onCloseSectionViewCallBack();\n });\n btn.parent = this.view.getScrollViewContent();\n }\n })\n .start();\n }\n\n onCloseSectionViewCallBack = () => {\n this.view.getScrollViewContent().removeAllChildren();\n let scrollView = this.view.getScrollViewRoot().getChildByName(\"ScrollView\");\n cc.tween(scrollView)\n .to(0.2, { scaleY: 0 })\n .call(() => {\n this.view.getScrollViewRoot().active = false;\n })\n .start();\n }\n}"]}