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(["./index-legacy.90c82f08.js","./signin-tips-legacy.5e66143d.js","./index-legacy.55839436.js","./index-legacy.3c5580aa.js","./video.module-legacy.b14e5f1c.js","./plyr.min-legacy.a0adaba2.js","./plyr-legacy.2bfabaee.js","./deep-clone-legacy.b234d76d.js","./index-legacy.d85a75b6.js","./index-legacy.dc8d6058.js","./index-legacy.92c1b9d6.js","./index-legacy.f3e5e283.js","./Checker-legacy.1b485b9f.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.d,t=e.R,i=e.$,r=e._,o=e.b3,a=e.c,l=e.q,s=e.B,c=e.ah,u=e.r,d=e.f,m=e.a5,p=e.F},function(e){g=e.s,_=e.a},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=n({name:"pre-register",emits:["tabChange"],setup:function(e,n){n.emit;var c=t(""),u=function(){},d=function(e){"parent-agenda"===e.data.api&&(c.value=e.data.message||"")};return i((function(){r((function(){window.parent&&window.parent.postMessage({api:"onLoad",status:!0},"*")})),window.addEventListener("message",d)})),o((function(){window.removeEventListener("message",d)})),function(){return a("div",{class:g["per-register-active"]},[a("div",{class:g.flowPath},[a("i",{class:g.flowPathTitle},null),a("div",{class:g.flowPathContent,innerHTML:c.value},null)]),a("div",{class:g.signin},[a("div",{class:g.tips},[a("img",{src:_,class:g.signinTips},null),a("p",null,[l("请先进行"),a("span",null,[l("签到")]),l(",再观看"),a("span",null,[l("管乐团家长会视频")])])]),a(f,{class:g.cellGroup,border:!1},{default:function(){return[a(v,{label:"学生姓名",labelAlign:"top",placeholder:"请输入学生姓名",autocomplete:"off"},null),a(v,{label:"年级",labelAlign:"top",placeholder:"请选择年级",isLink:!0,readonly:!0,clickable:!1},null),a(v,{label:"班级",labelAlign:"top",placeholder:"请选择班级",isLink:!0,readonly:!0,clickable:!1},null),a(s,{class:g.submitBtn,onClick:u},null)]}})])])}}}),C=n({name:"pre-register",emits:["tabChange"],setup:function(e,n){n.emit;var l=c(),m=l.query.v?JSON.parse(l.query.v):[];console.log(l.query,"query");var p=u({coverImg:l.query.coverImg,introductionVideo:l.query.introductionVideo,id:null,videoDetails:h(m),player:null,currentTime:0}),g=function(e){p.videoDetails.forEach((function(n){n.startNode<=e&&e<=n.endNode&&(p.id=n.id)}))};i((function(){r((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};d().iPhone&&(e.fullscreen={enabled:!0,fallback:"force",iosNative:!0});var n=[];h(p.videoDetails).forEach((function(e){n.push({time:e.startNode,label:e.desc})})),e.markers={enabled:!0,points:n},p.player=new w("#register-video",e),p.player.on("loadedmetadata",(function(){g(p.player.currentTime)})),p.player.on("timeupdate",(function(e){console.log(p.player.currentTime,"forms.player.currentTime",e),g(p.player.currentTime)})),p.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(){p.player.fullscreen.exit()})),console.log(document.getElementsByClassName("plyr")),document.getElementsByClassName("plyr")[0].appendChild(e)})),p.player.on("exitfullscreen",(function(){console.log("exitfullscreen");var e=document.getElementById("fullscreen-back");e&&e.remove()}))}()}))}));var _=function(){},f=t(""),v=t(),y=function(e){"parent-notes"===e.data.api&&(console.log(e.data,"data"),f.value=e.data.message||"",v.value=e.data.registerDisplay||!1)};return i((function(){r((function(){window.parent&&window.parent.postMessage({api:"onLoad",status:!0},"*")})),window.addEventListener("message",y)})),o((function(){window.removeEventListener("message",y)})),function(){return a("div",{class:b["pre-register-video"]},[a("div",{class:b.videoContainer},[a("div",{class:b["video-content"]},[a("img",{src:p.coverImg,class:b.coverImg},null)])]),a("div",{class:b.videoCount},[a("div",{class:b.videoTitle},null),a("div",{class:b.videoCountContent},[p.videoDetails.map((function(e){return a("span",{class:[e.id===p.id?b.active:""],onClick:function(){p.player.currentTime=e.startNode}},[e.desc])}))])]),a("div",{class:b.messageContainer},[a("div",{class:b.messageContent},[a("div",{innerHTML:f.value},null),v.value&&a(s,{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=n({name:"register-show",setup:function(){var e=c(),n=u({instrumentPriceImg:e.query.instrumentPriceImg,name:e.query.name});return function(){return a("div",{class:S.registerShow},[a("div",{class:S.title},[n.name,l("管乐团报名申请")]),a(y,{validateFirst:!0,scrollToError:!0,ref:"form",class:S.form},{default:function(){return[a("div",{class:S["top-tips"]},[l("1、为了保障乐团顺利组建,避免名额浪费;请家长与孩子以自愿为原则,在确认意向后填写相关信息;专业老师将根据家长的相关填报,确认孩子是否能够加入乐团;"),a("br",null,null),l("2、自用乐器及课后练习,家长自愿选择准备方式。")]),a(f,{inset:!0,class:S["cell-group"]},{default:function(){return[a(v,{labelAlign:"top",label:"性别",name:"sex"},{input:function(){return a(A,{checkedColor:"#57ABF8",direction:"horizontal"},{default:function(){return[a(k,{size:"large",type:"primary",color:"#57ABF8",textColor:"#FFF",class:S.radioSection},{default:function(){return[a(x,{class:S.radioItem,name:1},null),l("男生")]}}),a(k,{size:"large",type:"primary",color:"#EAEAEA",textColor:"#AAA",class:S.radioSection},{default:function(){return[a(x,{class:S.radioItem,name:0},null),l("女生")]}})]}})}}),a(v,{labelAlign:"top",label:"孩子是否有学习过的乐器(有请备注)",name:"learningSubjectName",placeholder:"请输入学习过的乐器"},null),a(v,{labelAlign:"top",label:"选报声部1",readonly:!0,name:"registerSubjectId",placeholder:"请选择选报声部1"},{"right-icon":function(){return a(m,{name:"arrow",color:"#323233",size:"16"},null)}}),a(v,{labelAlign:"top",label:"选报声部2",readonly:!0,name:"standbyRegisterSubjectId",placeholder:"请选择选报声部2"},{"right-icon":function(){return a(m,{name:"arrow",color:"#323233",size:"16"},null)}}),a(v,{labelAlign:"top",label:"是否服从调配",name:"adjust"},{input:function(){return a("div",null,[a("p",{class:S.otherSubject},[l("(如果自选声部名额已满,是否愿意接受安排其他声部?)")]),a(A,{"checked-color":"#57ABF8",direction:"horizontal"},{default:function(){return[a(k,{size:"large",type:"primary",color:"#57ABF8",textColor:"#FFF",class:S.radioSection},{default:function(){return[a(x,{class:S.radioItem,name:1},null),l("愿意")]}}),a(k,{size:"large",type:"primary",color:"#EAEAEA",textColor:"#AAA",class:S.radioSection},{default:function(){return[a(x,{class:S.radioItem,name:0},null),l("不愿意")]}})]}})])}})]}}),a(f,{inset:!0,class:S["cell-group"]},{default:function(){return[a(v,{labelAlign:"top",label:"乐器参考表&Ai练习参考表",border:!1,style:"padding-bottom: 0;"},{input:function(){return a("img",{src:n.instrumentPriceImg,style:"width: 100%"},null)}}),a(v,{labelAlign:"top",label:"乐器准备方式",name:"instrumentsPrepareMode"},{input:function(){return a(A,{"checked-color":"#57ABF8",direction:"horizontal"},{default:function(){return[a(k,{size:"large",type:"primary",color:"#57ABF8",textColor:"#FFF",class:S.radioSection},{default:function(){return[a(x,{class:S.radioItem,name:1},null),l("自行购置")]}}),a(k,{size:"large",type:"primary",color:"#EAEAEA",textColor:"#AAA",class:S.radioSection},{default:function(){return[a(x,{class:S.radioItem,name:0},null),l("希望基金会提供渠道购置")]}})]}})}}),a(v,{labelAlign:"top",label:"乐团学习系统准备方式",name:"learningSystemPrepareMode"},{input:function(){return a(A,{"checked-color":"#57ABF8",direction:"horizontal"},{default:function(){return[a(k,{size:"large",type:"primary",color:"#57ABF8",textColor:"#FFF",class:S.radioSection},{default:function(){return[a(x,{class:S.radioItem,name:1},null),l("自行购置")]}}),a(k,{size:"large",type:"primary",color:"#EAEAEA",textColor:"#AAA",class:S.radioSection},{default:function(){return[a(x,{class:S.radioItem,name:0},null),l("希望基金会提供渠道购置")]}})]}})}}),a(v,{labelAlign:"top",type:"tel",label:"联系电话(直接监护人)",name:"phone",placeholder:"请输入监护人手机号码"},null)]}}),a(s,{size:"large",block:!0,round:!0,class:S["btn-submit"],"native-type":"submit"},null)]}})])}}});e("default",n({name:"show-page",setup:function(){var e=c();console.log(e.query,"query");var n=e.query.index?Number(e.query.index):1,t=u({tabIndex:n||1});return function(){return a(p,null,[1===t.tabIndex&&a(z,{onTabChange:function(e){t.tabIndex=e}},null),2===t.tabIndex&&a(C,{onTabChange:function(e){t.tabIndex=e}},null),3===t.tabIndex&&a(F,null,null)])}}}))}}}))}();
|