1 |
- System.register(["./tcplayer.v4.8.0.min-legacy-97b3e93d.js","./tcplayer-legacy-f1cc0ec9.js"],(function(o,e){"use strict";var t;return{setters:[o=>{t=o.T},null],execute:function(){var n=document.createElement("style");n.textContent="._intention-page_1o1vc_1{min-height:100vh;background:url("+new URL("head_bg_icon-f9b6ed94.png",e.meta.url).href+") no-repeat top center #85E2FF;background-size:contain;padding-top:40%;overflow:hidden;position:relative}._intention-page_1o1vc_1 .video-back{position:absolute;left:.53333rem;top:.53333rem;color:#fff;z-index:99;font-size:.64rem;width:.8rem;height:.8rem;background-color:rgba(0,0,0,.5);border-radius:50%;padding:.10667rem .13333rem .10667rem .08rem}._intention-page_1o1vc_1 .video-js{width:100%;height:100%;border-radius:.8rem;overflow:hidden}._intention-page_1o1vc_1 .vjs-poster,._intention-page_1o1vc_1 .plyr__poster{background-size:cover}._intention-page_1o1vc_1 .plyr__control--overlaid{border:.02667rem solid #fff;background-color:rgba(0,0,0,.2)!important}._intention-page_1o1vc_1 .plyr--video .plyr__control:hover{background-color:transparent!important}._intention-page_1o1vc_1 .video-js{width:100%;height:100%}._intention-page_1o1vc_1 .tcp-skin .vjs-play-progress{background-color:#fff!important}._intention-page_1o1vc_1 .vjs-slider:focus{box-shadow:none!important}._intention-page_1o1vc_1 .video-js .vjs-progress-control:hover .vjs-progress-holder{font-size:1em!important}._intention-page_1o1vc_1 .vjs-button-icon{height:42Px!important}._content-box_1o1vc_57{margin:0 .37333rem}._content-box_1o1vc_57 ._contentBody_1o1vc_60{background:linear-gradient(180deg,#DEFCFF 0%,#FFFFFF 15%,#FFFFFF 100%),#FFFFFF;border-radius:.42667rem;border:.10667rem solid rgba(79,194,230,.22);padding:.32rem .42667rem;margin-bottom:.26667rem}._content-box_1o1vc_57 ._contentBody_1o1vc_60 ._cbTitle_1o1vc_67{font-size:.4rem;font-weight:700;color:#0b8bfe;line-height:1.5}._content-box_1o1vc_57 ._contentBody_1o1vc_60 ._cbTitle_1o1vc_67 span{font-size:.34667rem;font-weight:400;color:#777}._hideContent_1o1vc_78{opacity:0}._videoBoxCon_1o1vc_81{padding:.10667rem;background:linear-gradient(135deg,#53C4FF 0%,#429BFF 100%);border-radius:.32rem;margin-top:.26667rem}._videoBox_1o1vc_81{width:100%;position:relative;padding-top:56.25%}._video-content_1o1vc_92{position:absolute;top:0;bottom:0;left:0;right:0;overflow:hidden;--plyr-color-main: #FF8057;box-sizing:content-box}._video-content_1o1vc_92 ._coverImg_1o1vc_102{width:100%;height:100%;border-radius:.8rem}._video-content_1o1vc_92 video{width:100%}._video-content_1o1vc_92 .video-back{position:absolute;left:.53333rem;top:.53333rem;color:#fff;z-index:99;font-size:.64rem;width:.8rem;height:.8rem;background-color:rgba(0,0,0,.5);border-radius:50%;padding:.10667rem .13333rem .10667rem .08rem}._video-content_1o1vc_92 .video-js{width:100%;height:100%;border-radius:.8rem;overflow:hidden}._video-content_1o1vc_92 .plyr__poster{background-size:cover}._video-content_1o1vc_92 .plyr__control--overlaid{border:.02667rem solid #fff;background-color:rgba(0,0,0,.2)!important}._video-content_1o1vc_92 .plyr--video .plyr__control:hover{background-color:transparent!important}._video-content_1o1vc_92 .video-js{width:100%;height:100%}._video-content_1o1vc_92 .tcp-skin .vjs-play-progress{background-color:var(--van-primary)!important}._video-content_1o1vc_92 .vjs-slider:focus{box-shadow:none!important}._video-content_1o1vc_92 .video-js .vjs-progress-control:hover .vjs-progress-holder{font-size:1em!important}._video-content_1o1vc_92 ._video_1o1vc_9{position:relative;border-radius:.26667rem}._loadingVideo_1o1vc_156{position:absolute;top:0;left:0;bottom:0;right:0;background:rgba(0,0,0,.9);z-index:10}._bottomBtn_1o1vc_165{background:#fff;width:100%;padding:.32rem 0}._bottomBtn_1o1vc_165 p{font-size:.34667rem;color:#777;text-align:center;margin-bottom:.16rem}._bottomBtn_1o1vc_165 p i{font-weight:500;color:#ff5a56;font-style:normal}._bottomBtn_1o1vc_165 ._nextBtn_1o1vc_181{height:1.76rem;width:auto;position:relative;left:50%;transform:translate(-50%)}\n",document.head.appendChild(n),o("s",{"intention-page":"_intention-page_1o1vc_1","content-box":"_content-box_1o1vc_57",contentBody:"_contentBody_1o1vc_60",cbTitle:"_cbTitle_1o1vc_67",hideContent:"_hideContent_1o1vc_78",videoBoxCon:"_videoBoxCon_1o1vc_81",videoBox:"_videoBox_1o1vc_81","video-content":"_video-content_1o1vc_92",coverImg:"_coverImg_1o1vc_102",video:"_video_1o1vc_9",loadingVideo:"_loadingVideo_1o1vc_156",bottomBtn:"_bottomBtn_1o1vc_165",nextBtn:"_nextBtn_1o1vc_181"}),o("_",((o,e,n)=>{let i="one"===o?e.player1:e.player2;const r="one"===o?e.introductionVideo:e.introductionVideo2,c="one"===o?e.coverImg:e.coverImg2;let d="one"===o?e.playerSpeed1:e.playerSpeed2;"one"===o?e.videoLoading1:e.videoLoading2;const a="one"===o?"register-video":"register-video2",_=t.getComponent("Button");if(t.getComponent("BigPlayButton").prototype.createEl=function(){const o=_.prototype.createEl.call(this);return o.appendChild(t.dom.createEl("div",{className:"vjs-button-icon",innerHTML:'<button><svg width="50px" height="50px" viewBox="0 0 50 50" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><g id="播放/播放" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"><circle id="椭圆形" stroke="#FFFFFF" stroke-width="1.20385619" fill-opacity="0.3" fill="#000000" stroke-linecap="square" cx="25" cy="25" r="24.4114519"></circle><g id="视频/暂停" transform="translate(17.2619, 13.0952)" fill="#FFFFFF"><path d="M12.1943373,5.31370674 L19.8894148,18.3953385 C20.5636212,19.5414893 20.1810346,21.0171804 19.0348838,21.6913868 C18.6648746,21.9090393 18.2434029,22.0238095 17.8141251,22.0238095 L2.42397011,22.0238095 C1.09422728,22.0238095 0.0162577307,20.94584 0.0162577307,19.6160971 C0.0162577307,19.1868194 0.131027981,18.7653477 0.34868043,18.3953385 L8.04375794,5.31370674 C8.71796432,4.1675559 10.1936554,3.78496932 11.3398063,4.4591757 C11.6926653,4.66673986 11.9867731,4.96084767 12.1943373,5.31370674 Z" id="三角形" transform="translate(10.119, 11.9048) rotate(-270) translate(-10.119, -11.9048)"></path></g></g></svg></button>'})),o},i=t(a,{appID:"",controls:!0,plugins:{}}),i){i.src(r),i.poster(c||""),i.on("ready",(o=>{console.log("ready",o)})),i.on("loadedmetadata",(()=>{console.log("loadedmetadata"),"one"===o?e.videoLoading1=!1:e.videoLoading2=!1})),i.on("ratechange",(()=>{d=d<i.playbackRate()?i.playbackRate():d})),i.on("seeking",(()=>{console.log("seeking"),n.isActive.value&&n.pause()})),i.on("seeked",(()=>{console.log("seeked"),n.isActive.value&&n.pause()})),i.on("waiting",(()=>{n.isActive.value&&n.pause()})),i.on("timeupdate",(()=>{!n.isActive.value&&i.currentTime()>0&&!i.paused()&&n.resume()})),i.on("ended",(()=>{i.pause()})),i.on("play",(()=>{"register-video"===i.id()&&e.player2.pause(),"register-video2"===i.id()&&e.player1.pause(),n.resume()})),i.on("pause",(()=>{n.pause()}));let t=!1;return i.on("fullscreenchange",(()=>{if(console.log("fullscreen fullscreenchange",i.isFullscreen()),t){t=!1;const o=document.getElementById("fullscreen-back");o&&o.remove()}else{var o;t=!0;const e=document.createElement("i");e.id="fullscreen-back",e.className="van-icon van-icon-arrow-left video-back",e.addEventListener("click",(()=>{i.exitFullscreen()})),null===(o=document.getElementById(a))||void 0===o||o.appendChild(e)}})),i}}))}}}));
|