show-legacy.8267ca5c.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(["./index-legacy.eb062188.js","./signin-tips-legacy.559b687e.js","./index-legacy.148f784c.js","./index-legacy.3a3e070a.js","./video.module-legacy.3e55d07e.js","./plyr.min-legacy.1dfa7bde.js","./plyr-legacy.2bfabaee.js","./deep-clone-legacy.b234d76d.js","./index-legacy.2e890e1e.js","./index-legacy.23ddccbf.js","./index-legacy.11f1ea5f.js","./index-legacy.918b8c74.js","./Checker-legacy.9bbda964.js"],(function(e){"use strict";var t,n,l,i,r,o,a,s,c,d,u,p,m,_,g,b,v,f,w,h,y,A;return{setters:[function(e){t=e.d,n=e.c,l=e.q,i=e.B,r=e.ah,o=e.r,a=e.$,s=e._,c=e.f,d=e.a5,u=e.F},function(e){p=e.s,m=e.a},function(e){_=e.C},function(e){g=e.F},function(e){b=e.s},function(e){v=e.P},function(){},function(e){f=e.d},function(e){w=e.F},function(e){h=e.R,y=e.a},function(e){A=e.T},function(){},function(){}],execute:function(){var x=t({name:"pre-register",emits:["tabChange"],setup(e,{emit:t}){const r=()=>{t("tabChange",2)};return()=>n("div",{class:p["per-register-active"]},[n("div",{class:p.flowPath},[n("i",{class:p.flowPathTitle},null),n("div",{class:p.flowPathContent},[l("一、请所有家长进行"),n("span",null,[l("签到")]),n("br",null,null),l("二、"),n("span",null,[l("观看")]),l("管乐团家长会议"),n("br",null,null),l("1、学校领导讲话(5分钟)"),n("br",null,null),l("2、基金会老师介绍乐团事项(20分钟)"),n("br",null,null),n("p",{style:{"padding-left":"1em"}},[l("*乐团组建背景及政策"),n("br",null,null),l("*乐团发展规划与乐器知识讲解"),n("br",null,null),l("*学校/基金会/家长各方职责与投入"),n("br",null,null),l("*入团流程讲解")]),l("三、会后,家长可点击"),n("span",null,[l("“乐团报名”")]),l("或扫码进行正式报名")])]),n("div",{class:p.signin},[n("div",{class:p.tips},[n("img",{src:m,class:p.signinTips},null),n("p",null,[l("请先进行"),n("span",null,[l("签到")]),l(",再观看"),n("span",null,[l("管乐团家长会视频")])])]),n(_,{class:p.cellGroup,border:!1},{default:()=>[n(g,{label:"学生姓名",labelAlign:"top",placeholder:"请输入学生姓名",autocomplete:"off"},null),n(g,{label:"年级",labelAlign:"top",placeholder:"请选择年级",isLink:!0,readonly:!0,clickable:!1},null),n(g,{label:"班级",labelAlign:"top",placeholder:"请选择班级",isLink:!0,readonly:!0,clickable:!1},null),n(i,{class:p.submitBtn,onClick:r},null)]})])])}}),k=t({name:"pre-register",emits:["tabChange"],setup(e,{emit:t}){const d=r(),u=d.query.v?JSON.parse(d.query.v):[],p=o({coverImg:d.query.coverImg,introductionVideo:d.query.introductionVideo,id:null,videoDetails:f(u),player:null,currentTime:0}),m=e=>{p.videoDetails.forEach((t=>{t.startNode<=e&&e<=t.endNode&&(p.id=t.id)}))};a((()=>{s((()=>{(()=>{const 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};c().iPhone&&(e.fullscreen={enabled:!0,fallback:"force",iosNative:!0});const t=[];f(p.videoDetails).forEach((e=>{t.push({time:e.startNode,label:e.desc})})),e.markers={enabled:!0,points:t},p.player=new v("#register-video",e),p.player.on("loadedmetadata",(()=>{m(p.player.currentTime)})),p.player.on("timeupdate",(e=>{console.log(p.player.currentTime,"forms.player.currentTime",e),m(p.player.currentTime)})),p.player.on("enterfullscreen",(()=>{console.log("fullscreen");const e=document.createElement("i");e.id="fullscreen-back",e.className="van-icon van-icon-arrow-left video-back",e.addEventListener("click",(()=>{p.player.fullscreen.exit()})),console.log(document.getElementsByClassName("plyr")),document.getElementsByClassName("plyr")[0].appendChild(e)})),p.player.on("exitfullscreen",(()=>{console.log("exitfullscreen");const e=document.getElementById("fullscreen-back");e&&e.remove()}))})()}))}));const _=()=>{t("tabChange",3)};return()=>n("div",{class:b["pre-register-video"]},[n("div",{class:b.videoContainer},[n("div",{class:b["video-content"]},[n("video",{id:"register-video",class:b.video,src:p.introductionVideo,playsinline:!0,poster:p.coverImg,preload:"auto"},null)])]),n("div",{class:b.videoCount},[n("div",{class:b.videoCountContent},[p.videoDetails.map((e=>n("span",{class:[e.id===p.id?b.active:""],onClick:()=>{p.player.currentTime=e.startNode}},[e.desc])))])]),n("div",{class:b.messageContainer},[n("div",{class:b.messageContent},[n("p",null,[l("注意事项")]),n("p",{class:b.c1},[l("1、 请家长们认真观看家长会视频,了解乐团事项;")]),n("p",{class:b.c1},[l("2、报名截止时间为后天21:00前,因编制有限,以报名先后顺序为原则确定席位;")]),n("p",{class:b.c1},[l("3、入团需准备自用乐器和乐团AI学练工具,家长自愿选择准备方式;")]),n("p",{class:b.c1},[l("4、乐团报名需点击乐团报名或扫码,完成提交视为报名成功。")])]),n(i,{class:b.submitBtn,onClick:_},null)])])}});var C={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"},z=t({name:"register-show",setup(){const e=r(),t=o({instrumentPriceImg:e.query.instrumentPriceImg,name:e.query.name});return()=>n("div",{class:C.registerShow},[n("div",{class:C.title},[t.name||"",l("管乐团报名申请")]),n(w,{validateFirst:!0,scrollToError:!0,ref:"form",class:C.form},{default:()=>[n("div",{class:C["top-tips"]},[l("1、为了保障乐团顺利组建,避免名额浪费;请家长与孩子以自愿为原则,在确认意向后填写相关信息;专业老师将根据家长的相关填报,确认孩子是否能够加入乐团;"),n("br",null,null),l("2、自用乐器及课后练习,家长自愿选择准备方式。")]),n(_,{inset:!0,class:C["cell-group"]},{default:()=>[n(g,{labelAlign:"top",label:"性别",name:"sex"},{input:()=>n(h,{checkedColor:"#57ABF8",direction:"horizontal"},{default:()=>[n(A,{size:"large",type:"primary",color:"#57ABF8",textColor:"#FFF",class:C.radioSection},{default:()=>[n(y,{class:C.radioItem,name:1},null),l("男生")]}),n(A,{size:"large",type:"primary",color:"#EAEAEA",textColor:"#AAA",class:C.radioSection},{default:()=>[n(y,{class:C.radioItem,name:0},null),l("女生")]})]})}),n(g,{labelAlign:"top",label:"孩子是否有学习过的乐器(有请备注)",name:"learningSubjectName",placeholder:"请输入学习过的乐器"},null),n(g,{labelAlign:"top",label:"选报声部1",readonly:!0,name:"registerSubjectId",placeholder:"请选择选报声部1"},{"right-icon":()=>n(d,{name:"arrow",color:"#323233",size:"16"},null)}),n(g,{labelAlign:"top",label:"选报声部2",readonly:!0,name:"standbyRegisterSubjectId",placeholder:"请选择选报声部2"},{"right-icon":()=>n(d,{name:"arrow",color:"#323233",size:"16"},null)}),n(g,{labelAlign:"top",label:"是否服从调配",name:"adjust"},{input:()=>n("div",null,[n("p",{class:C.otherSubject},[l("(如果自选声部名额已满,是否愿意接受安排其他声部?)")]),n(h,{"checked-color":"#57ABF8",direction:"horizontal"},{default:()=>[n(A,{size:"large",type:"primary",color:"#57ABF8",textColor:"#FFF",class:C.radioSection},{default:()=>[n(y,{class:C.radioItem,name:1},null),l("愿意")]}),n(A,{size:"large",type:"primary",color:"#EAEAEA",textColor:"#AAA",class:C.radioSection},{default:()=>[n(y,{class:C.radioItem,name:0},null),l("不愿意")]})]})])})]}),n(_,{inset:!0,class:C["cell-group"]},{default:()=>[n(g,{labelAlign:"top",label:"乐器参考表&Ai练习参考表",border:!1,style:"padding-bottom: 0;"},{input:()=>n("img",{src:t.instrumentPriceImg,style:"width: 100%"},null)}),n(g,{labelAlign:"top",label:"乐器准备方式",name:"instrumentsPrepareMode"},{input:()=>n(h,{"checked-color":"#57ABF8",direction:"horizontal"},{default:()=>[n(A,{size:"large",type:"primary",color:"#57ABF8",textColor:"#FFF",class:C.radioSection},{default:()=>[n(y,{class:C.radioItem,name:1},null),l("自行购置")]}),n(A,{size:"large",type:"primary",color:"#EAEAEA",textColor:"#AAA",class:C.radioSection},{default:()=>[n(y,{class:C.radioItem,name:0},null),l("希望基金会提供渠道购置")]})]})}),n(g,{labelAlign:"top",label:"乐团学习系统准备方式",name:"learningSystemPrepareMode"},{input:()=>n(h,{"checked-color":"#57ABF8",direction:"horizontal"},{default:()=>[n(A,{size:"large",type:"primary",color:"#57ABF8",textColor:"#FFF",class:C.radioSection},{default:()=>[n(y,{class:C.radioItem,name:1},null),l("自行购置")]}),n(A,{size:"large",type:"primary",color:"#EAEAEA",textColor:"#AAA",class:C.radioSection},{default:()=>[n(y,{class:C.radioItem,name:0},null),l("希望基金会提供渠道购置")]})]})}),n(g,{labelAlign:"top",type:"tel",label:"联系电话(直接监护人)",name:"phone",placeholder:"请输入监护人手机号码"},null)]}),n(i,{size:"large",block:!0,round:!0,class:C["btn-submit"],"native-type":"submit"},null)]})])}});e("default",t({name:"show-page",setup(){const e=o({tabIndex:1});return()=>n(u,null,[1===e.tabIndex&&n(x,{onTabChange:t=>{e.tabIndex=t}},null),2===e.tabIndex&&n(k,{onTabChange:t=>{e.tabIndex=t}},null),3===e.tabIndex&&n(z,null,null)])}}))}}}))}();