Component({data:{inFullScreen:!1,currentPPTPage:0,showBar:!1,isVer:!1,disabeldPrevBtn:!1,disabeldNextBtn:!1},methods:{handleClickFullScreen(){this.setData({inFullScreen:!this.data.inFullScreen}),this.triggerEvent("clickFullBtn",this.data.inFullScreen)},handleClickPrevBtn(){this.triggerEvent("clickPrevBtn")},handleClickNextBtn(){this.triggerEvent("clickNextBtn")},handleClickBackPageBtn(){this.triggerEvent("clickBackPageBtn")},pptPageChange({page:t,maxPage:e,isLive:i}){this.setData({currentPPTPage:t}),void 0!==e&&this.setData({disabeldNextBtn:!!i&&t>=e,disabeldPrevBtn:!!i&&t<=0})},toggleBar(){this.setData({showBar:!this.data.showBar}),clearTimeout(this.toggleBar.timeout),this.data.showBar&&this.resetTimer()},resetTimer(){clearTimeout(this.toggleBar.timeout),this.toggleBar.timeout=setTimeout((()=>{this.setData({showBar:!1})}),2e3)},happenResize({windowHeight:t,windowWidth:e}){this.setData({isVer:e>t})}}});