| 1 |
- <view class="content data-v-468b9330"><view class="header-nav data-v-468b9330" style="{{'height:'+('calc(88rpx + '+statusBarHeight+'px)')+';'+('padding-top:'+(statusBarHeight+'px')+';')}}"><block wx:if="{{isOpen==1}}"><view data-event-opts="{{[['tap',[['navback',['$event']]]]]}}" class="arrow-left-warning data-v-468b9330" bindtap="__e"><u-icon vue-id="ea315854-1" name="arrow-left" size="22" color="#222" bold="{{true}}" class="data-v-468b9330" bind:__l="__l"></u-icon></view></block><block wx:else><view data-event-opts="{{[['tap',[['feedback',['$event']]]]]}}" class="arrow-left-warning data-v-468b9330" bindtap="__e"><image src="{{imgPath+'/app/image/warning.png'}}" class="data-v-468b9330"></image><text class="data-v-468b9330">投诉</text></view></block><view class="header-title data-v-468b9330" style="{{'width:'+(menuButtonLeft+'px')+';'+('height:'+(menuButtonH+'px')+';')+('line-height:'+(menuButtonH+'px')+';')}}">{{courseInfo.title}}</view></view><view class="video-box data-v-468b9330"><block wx:if="{{!isLogin||isAddKf!=1}}"><image class="video-poster data-v-468b9330" src="{{courseInfo.imgUrl}}" mode="aspectFill"></image></block><video style="width:100%;height:420rpx;" title="{{courseInfo.title}}" poster="{{poster}}" id="video-content-box" controls="{{true}}" auto-pause-if-open-native="{{true}}" auto-pause-if-navigate="{{true}}" enable-progress-gesture="{{false}}" show-progress="{{showProgress}}" picture-in-picture-mode="{{[]}}" show-background-playback-button="{{false}}" src="{{videoUrl}}" data-event-opts="{{[['timeupdate',[['onTimeUpdate',['$event']]]],['progress',[['progressChange',['$event']]]],['error',[['videoErrorCallback',['$event']]]],['play',[['getPlay',['$event']]]],['pause',[['getPause',['$event']]]],['ended',[['getEnded',['$event']]]],['controlstoggle',[['controlstoggle',['$event']]]],['fullscreenchange',[['fullscreenchange',['$event']]]]]}}" bindtimeupdate="__e" bindprogress="__e" binderror="__e" bindplay="__e" bindpause="__e" bindended="__e" bindcontrolstoggle="__e" bindfullscreenchange="__e" class="data-v-468b9330"><block wx:if="{{showDanmu==1&&openCommentStatus==2}}"><block wx:for="{{activeDanmus}}" wx:for-item="item" wx:for-index="index" wx:key="commentId"><text data-event-opts="{{[['animationend',[['animationend',['$0',index],[[['activeDanmus','commentId',item.commentId]]]]]]]}}" class="danmu-item danmuMove data-v-468b9330" style="{{(item.danmustyle)}}" bindanimationend="__e">{{''+item.content+''}}</text></block></block><cover-view class="video-danmu-btnbox data-v-468b9330" style="{{'display:'+(openCommentStatus==2&&isfull&&crtShow&&isLogin&&isAddKf==1?'block':'none')+';'}}"><cover-image class="video-danmu-image data-v-468b9330" src="{{imgPath+'/app/image/danmu_set.png'}}" data-event-opts="{{[['tap',[['openDanmu',[1]]]]]}}" bindtap="__e"></cover-image></cover-view><block wx:if="{{courseLogo}}"><cover-image class="{{['data-v-468b9330',isfull?'logo-full':'logo']}}" src="{{courseLogo}}" mode="widthFix"></cover-image></block></video></view><block wx:if="{{openCommentStatus==2}}"><comment-box vue-id="ea315854-2" height="{{height}}" urlOption="{{urlOption}}" time="{{playTime}}" showDanmu="{{showDanmu}}" viewCommentNum="{{viewCommentNum}}" openCommentStatus="{{openCommentStatus}}" data-ref="danmuBox" data-event-opts="{{[['^setInputText',[['setInputText']]],['^getScrollTop',[['getScrollTop']]],['^getMore',[['getMore']]],['^getActiveDanmus',[['getActiveDanmus']]]]}}" bind:setInputText="__e" bind:getScrollTop="__e" bind:getMore="__e" bind:getActiveDanmus="__e" class="data-v-468b9330 vue-ref" bind:__l="__l"></comment-box></block><view id="title-contentnav" class="data-v-468b9330"><view hidden="{{!(openCommentStatus!=1)}}" class="title-content data-v-468b9330"><block wx:if="{{isLogin&&isAddKf==1}}"><view class="subtitlebox data-v-468b9330">{{''+courseInfo.title+''}}</view></block><block wx:else><view class="miantitlebox data-v-468b9330">{{''+courseInfo.courseName+''}}</view></block></view><block wx:if="{{openCommentStatus==1}}"><view class="tabbox data-v-468b9330"><block wx:for="{{navList}}" wx:for-item="nav" wx:for-index="__i0__" wx:key="id"><view data-event-opts="{{[['tap',[['handleTab',['$0'],[[['navList','id',nav.id,'id']]]]]]]}}" class="{{['data-v-468b9330',currentTab==nav.id?'tabbox-active':'']}}" bindtap="__e">{{nav.name}}</view></block></view></block></view><scroll-view class="scroll-view data-v-468b9330" style="{{'height:'+(height)+';'}}" scroll-top="{{scrollTop}}" scroll-y="{{true}}" refresher-enabled="{{currentTab==2}}" refresher-triggered="{{triggered}}" data-event-opts="{{[['refresherrefresh',[['handleRefresher',['$event']]]]]}}" bindrefresherrefresh="__e"><block wx:if="{{openCommentStatus==1}}"><view hidden="{{!(currentTab==0)}}" class="data-v-468b9330"><desc-info-nav vue-id="ea315854-3" isLogin="{{isLogin}}" isAddKf="{{isAddKf}}" courseInfo="{{courseInfo}}" data-ref="descInfoNav" class="data-v-468b9330 vue-ref" bind:__l="__l"></desc-info-nav></view><view hidden="{{!(currentTab==2)}}" class="data-v-468b9330"><comment-box vue-id="ea315854-4" height="{{height}}" urlOption="{{urlOption}}" time="{{playTime}}" flagTime="{{flagTime}}" showDanmu="{{showDanmu}}" viewCommentNum="{{viewCommentNum}}" openCommentStatus="{{openCommentStatus}}" data-ref="commentBox" data-event-opts="{{[['^setInputText',[['setInputText']]],['^getScrollTop',[['getScrollTop']]],['^getMore',[['getMore']]]]}}" bind:setInputText="__e" bind:getScrollTop="__e" bind:getMore="__e" class="data-v-468b9330 vue-ref" bind:__l="__l"></comment-box></view></block><view hidden="{{!(currentTab==1)}}" class="data-v-468b9330"><block wx:if="{{openCommentStatus!=1&&(courseInfo.title||courseInfo.description)}}"><desc-info vue-id="ea315854-5" isLogin="{{isLogin}}" isAddKf="{{isAddKf}}" courseInfo="{{courseInfo}}" data-ref="descInfo" class="data-v-468b9330 vue-ref" bind:__l="__l"></desc-info></block><block wx:if="{{isLogin&&isAddKf==1}}"><ques vue-id="ea315854-6" quesList="{{quesList}}" openCommentStatus="{{openCommentStatus}}" data-ref="ques" data-event-opts="{{[['^handleAnswer',[['handleAnswer']]]]}}" bind:handleAnswer="__e" class="data-v-468b9330 vue-ref" bind:__l="__l"></ques></block></view></scroll-view><block wx:if="{{isLogin&&isAddKf==1}}"><view data-event-opts="{{[['tap',[['openPop',['$event']]]]]}}" class="video-line data-v-468b9330" bindtap="__e"><image src="{{imgPath+'/app/image/changePlayer-icon.png'}}" class="data-v-468b9330"></image><text class="data-v-468b9330">{{"线路"+$root.m0}}</text></view></block><uni-popup class="full-width-popup data-v-468b9330 vue-ref" vue-id="ea315854-7" type="bottom" data-ref="popup" bind:__l="__l" vue-slots="{{['default']}}"><view class="popupbox data-v-468b9330"><view class="popupbox-head data-v-468b9330"><text class="data-v-468b9330">线路选择</text><image class="close-icon data-v-468b9330" src="{{imgPath+'/app/image/tc_close_icon.png'}}" mode="aspectFill" data-event-opts="{{[['tap',[['close',['$event']]]]]}}" bindtap="__e"></image></view><view class="popupbox-content data-v-468b9330"><block wx:for="{{$root.l0}}" wx:for-item="it" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['handleLine',[index]]]]]}}" class="{{['data-v-468b9330',lineIndex==index?'line-item line-active':'line-item']}}" bindtap="__e">{{'线路'+it.m1}}</view></block></view></view></uni-popup><uni-popup vue-id="ea315854-8" type="center" is-mask-click="{{false}}" data-ref="tipsPopup" class="data-v-468b9330 vue-ref" bind:__l="__l" vue-slots="{{['default']}}"><view class="tipsPopup-mask data-v-468b9330"><image class="red_envelope_top data-v-468b9330" src="{{imgPath+'/app/image/red_envelope_img.png'}}" mode="aspectFill"></image><view class="tipsPopup data-v-468b9330"><image class="tipsPopup-close data-v-468b9330" src="{{imgPath+'/app/image/course_close_white_icon.png'}}" mode="aspectFill" data-event-opts="{{[['tap',[['closeTipsPop',['$event']]]]]}}" bindtap="__e"></image><view class="tipsPopup-line data-v-468b9330"><view class="tipsPopup-box data-v-468b9330"><view class="tipsPopup-head data-v-468b9330"><image class="tipsPopup-head-title data-v-468b9330" src="{{imgPath+'/app/image/tips_title_img.png'}}" mode="widthFix"></image></view><view class="tipsPopup-content data-v-468b9330"><view class="tipsPopup-content-title data-v-468b9330">亲爱的用户,</view><view class="data-v-468b9330">您已经观看课程一半的时间了,请注意休息并保持专注。</view></view><view class="tipsPopup-btn-box data-v-468b9330"><view data-event-opts="{{[['tap',[['closeTipsPop',['$event']]]]]}}" class="tipsPopup-btn data-v-468b9330" bindtap="__e">继续观看领奖励</view></view></view></view></view></view></uni-popup><block wx:if="{{isLogin&&isAddKf==1&&openCommentStatus==2}}"><view data-event-opts="{{[['tap',[['openDanmu',[0]]]]]}}" class="video-line danmu-line data-v-468b9330" bindtap="__e"><image class="set_image data-v-468b9330" src="{{imgPath+'/app/image/danmu_set_black.png'}}" mode="aspectFill"></image><text class="data-v-468b9330">发弹幕</text></view></block><uni-popup style="z-index:999;" vue-id="ea315854-9" type="bottom" data-ref="danmuPopup" data-event-opts="{{[['^change',[['changeShowPopup']]]]}}" bind:change="__e" class="data-v-468b9330 vue-ref" bind:__l="__l" vue-slots="{{['default']}}"><view class="danmuPopup data-v-468b9330" style="{{'margin-left:'+(isfull?statusBarHeight+'px':0)+';'+('margin-bottom:'+(danmuboxHeight+'px')+';')}}"><view class="danmuPopup-head border-line data-v-468b9330"><image class="danmu-icon data-v-468b9330" src="{{showDanmu==0?imgPath+'/app/image/danmu-off.png':imgPath+'/app/image/danmu-on.png'}}" mode="heightFix" data-event-opts="{{[['tap',[['switchDanmu']]]]}}" bindtap="__e"></image><view class="u-border data-v-468b9330"><input class="danmuPopup-input data-v-468b9330" placeholder="发个弹幕吧~" border="border" focus="{{focus}}" adjustPosition="{{false}}" autoBlur="{{false}}" maxlength="50" data-event-opts="{{[['input',[['__set_model',['','inputText','$event',['trim']]]]],['blur',[['$forceUpdate']]]]}}" value="{{inputText}}" bindinput="__e" bindblur="__e"/><text style="font-size:24rpx;color:#bbb;margin-left:10rpx;" class="data-v-468b9330">{{(inputText?$root.g0:0)+"/50"}}</text></view><button data-event-opts="{{[['tap',[['handleChatInput',['$event']]]]]}}" class="danmuPopup-send data-v-468b9330" bindtap="__e">发送</button></view></view></uni-popup><uni-popup vue-id="ea315854-10" type="center" show="{{answerPopup}}" data-ref="answerPopup" class="data-v-468b9330 vue-ref" bind:__l="__l" vue-slots="{{['default']}}"><view class="{{['data-v-468b9330',errTitle=='恭喜你,回答正确'?'answerPopup-box bg':'answerPopup-box']}}"><block wx:if="{{errTitle=='恭喜你,回答正确'}}"><image class="tipimg data-v-468b9330" src="{{imgPath+'/app/image/course_answer_img.png'}}" mode="aspectFill"></image></block><block wx:else><image class="tipimg data-v-468b9330" src="{{imgPath+'/app/image/course_answer_incorrectly_img.png'}}" mode="aspectFill"></image></block><view class="answerPopup-title data-v-468b9330">{{errTitle}}</view><block wx:if="{{isOpen!=1}}"><view class="answerPopup-desc data-v-468b9330"><rich-text nodes="{{errDesc}}"></rich-text></view></block><block wx:if="{{errTitle=='恭喜你,回答正确'&&isOpen!=1}}"><view class="reward-list data-v-468b9330"><radio-group data-event-opts="{{[['change',[['rewardChange',['$event']]]]]}}" class="reward-list-group data-v-468b9330" bindchange="__e"><block wx:for="{{rewardType}}" wx:for-item="item" wx:for-index="index" wx:key="value"><label class="reward-list-option data-v-468b9330"><radio style="transform:scale(0.7);" value="{{item.value+''}}" checked="{{item.value==currentReward}}" activeBorderColor="#FF5C03" activeBackgroundColor="#FF5C03" class="data-v-468b9330"></radio><view style="{{'color:'+(item.value==currentReward?'#FF5C03':'')+';'}}" class="data-v-468b9330">{{item.name}}</view></label></block></radio-group></view></block><block wx:if="{{$root.g1}}"><view class="errQuesbox data-v-468b9330"><block wx:for="{{errQues}}" wx:for-item="it" wx:for-index="index" wx:key="index"><view class="errQuesbox-item textOne data-v-468b9330">{{it.title}}</view></block></view></block><block wx:if="{{errTitle=='恭喜你,回答正确'}}"><view data-event-opts="{{[['tap',[['closeAnswerPopup',['$event']]]]]}}" class="answerPopup-btn data-v-468b9330" bindtap="__e">确认</view></block><block wx:else><view class="tipsPopup-btn-box data-v-468b9330" style="{{'margin-top:'+($root.g2?'40rpx':'54rpx')+';'}}"><view data-event-opts="{{[['tap',[['closeAnswerPopup',['$event']]]]]}}" class="tipsPopup-btn data-v-468b9330" bindtap="__e">{{remain>0?'重新答题':'确认'}}</view></view></block></view></uni-popup><block wx:if="{{isLogin&¤tTab!=1&&openCommentStatus==1&&showAnswerTip}}"><view data-event-opts="{{[['tap',[['handleTab',[1]]]]]}}" class="answerTip data-v-468b9330" bindtap="__e"><text class="data-v-468b9330">开始</text><text class="data-v-468b9330">答题</text></view></block><uni-popup vue-id="ea315854-11" type="center" mask-click="{{false}}" data-ref="kfPopup" class="data-v-468b9330 vue-ref" bind:__l="__l" vue-slots="{{['default']}}"><view class="kfqrcode-box data-v-468b9330"><image class="kfqrcode data-v-468b9330" src="{{qrcode}}" show-menu-by-longpress="true"></image><view hidden="{{!(qrcodeMsg)}}" style="margin-top:30rpx;" class="data-v-468b9330"><rich-text nodes="{{qrcodeMsg}}"></rich-text></view><image class="kfqrcode-close data-v-468b9330" src="{{imgPath+'/app/image/course_close_white_icon.png'}}" mode="aspectFill" data-event-opts="{{[['tap',[['closeKFPop',['$event']]]]]}}" bindtap="__e"></image></view></uni-popup><view hidden="{{!(currentTab!=2&&videoId)}}" class="footer data-v-468b9330"><block wx:if="{{!isLogin||isAddKf!=1}}"><view data-event-opts="{{[['tap',[['submit',['$event']]]]]}}" class="footer-btn data-v-468b9330" bindtap="__e"><text class="data-v-468b9330">立即学习</text></view></block><block wx:if="{{$root.g3}}"><view data-event-opts="{{[['tap',[['submit',['$event']]]]]}}" class="footer-btn footer-btn-border data-v-468b9330" bindtap="__e"><text class="data-v-468b9330">{{isOpen==1?'提交答案':'提交答案领取奖励'}}</text></view></block></view><view hidden="{{!(currentTab==2)}}" class="data-v-468b9330"><view class="chatinput data-v-468b9330" style="{{'bottom:'+(danmuboxHeight>0?danmuboxHeight+'px':'calc(var(--window-bottom) + 24rpx)')+';'}}"><input class="uni-input data-v-468b9330" adjustPosition="{{false}}" autoBlur="{{false}}" maxlength="140" placeholder="发消息···" confirm-type="send" data-event-opts="{{[['confirm',[['handleChatInput',['$event']]]],['input',[['__set_model',['','inputText','$event',['trim']]]]],['blur',[['$forceUpdate']]]]}}" value="{{inputText}}" bindconfirm="__e" bindinput="__e" bindblur="__e"/><button data-event-opts="{{[['tap',[['handleChatInput',['$event']]]]]}}" class="send data-v-468b9330" bindtap="__e">发送</button></view></view></view>
|