index-legacy-f8591708.js 9.3 KB

12
  1. !function(){function e(e,t,n,r,o,a,l){try{var u=e[a](l),i=u.value}catch(c){return void n(c)}u.done?t(i):Promise.resolve(i).then(r,o)}System.register(["./index-legacy-7a3a5f5d.js","./utils-legacy-c78341cd.js","./index-legacy-cdf51f1d.js","./index-legacy-5ac24deb.js"],(function(t,n){"use strict";var r,o,a,l,u,i,c,_,s,d,m,p,g,f,h,b,v;return{setters:[e=>{r=e.M,o=e.a,a=e.P},e=>{l=e.c,u=e.s,i=e.r},e=>{c=e.F,_=e.B,s=e.C,d=e.P,m=e.M},e=>{p=e.d,g=e.r,f=e.f,h=e.c,b=e.a,v=e.n}],execute:function(){var w=document.createElement("style");w.textContent="@keyframes _move-top_1ue0r_1{0%{transform:translateY(0)}50%{transform:translateY(.26667rem)}to{transform:translateY(0)}}._banner_1ue0r_12{width:100%;min-height:10.16rem;background-color:#fff;position:relative;line-height:0}._banner_1ue0r_12 ._bannerImg_1ue0r_19{width:100%;min-height:10.16rem;-o-object-fit:cover;object-fit:cover}._banner_1ue0r_12 ._bannerCenter_1ue0r_24{position:absolute;bottom:2.18667rem;left:50%;margin-left:-3.86667rem;width:7.76rem;height:8.32rem;animation:_move-top_1ue0r_1 1.6s infinite ease-in-out}._title_1ue0r_33{position:relative;margin:0 auto;width:4.16rem;height:1.25333rem}._content_1ue0r_39{padding:.21333rem .64rem 0;font-size:.37333rem;color:#3e635e;line-height:.64rem}._section1_1ue0r_45{padding:.82667rem .64rem 1.6rem;background:#fff}._section1_1ue0r_45 ._title1_1ue0r_49{background:url("+new URL("title-1-1aa66e4d.png",n.meta.url).href+") no-repeat center;background-size:contain}._section1_1ue0r_45 ._content_1ue0r_39{padding:.48rem 0 0;font-size:.37333rem;color:#333;line-height:.64rem}._section1_1ue0r_45 ._content_1ue0r_39 p{text-indent:2em}._section1_1ue0r_45 ._content_1ue0r_39 ._green_1ue0r_62{color:#00c46f}._section2_1ue0r_65{padding:1.06667rem 0 1.28rem;background:url(https://oss.dayaedu.com/klx/1699437293516img1-bg.png) no-repeat top center;background-size:cover}._section2_1ue0r_65 ._title2_1ue0r_70{background:url("+new URL("title-2-1681da2f.png",n.meta.url).href+") no-repeat center;background-size:contain}._section2_1ue0r_65 img{padding-top:.64rem}._section3_1ue0r_77{padding:1.06667rem 0 1.25333rem;background-color:#fff}._section3_1ue0r_77 ._title3_1ue0r_81{background:url("+new URL("title-3-824f24fc.png",n.meta.url).href+") no-repeat center;background-size:contain}._section3_1ue0r_77 img{padding-top:.4rem}._section4_1ue0r_88{padding:1.06667rem 0 1.49333rem;background:url(https://oss.dayaedu.com/klx/1699437330549img2-bg.png) no-repeat top center;background-size:cover}._section4_1ue0r_88 ._title4_1ue0r_93{width:5.01333rem;background:url("+new URL("title-4-6f311bc6.png",n.meta.url).href+") no-repeat center;background-size:contain}._fieldGroup_1ue0r_98{padding:1.06667rem .64rem 0}._fieldGroup_1ue0r_98 ._fieldTips_1ue0r_101{text-align:center;padding:.10667rem 0 .48rem;color:rgba(0,0,0,.34);font-size:.37333rem}._fieldGroup_1ue0r_98 .van-field{margin-bottom:.42667rem;border-radius:.18667rem;padding:.29333rem .37333rem;font-size:.42667rem}._fieldGroup_1ue0r_98 .van-field__control::-moz-placeholder{color:#aaa}._fieldGroup_1ue0r_98 .van-field__control::placeholder{color:#aaa}._fieldGroup_1ue0r_98 .van-cell__right-icon{color:#d8d8d8}._fieldGroup_1ue0r_98 ._smsField_1ue0r_119{padding:.10667rem .10667rem .10667rem .37333rem}._fieldGroup_1ue0r_98 ._smsField_1ue0r_119 .van-button{width:2.34667rem;line-height:.96rem;background:linear-gradient(224deg,#ABF172 0%,#53E6A3 100%);font-size:.4rem;font-weight:500;border:none}._fieldGroup_1ue0r_98 ._smsField_1ue0r_119 .van-count-down{width:2.34667rem;line-height:.96rem;background:#ECECEC;border-radius:.18667rem;font-size:.4rem;font-weight:500;text-align:center}._fieldGroup_1ue0r_98 ._btnSubmit_1ue0r_139{width:8.72rem;height:1.33333rem;background:url("+new URL("btn-bg-44d0f9a8.png",n.meta.url).href+") no-repeat center;background-size:contain;font-size:.48rem;font-weight:600;color:#131415;border:none;padding:0;margin:0 auto}input{caret-color:#00be84!important}.van-picker .van-picker__confirm{color:#00be84!important}\n",document.head.appendChild(w);const T={banner:"_banner_1ue0r_12",bannerImg:"_bannerImg_1ue0r_19",bannerCenter:"_bannerCenter_1ue0r_24","move-top":"_move-top_1ue0r_1",title:"_title_1ue0r_33",content:"_content_1ue0r_39",section1:"_section1_1ue0r_45",title1:"_title1_1ue0r_49",green:"_green_1ue0r_62",section2:"_section2_1ue0r_65",title2:"_title2_1ue0r_70",section3:"_section3_1ue0r_77",title3:"_title3_1ue0r_81",section4:"_section4_1ue0r_88",title4:"_title4_1ue0r_93",fieldGroup:"_fieldGroup_1ue0r_98",fieldTips:"_fieldTips_1ue0r_101",smsField:"_smsField_1ue0r_119",btnSubmit:"_btnSubmit_1ue0r_139"},k=""+new URL("banner-center-26d547aa.png",n.meta.url).href,y=""+new URL("img1-b0a99c1a.png",n.meta.url).href,S=""+new URL("img2-1b558aa6.png",n.meta.url).href;t("default",p({name:"about-us",setup(){const t=g(),n=f({typeStatus:!1,countDownTime:6e4,countDownStatus:!0,imgCodeStatus:!1,cooperateTenantName:null,cooperateTenantNature:null,cooperateTenantNatureTxt:null,contacts:null,phone:null,code:null}),p=()=>{n.countDownStatus=!1,v((()=>{t.value.start()}))},w=()=>{if(!l(n.phone))return u("请输入正确的手机号码");n.imgCodeStatus=!0},x=()=>{n.countDownStatus=!0,t.value.reset()},C=function(){var t,r=(t=function*(){try{if(!n.cooperateTenantNature)return u("请选择机构性质");if(!n.cooperateTenantName)return u("请填写机构名称");if(!n.contacts)return u("请填写联系人");if(!n.phone)return u("请输入联系电话");if(!l(n.phone))return u("请输入正确的手机号码");if(!n.code)return u("请输入验证码");yield i.post("/api-website/open/cooperateTenant/save",{data:{cooperateTenantName:n.cooperateTenantName,cooperateTenantNature:n.cooperateTenantNature,contacts:n.contacts,phone:n.phone,code:n.code}}),setTimeout((()=>{u("信息提交成功,我们会尽快与您联系"),n.cooperateTenantName=null,n.cooperateTenantNature=null,n.cooperateTenantNatureTxt=null,n.contacts=null,n.phone=null,n.code=null}),100)}catch(e){}},function(){var n=this,r=arguments;return new Promise((function(o,a){var l=t.apply(n,r);function u(t){e(l,o,a,u,i,"next",t)}function i(t){e(l,o,a,u,i,"throw",t)}u(undefined)}))});return function(){return r.apply(this,arguments)}}();return()=>h("div",{"class":T.aboutUs},[h(r,null,null),h("div",{"class":T.banner},[h("img",{"class":T.bannerImg,src:"https://oss.dayaedu.com/klx/1699437230528banner.png"},null),h("img",{"class":T.bannerCenter,src:k},null)]),h("div",{"class":T.section1},[h("div",{"class":[T.title,T.title1]},null),h("div",{"class":T.content},[h("p",null,[b("在科技飞速发展的当下,音乐教育也在不断地创新与变革。为了更好地推进音乐课堂的数字化转型,提高音乐教育质量。化繁为简、化难为易,提高学生的兴趣和参与度。将更加注重线上线下相结合,"),h("span",{"class":T.green,style:"font-weight: 600"},[b("提供多元化的教学模式,满足学生多样化的学习需求")])]),h("p",null,[b("同时器乐教学对学生具有重要的意义,不仅有助于提高音乐素养和协调能力,还可以培养个性、团队合作意识等。学习乐器丰富学生的情感体验,拓展就业和升学途径,传承民族文化。")]),h("p",{"class":T.green,style:"font-weight: 600"},[b("我们特此发起寻找数字化音乐课堂合作伙伴,诚邀您的加入!")])])]),h("div",{"class":T.section2},[h("div",{"class":[T.title,T.title2]},null),h("img",{"class":"w100",src:y},null)]),h("div",{"class":T.section3},[h("div",{"class":[T.title,T.title3]},null),h("img",{"class":"w100",src:S},null)]),h("div",{"class":T.section4},[h("div",{"class":[T.title,T.title4]},null),h("div",{"class":T.fieldGroup},[h(c,{readonly:!0,isLink:!0,arrowDirection:"down",placeholder:"机构性质",border:!1,autocomplete:"off",modelValue:n.cooperateTenantNatureTxt,onClick:()=>n.typeStatus=!0},null),h(c,{type:"text",border:!1,placeholder:"机构名称",autocomplete:"off",maxlength:20,modelValue:n.cooperateTenantName,"onUpdate:modelValue":e=>n.cooperateTenantName=e},null),h(c,{type:"text",border:!1,placeholder:"联系人",autocomplete:"off",maxlength:20,modelValue:n.contacts,"onUpdate:modelValue":e=>n.contacts=e},null),h(c,{type:"number",maxlength:11,border:!1,placeholder:"联系电话",autocomplete:"off",modelValue:n.phone,"onUpdate:modelValue":e=>n.phone=e},null),h(c,{"class":T.smsField,type:"number",maxlength:6,border:!1,placeholder:"短信验证码",autocomplete:"off",modelValue:n.code,"onUpdate:modelValue":e=>n.code=e},{button:()=>n.countDownStatus?h(_,{size:"small",onClick:w},{"default":()=>[b("发送短信")]}):h(s,{ref:e=>t.value=e,"auto-start":!1,time:n.countDownTime,onFinish:x,format:"ss秒"},null)}),h("p",{"class":T.fieldTips},[b("我们将在提交后尽快与您联系")]),h(_,{block:!0,round:!0,"class":T.btnSubmit,onClick:C},{"default":()=>[b("确认提交")]})])]),h(o,null,null),h(a,{show:n.typeStatus,"onUpdate:show":e=>n.typeStatus=e,position:"bottom",round:!0},{"default":()=>[h(d,{columns:[{text:"中小学学校",value:"PRIMARY_AND_SECONDARY_SCHOOLS"},{text:"教培机构",value:"EDUCATIONAL_INSTITUTIONS"},{text:"音乐达人",value:"PLAYERS"},{text:"代理商",value:"AGENT"}],showToolbar:!0,onCancel:()=>n.typeStatus=!1,onConfirm:e=>{const t=e.selectedOptions[0];n.cooperateTenantNature=t.value,n.cooperateTenantNatureTxt=t.text,n.typeStatus=!1}},null)]}),n.imgCodeStatus?h(m,{value:n.imgCodeStatus,"onUpdate:value":e=>n.imgCodeStatus=e,phone:n.phone,onClose:()=>{n.imgCodeStatus=!1},onSendCode:p},null):null])}}))}}}))}();