import{M as e,a as t,S as n}from"./index-f0b5c91e.js";import{F as a,B as o,C as l,P as s,M as u,c as r,s as c,r as i}from"./utils-7ac10a5e.js";import{d as p,r as d,f as m,c as _,a as h,n as f}from"./index-7f5420bc.js";import"./index.esm-c14c8e4f.js";const x={banner:"_banner_zx5hp_12",bannerImg:"_bannerImg_zx5hp_19",bannerCenter:"_bannerCenter_zx5hp_24","move-top":"_move-top_zx5hp_1",title:"_title_zx5hp_32",content:"_content_zx5hp_38",section1:"_section1_zx5hp_44",title1:"_title1_zx5hp_48",green:"_green_zx5hp_61",section2:"_section2_zx5hp_64",title2:"_title2_zx5hp_69",section3:"_section3_zx5hp_76",title3:"_title3_zx5hp_80",section4:"_section4_zx5hp_87",title4:"_title4_zx5hp_92",fieldGroup:"_fieldGroup_zx5hp_97",fieldTips:"_fieldTips_zx5hp_100",smsField:"_smsField_zx5hp_118",btnSubmit:"_btnSubmit_zx5hp_138"},T=""+new URL("banner-f7d6d31e.png",import.meta.url).href,b=""+new URL("banner-center-26d547aa.png",import.meta.url).href,g=""+new URL("img1-b0a99c1a.png",import.meta.url).href,S=""+new URL("img2-1b558aa6.png",import.meta.url).href,v=p({name:"about-us",setup(){const p=d(),v=m({typeStatus:!1,countDownTime:6e4,countDownStatus:!0,imgCodeStatus:!1,cooperateTenantName:null,cooperateTenantNature:null,cooperateTenantNatureTxt:null,contacts:null,phone:null,code:null}),N=()=>{v.countDownStatus=!1,f((()=>{p.value.start()}))},z=()=>{if(!r(v.phone))return c("请输入正确的手机号码");v.imgCodeStatus=!0},C=()=>{v.countDownStatus=!0,p.value.reset()},w=async()=>{try{if(!v.cooperateTenantNature)return c("请选择机构性质");if(!v.cooperateTenantName)return c("请填写机构名称");if(!v.contacts)return c("请填写联系人");if(!v.phone)return c("请输入联系电话");if(!r(v.phone))return c("请输入正确的手机号码");if(!v.code)return c("请输入验证码");await i.post("/api-admin/open/cooperateTenant/save",{data:{cooperateTenantName:v.cooperateTenantName,cooperateTenantNature:v.cooperateTenantNature,contacts:v.contacts,phone:v.phone,code:v.code}}),setTimeout((()=>{c("信息提交成功，我们会尽快与您联系"),v.cooperateTenantName=null,v.cooperateTenantNature=null,v.cooperateTenantNatureTxt=null,v.contacts=null,v.phone=null,v.code=null}),100)}catch(e){}};return()=>_("div",{"class":x.aboutUs},[_(e,null,null),_("div",{"class":x.banner},[_("img",{"class":x.bannerImg,src:T},null),_("img",{"class":x.bannerCenter,src:b},null)]),_("div",{"class":x.section1},[_("div",{"class":[x.title,x.title1]},null),_("div",{"class":x.content},[_("p",null,[h("在科技飞速发展的当下，音乐教育也在不断地创新与变革。为了更好地推进音乐课堂的数字化转型，提高音乐教育质量。化繁为简、化难为易，提高学生的兴趣和参与度。将更加注重线上线下相结合，"),_("span",{"class":x.green},[h("提供多元化的教学模式，满足学生多样化的学习需求")])]),_("p",null,[h("同时器乐教学对学生具有重要的意义，不仅有助于提高音乐素养和协调能力，还可以培养个性、团队合作意识等。学习乐器丰富学生的情感体验，拓展就业和升学途径，传承民族文化。")]),_("p",{"class":x.green},[h("我们特此发起寻找数字化音乐课堂合作伙伴，诚邀您的加入！")])])]),_("div",{"class":x.section2},[_("div",{"class":[x.title,x.title2]},null),_("img",{"class":"w100",src:g},null)]),_("div",{"class":x.section3},[_("div",{"class":[x.title,x.title3]},null),_("img",{"class":"w100",src:S},null)]),_("div",{"class":x.section4},[_("div",{"class":[x.title,x.title4]},null),_("div",{"class":x.fieldGroup},[_(a,{readonly:!0,isLink:!0,arrowDirection:"down",placeholder:"机构性质",border:!1,autocomplete:"off",modelValue:v.cooperateTenantNatureTxt,onClick:()=>v.typeStatus=!0},null),_(a,{type:"text",border:!1,placeholder:"机构名称",autocomplete:"off",maxlength:20,modelValue:v.cooperateTenantName,"onUpdate:modelValue":e=>v.cooperateTenantName=e},null),_(a,{type:"text",border:!1,placeholder:"联系人",autocomplete:"off",maxlength:20,modelValue:v.contacts,"onUpdate:modelValue":e=>v.contacts=e},null),_(a,{type:"number",maxlength:11,border:!1,placeholder:"联系电话",autocomplete:"off",modelValue:v.phone,"onUpdate:modelValue":e=>v.phone=e},null),_(a,{"class":x.smsField,type:"number",maxlength:6,border:!1,placeholder:"短信验证码",autocomplete:"off",modelValue:v.code,"onUpdate:modelValue":e=>v.code=e},{button:()=>v.countDownStatus?_(o,{size:"small",onClick:z},{"default":()=>[h("发送短信")]}):_(l,{ref:e=>p.value=e,"auto-start":!1,time:v.countDownTime,onFinish:C,format:"ss秒"},null)}),_("p",{"class":x.fieldTips},[h("我们将在提交后尽快与您联系")]),_(o,{block:!0,round:!0,"class":x.btnSubmit,onClick:w},{"default":()=>[h("确认提交")]})])]),_(t,null,null),_(n,{show:v.typeStatus,"onUpdate:show":e=>v.typeStatus=e,position:"bottom",round:!0},{"default":()=>[_(s,{columns:[{text:"中小学学校",value:"PRIMARY_AND_SECONDARY_SCHOOLS"},{text:"教培机构",value:"EDUCATIONAL_INSTITUTIONS"},{text:"音乐达人",value:"PLAYERS"},{text:"代理商",value:"AGENT"}],showToolbar:!0,onCancel:()=>v.typeStatus=!1,onConfirm:e=>{const t=e.selectedOptions[0];v.cooperateTenantNature=t.value,v.cooperateTenantNatureTxt=t.text,v.typeStatus=!1}},null)]}),v.imgCodeStatus?_(u,{value:v.imgCodeStatus,"onUpdate:value":e=>v.imgCodeStatus=e,phone:v.phone,onClose:()=>{v.imgCodeStatus=!1},onSendCode:N},null):null])}});export{v as default};
