<<<<<<<< HEAD:dist/assets/index.6632e14c.js
import{_ as o,b as c,c as m,d as g,e as r,f as d,g as E,h as F,j as b,k as x,l as A,m as h,n as C,o as f,p as B,q as D,r as S,s as v,t as w,u as y,v as P}from"./teacher_main.0ae41dd4.js";import{c as e,r as k}from"./index.e7e2631d.js";import{d as j,c as u,a as t,G as I,H as p,l as n,W as M}from"./vendor.420c228b.js";const N="_musicAuth_asr9_1",O="_txt_asr9_6",G="_col_asr9_24";var l={musicAuth:N,txt:O,col:G};const i=a=>{const s=`../images/${a}`;return{"../images/bg_bottom.png":o,"../images/bg_center.png":c,"../images/bg_left_bottom.png":m,"../images/bg_right_center.png":g,"../images/bg_top.png":r,"../images/icon_music.png":d,"../images/icon_success.png":E,"../images/icon_teacher_auth.png":F,"../images/midi_money.png":b,"../images/midi_upload.png":x,"../images/music-popup.png":A,"../images/music_main.png":h,"../images/num1.png":C,"../images/num2.png":f,"../images/num3.png":B,"../images/num4.png":D,"../images/o1.png":S,"../images/o2.png":v,"../images/o3.png":w,"../images/o4.png":y,"../images/teacher_main.png":P}[s].default};var R=j({name:"musicAuth",data(){return{btnTxt:"\u7ACB\u5373\u8BA4\u8BC1",musicCertStatus:!1,popupStatus:!1}},computed:{auth(){var _;let a=(_=e.user.data)==null?void 0:_.musicianAuthStatus,s={text:"\u7ACB\u5373\u8BA4\u8BC1",status:!1};switch(a){case"DOING":s.text="\u5BA1\u6838\u4E2D",s.status=!0;break;case"PASS":s.text="\u5DF2\u8BA4\u8BC1",s.status=!0}return s}},mounted(){var s;let a=(s=e.user.data)==null?void 0:s.musicianAuthStatus;a&&(this.musicCertStatus=a==="DOING"||a==="PASS")},methods:{async onSubmit(){try{if(e.user.status!=="login"){e.loginPopupStatus=!0;return}await k.post("/api-website/teacherAuthMusicianRecord/doApply",{}),e.user.data.musicianAuthStatus="DOING",this.popupStatus=!0}catch{}}},render(){var a;return u("div",{class:[l.musicAuth,"w-[1200px] mt-36 mb-[60px] bg-white min-h-full m-auto px-[138px] text-[#333]"]},[u("div",{class:"w-[388px] pt-24 pb-28"},[u("div",{class:"text-[28px] font-semibold pb-5"},[t("\u97F3\u4E50\u4EBA\u8BA4\u8BC1\u662F\u4EC0\u4E48")]),u("p",{class:[l.txt]},[t("\u9177\u4E50\u79C0\u5BF9\u6709\u80FD\u529B\u7F16\u66F2\u7684\u97F3\u4E50\u4EBA\u5F00\u901A\u4E0A\u4F20\u66F2\u8C31\u6743\u9650\uFF0C\u5F00\u901A")]),u("p",{class:[l.txt]},[t("\u540E\u60A8\u53EF\u4E0A\u4F20\u81EA\u5DF1\u7F16\u66F2\u7684\u4E50\u8C31MIDI\u8BA9\u5E73\u53F0\u5B66\u5458\u8FDB\u884C\u7EC3\u4E60\uFF0C")]),u("p",{class:[l.txt,"inline-block"]},[t("\u5E76\u83B7\u53D6\u6536\u76CA\u3002")])]),u("div",{class:"pb-20"},[u("h2",{class:"text-2xl pb-11 text-center font-semibold"},[t("\u8BA4\u8BC1\u6743\u76CA")]),u(I,{class:"mb-16"},{default:()=>[u(p,{span:12,class:"pr-3"},{default:()=>[u("div",{class:[l.col,"flex items-center px-10"]},[u("img",{class:"w-[97px] h-[73px]",src:i("midi_upload.png")},null),u("div",{class:"pl-10"},[u("div",{class:"flex items-center font-[18px] pb-3"},[u("img",{class:"w-[30px] h-[22px] mr-1",src:i("num1.png")},null),t("MP3\u6587\u4EF6\u4E0A\u4F20")]),u("p",{class:"text-[14px] leading-6"},[t("\u60A8\u53EF\u4E0A\u4F20\u81EA\u5DF1\u7F16\u66F2\u7684\u4E50\u8C31MP3\uFF0C\u5E76\u81EA\u5B9A\u4E49\u4E50\u8C31\u4EF7\u683C\uFF0C\u4E3A\u5E73\u53F0\u5B66\u5458\u63D0\u4F9B\u667A\u80FD\u966A\u7EC3\u7EC3\u4E60\u3002")])])])]}),u(p,{span:12,class:"pl-3"},{default:()=>[u("div",{class:[l.col,"flex items-center px-10"]},[u("img",{class:"w-[97px] h-[73px]",src:i("midi_money.png")},null),u("div",{class:"pl-10"},[u("div",{class:"flex items-center font-[18px] pb-3"},[u("img",{class:"w-[30px] h-[22px] mr-1",src:i("num2.png")},null),t("\u4E50\u8C31\u6536\u76CA")]),u("p",{class:"text-[14px] leading-6"},[t("\u60A8\u53EF\u5BF9\u4E0A\u4F20\u7684\u4E50\u8C31\u81EA\u5B9A\u4E49\u4EF7\u683C\uFF0C\u5B66\u5458\u53EF\u81EA\u884C\u6311\u9009\u4E50\u8C31\u8D2D\u4E70\uFF0C\u8D2D\u4E70\u540E\u60A8\u5C06\u83B7\u53D6\u5B66\u5458\u8D2D\u4E70\u6536\u5165\u3002")])])])]})]}),((a=e.user.data)==null?void 0:a.musicianAuthStatus)!=="PASS"&&u("div",{class:"text-center"},[u(n,{type:"primary",class:"rounded w-40 !h-[38px]",onClick:this.onSubmit,disabled:this.auth.status},{default:()=>[this.auth.text]})])]),u(M,{modelValue:this.popupStatus,"onUpdate:modelValue":s=>this.popupStatus=s,closeOnClickModal:!1,closeOnPressEscape:!1,showClose:!0},{default:()=>[u("div",{class:"p-8"},[u("img",{src:i("icon_music.png")},null),u("p",{class:"text-center text-[#666] text-base -m-1 pb-6"},[t("\u60A8\u5DF2\u6210\u529F\u63D0\u4EA4\u97F3\u4E50\u4EBA\u8BA4\u8BC1\u7533\u8BF7"),u("br",null,null),t("\u6211\u4EEC\u5C06\u57282\u4E2A\u5DE5\u4F5C\u65E5\u5185\u4E0E\u60A8\u53D6\u5F97\u8054\u7CFB")]),u(n,{type:"primary",class:"w-full rounded-sm",style:{height:"38px"},onClick:()=>{this.popupStatus=!1}},{default:()=>[t("\u6211\u77E5\u9053\u4E86")]})])]})])}});export{R as default,i as getAssetsHomeFile};
========
import{_ as o,b as c,c as m,d as g,e as r,f as d,g as E,h as F,j as b,k as x,l as A,m as h,n as C,o as f,p as B,q as D,r as S,s as v,t as w,u as y,v as P}from"./teacher_main.0ae41dd4.js";import{c as e,r as k}from"./index.22d8fc68.js";import{d as j,c as u,a as t,G as I,H as p,l as n,W as M}from"./vendor.420c228b.js";const N="_musicAuth_asr9_1",O="_txt_asr9_6",G="_col_asr9_24";var l={musicAuth:N,txt:O,col:G};const i=a=>{const s=`../images/${a}`;return{"../images/bg_bottom.png":o,"../images/bg_center.png":c,"../images/bg_left_bottom.png":m,"../images/bg_right_center.png":g,"../images/bg_top.png":r,"../images/icon_music.png":d,"../images/icon_success.png":E,"../images/icon_teacher_auth.png":F,"../images/midi_money.png":b,"../images/midi_upload.png":x,"../images/music-popup.png":A,"../images/music_main.png":h,"../images/num1.png":C,"../images/num2.png":f,"../images/num3.png":B,"../images/num4.png":D,"../images/o1.png":S,"../images/o2.png":v,"../images/o3.png":w,"../images/o4.png":y,"../images/teacher_main.png":P}[s].default};var R=j({name:"musicAuth",data(){return{btnTxt:"\u7ACB\u5373\u8BA4\u8BC1",musicCertStatus:!1,popupStatus:!1}},computed:{auth(){var _;let a=(_=e.user.data)==null?void 0:_.musicianAuthStatus,s={text:"\u7ACB\u5373\u8BA4\u8BC1",status:!1};switch(a){case"DOING":s.text="\u5BA1\u6838\u4E2D",s.status=!0;break;case"PASS":s.text="\u5DF2\u8BA4\u8BC1",s.status=!0}return s}},mounted(){var s;let a=(s=e.user.data)==null?void 0:s.musicianAuthStatus;a&&(this.musicCertStatus=a==="DOING"||a==="PASS")},methods:{async onSubmit(){try{if(e.user.status!=="login"){e.loginPopupStatus=!0;return}await k.post("/api-website/teacherAuthMusicianRecord/doApply",{}),e.user.data.musicianAuthStatus="DOING",this.popupStatus=!0}catch{}}},render(){var a;return u("div",{class:[l.musicAuth,"w-[1200px] mt-36 mb-[60px] bg-white min-h-full m-auto px-[138px] text-[#333]"]},[u("div",{class:"w-[388px] pt-24 pb-28"},[u("div",{class:"text-[28px] font-semibold pb-5"},[t("\u97F3\u4E50\u4EBA\u8BA4\u8BC1\u662F\u4EC0\u4E48")]),u("p",{class:[l.txt]},[t("\u9177\u4E50\u79C0\u5BF9\u6709\u80FD\u529B\u7F16\u66F2\u7684\u97F3\u4E50\u4EBA\u5F00\u901A\u4E0A\u4F20\u66F2\u8C31\u6743\u9650\uFF0C\u5F00\u901A")]),u("p",{class:[l.txt]},[t("\u540E\u60A8\u53EF\u4E0A\u4F20\u81EA\u5DF1\u7F16\u66F2\u7684\u4E50\u8C31MIDI\u8BA9\u5E73\u53F0\u5B66\u5458\u8FDB\u884C\u7EC3\u4E60\uFF0C")]),u("p",{class:[l.txt,"inline-block"]},[t("\u5E76\u83B7\u53D6\u6536\u76CA\u3002")])]),u("div",{class:"pb-20"},[u("h2",{class:"text-2xl pb-11 text-center font-semibold"},[t("\u8BA4\u8BC1\u6743\u76CA")]),u(I,{class:"mb-16"},{default:()=>[u(p,{span:12,class:"pr-3"},{default:()=>[u("div",{class:[l.col,"flex items-center px-10"]},[u("img",{class:"w-[97px] h-[73px]",src:i("midi_upload.png")},null),u("div",{class:"pl-10"},[u("div",{class:"flex items-center font-[18px] pb-3"},[u("img",{class:"w-[30px] h-[22px] mr-1",src:i("num1.png")},null),t("MP3\u6587\u4EF6\u4E0A\u4F20")]),u("p",{class:"text-[14px] leading-6"},[t("\u60A8\u53EF\u4E0A\u4F20\u81EA\u5DF1\u7F16\u66F2\u7684\u4E50\u8C31MP3\uFF0C\u5E76\u81EA\u5B9A\u4E49\u4E50\u8C31\u4EF7\u683C\uFF0C\u4E3A\u5E73\u53F0\u5B66\u5458\u63D0\u4F9B\u667A\u80FD\u966A\u7EC3\u7EC3\u4E60\u3002")])])])]}),u(p,{span:12,class:"pl-3"},{default:()=>[u("div",{class:[l.col,"flex items-center px-10"]},[u("img",{class:"w-[97px] h-[73px]",src:i("midi_money.png")},null),u("div",{class:"pl-10"},[u("div",{class:"flex items-center font-[18px] pb-3"},[u("img",{class:"w-[30px] h-[22px] mr-1",src:i("num2.png")},null),t("\u4E50\u8C31\u6536\u76CA")]),u("p",{class:"text-[14px] leading-6"},[t("\u60A8\u53EF\u5BF9\u4E0A\u4F20\u7684\u4E50\u8C31\u81EA\u5B9A\u4E49\u4EF7\u683C\uFF0C\u5B66\u5458\u53EF\u81EA\u884C\u6311\u9009\u4E50\u8C31\u8D2D\u4E70\uFF0C\u8D2D\u4E70\u540E\u60A8\u5C06\u83B7\u53D6\u5B66\u5458\u8D2D\u4E70\u6536\u5165\u3002")])])])]})]}),((a=e.user.data)==null?void 0:a.musicianAuthStatus)!=="PASS"&&u("div",{class:"text-center"},[u(n,{type:"primary",class:"rounded w-40 !h-[38px]",onClick:this.onSubmit,disabled:this.auth.status},{default:()=>[this.auth.text]})])]),u(M,{modelValue:this.popupStatus,"onUpdate:modelValue":s=>this.popupStatus=s,closeOnClickModal:!1,closeOnPressEscape:!1,showClose:!0},{default:()=>[u("div",{class:"p-8"},[u("img",{src:i("icon_music.png")},null),u("p",{class:"text-center text-[#666] text-base -m-1 pb-6"},[t("\u60A8\u5DF2\u6210\u529F\u63D0\u4EA4\u97F3\u4E50\u4EBA\u8BA4\u8BC1\u7533\u8BF7"),u("br",null,null),t("\u6211\u4EEC\u5C06\u57282\u4E2A\u5DE5\u4F5C\u65E5\u5185\u4E0E\u60A8\u53D6\u5F97\u8054\u7CFB")]),u(n,{type:"primary",class:"w-full rounded-sm",style:{height:"38px"},onClick:()=>{this.popupStatus=!1}},{default:()=>[t("\u6211\u77E5\u9053\u4E86")]})])]})])}});export{R as default,i as getAssetsHomeFile};
>>>>>>>> iteration-20240624:dist/assets/index.dc340282.js
