show-legacy.de78901f.js 13 KB

1
  1. !function(){var e=document.createElement("style");e.innerHTML='._registerShow_wv681_1{background:url(./assets/banner.7ea6a969.png) no-repeat top center #C7F4FF;background-size:contain;max-width:20rem;margin:0 auto;min-height:100vh;overflow:hidden;position:relative}._registerShow_wv681_1 .van-cell{flex-direction:column;font-size:.42667rem;padding:.37333rem .34667rem}._registerShow_wv681_1 .van-field__label{width:100%;margin-right:0;color:#333;font-size:.42667rem;font-weight:500}._registerShow_wv681_1 .van-field--disabled .van-field__label{color:#333}._registerShow_wv681_1 .van-cell--required:before{left:.4rem}._registerShow_wv681_1 .van-field__body{margin-top:.26667rem}._registerShow_wv681_1 .cell-group{margin:0 .34667rem .32rem;border-radius:.26667rem;padding-bottom:.53333rem}._registerShow_wv681_1 .van-form{overflow:hidden}._banner_wv681_39,._banner_wv681_39 img{width:100%;font-size:0}._btn-submit_wv681_44{width:90%;margin:.53333rem auto;background:url(./assets/btn.067795cb.png) no-repeat center;background-size:contain;height:1.38667rem;border:none}._system_wv681_52 h2{font-size:.48rem;font-weight:500;margin:.26667rem .64rem;color:#444}._system_wv681_52 ._van-cell--required_wv681_25:before{left:.66667rem}._top-tips_wv681_61{position:relative;margin:.53333rem .32rem;padding:1.06667rem .48rem .53333rem;background:#FFFFFF;border-radius:.26667rem;font-size:.32rem;color:#777;line-height:.53333rem}._top-tips_wv681_61:before{position:absolute;top:-.16rem;left:50%;content:" ";margin-left:-1.66667rem;width:3.33333rem;height:.85333rem;background:url(./assets/tips.468721c3.png) no-repeat center;background-size:contain}._title_wv681_82{font-size:.58667rem;line-height:.85333rem;color:#fff;width:57%;padding-left:.64rem;height:3.94667rem;display:flex;justify-content:center;align-items:center;z-index:1}._radioSection_wv681_94{position:relative;font-size:.37333rem;min-width:.85333rem;justify-content:center}._radioItem_wv681_100{position:absolute;top:0;left:0;right:0;bottom:0;opacity:0}._radioSection_wv681_94+._radioSection_wv681_94{margin-left:.32rem}._van-picker__confirm_wv681_111{color:#57abf8}._otherSubject_wv681_114{font-size:.32rem;font-weight:500;color:#aaa;line-height:.45333rem;padding-bottom:.34667rem}._submit-container_wv681_122{position:relative;text-align:center;margin:0 auto;background:url(./assets/p-popup-banner.0becd7c9.png) no-repeat top center;background-size:contain;width:7.5rem;height:8.87rem}._submit-title_wv681_131{padding-top:4.2rem;padding-bottom:.26667rem;font-size:.48rem;font-weight:500;color:#000}._submit-tips_wv681_138{font-size:.4rem;color:#777;line-height:.53333rem;padding-bottom:.32rem}._submit-btn_wv681_144{background:url(./assets/p-popup-btn.84ba8dba.png) no-repeat center center;background-size:contain;width:3.547rem;height:1rem;margin:0 auto}._submit-container_wv681_122 ._van-button_wv681_151{font-size:.48rem;font-weight:500}._wxPopupDialog_wv681_155{overflow:initial}._wxPopupDialog_wv681_155:before{position:absolute;content:" ";top:-1.94667rem;left:50%;margin-left:-2.29333rem;display:inline-block;background:url(../images/initiation/wx-no-top.png) no-repeat top center;background-size:contain;width:4.58667rem;height:4.10667rem}._popupContainer_wv681_170{background:url(../images/initiation/wx-no-bg.png) no-repeat top center;background-size:cover;border-radius:.53333rem;overflow:hidden}._popupContainer_wv681_170 ._title1_wv681_176{padding-top:1.52rem;text-align:center;font-size:.48rem;font-weight:500;color:#3b2300}._popupContainer_wv681_170 ._popupTips_wv681_183{padding-top:.32rem;padding-bottom:1.25333rem;text-align:center;font-size:.4rem;color:#777;line-height:.56rem}\n',document.head.appendChild(e),System.register(["./signin-tips-legacy.83d3128b.js","./index-legacy.47bc1690.js","./index-legacy.bab9fe30.js","./index-legacy.569a2858.js","./video.module-legacy.eed29620.js","./plyr.min-legacy.a0adaba2.js","./plyr-legacy.2bfabaee.js","./deep-clone-legacy.b234d76d.js","./index-legacy.75f1c095.js","./index-legacy.25e655f1.js","./index-legacy.453fd926.js","./index-legacy.92a01198.js","./Checker-legacy.289748ec.js"],(function(e){"use strict";var n,t,i,r,o,a,l,s,c,u,d,m,p,g,_,f,v,b,w,h,y,A,x,k;return{setters:[function(e){n=e.s,t=e.a},function(e){i=e.d,r=e.R,o=e.$,a=e._,l=e.b3,s=e.c,c=e.q,u=e.B,d=e.ah,m=e.r,p=e.f,g=e.a5,_=e.F},function(e){f=e.C},function(e){v=e.F},function(e){b=e.s},function(e){w=e.P},function(){},function(e){h=e.d},function(e){y=e.F},function(e){A=e.R,x=e.a},function(e){k=e.T},function(){},function(){}],execute:function(){var z=i({name:"pre-register",emits:["tabChange"],setup:function(e,i){i.emit;var d=r(""),m=function(){},p=function(e){"parent-agenda"===e.data.api&&(d.value=e.data.message||"")};return o((function(){a((function(){window.parent&&window.parent.postMessage({api:"onLoad",status:!0},"*")})),window.addEventListener("message",p)})),l((function(){window.removeEventListener("message",p)})),function(){return s("div",{class:n["per-register-active"]},[s("div",{class:n.flowPath},[s("i",{class:n.flowPathTitle},null),s("div",{class:n.flowPathContent,innerHTML:d.value},null)]),s("div",{class:n.signin},[s("div",{class:n.tips},[s("img",{src:t,class:n.signinTips},null),s("p",null,[c("请先进行"),s("span",null,[c("签到")]),c(",再观看"),s("span",null,[c("管乐团家长会视频")])])]),s(f,{class:n.cellGroup,border:!1},{default:function(){return[s(v,{label:"学生姓名",labelAlign:"top",placeholder:"请输入学生姓名",autocomplete:"off"},null),s(v,{label:"年级",labelAlign:"top",placeholder:"请选择年级",isLink:!0,readonly:!0,clickable:!1},null),s(v,{label:"班级",labelAlign:"top",placeholder:"请选择班级",isLink:!0,readonly:!0,clickable:!1},null),s(u,{class:n.submitBtn,onClick:m},null)]}})])])}}}),C=i({name:"pre-register",emits:["tabChange"],setup:function(e,n){n.emit;var t=d(),i=t.query.v?JSON.parse(t.query.v):[];console.log(t.query,"query");var c=m({coverImg:t.query.coverImg,introductionVideo:t.query.introductionVideo,id:null,videoDetails:h(i),player:null,currentTime:0}),g=function(e){c.videoDetails.forEach((function(n){n.startNode<=e&&e<=n.endNode&&(c.id=n.id)}))};o((function(){a((function(){!function(){var e={controls:["play-large","play","progress","captions","current-time","duration","settings","fullscreen"],settings:["speed"],speed:{selected:1,options:[.5,1,1.5,2]},i18n:{speed:"速度",normal:"默认"},invertTime:!1};p().iPhone&&(e.fullscreen={enabled:!0,fallback:"force",iosNative:!0});var n=[];h(c.videoDetails).forEach((function(e){n.push({time:e.startNode,label:e.desc})})),e.markers={enabled:!0,points:n},c.player=new w("#register-video",e),c.player.on("loadedmetadata",(function(){g(c.player.currentTime)})),c.player.on("timeupdate",(function(e){console.log(c.player.currentTime,"forms.player.currentTime",e),g(c.player.currentTime)})),c.player.on("enterfullscreen",(function(){console.log("fullscreen");var e=document.createElement("i");e.id="fullscreen-back",e.className="van-icon van-icon-arrow-left video-back",e.addEventListener("click",(function(){c.player.fullscreen.exit()})),console.log(document.getElementsByClassName("plyr")),document.getElementsByClassName("plyr")[0].appendChild(e)})),c.player.on("exitfullscreen",(function(){console.log("exitfullscreen");var e=document.getElementById("fullscreen-back");e&&e.remove()}))}()}))}));var _=function(){},f=r(""),v=function(e){"parent-notes"===e.data.api&&(f.value=e.data.message||"")};return o((function(){a((function(){window.parent&&window.parent.postMessage({api:"onLoad",status:!0},"*")})),window.addEventListener("message",v)})),l((function(){window.removeEventListener("message",v)})),function(){return s("div",{class:b["pre-register-video"]},[s("div",{class:b.videoContainer},[s("div",{class:b["video-content"]},[s("img",{src:c.coverImg,class:b.coverImg},null)])]),s("div",{class:b.videoCount},[s("div",{class:b.videoCountContent},[c.videoDetails.map((function(e){return s("span",{class:[e.id===c.id?b.active:""],onClick:function(){c.player.currentTime=e.startNode}},[e.desc])}))])]),s("div",{class:b.messageContainer},[s("div",{class:b.messageContent},[s("div",{innerHTML:f.value},null),s(u,{class:b.submitBtn,onClick:_},null)])])])}}}),S={registerShow:"_registerShow_wv681_1",banner:"_banner_wv681_39","btn-submit":"_btn-submit_wv681_44",system:"_system_wv681_52","van-cell--required":"_van-cell--required_wv681_25","top-tips":"_top-tips_wv681_61",title:"_title_wv681_82",radioSection:"_radioSection_wv681_94",radioItem:"_radioItem_wv681_100","van-picker__confirm":"_van-picker__confirm_wv681_111",otherSubject:"_otherSubject_wv681_114","submit-container":"_submit-container_wv681_122","submit-title":"_submit-title_wv681_131","submit-tips":"_submit-tips_wv681_138","submit-btn":"_submit-btn_wv681_144","van-button":"_van-button_wv681_151",wxPopupDialog:"_wxPopupDialog_wv681_155",popupContainer:"_popupContainer_wv681_170",title1:"_title1_wv681_176",popupTips:"_popupTips_wv681_183"},F=i({name:"register-show",setup:function(){var e=d(),n=m({instrumentPriceImg:e.query.instrumentPriceImg,name:e.query.name});return function(){return s("div",{class:S.registerShow},[s("div",{class:S.title},[n.name,c("管乐团报名申请")]),s(y,{validateFirst:!0,scrollToError:!0,ref:"form",class:S.form},{default:function(){return[s("div",{class:S["top-tips"]},[c("1、为了保障乐团顺利组建,避免名额浪费;请家长与孩子以自愿为原则,在确认意向后填写相关信息;专业老师将根据家长的相关填报,确认孩子是否能够加入乐团;"),s("br",null,null),c("2、自用乐器及课后练习,家长自愿选择准备方式。")]),s(f,{inset:!0,class:S["cell-group"]},{default:function(){return[s(v,{labelAlign:"top",label:"性别",name:"sex"},{input:function(){return s(A,{checkedColor:"#57ABF8",direction:"horizontal"},{default:function(){return[s(k,{size:"large",type:"primary",color:"#57ABF8",textColor:"#FFF",class:S.radioSection},{default:function(){return[s(x,{class:S.radioItem,name:1},null),c("男生")]}}),s(k,{size:"large",type:"primary",color:"#EAEAEA",textColor:"#AAA",class:S.radioSection},{default:function(){return[s(x,{class:S.radioItem,name:0},null),c("女生")]}})]}})}}),s(v,{labelAlign:"top",label:"孩子是否有学习过的乐器(有请备注)",name:"learningSubjectName",placeholder:"请输入学习过的乐器"},null),s(v,{labelAlign:"top",label:"选报声部1",readonly:!0,name:"registerSubjectId",placeholder:"请选择选报声部1"},{"right-icon":function(){return s(g,{name:"arrow",color:"#323233",size:"16"},null)}}),s(v,{labelAlign:"top",label:"选报声部2",readonly:!0,name:"standbyRegisterSubjectId",placeholder:"请选择选报声部2"},{"right-icon":function(){return s(g,{name:"arrow",color:"#323233",size:"16"},null)}}),s(v,{labelAlign:"top",label:"是否服从调配",name:"adjust"},{input:function(){return s("div",null,[s("p",{class:S.otherSubject},[c("(如果自选声部名额已满,是否愿意接受安排其他声部?)")]),s(A,{"checked-color":"#57ABF8",direction:"horizontal"},{default:function(){return[s(k,{size:"large",type:"primary",color:"#57ABF8",textColor:"#FFF",class:S.radioSection},{default:function(){return[s(x,{class:S.radioItem,name:1},null),c("愿意")]}}),s(k,{size:"large",type:"primary",color:"#EAEAEA",textColor:"#AAA",class:S.radioSection},{default:function(){return[s(x,{class:S.radioItem,name:0},null),c("不愿意")]}})]}})])}})]}}),s(f,{inset:!0,class:S["cell-group"]},{default:function(){return[s(v,{labelAlign:"top",label:"乐器参考表&Ai练习参考表",border:!1,style:"padding-bottom: 0;"},{input:function(){return s("img",{src:n.instrumentPriceImg,style:"width: 100%"},null)}}),s(v,{labelAlign:"top",label:"乐器准备方式",name:"instrumentsPrepareMode"},{input:function(){return s(A,{"checked-color":"#57ABF8",direction:"horizontal"},{default:function(){return[s(k,{size:"large",type:"primary",color:"#57ABF8",textColor:"#FFF",class:S.radioSection},{default:function(){return[s(x,{class:S.radioItem,name:1},null),c("自行购置")]}}),s(k,{size:"large",type:"primary",color:"#EAEAEA",textColor:"#AAA",class:S.radioSection},{default:function(){return[s(x,{class:S.radioItem,name:0},null),c("希望基金会提供渠道购置")]}})]}})}}),s(v,{labelAlign:"top",label:"乐团学习系统准备方式",name:"learningSystemPrepareMode"},{input:function(){return s(A,{"checked-color":"#57ABF8",direction:"horizontal"},{default:function(){return[s(k,{size:"large",type:"primary",color:"#57ABF8",textColor:"#FFF",class:S.radioSection},{default:function(){return[s(x,{class:S.radioItem,name:1},null),c("自行购置")]}}),s(k,{size:"large",type:"primary",color:"#EAEAEA",textColor:"#AAA",class:S.radioSection},{default:function(){return[s(x,{class:S.radioItem,name:0},null),c("希望基金会提供渠道购置")]}})]}})}}),s(v,{labelAlign:"top",type:"tel",label:"联系电话(直接监护人)",name:"phone",placeholder:"请输入监护人手机号码"},null)]}}),s(u,{size:"large",block:!0,round:!0,class:S["btn-submit"],"native-type":"submit"},null)]}})])}}});e("default",i({name:"show-page",setup:function(){var e=d();console.log(e.query,"query");var n=e.query.index?Number(e.query.index):1,t=m({tabIndex:n||1});return function(){return s(_,null,[1===t.tabIndex&&s(z,{onTabChange:function(e){t.tabIndex=e}},null),2===t.tabIndex&&s(C,{onTabChange:function(e){t.tabIndex=e}},null),3===t.tabIndex&&s(F,null,null)])}}}))}}}))}();