<<<<<<<< HEAD:dist/assets/index-legacy.1bb7144c.js
;(function(){function asyncGeneratorStep(gen,resolve,reject,_next,_throw,key,arg){try{var info=gen[key](arg);var value=info.value;}catch(error){reject(error);return;}if(info.done){resolve(value);}else{Promise.resolve(value).then(_next,_throw);}}function _asyncToGenerator(fn){return function(){var self=this,args=arguments;return new Promise(function(resolve,reject){var gen=fn.apply(self,args);function _next(value){asyncGeneratorStep(gen,resolve,reject,_next,_throw,"next",value);}function _throw(err){asyncGeneratorStep(gen,resolve,reject,_next,_throw,"throw",err);}_next(undefined);});};}var __vite_style__=document.createElement('style');__vite_style__.innerHTML="._musicAuth_asr9_1{background:url(./assets/bg_top.112cc7b4.png) no-repeat top left,url(./assets/bg_center.9124774b.png) no-repeat left 80%,url(./assets/bg_bottom.579a0f8b.png) no-repeat bottom right,url(./assets/music_main.4ca224cc.png) no-repeat top right;background-size:212px 126px,178px 223px,171px 163px,668px 406px;background-color:#fff}._musicAuth_asr9_1 ._txt_asr9_6{position:relative;z-index:1;padding-bottom:1.25rem}._musicAuth_asr9_1 ._txt_asr9_6:after{content:\"\";display:block;width:100%;height:13px;background:#cbfdd5;position:absolute;bottom:15px;left:0;z-index:-1;opacity:.63;border-radius:.75rem}._musicAuth_asr9_1 ._col_asr9_24{background:#ffffff;box-shadow:0 10px 36px rgba(0,0,0,.13);border-radius:10px;min-height:197px}._musicAuth_asr9_1 .el-dialog{--el-dialog-width: 379px !important}._musicAuth_asr9_1 .el-dialog__header,._musicAuth_asr9_1 .el-dialog__body{padding:0}\n";document.head.appendChild(__vite_style__);System.register(['./teacher_main-legacy.3fb0ad22.js','./index-legacy.0db359fc.js','./vendor-legacy.160c9ccc.js'],function(exports){'use strict';var __glob_6_0,__glob_6_1,__glob_6_2,__glob_6_3,__glob_6_4,__glob_6_5,__glob_6_6,__glob_6_7,__glob_6_8,__glob_6_9,__glob_6_10,__glob_6_11,__glob_6_12,__glob_6_13,__glob_6_14,__glob_6_15,__glob_6_16,__glob_6_17,__glob_6_18,__glob_6_19,__glob_6_20,state,request,defineComponent,createVNode,createTextVNode,ElRow,ElCol,ElButton,ElDialog;return{setters:[function(module){__glob_6_0=module._;__glob_6_1=module.b;__glob_6_2=module.c;__glob_6_3=module.d;__glob_6_4=module.e;__glob_6_5=module.f;__glob_6_6=module.g;__glob_6_7=module.h;__glob_6_8=module.j;__glob_6_9=module.k;__glob_6_10=module.l;__glob_6_11=module.m;__glob_6_12=module.n;__glob_6_13=module.o;__glob_6_14=module.p;__glob_6_15=module.q;__glob_6_16=module.r;__glob_6_17=module.s;__glob_6_18=module.t;__glob_6_19=module.u;__glob_6_20=module.v;},function(module){state=module.c;request=module.r;},function(module){defineComponent=module.d;createVNode=module.c;createTextVNode=module.a;ElRow=module.G;ElCol=module.H;ElButton=module.l;ElDialog=module.W;}],execute:function execute(){var musicAuth="_musicAuth_asr9_1";var txt="_txt_asr9_6";var col="_col_asr9_24";var styles={musicAuth:musicAuth,txt:txt,col:col};var getAssetsHomeFile=exports('getAssetsHomeFile',function(fileName){var path="../images/".concat(fileName);var modules={"../images/bg_bottom.png":__glob_6_0,"../images/bg_center.png":__glob_6_1,"../images/bg_left_bottom.png":__glob_6_2,"../images/bg_right_center.png":__glob_6_3,"../images/bg_top.png":__glob_6_4,"../images/icon_music.png":__glob_6_5,"../images/icon_success.png":__glob_6_6,"../images/icon_teacher_auth.png":__glob_6_7,"../images/midi_money.png":__glob_6_8,"../images/midi_upload.png":__glob_6_9,"../images/music-popup.png":__glob_6_10,"../images/music_main.png":__glob_6_11,"../images/num1.png":__glob_6_12,"../images/num2.png":__glob_6_13,"../images/num3.png":__glob_6_14,"../images/num4.png":__glob_6_15,"../images/o1.png":__glob_6_16,"../images/o2.png":__glob_6_17,"../images/o3.png":__glob_6_18,"../images/o4.png":__glob_6_19,"../images/teacher_main.png":__glob_6_20};return modules[path].default;});var index=exports('default',defineComponent({name:'musicAuth',data:function data(){return{btnTxt:'立即认证',musicCertStatus:false,// 是否音乐认证
========
;(function(){function asyncGeneratorStep(gen,resolve,reject,_next,_throw,key,arg){try{var info=gen[key](arg);var value=info.value;}catch(error){reject(error);return;}if(info.done){resolve(value);}else{Promise.resolve(value).then(_next,_throw);}}function _asyncToGenerator(fn){return function(){var self=this,args=arguments;return new Promise(function(resolve,reject){var gen=fn.apply(self,args);function _next(value){asyncGeneratorStep(gen,resolve,reject,_next,_throw,"next",value);}function _throw(err){asyncGeneratorStep(gen,resolve,reject,_next,_throw,"throw",err);}_next(undefined);});};}var __vite_style__=document.createElement('style');__vite_style__.innerHTML="._musicAuth_asr9_1{background:url(./assets/bg_top.112cc7b4.png) no-repeat top left,url(./assets/bg_center.9124774b.png) no-repeat left 80%,url(./assets/bg_bottom.579a0f8b.png) no-repeat bottom right,url(./assets/music_main.4ca224cc.png) no-repeat top right;background-size:212px 126px,178px 223px,171px 163px,668px 406px;background-color:#fff}._musicAuth_asr9_1 ._txt_asr9_6{position:relative;z-index:1;padding-bottom:1.25rem}._musicAuth_asr9_1 ._txt_asr9_6:after{content:\"\";display:block;width:100%;height:13px;background:#cbfdd5;position:absolute;bottom:15px;left:0;z-index:-1;opacity:.63;border-radius:.75rem}._musicAuth_asr9_1 ._col_asr9_24{background:#ffffff;box-shadow:0 10px 36px rgba(0,0,0,.13);border-radius:10px;min-height:197px}._musicAuth_asr9_1 .el-dialog{--el-dialog-width: 379px !important}._musicAuth_asr9_1 .el-dialog__header,._musicAuth_asr9_1 .el-dialog__body{padding:0}\n";document.head.appendChild(__vite_style__);System.register(['./teacher_main-legacy.3fb0ad22.js','./index-legacy.671cea42.js','./vendor-legacy.160c9ccc.js'],function(exports){'use strict';var __glob_6_0,__glob_6_1,__glob_6_2,__glob_6_3,__glob_6_4,__glob_6_5,__glob_6_6,__glob_6_7,__glob_6_8,__glob_6_9,__glob_6_10,__glob_6_11,__glob_6_12,__glob_6_13,__glob_6_14,__glob_6_15,__glob_6_16,__glob_6_17,__glob_6_18,__glob_6_19,__glob_6_20,state,request,defineComponent,createVNode,createTextVNode,ElRow,ElCol,ElButton,ElDialog;return{setters:[function(module){__glob_6_0=module._;__glob_6_1=module.b;__glob_6_2=module.c;__glob_6_3=module.d;__glob_6_4=module.e;__glob_6_5=module.f;__glob_6_6=module.g;__glob_6_7=module.h;__glob_6_8=module.j;__glob_6_9=module.k;__glob_6_10=module.l;__glob_6_11=module.m;__glob_6_12=module.n;__glob_6_13=module.o;__glob_6_14=module.p;__glob_6_15=module.q;__glob_6_16=module.r;__glob_6_17=module.s;__glob_6_18=module.t;__glob_6_19=module.u;__glob_6_20=module.v;},function(module){state=module.c;request=module.r;},function(module){defineComponent=module.d;createVNode=module.c;createTextVNode=module.a;ElRow=module.G;ElCol=module.H;ElButton=module.l;ElDialog=module.W;}],execute:function execute(){var musicAuth="_musicAuth_asr9_1";var txt="_txt_asr9_6";var col="_col_asr9_24";var styles={musicAuth:musicAuth,txt:txt,col:col};var getAssetsHomeFile=exports('getAssetsHomeFile',function(fileName){var path="../images/".concat(fileName);var modules={"../images/bg_bottom.png":__glob_6_0,"../images/bg_center.png":__glob_6_1,"../images/bg_left_bottom.png":__glob_6_2,"../images/bg_right_center.png":__glob_6_3,"../images/bg_top.png":__glob_6_4,"../images/icon_music.png":__glob_6_5,"../images/icon_success.png":__glob_6_6,"../images/icon_teacher_auth.png":__glob_6_7,"../images/midi_money.png":__glob_6_8,"../images/midi_upload.png":__glob_6_9,"../images/music-popup.png":__glob_6_10,"../images/music_main.png":__glob_6_11,"../images/num1.png":__glob_6_12,"../images/num2.png":__glob_6_13,"../images/num3.png":__glob_6_14,"../images/num4.png":__glob_6_15,"../images/o1.png":__glob_6_16,"../images/o2.png":__glob_6_17,"../images/o3.png":__glob_6_18,"../images/o4.png":__glob_6_19,"../images/teacher_main.png":__glob_6_20};return modules[path].default;});var index=exports('default',defineComponent({name:'musicAuth',data:function data(){return{btnTxt:'立即认证',musicCertStatus:false,// 是否音乐认证
>>>>>>>> iteration-20240624:dist/assets/index-legacy.d7d89e03.js
popupStatus:false// 弹窗状态
};},computed:{auth:function auth(){var _state$user$data;// 音乐人审核状态 UNPAALY、未申请 DOING、审核中 PASS、通过 UNPASS、不通过,可用值:UNPAALY,DOING,PASS,UNPASS
var auth=(_state$user$data=state.user.data)===null||_state$user$data===void 0?void 0:_state$user$data.musicianAuthStatus;var obj={text:'立即认证',status:false};switch(auth){case'DOING':obj.text='审核中';obj.status=true;break;case'PASS':obj.text='已认证';obj.status=true;}return obj;}},mounted:function mounted(){var _state$user$data2;// 音乐人审核状态 0、未申请 UNPAALY、已申请 DOING、审核中 PASS、通过 UNPASS、不通过
var musicianAuthStatus=(_state$user$data2=state.user.data)===null||_state$user$data2===void 0?void 0:_state$user$data2.musicianAuthStatus;// console.log(state.user)
if(musicianAuthStatus){this.musicCertStatus=musicianAuthStatus==='DOING'||musicianAuthStatus==='PASS'?true:false;}},methods:{onSubmit:function onSubmit(){var _this=this;return _asyncToGenerator(/*#__PURE__*/regeneratorRuntime.mark(function _callee(){return regeneratorRuntime.wrap(function _callee$(_context){while(1){switch(_context.prev=_context.next){case 0:_context.prev=0;if(!(state.user.status!=='login')){_context.next=4;break;}state.loginPopupStatus=true;return _context.abrupt("return");case 4:_context.next=6;return request.post('/api-website/teacherAuthMusicianRecord/doApply',{});case 6:state.user.data.musicianAuthStatus='DOING';_this.popupStatus=true;_context.next=12;break;case 10:_context.prev=10;_context.t0=_context["catch"](0);case 12:case"end":return _context.stop();}}},_callee,null,[[0,10]]);}))();}},render:function render(){var _state$user$data3,_this2=this;return createVNode("div",{"class":[styles.musicAuth,'w-[1200px] mt-36 mb-[60px] bg-white min-h-full m-auto px-[138px] text-[#333]']},[createVNode("div",{"class":"w-[388px] pt-24 pb-28"},[createVNode("div",{"class":"text-[28px] font-semibold pb-5"},[createTextVNode("\u97F3\u4E50\u4EBA\u8BA4\u8BC1\u662F\u4EC0\u4E48")]),createVNode("p",{"class":[styles.txt]},[createTextVNode("\u9177\u4E50\u79C0\u5BF9\u6709\u80FD\u529B\u7F16\u66F2\u7684\u97F3\u4E50\u4EBA\u5F00\u901A\u4E0A\u4F20\u66F2\u8C31\u6743\u9650\uFF0C\u5F00\u901A")]),createVNode("p",{"class":[styles.txt]},[createTextVNode("\u540E\u60A8\u53EF\u4E0A\u4F20\u81EA\u5DF1\u7F16\u66F2\u7684\u4E50\u8C31MIDI\u8BA9\u5E73\u53F0\u5B66\u5458\u8FDB\u884C\u7EC3\u4E60\uFF0C")]),createVNode("p",{"class":[styles.txt,'inline-block']},[createTextVNode("\u5E76\u83B7\u53D6\u6536\u76CA\u3002")])]),createVNode("div",{"class":"pb-20"},[createVNode("h2",{"class":"text-2xl pb-11 text-center font-semibold"},[createTextVNode("\u8BA4\u8BC1\u6743\u76CA")]),createVNode(ElRow,{"class":"mb-16"},{default:function _default(){return[createVNode(ElCol,{"span":12,"class":"pr-3"},{default:function _default(){return[createVNode("div",{"class":[styles.col,'flex items-center px-10']},[createVNode("img",{"class":"w-[97px] h-[73px]","src":getAssetsHomeFile('midi_upload.png')},null),createVNode("div",{"class":"pl-10"},[createVNode("div",{"class":"flex items-center font-[18px] pb-3"},[createVNode("img",{"class":"w-[30px] h-[22px] mr-1","src":getAssetsHomeFile('num1.png')},null),createTextVNode("MP3\u6587\u4EF6\u4E0A\u4F20")]),createVNode("p",{"class":"text-[14px] leading-6"},[createTextVNode("\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")])])])];}}),createVNode(ElCol,{"span":12,"class":"pl-3"},{default:function _default(){return[createVNode("div",{"class":[styles.col,'flex items-center px-10']},[createVNode("img",{"class":"w-[97px] h-[73px]","src":getAssetsHomeFile('midi_money.png')},null),createVNode("div",{"class":"pl-10"},[createVNode("div",{"class":"flex items-center font-[18px] pb-3"},[createVNode("img",{"class":"w-[30px] h-[22px] mr-1","src":getAssetsHomeFile('num2.png')},null),createTextVNode("\u4E50\u8C31\u6536\u76CA")]),createVNode("p",{"class":"text-[14px] leading-6"},[createTextVNode("\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")])])])];}})];}}),((_state$user$data3=state.user.data)===null||_state$user$data3===void 0?void 0:_state$user$data3.musicianAuthStatus)!=='PASS'&&createVNode("div",{"class":"text-center"},[createVNode(ElButton,{"type":"primary","class":"rounded w-40 !h-[38px]","onClick":this.onSubmit,"disabled":this.auth.status},{default:function _default(){return[_this2.auth.text];}})])]),createVNode(ElDialog,{"modelValue":this.popupStatus,"onUpdate:modelValue":function onUpdateModelValue(val){return _this2.popupStatus=val;},"closeOnClickModal":false,"closeOnPressEscape":false,"showClose":true},{default:function _default(){return[createVNode("div",{"class":"p-8"},[createVNode("img",{"src":getAssetsHomeFile('icon_music.png')},null),createVNode("p",{"class":"text-center text-[#666] text-base -m-1 pb-6"},[createTextVNode("\u60A8\u5DF2\u6210\u529F\u63D0\u4EA4\u97F3\u4E50\u4EBA\u8BA4\u8BC1\u7533\u8BF7"),createVNode("br",null,null),createTextVNode("\u6211\u4EEC\u5C06\u57282\u4E2A\u5DE5\u4F5C\u65E5\u5185\u4E0E\u60A8\u53D6\u5F97\u8054\u7CFB")]),createVNode(ElButton,{"type":"primary","class":"w-full rounded-sm","style":{height:'38px'},"onClick":function onClick(){_this2.popupStatus=false;}},{default:function _default(){return[createTextVNode("\u6211\u77E5\u9053\u4E86")];}})])];}})]);}}));}};});})();
