teacher-home-legacy.f68cea07.js 70 KB

1
  1. !function(){function e(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function t(t){for(var n=1;n<arguments.length;n++){var a=null!=arguments[n]?arguments[n]:{};n%2?e(Object(a),!0).forEach((function(e){r(t,e,a[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(a)):e(Object(a)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(a,e))}))}return t}function r(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function n(e){return function(e){if(Array.isArray(e))return a(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return a(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return a(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function i(e,t,r,n,a,i,o){try{var s=e[i](o),c=s.value}catch(u){return void r(u)}s.done?t(c):Promise.resolve(c).then(n,a)}function o(e){return function(){var t=this,r=arguments;return new Promise((function(n,a){var o=e.apply(t,r);function s(e){i(o,n,a,s,c,"next",e)}function c(e){i(o,n,a,s,c,"throw",e)}s(void 0)}))}}var s=document.createElement("style");s.innerHTML='._teacher-record_6z94a_1{min-height:100vh;background-color:#f8f9fc;position:relative;overflow:hidden}._teacher-record_6z94a_1 .van-nav-bar{transition:all .3s}._teacher-record_6z94a_1 .van-tabs__nav--line{padding-bottom:0}._teacher-record_6z94a_1 .van-tab{padding:0 .37333rem;font-size:.42667rem;color:#000;position:relative;z-index:9}._teacher-record_6z94a_1 .van-tab--active{font-weight:600}._teacher-record_6z94a_1 .van-button--plain.van-button--primary{background-color:transparent}._teacher-record_6z94a_1 .van-tabs__line{width:.85333rem!important;height:.16rem;background:linear-gradient(90deg,#2DC7AA 0%,rgba(45,199,170,0) 100%)!important;border-radius:.08rem;bottom:.4rem}._bgImg_6z94a_33{position:absolute;top:0;left:0;width:100%;height:7.94667rem;-o-object-fit:cover;object-fit:cover}._bg_6z94a_33{position:absolute;top:0;left:0;width:100%;height:6.34667rem;background-color:rgba(0,0,0,.6);backdrop-filter:blur(.26667rem);-webkit-backdrop-filter:blur(.26667rem)}._teacherHeader_6z94a_51{position:relative;z-index:10}._singleSection_6z94a_55{background:#F8F9FC;border-radius:.26667rem .26667rem 0 0;padding:.4rem .37333rem .16rem}._singleSection_6z94a_55 ._btnType_6z94a_60{display:flex}._singleSection_6z94a_55 ._btnType_6z94a_60 ._btn2_6z94a_63,._singleSection_6z94a_55 ._btnType_6z94a_60 ._btn1_6z94a_64{flex:1;font-weight:500;font-size:.37333rem;color:#333;line-height:.96rem;border-radius:.16rem;text-align:center}._singleSection_6z94a_55 ._btnType_6z94a_60 ._btn2_6z94a_63 img,._singleSection_6z94a_55 ._btnType_6z94a_60 ._btn1_6z94a_64 img{vertical-align:middle;width:.42667rem;height:.42667rem;margin-right:.16rem}._singleSection_6z94a_55 ._btnType_6z94a_60 ._btn1_6z94a_64{background:linear-gradient(310deg,rgba(92,214,214,.07) 0%,rgba(255,255,255,.03) 50%,rgba(255,255,255,0) 100%,rgba(255,255,255,0) 100%);border:.02667rem solid #E3EFED;margin-right:.26667rem}._singleSection_6z94a_55 ._btnType_6z94a_60 ._btn2_6z94a_63{background:linear-gradient(310deg,rgba(214,96,92,.07) 0%,rgba(255,255,255,.04) 50%,rgba(255,255,255,0) 100%,rgba(255,255,255,0) 100%);border:.02667rem solid #FFEBE5}._singleSection_6z94a_55 ._singleContent_6z94a_89{background:#FFFFFF;border-radius:.16rem;margin-top:.32rem;font-size:.34667rem;color:#777;line-height:.58667rem;padding:.32rem;text-align:justify}._fansPopup_6z94a_99{background:transparent}._fansPopup_6z94a_99 .van-popup__close-icon{font-size:.48rem;color:#ccc}._tipSection_1i68p_1{padding:.10667rem .37333rem 0}.col-result-container{padding-top:0}._practice_1i68p_7{padding:.10667rem .37333rem 2.13333rem;overflow:hidden}._practice_1i68p_7 ._group_1i68p_11{margin-bottom:.32rem;border-radius:.26667rem;overflow:hidden}._practice_1i68p_7 ._group_1i68p_11 .van-cell{padding:.42667rem .4rem;font-size:.42667rem}._practice_1i68p_7 ._group_1i68p_11 .van-cell .van-cell__title{color:#1a1a1a}._practice_1i68p_7 ._price_1i68p_23{font-size:.37333rem;color:#999}._practice_1i68p_7 ._price_1i68p_23 span{font-weight:600;color:#fa6400;font-size:.42667rem}._practice_1i68p_7 .van-stepper--round .van-stepper__minus{color:#333!important;border:#f3f3f3;background:#f3f3f3}._practice_1i68p_7 .van-stepper--round .van-stepper__plus{background:var(--van-primary)}._rTag_1i68p_40{padding:.26667rem 0}._rTag_1i68p_40 ._tag_1i68p_43{background:#e9fff8;margin-bottom:.21333rem}._selectPopup_1i68p_47{width:8.32rem;background:#ffffff;border-radius:.21333rem}._selectPopup_1i68p_47 ._selectContainer_1i68p_52{padding:.48rem .37333rem}._selectPopup_1i68p_47 ._rTitle_1i68p_55{font-size:.48rem}._selectPopup_1i68p_47 ._selectPopupContent_1i68p_58{padding:.53333rem 0}._selectPopup_1i68p_47 ._desc_1i68p_61,._selectPopup_1i68p_47 ._times_1i68p_62{font-size:.37333rem;color:#666;line-height:.53333rem}._selectPopup_1i68p_47 ._times_1i68p_62{padding-top:.4rem}._selectPopup_1i68p_47 ._times_1i68p_62 span{display:block}._selectPopup_1i68p_47 ._selectBtn_1i68p_73{display:flex;align-items:center;justify-content:space-between}._selectPopup_1i68p_47 ._selectBtn_1i68p_73 ._btn_1i68p_78{width:48%}._rTitle_1i68p_55{display:flex;align-items:center;font-size:.42667rem;color:#333;font-weight:500}._rTitle_1i68p_55:before{margin-right:.21333rem;content:" ";display:inline-block;width:.10667rem;height:.45333rem;background:linear-gradient(180deg,#59e5d5 0%,#2dc7aa 100%);border-radius:.08rem}._protocol_1i68p_97{padding:0 .37333rem;background-color:#f6f8f9}._arrangeCell_1i68p_101{margin:.26667rem 0 0!important;width:auto;border-radius:.26667rem;overflow:hidden}._fixedBtn_1i68p_107{position:fixed;bottom:0;left:0;right:0;z-index:9}._tipSection_19emr_1{position:relative;background:#FFFFFF;border-radius:.16rem;margin-bottom:.32rem}._tipSection_19emr_1 ._iconCross_19emr_7{position:absolute;top:.4rem;right:.34667rem;font-size:.42667rem;color:#ccc;cursor:pointer}._tipSection_19emr_1 ._tipTitle_19emr_15{padding:.32rem .32rem .26667rem;font-weight:500;font-size:.4rem;color:#333;line-height:.48rem}._tipSection_19emr_1 ._tipTitle_19emr_15 img{width:.48rem;height:.48rem;margin-right:.16rem;vertical-align:text-bottom}._tipSection_19emr_1 ._tipContent_19emr_28{padding:0 .32rem .26667rem;font-size:.34667rem;color:#777;line-height:.58667rem;text-align:justify}._tipSection_19emr_1 ._tipFooter_19emr_35{margin:0 .32rem;padding:.26667rem 0;text-align:center;border-top:.02667rem solid #F2F2F2;font-size:.34667rem;color:#2dc7aa;line-height:.48rem}._liveList_15t4o_1{padding:.37333rem}._liCover_15t4o_4{width:100%;border-radius:.10667rem;overflow:hidden}._liContent_15t4o_9{height:100%;display:flex;flex-direction:column;justify-content:space-between}._liContent_15t4o_9 ._liTitle_15t4o_15{font-weight:600;font-size:.42667rem;color:#131415;line-height:.58667rem}._users_15t4o_21{display:flex;align-items:center;justify-content:space-between;padding-top:.21333rem}._users_15t4o_21 ._user_15t4o_21{display:flex;align-items:center}._users_15t4o_21 ._user_15t4o_21 img{width:.69333rem;height:.69333rem;margin-right:.16rem;border-radius:50%}._users_15t4o_21 ._user_15t4o_21 span{font-size:.37333rem;color:#333;line-height:.53333rem}._users_15t4o_21 ._lean_15t4o_42{background:#fff6f0;border-radius:.05333rem;padding:.08rem .10667rem .05333rem}._buyNum_15t4o_47,._num_15t4o_48{color:#ff6827;font-size:.32rem}._price_15t4o_52{font-size:.37333rem;color:#999}._price_15t4o_52 ._priceNum_15t4o_56{color:red;font-size:.58667rem;font-weight:700}._price_15t4o_52 ._priceNum_15t4o_56 i{font-size:.37333rem;font-style:normal}._price_15t4o_52 ._label_15t4o_65{font-size:.32rem;color:#999;line-height:.45333rem}._liveGroup_15t4o_70{border-radius:.26667rem;overflow:hidden;margin-bottom:.26667rem;padding:.32rem;background:#FFFFFF}._liveGroup_15t4o_70 ._liveTop_15t4o_77{display:flex;align-items:center}._liveGroup_15t4o_70 ._liveTop_15t4o_77 ._iconLive_15t4o_81{width:.53333rem;height:.53333rem;margin-right:.16rem}._liveGroup_15t4o_70 ._liveTop_15t4o_77 span{font-weight:600;font-size:.37333rem;color:#333;line-height:.53333rem}._liveGroup_15t4o_70 ._liveCenter_15t4o_92{margin:.32rem 0 .21333rem;position:relative}._subjectName_15t4o_96{position:absolute;top:.21333rem;left:.21333rem;font-size:.32rem;padding:.08rem .13333rem .05333rem;color:#fff;line-height:1;background:rgba(0,0,0,.4);border-radius:.08rem}._timerString_15t4o_107{font-size:.34667rem;display:flex;align-items:center;color:#666}._tips_15t4o_113{margin:0 .37333rem}._videoItem_1h9f5_1{border-radius:.26667rem;background-color:#fff;overflow:hidden;width:100%;margin-bottom:.32rem;padding:.32rem;display:flex;align-items:center}._videoItem_1h9f5_1 ._viCover_1h9f5_11{height:2.16rem;width:3.89333rem;border-radius:.16rem;vertical-align:middle;overflow:hidden}._videoItem_1h9f5_1 ._viSection_1h9f5_18{margin-left:.26667rem;flex:1 auto}._videoItem_1h9f5_1 ._viTitle_1h9f5_22{font-weight:600;font-size:.4rem;color:#131415;line-height:.56rem;max-width:4.4rem}._videoItem_1h9f5_1 ._viUserNum_1h9f5_29{padding-top:.10667rem;color:#ff802c;font-size:.32rem;background:#fff6f0;border-radius:.05333rem;padding:.08rem .10667rem .05333rem}._videoItem_1h9f5_1 ._viPrice_1h9f5_37{display:flex;align-items:center;justify-content:space-between;font-size:.37333rem;color:#999}._videoItem_1h9f5_1 ._viPrice_1h9f5_37 ._priceNum_1h9f5_44{color:#f44541;font-size:.42667rem;font-weight:700}._videoItem_1h9f5_1 ._viPrice_1h9f5_37 ._priceNum_1h9f5_44 i{font-size:.37333rem;font-style:normal}._videoItem_1h9f5_1 ._tags_1h9f5_53{padding:.21333rem 0}._videoItem_1h9f5_1 ._tags_1h9f5_53 ._label_1h9f5_56{margin-right:.10667rem;background:#F5F6FA;border-radius:.08rem;font-size:.29333rem;color:#777;line-height:.42667rem;padding:.02667rem .16rem;display:inline-block}._videoItem_1h9f5_1 ._subjectName_1h9f5_66{position:absolute;top:.10667rem;left:.10667rem;font-size:.26667rem;padding:.08rem .13333rem .05333rem;color:#fff;line-height:1;background:rgba(0,0,0,.4);border-radius:.08rem}._videoList_15ff1_1{display:flex;justify-content:space-between;flex-wrap:wrap;padding:.37333rem}.van-list__loading,.van-list__finished-text,.van-list__error-text{width:100%}._tips_15ff1_12{margin:0 .37333rem}._headerContent_gt9yb_1{min-height:2.66667rem;position:relative}._teacherContent_gt9yb_5{display:flex;justify-content:space-between;flex-shrink:0}._teacherUs_gt9yb_10{padding-left:.53333rem;flex:1 auto}._teacherIcon_gt9yb_14{position:relative;line-height:0}._teacherIcon_gt9yb_14 ._avatar_gt9yb_18{position:relative;width:2.08rem;height:2.08rem;box-sizing:border-box;border:.02667rem solid #fff;background-color:#fff}._teacherIcon_gt9yb_14 ._avatarActive_gt9yb_26{border-color:#f0af88;background-color:#f0af88}._teacherIcon_gt9yb_14 ._teacherIconVip_gt9yb_30{position:absolute;bottom:0;right:-.32rem;width:1.04rem;height:.48rem}._teacherInfo_gt9yb_37{display:flex;align-items:center;padding:.37333rem 0 0}._teacherInfo_gt9yb_37 ._teacherInfoName_gt9yb_42{font-weight:600;font-size:.58667rem;color:#fff;max-width:4rem;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}._teacherInfo_gt9yb_37>img{margin-left:.26667rem;width:1.04rem;height:.42667rem}._teacherHonor_gt9yb_56{display:flex;align-items:center;font-size:.32rem;line-height:.42667rem;color:#666;font-weight:500;padding-left:.21333rem}._teacherHonor_gt9yb_56 ._score_gt9yb_65{margin-left:.66667rem}._headerCount_gt9yb_68{width:100%;padding:.37333rem .37333rem .53333rem;margin:0 auto;border-radius:.26667rem;box-sizing:border-box}._teacherOperation_gt9yb_75{padding-top:.48rem;display:flex}._teacherOperation_gt9yb_75 .van-button{height:.96rem;border-radius:.16rem;background:rgba(255,255,255,.2);border:none;color:#fff;font-size:.37333rem;font-weight:600}._teacherOperation_gt9yb_75 ._btn_gt9yb_88{padding:.08rem .32rem .02667rem;flex:1}._teacherOperation_gt9yb_75 ._btn_gt9yb_88 img{width:.48rem;vertical-align:sub;margin-right:.16rem}._teacherOperation_gt9yb_75 ._btn_gt9yb_88:first-child{margin-right:.34667rem}._teacherOperation_gt9yb_75 ._btnStar_gt9yb_100{color:#f8f9fc;background:#2DC7AA}._subjectSection_gt9yb_104{margin-right:.26667rem;max-width:1.17333rem;box-sizing:content-box}._teacher-bottom_gt9yb_109{padding:.29333rem 0 0;display:flex;align-items:center}._teacher-bottom_gt9yb_109 ._iconCert_gt9yb_114{height:.48rem;margin-right:.21333rem}._followFans_gt9yb_118{padding-top:.26667rem!important}._teacher-data_gt9yb_121{display:flex;align-items:center;justify-content:space-between}._teacher-data_gt9yb_121 ._teacher-data_item_gt9yb_126{font-size:.34667rem;color:rgba(255,255,255,.6);position:relative;line-height:1.2}._teacher-data_gt9yb_121 ._teacher-data_item_gt9yb_126 span{font-weight:500;font-family:DINAlternate,DINAlternate;font-weight:700;font-size:.4rem;color:#fff;margin-left:.13333rem}._teacher-data_gt9yb_121 ._teacher-data_item_gt9yb_126:after{content:" ";display:inline-block;position:absolute;right:0;top:.05333rem;width:.02667rem;height:.42667rem;background:#ebebeb}._teacher-data_gt9yb_121 ._teacher-data_item_gt9yb_126:first-child{padding-right:.4rem;margin-right:.4rem}._teacher-data_gt9yb_121 ._teacher-data_item_gt9yb_126:last-child:after{display:none}._iconVip_gt9yb_157{width:.90667rem!important;margin-right:.13333rem}._iconOther_gt9yb_161{margin-left:.16rem;width:.48rem;height:.48rem}._teacher-info_gt9yb_166{margin-left:.21333rem}._teacher-info_gt9yb_166 ._teacher-name_gt9yb_169{font-size:.48rem;font-weight:500;color:#1a1a1a;padding-bottom:.16rem;display:flex;justify-content:space-between}._teacher-info_gt9yb_166 ._teacher-name_gt9yb_169 ._teacherCert_gt9yb_177{display:flex;align-items:center}._teacher-info_gt9yb_166 ._teacher-name_gt9yb_169 ._teacherLast_gt9yb_181{display:inline-block;max-width:3.2rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}._subjectList_gt9yb_188::-webkit-scrollbar{display:none}._subjectList_gt9yb_188{overflow-x:auto;overflow-y:hidden;width:7.6rem;display:flex;flex-wrap:nowrap}._piNameSubject_gt9yb_199{display:flex;align-items:center;padding-top:.53333rem}._piNameSubject_gt9yb_199 ._subject_gt9yb_104{display:flex;align-items:center;margin-left:.21333rem;background:rgba(255,255,255,.2);border-radius:.26667rem;font-size:.32rem;line-height:1.3;color:#fff;padding:.10667rem .21333rem .08rem;white-space:nowrap}._piNameSubject_gt9yb_199 ._subject_gt9yb_104:first-child{margin-left:0}._rTitle_gt9yb_219{display:flex;align-items:center}._rTitle_gt9yb_219:before{margin-right:.21333rem;content:" ";display:inline-block;width:.10667rem;height:.37333rem;background:#2dc7aa;border-radius:.08rem}._liveTag_gt9yb_232{position:absolute;top:-.04rem;left:50%;transform:translate(-50%);width:.90667rem;z-index:10}._teacherName_gt9yb_240{display:inline-block;flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:2.66667rem}._teacherIcons_gt9yb_248{display:flex;align-items:center}._teaherPopup_gt9yb_252{background:transparent;width:7.36rem;overflow:initial}._teacherIconWrap_gt9yb_257{padding:1.33333rem .58667rem .58667rem;background-color:#fff;border-radius:0 0 .26667rem .26667rem;margin-top:-.66667rem}._teacherIconItem_gt9yb_263{margin-bottom:.42667rem}._teacherIconItem_gt9yb_263 ._teacherIconItemTop_gt9yb_266{display:flex;align-items:center;margin-bottom:.26667rem}._teacherIconItem_gt9yb_263 .van-image{margin-right:.21333rem;width:.64rem;height:.64rem}._teacherIconItem_gt9yb_263 ._teacherIconTitle_gt9yb_276{font-size:.42667rem;font-weight:700;color:#333}._teacherIconItem_gt9yb_263 ._teacherIconDes_gt9yb_281{font-size:.32rem;line-height:.42667rem;font-weight:400;padding-left:.08rem;color:#666}._closeIcon_gt9yb_288{position:absolute;bottom:-1.44rem;left:50%;transform:translate(-50%);width:.96rem;height:.96rem}._liveList_gt9yb_296{padding:.32rem 0}._liveList_gt9yb_296 ._headerFollow_gt9yb_299{margin-bottom:.32rem}._liveList_gt9yb_296 ._headerFollow_gt9yb_299 ._teacherIcon_gt9yb_14{margin:0 .26667rem 0 0}._liveList_gt9yb_296 ._headerFollow_gt9yb_299 ._score_gt9yb_65{margin-left:.26667rem}._liveList_gt9yb_296 ._headerFollow_gt9yb_299 ._teacherIconVip_gt9yb_30{left:50%;right:initial;transform:translate(-50%);bottom:-.16rem}._liveList_gt9yb_296 ._headerFollow_gt9yb_299 ._liveTag_gt9yb_232{width:80%}._liveList_gt9yb_296 ._headerFollow_gt9yb_299 ._avatar_gt9yb_18{width:1.92rem;height:1.92rem}._liveList_gt9yb_296 ._headerFollow_gt9yb_299 ._piNameSubject_gt9yb_199{align-items:flex-start}._liveList_gt9yb_296 ._headerFollow_gt9yb_299 ._subjectList_gt9yb_188{flex-wrap:wrap}._liveList_gt9yb_296 ._headerFollow_gt9yb_299 ._subject_gt9yb_104{margin:.05333rem .13333rem .08rem 0}._liveList_gt9yb_296 ._headerFollow_gt9yb_299 ._teacher-bottom_gt9yb_109{padding-top:.64rem}._liveList_gt9yb_296 ._headerFollow_gt9yb_299 ._unlinkeBtn_gt9yb_333{font-size:.32rem;color:#ff6363;border:.02667rem solid #ff6363;padding:.13333rem .26667rem;border-radius:.53333rem}._followContainer_gt9yb_340{display:flex;align-items:flex-start}._filterTitle_cir06_1{font-size:.48rem;font-weight:500;color:#000;line-height:.66667rem;text-align:center;padding:.53333rem 0}._fansGroup_cir06_9{padding:0 0 .66667rem!important}._fansGroup_cir06_9:last-child{padding-bottom:.32rem!important}._fansGroup_cir06_9 .van-cell__title,._fansGroup_cir06_9 .van-cell__value{flex:1 auto}._fansGroup_cir06_9 ._introduce_cir06_19{font-size:.37333rem;color:#999;line-height:.53333rem;width:6.93333rem}._fansImage_cir06_25{width:1.12rem;height:1.12rem;border-radius:50%;overflow:hidden}._fansTitle_cir06_31{padding-left:.32rem;font-size:.42667rem;color:#1a1a1a;line-height:.58667rem}._joinContainer_cir06_37{padding:.58667rem .37333rem}._joinText_cir06_40{font-size:.37333rem;color:#999;border-radius:.26667rem;border:.02667rem solid #dedede}._fansSection_x9kaa_1{width:8rem;background:#ffffff;border-radius:.26667rem}._fansSection_x9kaa_1 ._fansBg_x9kaa_6{height:3.01333rem}._fansSection_x9kaa_1 ._noFans_x9kaa_9{padding:.58667rem 0 .8rem;font-size:.37333rem;color:#999;line-height:.53333rem;text-align:center}._fansSection_x9kaa_1 ._fansList_x9kaa_16{padding:.53333rem .4rem 0;max-height:40vh;overflow-x:hidden;overflow-y:auto}._fansGroup_x9kaa_22{padding:0 0 .53333rem!important;display:flex;align-items:center}._fansGroup_x9kaa_22 .van-cell__title{flex:1 auto}._fansGroup_x9kaa_22 .van-cell__value{flex:1 auto;flex-shrink:0}._fansGroup_x9kaa_22 .van-button{--van-button-small-height: .69333rem;min-width:1.81333rem}._fansGroup_x9kaa_22 .van-button--disabled{opacity:1;background:#F4F5F6;color:#aaa;border-color:#f4f5f6}._fansGroup_x9kaa_22 p{font-size:.37333rem;color:#999;line-height:.53333rem;width:4.26667rem}._fansImage_x9kaa_50{width:1.12rem;height:1.12rem;border-radius:50%;overflow:hidden;flex-shrink:0}._fansTitle_x9kaa_57{font-size:.42667rem;color:#1a1a1a;line-height:.58667rem}._fansTitle_x9kaa_57 ._title_x9kaa_62{max-width:3.46667rem;padding-left:.32rem}._fansTitle_x9kaa_57 ._introduce_x9kaa_66{padding-left:.32rem;width:3.73333rem}\n',document.head.appendChild(s),System.register(["./vip_default-legacy.86f429a8.js","./icon_video-legacy.31c6241e.js","./ResizeObserver.es-legacy.8d60aee1.js","./index-legacy.87bcd48f.js","./index-legacy.6a5df59c.js","./index-legacy.7e047c4c.js","./index-legacy.183eabe8.js","./index-legacy.87c4de0d.js","./index-legacy.fb4c992e.js","./index-legacy.610f0a70.js","./index-legacy.fd89cccf.js","./index-legacy.595f3a0f.js","./index-legacy.a85d660d.js","./orderStatus-legacy.e7da1c46.js","./tradeOrder-legacy.5003e5e4.js","./index-legacy.c07bb851.js","./index-legacy.4a75d877.js","./index-legacy.bbc2b10e.js","./index-legacy.58a98508.js","./icon_teacher-legacy.42ba77b1.js","./hooks-legacy.f81762aa.js","./index-legacy.78ce4f6b.js","./index-legacy.096e9cc4.js","./use-id-legacy.54528695.js","./use-tab-status-legacy.1f35f332.js","./use-refs-legacy.82f31dee.js","./index-legacy.e25b6312.js","./index-legacy.f6b95915.js","./utils-legacy.52f341ca.js","./index-legacy.97f6ac87.js","./index-legacy.897f3849.js","./select-tag-legacy.60962399.js","./index-legacy.5e551733.js","./index-legacy.4e5c868b.js","./index-legacy.6e10cd37.js","./index-legacy.af745e4d.js","./music-legacy.33d8b690.js","./select-subject-legacy.71ec8501.js","./index-legacy.c6de691c.js","./icon_uploader-legacy.6fd22d7f.js","./icon-xin-legacy.4bf69856.js","./icon_album-legacy.06fe8c1c.js","./icon_album_active-legacy.4391adb4.js","./icon_exquisite-legacy.24bc10bb.js","./icon_music_active-legacy.51780227.js","./icon-play-legacy.50b88257.js","./index-legacy.4f8bc5f4.js"],(function(e){"use strict";var r,a,i,s,c,u,l,_,d,m,f,g,p,h,b,v,y,I,x,j,S,w,k,T,C,P,L,N,z,D,F,R,O,M,E,V,H,A,G,Y,B,U,$,q,W,J,K,Q,X,Z,ee,te,re,ne,ae,ie,oe,se,ce,ue,le,_e,de,me,fe,ge,pe,he,be,ve,ye,Ie,xe,je,Se;return{setters:[function(e){r=e.i,a=e.a,i=e.b,s=e._,c=e.c,u=e.d,l=e.e,_=e.f,d=e.g,m=e.h,f=e.j,g=e.k,p=e.l,h=e.m,b=e.n,v=e.o,y=e.p,I=e.q,x=e.r,j=e.s,S=e.t,w=e.u,k=e.v,T=e.w,C=e.x,P=e.y,L=e.z,N=e.A,z=e.B,D=e.C,F=e.D,R=e.E,O=e.F},function(e){M=e._},function(e){E=e.d,V=e.U,H=e.V,A=e.j,G=e.N,Y=e.w,B=e.y,U=e.g,$=e.bd,q=e.T,W=e.D,J=e.F,K=e.A,Q=e.aS,X=e.B,Z=e.C,ee=e.$,te=e.n,re=e.Y,ne=e.i,ae=e.b5},function(e){ie=e.C},function(){},function(){},function(e){oe=e.T,se=e.a},function(e){ce=e.C},function(e){ue=e.A},function(e){le=e.C},function(e){_e=e.C},function(e){de=e.S},function(e){me=e.T},function(e){fe=e.o},function(e){ge=e.t},function(e){pe=e.L},function(e){he=e.I},function(e){be=e.a,ve=e.b},function(e){ye=e.R},function(e){Ie=e.i},function(e){xe=e.u},function(e){je=e.F},function(e){Se=e.default},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){}],execute:function(){var we="_teacher-record_6z94a_1",ke="_bgImg_6z94a_33",Te="_bg_6z94a_33",Ce="_teacherHeader_6z94a_51",Pe="_singleSection_6z94a_55",Le="_btnType_6z94a_60",Ne="_btn2_6z94a_63",ze="_btn1_6z94a_64",De="_singleContent_6z94a_89",Fe="_fansPopup_6z94a_99",Re="_tipSection_1i68p_1",Oe="_practice_1i68p_7",Me="_group_1i68p_11",Ee="_price_1i68p_23",Ve="_rTag_1i68p_40",He="_tag_1i68p_43",Ae="_selectPopup_1i68p_47",Ge="_selectContainer_1i68p_52",Ye="_rTitle_1i68p_55",Be="_selectPopupContent_1i68p_58",Ue="_desc_1i68p_61",$e="_times_1i68p_62",qe="_selectBtn_1i68p_73",We="_btn_1i68p_78",Je="_arrangeCell_1i68p_101",Ke="_fixedBtn_1i68p_107",Qe="_tipSection_19emr_1",Xe="_iconCross_19emr_7",Ze="_tipTitle_19emr_15",et="_tipContent_19emr_28",tt="_tipFooter_19emr_35",rt=E({name:"tips",props:{title:{type:String,default:""},content:{type:String,default:""},type:{type:String,default:""},btnTxt:{type:String,default:"不再提醒"}},emits:["close","confirm"],setup:function(e,t){var n=t.emit,a=V(!0);console.log(e.type,"1212");return H((function(){var t,r;a.value=(t=localStorage.getItem("teacher_home_local"),r=t?JSON.parse(t):{},console.log(r[e.type]),!r[e.type])})),function(){return a.value?A("div",{class:Qe},[A(G,{class:Xe,onClick:function(){n("close"),a.value=!1},name:"cross"},null),A("div",{class:Ze},[A("img",{src:r},null),e.title]),A("div",{class:et},[e.content]),A("div",{class:tt,onClick:function(){var t,r;n("confirm"),t=localStorage.getItem("teacher_home_local"),(r=t?JSON.parse(t):{})[e.type]=1,localStorage.setItem("teacher_home_local",JSON.stringify(r)),a.value=!1}},[e.btnTxt])]):""}}}),nt=E({name:"practice",props:{userInfo:{type:Object,default:{}}},data:function(){var e=this.$route.query;return{teacherId:e.teacherId,subjectId:e.subjectId,teacherSubjectList:[],subjectStatus:!1,subjectInfo:{subjectPrice:0,courseMinutes:0,freeMinutes:0,id:null,subjectName:"",subjectId:0},courseNum:4,calendarStatus:!1,calendarList:[],selectCourseList:[],coursePlanStatus:!1,selectStatus:!1,coursePlanList:[],calendarDate:Y().add(1,"day").toDate(),settingStatus:!0,loadDataStatus:!0}},mounted:function(){var e=this;return o(regeneratorRuntime.mark((function t(){var r,n,a,i,o,s,c,u,l,_,d,m,f;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,e.loadDataStatus=!0,t.next=4,B.get("/api-student/courseSchedule/getTeacherSubjectPrice",{params:{teacherId:e.teacherId,groupType:"PRACTICE"}});case 4:if(r=t.sent,!((n=r.data||[]).length>0)){t.next=23;break}return i=e.subjectId||(null===(a=U.user.data)||void 0===a?void 0:a.subjectId),o=n.find((function(e){return e.subjectId===Number(i)})),s=o||n[0],c=s.subjectName,u=s.subjectPrice,l=s.courseMinutes,_=s.subjectId,d=s.id,m=s.freeMinutes,e.subjectInfo={subjectPrice:u,id:d,freeMinutes:m,courseMinutes:l,subjectName:c,subjectId:_},n.forEach((function(e){e.name=e.subjectName})),e.teacherSubjectList=n,e.getList(),e.onBuy(!0),e.settingStatus=!0,t.next=19,B.post("/api-teacher/open/appVersion",{data:{platform:"STUDENT"===U.platformType?"ios-student":"ios-teacher",version:U.version}});case 19:f=t.sent,e.settingStatus=!f.data.check,t.next=24;break;case 23:e.settingStatus=!1;case 24:e.loadDataStatus=!1,t.next=30;break;case 27:t.prev=27,t.t0=t.catch(0),e.loadDataStatus=!1;case 30:case"end":return t.stop()}}),t,null,[[0,27]])})))()},computed:{showSelectList:function(){var e=n(this.selectCourseList);return e.forEach((function(e){e.title=Y(e.startTime).format("YYYY-MM-DD")+" "+$(Y(e.startTime).day())+" "+e.start+"~"+e.end})),e},selectType:function(){return this.selectCourseList.length<this.courseNum?"noEnough":"enough"}},methods:{onSubmit:function(){var e=this;return o(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!(e.selectCourseList.length<=0)){t.next=3;break}return q("请选择课程时间"),t.abrupt("return");case 3:if(!(e.selectCourseList.length<e.courseNum)){t.next=6;break}return e.selectStatus=!0,t.abrupt("return");case 6:return t.next=8,e._lookCourse();case 8:case"end":return t.stop()}}),t)})))()},getList:function(e){var r=this;return o(regeneratorRuntime.mark((function n(){var a,i,o,s,c,u;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.prev=0,i=e||Y().add(1,"day").toDate(),o={day:Y(i).format("DD"),month:Y(i).format("MM"),year:Y(i).format("YYYY")},n.next=5,B.post("/api-student/courseSchedule/createPracticeCourseCalendar",{data:t(t({},o),{},{teacherSubjectPriceId:r.subjectInfo.id,studentId:null===(a=U.user.data)||void 0===a?void 0:a.userId,teacherId:r.teacherId})});case 5:s=n.sent,c=s.data||[],u={},c.forEach((function(e){u[e.date]=e})),r.calendarList=u,r.calendarStatus=c.length>0,n.next=15;break;case 13:n.prev=13,n.t0=n.catch(0);case 15:case"end":return n.stop()}}),n,null,[[0,13]])})))()},onSelectDay:function(e){var r=e||[],a=n(this.selectCourseList);r.forEach((function(e){!a.some((function(t){return t.startTime===e.startTime}))&&a.push(t({},e))}));var i=[];a.forEach((function(e){r.some((function(t){return t.startTime===e.startTime}))&&i.push(e)})),i.sort((function(e,t){return e.startTime>t.startTime?1:e.startTime<t.startTime?-1:0})),console.log(i,"list"),this.selectCourseList=[].concat(i)},onCloseTag:function(e){var t=this;W.confirm({title:"提示",message:"您是否要删除该选择的课程?",confirmButtonColor:"var(--van-primary)"}).then((function(){var r=t.selectCourseList.findIndex((function(t){return t.startTime===e.startTime}));t.selectCourseList.splice(r,1)}))},_lookCourse:function(e){var r=this;return o(regeneratorRuntime.mark((function n(){var a,i,o;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.prev=0,a=[],r.selectCourseList.forEach((function(e){a.push({startTime:e.startTime,endTime:e.endTime})})),n.next=5,B.post("/api-student/courseGroup/lockCourseToCache",{data:{courseFreeMinutes:r.subjectInfo.freeMinutes,courseNum:r.courseNum,courseType:"PRACTICE",loop:"noEnough"===r.selectType?1:0,teacherId:r.teacherId,timeList:[].concat(a)}});case 5:i=n.sent,(i.data||[]).forEach((function(e,n){r.coursePlanList[n]=t(t({},r.coursePlanList[n]),{},{startTime:e.startTime,endTime:e.endTime,classNum:n+1})})),r.coursePlanStatus=!0,r.selectStatus=!0,e&&e(),n.next=17;break;case 13:n.prev=13,n.t0=n.catch(0),o=n.t0.message,W.alert({title:"提示",confirmButtonColor:"var(--van-primary)",message:o}).then((function(){r.getList(r.calendarDate||new Date),r.selectCourseList=[],r.selectStatus=!1}));case 17:case"end":return n.stop()}}),n,null,[[0,13]])})))()},onReset:function(){var e=this;return o(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e.coursePlanStatus||"enough"===e.selectType?(e.selectStatus=!1,setTimeout((function(){e.coursePlanList=[]}),500)):"noEnough"===e.selectType&&(e.selectStatus=!1),setTimeout((function(){e.coursePlanStatus=!1}),500);case 2:case"end":return t.stop()}}),t)})))()},onSure:function(){var e=this;return o(regeneratorRuntime.mark((function t(){var r;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=e.coursePlanStatus,t.next=3,e._lookCourse((function(){r&&(e.selectStatus=!1,e.onBuy())}));case 3:case"end":return t.stop()}}),t)})))()},onBuy:function(e){var t=this;return o(regeneratorRuntime.mark((function r(){var a,i,s,c;return regeneratorRuntime.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,B.post("/api-student/userOrder/getPendingOrder",{data:{goodType:"PRACTICE",bizId:t.teacherId}});case 3:a=r.sent,i=t.subjectInfo,(s=n(t.coursePlanList)).forEach((function(e){e.classDate=Y(e.startTime).format("YYYY-MM-DD"),e.title="".concat(Y(e.startTime).format("YYYY-MM-DD")," ").concat($(Y(e.startTime).day())," ").concat(Y(e.startTime).format("HH:mm"),"~").concat(Y(e.endTime).format("HH:mm"))})),fe.orderObject.orderType="PRACTICE",fe.orderObject.orderName=i.subjectName+"趣纠课",fe.orderObject.orderDesc=i.subjectName+"趣纠课",fe.orderObject.actualPrice=Number((t.courseNum*i.subjectPrice).toFixed(2)),fe.orderObject.orderNo="",fe.orderObject.orderList=[{orderType:"PRACTICE",goodsName:i.subjectName+"趣纠课",courseGroupName:i.subjectName+"趣纠课",courseIntroduce:i.subjectName+"趣纠课",subjectId:i.subjectId,singleCourseMinutes:i.courseMinutes,teacherSubjectPriceId:i.id,courseNum:t.courseNum,coursePrice:(t.courseNum*i.subjectPrice).toFixed(2),price:(t.courseNum*i.subjectPrice).toFixed(2),teacherName:t.userInfo.username||"游客".concat(t.userInfo.userId||""),teacherId:t.userInfo.userId,starGrade:t.userInfo.starGrade,avatar:t.userInfo.heardUrl,classTime:s}],(c=a.data)?W.confirm({title:"提示",message:"您有一个未支付的订单,是否继续支付?",confirmButtonColor:"#269a93",cancelButtonText:"取消订单",confirmButtonText:"继续支付"}).then(o(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:ge(c,t.routerTo);case 1:case"end":return e.stop()}}),e)})))).catch((function(){W.close(),t.cancelPayment(c.orderNo)})):!e&&t.routerTo(),r.next=19;break;case 17:r.prev=17,r.t0=r.catch(0);case 19:case"end":return r.stop()}}),r,null,[[0,17]])})))()},routerTo:function(){this.$router.push({path:"/orderDetail",query:{orderType:"PRACTICE"}})},cancelPayment:function(e){return o(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,B.post("/api-student/userOrder/orderCancel",{data:{orderNo:e}});case 3:t.next=7;break;case 5:t.prev=5,t.t0=t.catch(0);case 7:case"end":return t.stop()}}),t,null,[[0,5]])})))()}},render:function(){var e=this;return A(J,null,[A("div",{class:Re},[A(rt,{type:"PRACTICE",title:"什么是趣纠课?",content:"趣纠课以一对一专属、高度针对性的形式进行,每次课程时长为25分钟。本课程专为解决学生日常练习中的疑问与误区设计,尤其适合那些在自我练习后感到困惑或不确定自己方法是否正确的学生。不同于传统的教学模式,趣纠课不侧重于新知识或新技能的传授,而是全心全意致力于检查学生现有的练习成果,并及时纠正其中出现的问题。这种方式不仅有助于学生巩固已掌握的知识和技能,还能有效防止错误习惯的形成和发展,为他们今后的学习打下更加坚实的基础。"},null)]),!this.loadDataStatus&&(this.settingStatus?A(J,null,[A("div",{class:Oe},[A(_e,{class:Me,border:!1},{default:function(){return[A(le,{title:"选择专业",isLink:!0,value:e.subjectInfo.subjectName,onClick:function(){return e.subjectStatus=!0}},null),e.subjectInfo.subjectPrice>0&&A(le,{title:"趣纠课收费"},{default:function(){return A("div",{class:Ee},[A("span",null,[K("¥"),e.$filters.moneyFormat(e.subjectInfo.subjectPrice)]),K("/"),e.subjectInfo.courseMinutes,K("分钟")])}}),A(le,{title:"课时数"},{default:function(){return A(de,{modelValue:e.courseNum,"onUpdate:modelValue":function(t){return e.courseNum=t},theme:"round",max:12,min:4,buttonSize:22,onChange:function(){e.selectCourseList=[]}},null)}})]}}),this.calendarStatus&&A("div",{class:Me},[A(ce,{selectList:this.selectCourseList,list:this.calendarList,maxDays:this.courseNum,nextMonth:function(t){return e.getList(t)},prevMonth:function(t){return e.getList(t)},selectDay:this.onSelectDay,calendarDate:this.calendarDate,"onUpdate:calendarDate":function(t){return e.calendarDate=t}},null)]),this.showSelectList.length>0&&A(le,{class:[Je]},{title:function(){return A("div",{class:Ye},[A("span",null,[K("已选择课程时间")])])},label:function(){return A("div",{class:Ve},[e.showSelectList.map((function(t){return A(J,null,[A(me,{plain:!0,round:!0,closeable:!0,size:"large",type:"primary",class:He,onClose:function(){return e.onCloseTag(t)}},{default:function(){return[t.title]}}),A("br",null,null)])}))])}}),A(Q,{show:this.selectStatus,class:Ae},{default:function(){return[A("div",{class:Ge},[A("div",{class:Ye},[A("span",null,[K("提示")])]),A("div",{class:Be},[A("p",{class:Ue},["noEnough"!==e.selectType||e.coursePlanStatus?"您已选择以下上课时间段,时间段会暂时锁定,锁定期间学员不可购买该时间段课程。":"您所选择的上课时间未达到您输入的课时数,系统根据已选时间将自动按周顺延排课。"]),e.coursePlanList&&e.coursePlanList.length>0&&e.coursePlanStatus&&A("p",{class:$e},[e.coursePlanList.map((function(e){return A("span",null,[Y(e.startTime||new Date).format("YYYY-MM-DD")," ",Y(e.startTime||new Date).format("HH:mm"),K("~"),Y(e.endTime||new Date).format("HH:mm")])}))])]),A("div",{class:qe},[A(X,{class:We,type:"primary",round:!0,block:!0,plain:!0,onClick:e.onReset},{default:function(){return["noEnough"===e.selectType?"继续选择":"重新选择"]}}),A(X,{class:We,type:"primary",round:!0,block:!0,onClick:e.onSure},{default:function(){return[K("确认")]}})])])]}}),A(ue,{show:this.subjectStatus,actions:this.teacherSubjectList,cancelText:"取消",closeOnClickAction:!0,onCancel:function(){return e.subjectStatus=!1},onSelect:function(t){var r=t.subjectName,n=t.subjectPrice,a=t.courseMinutes,i=t.id,o=t.subjectId,s=t.freeMinutes;e.subjectInfo={subjectPrice:n,id:i,freeMinutes:s,courseMinutes:a,subjectName:r,subjectId:o},e.subjectStatus=!1}},null)]),A("div",{class:["btnGroup",Ke],style:{background:"#fff",paddingTop:"10px"}},[A(X,{block:!0,round:!0,type:"primary",onClick:this.onSubmit},{default:function(){return[K("确认约课")]}})])]):A(Z,{btnStatus:!1,classImgSize:"SMALL",tips:"老师暂未开放趣纠课"},null))])}}),at="_liveList_15t4o_1",it="_liCover_15t4o_4",ot="_liContent_15t4o_9",st="_liTitle_15t4o_15",ct="_users_15t4o_21",ut="_lean_15t4o_42",lt="_num_15t4o_48",_t="_price_15t4o_52",dt="_priceNum_15t4o_56",mt="_label_15t4o_65",ft="_liveGroup_15t4o_70",gt="_liveTop_15t4o_77",pt="_iconLive_15t4o_81",ht="_liveCenter_15t4o_92",bt="_subjectName_15t4o_96",vt="_tips_15t4o_113";var yt=E({name:"live",data:function(){return{list:[],dataShow:!0,loading:!1,finished:!1,params:{teacherId:this.$route.query.teacherId,groupStatus:"APPLY",page:1,rows:20}}},mounted:function(){this.getList()},methods:{formatTime:function(e){var t=Y(e||new Date);return t.format("YYYY-MM-DD")+"(".concat(["周日","周一","周二","周三","周四","周五","周六"][t.day()],")")},getList:function(){var e=this;return o(regeneratorRuntime.mark((function r(){var n,a,i;return regeneratorRuntime.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,n=t({},e.params),U.version&&(n.version=U.version||"",n.platform="ios-student"),r.next=5,B.post("/api-student/courseGroup/queryPageCourseGroup",{data:t({},n)});case 5:if(a=r.sent,e.loading=!1,i=a.data||{},!(e.list.length>0&&1===i.pageNo)){r.next=10;break}return r.abrupt("return");case 10:e.list=e.list.concat(i.rows||[]),e.finished=i.pageNo>=i.totalPage,e.params.page=i.pageNo+1,e.dataShow=e.list.length>0,r.next=20;break;case 16:r.prev=16,r.t0=r.catch(0),e.dataShow=!1,e.finished=!0;case 20:case"end":return r.stop()}}),r,null,[[0,16]])})))()},onDetail:function(e){this.$router.push({path:"/liveDetail",query:{groupId:e.courseGroupId}})}},render:function(){var e,t,r=this;return A(J,null,[A(rt,{type:"LIVE",class:vt,title:"什么是直播课?",content:"直播课是现代教育领域中一种广受欢迎的课程形式,它集实时互动、多媒体展示和高度便利性于一体,为学习者带来了独特且丰富的学习体验。特别是在管乐直播课中,教师可以通过播放经典音乐作品,加深学生对音乐之美的感知与理解。对于那些需要具体操作演示的教学内容,直播课能够提供清晰直观的视角,让教师的每一个动作细节都展现在学生面前,确保学习效果。直播课程的内容围绕特定主题精心设计,旨在满足不同学习者的需求,促进知识与技能的有效传递。"},null),this.dataShow?A(pe,{class:at,loading:this.loading,"onUpdate:loading":function(e){return r.loading=e},immediateCheck:!1,finished:this.finished,finishedText:"没有更多了"},(t=e=this.list.map((function(e){return A(_e,{class:ft,border:!1,onClick:function(){return r.onDetail(e)}},{default:function(){return[A("div",{class:gt},[A("img",{src:a,class:pt},null),A("span",null,[K("开课时间: "),r.formatTime(e.salesStartDate),K(" ")])]),A("div",{class:ht},[A(he,{class:it,src:e.backgroundPic,fit:"cover"},null),A("span",{class:bt},[null==e?void 0:e.subjectName])]),A("div",{class:ot},[A("div",{class:[st,"van-ellipsis"]},[e.courseGroupName]),A("div",{class:ct},[A("div",{class:ut},[A("span",{class:lt},[e.studentCount,K("人学习")])]),A("div",{class:_t},[e.coursePrice>0&&A(J,null,[A("span",{class:dt},[A("i",null,[K("¥")]),r.$filters.moneyFormat(e.coursePrice)])]),A("span",{class:mt},[e.coursePrice>0&&"/",e.courseNum,K("课时")])])])])]}})})),"function"==typeof t||"[object Object]"===Object.prototype.toString.call(t)&&!ee(t)?e:{default:function(){return[e]}})):A(Z,{btnStatus:!1,classImgSize:"SMALL",tips:"暂无直播课"},null)])}}),It="_videoItem_1h9f5_1",xt="_viCover_1h9f5_11",jt="_viSection_1h9f5_18",St="_viTitle_1h9f5_22",wt="_viUserNum_1h9f5_29",kt="_viPrice_1h9f5_37",Tt="_priceNum_1h9f5_44",Ct="_tags_1h9f5_53",Pt="_label_1h9f5_56",Lt="_subjectName_1h9f5_66",Nt=E({name:"VideoItem",props:{item:Object,onClick:{type:Function,default:function(e){}}},render:function(){var e=this,t=this.item;return A("div",{class:It,onClick:function(){e.onClick(t)}},[A("div",{style:{position:"relative",flexShrink:0}},[A(he,{class:xt,fit:"cover",src:null==t?void 0:t.lessonCoverUrl},null),A("span",{class:Lt},[null==t?void 0:t.lessonSubjectName])]),A("div",{class:jt},[A("div",{class:[St,"van-ellipsis"]},[null==t?void 0:t.lessonName]),A("div",{class:Ct},[(null==t?void 0:t.musicNum)>0?A("span",{class:Pt},[null==t?void 0:t.musicNum,K("首曲目")]):"",(null==t?void 0:t.lessonCount)>0?A("span",{class:Pt},[null==t?void 0:t.lessonCount,K("课时")]):""]),A("div",{class:kt},[A("div",{class:wt},[null==t?void 0:t.countStudent,K("人学习")]),A("span",{class:Tt},["VIP"===t.payType?A("span",{style:{color:"#C76E21"}},[K("会员")]):A(J,null,[(null==t?void 0:t.lessonPrice)>0&&A(J,null,[A("i",null,[K("¥")]),null==t?void 0:t.lessonPrice]),(null==t?void 0:t.lessonPrice)<=0&&0!==t.auditVersion&&A(J,null,[A("i",null,[K("¥")]),K("0")]),(null==t?void 0:t.lessonPrice)<=0&&0===t.auditVersion&&A("span",{style:{color:"#20BEA0"}},[K("免费")])])])])])])}}),zt="_videoList_15ff1_1",Dt="_tips_15ff1_12";var Ft=E({name:"VideoList",data:function(){return{list:[],dataShow:!0,loading:!1,finished:!1,params:{teacherId:this.$route.query.teacherId,page:1,rows:20}}},mounted:function(){this.getList()},methods:{getList:function(){var e=this;return o(regeneratorRuntime.mark((function r(){var n,a,i;return regeneratorRuntime.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,n=t({},e.params),U.version&&(n.version=U.version||"",n.platform="ios-student"),r.next=5,B.post("/api-student/videoLesson/selectGroup",{data:t({},n)});case 5:if(a=r.sent,e.loading=!1,i=a.data||{},!(e.list.length>0&&1===i.pageNo)){r.next=10;break}return r.abrupt("return");case 10:e.list=e.list.concat(i.rows||[]),e.finished=i.pageNo>=i.totalPage,e.params.page=i.pageNo+1,e.dataShow=e.list.length>0,r.next=20;break;case 16:r.prev=16,r.t0=r.catch(0),e.dataShow=!1,e.finished=!0;case 20:case"end":return r.stop()}}),r,null,[[0,16]])})))()},onDetail:function(e){this.$router.push({path:"/videoDetail",query:{groupId:e.id}})}},render:function(){var e,t,r=this;return A(J,null,[A(rt,{type:"VIDEO",class:Dt,title:"什么是视频课?",content:"视频课是由教师事先精心准备并录制的课程内容。教师依据教学大纲和目标,系统规划每一节视频的主题与内容,确保教学的连贯性和完整性。在录制过程中,采用专业设备如高清摄像机和录屏软件,保障视频画质清晰、音频质量优良。视频课为学生提供了极大的学习灵活性,他们可以依据个人的时间安排自由选择学习时间,不受地点限制。特别适用于系统化学习体系的内容,视频课能够帮助学生按部就班地掌握知识,实现自主高效学习。"},null),this.dataShow?A(pe,{class:zt,loading:this.loading,"onUpdate:loading":function(e){return r.loading=e},finished:this.finished,immediateCheck:!1,finishedText:"没有更多了",onLoad:this.getList},(t=e=this.list.map((function(e){return A(Nt,{item:e,onClick:r.onDetail},null)})),"function"==typeof t||"[object Object]"===Object.prototype.toString.call(t)&&!ee(t)?e:{default:function(){return[e]}})):A(Z,{btnStatus:!1,classImgSize:"SMALL",tips:"暂无视频课"},null)])}}),Rt={headerContent:"_headerContent_gt9yb_1",teacherContent:"_teacherContent_gt9yb_5",teacherUs:"_teacherUs_gt9yb_10",teacherIcon:"_teacherIcon_gt9yb_14",avatar:"_avatar_gt9yb_18",avatarActive:"_avatarActive_gt9yb_26",teacherIconVip:"_teacherIconVip_gt9yb_30",teacherInfo:"_teacherInfo_gt9yb_37",teacherInfoName:"_teacherInfoName_gt9yb_42",teacherHonor:"_teacherHonor_gt9yb_56",score:"_score_gt9yb_65",headerCount:"_headerCount_gt9yb_68",teacherOperation:"_teacherOperation_gt9yb_75",btn:"_btn_gt9yb_88",btnStar:"_btnStar_gt9yb_100",subjectSection:"_subjectSection_gt9yb_104","teacher-bottom":"_teacher-bottom_gt9yb_109",iconCert:"_iconCert_gt9yb_114",followFans:"_followFans_gt9yb_118","teacher-data":"_teacher-data_gt9yb_121","teacher-data_item":"_teacher-data_item_gt9yb_126",iconVip:"_iconVip_gt9yb_157",iconOther:"_iconOther_gt9yb_161","teacher-info":"_teacher-info_gt9yb_166","teacher-name":"_teacher-name_gt9yb_169",teacherCert:"_teacherCert_gt9yb_177",teacherLast:"_teacherLast_gt9yb_181",subjectList:"_subjectList_gt9yb_188",piNameSubject:"_piNameSubject_gt9yb_199",subject:"_subject_gt9yb_104",rTitle:"_rTitle_gt9yb_219",liveTag:"_liveTag_gt9yb_232",teacherName:"_teacherName_gt9yb_240",teacherIcons:"_teacherIcons_gt9yb_248",teaherPopup:"_teaherPopup_gt9yb_252",teacherIconWrap:"_teacherIconWrap_gt9yb_257",teacherIconItem:"_teacherIconItem_gt9yb_263",teacherIconItemTop:"_teacherIconItemTop_gt9yb_266",teacherIconTitle:"_teacherIconTitle_gt9yb_276",teacherIconDes:"_teacherIconDes_gt9yb_281",closeIcon:"_closeIcon_gt9yb_288",liveList:"_liveList_gt9yb_296",headerFollow:"_headerFollow_gt9yb_299",unlinkeBtn:"_unlinkeBtn_gt9yb_333",followContainer:"_followContainer_gt9yb_340"},Ot=function(e){var t="../images/".concat(e);return{"../images/cert_active.png":s,"../images/cert_default.png":c,"../images/follow_bg.png":u,"../images/head_bg.png":l,"../images/icon-add-star.png":_,"../images/icon-add.png":d,"../images/icon-cert.png":m,"../images/icon-chat.png":f,"../images/icon-close.png":g,"../images/icon-live.png":p,"../images/icon-message.png":h,"../images/icon-small-live.png":b,"../images/icon1.png":v,"../images/icon2.png":y,"../images/icon3.png":I,"../images/icon_fans.png":x,"../images/icon_subject.png":j,"../images/icon_subject1.png":S,"../images/icon_video.png":M,"../images/live_active.png":w,"../images/live_bg.png":k,"../images/live_default.png":T,"../images/music_active.png":C,"../images/music_default.png":P,"../images/svip_active.png":L,"../images/teacher-icon.png":N,"../images/video_active.png":z,"../images/video_default.png":D,"../images/vip_active.png":F,"../images/vip_default.png":R}[t].default},Mt=E({name:"teacher-header",props:{userInfo:{type:Object,default:function(){return{}}},teacherId:{type:String||Number,default:""}},emits:["star"],data:function(){return{iconShow:!1}},computed:{subjectNameList:function(){var e=this.userInfo.subjectName;return e?e.split(","):[]},starGrade:function(){var e=this.userInfo.starGrade;return Number(e)||0}},methods:{onStart:function(){var e=this;return o(regeneratorRuntime.mark((function t(){var r,n;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,r=e.userInfo.isStar?0:1,t.next=4,B.get("/api-student/teacher/starOrUnStar",{params:{userId:e.teacherId,starStatus:r}});case 4:n=r?e.userInfo.fansNum+1:e.userInfo.fansNum-1,e.$emit("star",{isStar:r,fansNum:n<=0?0:n}),t.next=10;break;case 8:t.prev=8,t.t0=t.catch(0);case 10:case"end":return t.stop()}}),t,null,[[0,8]])})))()},checkBadge:function(e){var t,r,n,a=!1,i=this.userInfo;switch(e){case"STYLE":case"VIDEO":case"LIVE":case"MUSIC":i.tag&&(a=i.tag.indexOf(e)>-1);break;case"VIP":a="VIP"===(null===(t=i.userVip)||void 0===t?void 0:t.vipType);break;case"SVIP":a="SVIP"===(null===(r=i.userVip)||void 0===r?void 0:r.vipType)||"PERMANENT_SVIP"===(null===(n=i.userVip)||void 0===n?void 0:n.vipType);break;default:a=!1}return a},openTeacherIcon:function(){this.iconShow=!0}},render:function(){var e=this;return A(J,null,[A("div",{class:Rt.headerContent},[A("div",{class:Rt.headerCount},[A("div",{class:Rt.teacherContent},[A("div",{class:Rt.teacherIcon,onClick:function(){1===e.userInfo.liveing&&te({api:"joinLiveRoom",content:{roomId:e.userInfo.roomUid,teacherId:e.userInfo.userId}})}},[A(he,{class:[Rt.avatar,(this.checkBadge("SVIP")||this.checkBadge("VIP"))&&Rt.avatarActive],round:!0,src:this.userInfo.heardUrl||Ie,fit:"cover"},null),1===this.userInfo.liveing&&A("img",{src:i,class:Rt.liveTag},null),(this.checkBadge("SVIP")||this.checkBadge("VIP"))&&A(he,{class:Rt.teacherIconVip,src:this.checkBadge("SVIP")?Ot("svip_active.png"):this.checkBadge("VIP")?Ot("vip_active.png"):""},null)]),A("div",{class:Rt.teacherUs},[A("div",{class:Rt.teacherInfo},[A("div",{class:Rt.teacherInfoName},[this.userInfo.username||"游客".concat(this.userInfo.userId||"")]),A("div",{class:Rt.teacherHonor},[A("div",{class:Rt.level},[this.starGrade?A(ye,{readonly:!0,modelValue:this.starGrade,iconPrefix:"iconfont",color:"#FFC459","void-icon":"star_default",icon:"star_active",size:15},null):""])])]),A("div",{class:Rt["teacher-bottom"]},[A("img",{src:Ot("icon-cert.png"),class:Rt.iconCert},null),A("div",{class:Rt["teacher-data"]},[A("div",{class:Rt["teacher-data_item"]},[K("粉丝 "),A("span",null,[this.userInfo.fansNum||0])]),A("div",{class:Rt["teacher-data_item"]},[K("已上课时 "),A("span",null,[this.userInfo.expTime||0])])])])])]),A("div",{class:Rt.piNameSubject},[A(he,{class:Rt.subjectSection,src:Ot("icon_subject1.png"),fit:"contain"},null),A("div",{class:Rt.subjectList},[this.subjectNameList.map((function(e){return A("span",{class:Rt.subject},[e])}))])]),A("div",{class:Rt.teacherOperation},[A(X,{type:"primary",size:"small",class:[Rt.btn,!this.userInfo.isStar&&Rt.btnStar],onClick:this.onStart},{default:function(){return[e.userInfo.isStar?A("img",{src:Ot("icon-add-star.png")},null):A("img",{src:Ot("icon-add.png")},null),e.userInfo.isStar?"已关注":"关注"]}}),A(X,{type:"primary",size:"small",class:Rt.btn,onClick:function(){te({api:"joinChatGroup",content:{type:"single",id:e.userInfo.imUserId}})}},{default:function(){return[A("img",{src:Ot("icon-message.png")},null),K("聊天")]}})])])])])}}),Et=E({name:"VIP_COURSE",props:{userInfo:{type:Object,default:{}}},data:function(){var e=this.$route.query;return{teacherId:e.teacherId,subjectId:e.subjectId,teacherSubjectList:[],subjectStatus:!1,subjectInfo:{freeMinutes:0,subjectPrice:0,courseMinutes:0,id:null,subjectName:"",subjectId:0},courseNum:4,calendarStatus:!1,calendarList:[],selectCourseList:[],coursePlanStatus:!1,selectStatus:!1,coursePlanList:[],calendarDate:Y().add(1,"day").toDate(),settingStatus:!0,loadDataStatus:!0}},mounted:function(){var e=this;return o(regeneratorRuntime.mark((function t(){var r,n,a,i,o,s,c,u,l,_,d,m,f;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,e.loadDataStatus=!0,t.next=4,B.get("/api-student/courseSchedule/getTeacherSubjectPrice",{params:{teacherId:e.teacherId,groupType:"VIP"}});case 4:if(r=t.sent,!((n=r.data||[]).length>0)){t.next=23;break}return i=e.subjectId||(null===(a=U.user.data)||void 0===a?void 0:a.subjectId),o=n.find((function(e){return e.subjectId===Number(i)})),s=o||n[0],c=s.subjectName,u=s.subjectPrice,l=s.courseMinutes,_=s.subjectId,d=s.id,m=s.freeMinutes,e.subjectInfo={subjectPrice:u,freeMinutes:m,id:d,courseMinutes:l,subjectName:c,subjectId:_},n.forEach((function(e){e.name=e.subjectName})),e.teacherSubjectList=n,e.getList(),e.onBuy(!0),e.settingStatus=!0,t.next=19,B.post("/api-teacher/open/appVersion",{data:{platform:"STUDENT"===U.platformType?"ios-student":"ios-teacher",version:U.version}});case 19:f=t.sent,e.settingStatus=!f.data.check,t.next=24;break;case 23:e.settingStatus=!1;case 24:e.loadDataStatus=!1,t.next=30;break;case 27:t.prev=27,t.t0=t.catch(0),e.loadDataStatus=!1;case 30:case"end":return t.stop()}}),t,null,[[0,27]])})))()},computed:{showSelectList:function(){var e=n(this.selectCourseList);return e.forEach((function(e){e.title=Y(e.startTime).format("YYYY-MM-DD")+" "+$(Y(e.startTime).day())+" "+e.start+"~"+e.end})),e},selectType:function(){return this.selectCourseList.length<this.courseNum?"noEnough":"enough"}},methods:{onSubmit:function(){var e=this;return o(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(!(e.selectCourseList.length<=0)){t.next=3;break}return q("请选择课程时间"),t.abrupt("return");case 3:if(!(e.selectCourseList.length<e.courseNum)){t.next=6;break}return e.selectStatus=!0,t.abrupt("return");case 6:return t.next=8,e._lookCourse();case 8:case"end":return t.stop()}}),t)})))()},getList:function(e){var r=this;return o(regeneratorRuntime.mark((function n(){var a,i,o,s,c,u;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.prev=0,i=e||Y().add(1,"day").toDate(),o={day:Y(i).format("DD"),month:Y(i).format("MM"),year:Y(i).format("YYYY")},n.next=5,B.post("/api-student/courseSchedule/createPracticeCourseCalendar",{data:t(t({},o),{},{teacherSubjectPriceId:r.subjectInfo.id,studentId:null===(a=U.user.data)||void 0===a?void 0:a.userId,teacherId:r.teacherId})});case 5:s=n.sent,c=s.data||[],u={},c.forEach((function(e){u[e.date]=e})),r.calendarList=u,r.calendarStatus=c.length>0,n.next=15;break;case 13:n.prev=13,n.t0=n.catch(0);case 15:case"end":return n.stop()}}),n,null,[[0,13]])})))()},onSelectDay:function(e){var r=e||[],a=n(this.selectCourseList);r.forEach((function(e){!a.some((function(t){return t.startTime===e.startTime}))&&a.push(t({},e))}));var i=[];a.forEach((function(e){r.some((function(t){return t.startTime===e.startTime}))&&i.push(e)})),i.sort((function(e,t){return e.startTime>t.startTime?1:e.startTime<t.startTime?-1:0})),console.log(i,"list"),this.selectCourseList=[].concat(i)},onCloseTag:function(e){var t=this;W.confirm({title:"提示",message:"您是否要删除该选择的课程?",confirmButtonColor:"var(--van-primary)"}).then((function(){var r=t.selectCourseList.findIndex((function(t){return t.startTime===e.startTime}));t.selectCourseList.splice(r,1)}))},_lookCourse:function(e){var r=this;return o(regeneratorRuntime.mark((function n(){var a,i,o;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.prev=0,a=[],r.selectCourseList.forEach((function(e){a.push({startTime:e.startTime,endTime:e.endTime})})),n.next=5,B.post("/api-student/courseGroup/lockCourseToCache",{data:{courseFreeMinutes:r.subjectInfo.freeMinutes,courseNum:r.courseNum,courseType:"VIP",loop:"noEnough"===r.selectType?1:0,teacherId:r.teacherId,timeList:[].concat(a)}});case 5:i=n.sent,(i.data||[]).forEach((function(e,n){r.coursePlanList[n]=t(t({},r.coursePlanList[n]),{},{startTime:e.startTime,endTime:e.endTime,classNum:n+1})})),r.coursePlanStatus=!0,r.selectStatus=!0,e&&e(),n.next=17;break;case 13:n.prev=13,n.t0=n.catch(0),o=n.t0.message,W.alert({title:"提示",confirmButtonColor:"var(--van-primary)",message:o}).then((function(){r.getList(r.calendarDate||new Date),r.selectCourseList=[],r.selectStatus=!1}));case 17:case"end":return n.stop()}}),n,null,[[0,13]])})))()},onReset:function(){var e=this;return o(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:e.coursePlanStatus||"enough"===e.selectType?(e.selectStatus=!1,setTimeout((function(){e.coursePlanList=[]}),500)):"noEnough"===e.selectType&&(e.selectStatus=!1),setTimeout((function(){e.coursePlanStatus=!1}),500);case 2:case"end":return t.stop()}}),t)})))()},onSure:function(){var e=this;return o(regeneratorRuntime.mark((function t(){var r;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=e.coursePlanStatus,t.next=3,e._lookCourse((function(){r&&(e.selectStatus=!1,e.onBuy())}));case 3:case"end":return t.stop()}}),t)})))()},onBuy:function(e){var t=this;return o(regeneratorRuntime.mark((function r(){var a,i,s,c;return regeneratorRuntime.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,B.post("/api-student/userOrder/getPendingOrder",{data:{goodType:"VIP_COURSE",bizId:t.teacherId}});case 3:a=r.sent,i=t.subjectInfo,(s=n(t.coursePlanList)).forEach((function(e){e.classDate=Y(e.startTime).format("YYYY-MM-DD"),e.title="".concat(Y(e.startTime).format("YYYY-MM-DD")," ").concat($(Y(e.startTime).day())," ").concat(Y(e.startTime).format("HH:mm"),"~").concat(Y(e.endTime).format("HH:mm"))})),fe.orderObject.orderType="VIP_COURSE",fe.orderObject.orderName=i.subjectName+"VIP定制课",fe.orderObject.orderDesc=i.subjectName+"VIP定制课",fe.orderObject.actualPrice=Number((t.courseNum*i.subjectPrice).toFixed(2)),fe.orderObject.orderNo="",fe.orderObject.orderList=[{orderType:"VIP_COURSE",goodsName:i.subjectName+"VIP定制课",courseGroupName:i.subjectName+"VIP定制课",courseIntroduce:i.subjectName+"VIP定制课",subjectId:i.subjectId,singleCourseMinutes:i.courseMinutes,teacherSubjectPriceId:i.id,courseNum:t.courseNum,coursePrice:(t.courseNum*i.subjectPrice).toFixed(2),price:(t.courseNum*i.subjectPrice).toFixed(2),teacherName:t.userInfo.username||"游客".concat(t.userInfo.userId||""),teacherId:t.userInfo.userId,starGrade:t.userInfo.starGrade,avatar:t.userInfo.heardUrl,classTime:s}],(c=a.data)?W.confirm({title:"提示",message:"您有一个未支付的订单,是否继续支付?",confirmButtonColor:"#269a93",cancelButtonText:"取消订单",confirmButtonText:"继续支付"}).then(o(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:ge(c,t.routerTo);case 1:case"end":return e.stop()}}),e)})))).catch((function(){W.close(),t.cancelPayment(c.orderNo)})):!e&&t.routerTo(),r.next=19;break;case 17:r.prev=17,r.t0=r.catch(0);case 19:case"end":return r.stop()}}),r,null,[[0,17]])})))()},routerTo:function(){this.$router.push({path:"/orderDetail",query:{orderType:"VIP_COURSE"}})},cancelPayment:function(e){return o(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,B.post("/api-student/userOrder/orderCancel",{data:{orderNo:e}});case 3:t.next=7;break;case 5:t.prev=5,t.t0=t.catch(0);case 7:case"end":return t.stop()}}),t,null,[[0,5]])})))()}},render:function(){var e=this;return A(J,null,[A("div",{class:Re},[A(rt,{type:"LIVE_COURSE",title:"什么是VIP定制课?",content:"VIP定制课程采用一对一专属授课模式,每节课时长为45分钟。课程内容根据学生的具体需求量身打造,旨在全面提升学生的个人技能与表现。不论是希望在乐器演奏技巧上取得突破,如提高指法精准度、气息控制能力或节奏掌握等;还是为即将到来的重要活动、比赛或考级做充分准备,我们都能提供高度匹配的教学方案。此外,教学进度将根据每位学员的学习吸收情况灵活调整,确保每个人都能在最适合自己的节奏中稳步前进,扎实提升个人能力。"},null)]),!this.loadDataStatus&&(this.settingStatus?A(J,null,[A("div",{class:Oe},[A(_e,{class:Me,border:!1},{default:function(){return[A(le,{title:"选择专业",isLink:!0,value:e.subjectInfo.subjectName,onClick:function(){return e.subjectStatus=!0}},null),e.subjectInfo.subjectPrice>0&&A(le,{title:"VIP定制课收费"},{default:function(){return A("div",{class:Ee},[A("span",null,[K("¥"),e.$filters.moneyFormat(e.subjectInfo.subjectPrice)]),K("/"),e.subjectInfo.courseMinutes,K("分钟")])}}),A(le,{title:"课时数"},{default:function(){return A(de,{modelValue:e.courseNum,"onUpdate:modelValue":function(t){return e.courseNum=t},theme:"round",max:12,min:4,buttonSize:22,onChange:function(){e.selectCourseList=[]}},null)}})]}}),this.calendarStatus&&A("div",{class:Me},[A(ce,{selectList:this.selectCourseList,list:this.calendarList,maxDays:this.courseNum,nextMonth:function(t){return e.getList(t)},prevMonth:function(t){return e.getList(t)},selectDay:this.onSelectDay,calendarDate:this.calendarDate,"onUpdate:calendarDate":function(t){return e.calendarDate=t}},null)]),this.showSelectList.length>0&&A(le,{class:[Je]},{title:function(){return A("div",{class:Ye},[A("span",null,[K("已选择课程时间")])])},label:function(){return A("div",{class:Ve},[e.showSelectList.map((function(t){return A(J,null,[A(me,{plain:!0,round:!0,closeable:!0,size:"large",type:"primary",class:He,onClose:function(){return e.onCloseTag(t)}},{default:function(){return[t.title]}}),A("br",null,null)])}))])}}),A(Q,{show:this.selectStatus,class:Ae},{default:function(){return[A("div",{class:Ge},[A("div",{class:Ye},[A("span",null,[K("提示")])]),A("div",{class:Be},[A("p",{class:Ue},["noEnough"!==e.selectType||e.coursePlanStatus?"您已选择以下上课时间段,时间段会暂时锁定,锁定期间学员不可购买该时间段课程。":"您所选择的上课时间未达到您输入的课时数,系统根据已选时间将自动按周顺延排课。"]),e.coursePlanList&&e.coursePlanList.length>0&&e.coursePlanStatus&&A("p",{class:$e},[e.coursePlanList.map((function(e){return A("span",null,[Y(e.startTime||new Date).format("YYYY-MM-DD")," ",Y(e.startTime||new Date).format("HH:mm"),K("~"),Y(e.endTime||new Date).format("HH:mm")])}))])]),A("div",{class:qe},[A(X,{class:We,type:"primary",round:!0,block:!0,plain:!0,onClick:e.onReset},{default:function(){return["noEnough"===e.selectType?"继续选择":"重新选择"]}}),A(X,{class:We,type:"primary",round:!0,block:!0,onClick:e.onSure},{default:function(){return[K("确认")]}})])])]}}),A(ue,{show:this.subjectStatus,actions:this.teacherSubjectList,cancelText:"取消",closeOnClickAction:!0,onCancel:function(){return e.subjectStatus=!1},onSelect:function(t){var r=t.subjectName,n=t.subjectPrice,a=t.courseMinutes,i=t.id,o=t.subjectId,s=t.freeMinutes;e.subjectInfo={subjectPrice:n,freeMinutes:s,id:i,courseMinutes:a,subjectName:r,subjectId:o},e.subjectStatus=!1}},null)]),A("div",{class:["btnGroup",Ke],style:{background:"#fff",paddingTop:"10px"}},[A(X,{block:!0,round:!0,type:"primary",onClick:this.onSubmit},{default:function(){return[K("确认约课")]}})])]):A(Z,{btnStatus:!1,classImgSize:"SMALL",tips:"老师暂未开放VIP定制课"},null))])}}),Vt={filterTitle:"_filterTitle_cir06_1",fansGroup:"_fansGroup_cir06_9",introduce:"_introduce_cir06_19",fansImage:"_fansImage_cir06_25",fansTitle:"_fansTitle_cir06_31",joinContainer:"_joinContainer_cir06_37",joinText:"_joinText_cir06_40"},Ht=E({name:"joinChat",props:{item:{type:Object,default:{}},onClose:{type:Function,default:function(e){}}},data:function(){return{desc:""}},methods:{onJoinChat:function(){var e=this;return o(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,B.post("/api-student/imGroupMemberAudit/apply",{data:{groupId:e.item.id,auditStatus:"AUDITING",roleType:"STUDENT",desc:e.desc}});case 3:q("申请成功"),e.desc="",e.onClose&&e.onClose(e.item.id),t.next=10;break;case 8:t.prev=8,t.t0=t.catch(0);case 10:case"end":return t.stop()}}),t,null,[[0,8]])})))()}},render:function(){var e=this;return A(J,null,[A("div",{class:[Vt.filterTitle,"van-hairline--bottom"]},[K("申请入群")]),A("div",{class:Vt.joinContainer},[A(le,{center:!0,class:Vt.fansGroup,border:!1},{icon:function(){return A(he,{src:e.item.img||(t="icon_fans.png",r="../images/".concat(t),{"../images/cert_active.png":s,"../images/cert_default.png":c,"../images/follow_bg.png":u,"../images/head_bg.png":l,"../images/icon-add-star.png":_,"../images/icon-add.png":d,"../images/icon-cert.png":m,"../images/icon-chat.png":f,"../images/icon-close.png":g,"../images/icon-live.png":p,"../images/icon-message.png":h,"../images/icon-small-live.png":b,"../images/icon1.png":v,"../images/icon2.png":y,"../images/icon3.png":I,"../images/icon_fans.png":x,"../images/icon_subject.png":j,"../images/icon_subject1.png":S,"../images/icon_video.png":M,"../images/live_active.png":w,"../images/live_bg.png":k,"../images/live_default.png":T,"../images/music_active.png":C,"../images/music_default.png":P,"../images/svip_active.png":L,"../images/teacher-icon.png":N,"../images/video_active.png":z,"../images/video_default.png":D,"../images/vip_active.png":F,"../images/vip_default.png":R}[r].default),fit:"cover",class:Vt.fansImage},null);var t,r},title:function(){return A("div",{class:Vt.fansTitle},[A("div",{class:Vt.title},[e.item.name]),A("p",{class:["van-ellipsis",Vt.introduce]},[e.item.introduce])])}}),A(je,{type:"textarea",class:Vt.joinText,rows:2,maxlength:200,modelValue:this.desc,"onUpdate:modelValue":function(t){return e.desc=t},placeholder:"请填写您的入群申请,会更快的被通过喔~"},null)]),A("div",{class:"btnGroup"},[A(X,{type:"primary",block:!0,round:!0,style:{width:"70%",margin:"0 auto"},onClick:this.onJoinChat},{default:function(){return[K("确认")]}})])])}}),At="_fansSection_x9kaa_1",Gt="_fansBg_x9kaa_6",Yt="_noFans_x9kaa_9",Bt="_fansList_x9kaa_16",Ut="_fansGroup_x9kaa_22",$t="_fansImage_x9kaa_50",qt="_fansTitle_x9kaa_57",Wt="_title_x9kaa_62",Jt="_introduce_x9kaa_66",Kt=E({name:"fans-list",props:{fansList:{type:Array,default:function(){return[]}}},emits:["confirm"],setup:function(e,t){var r=t.emit,n=function(){var e=o(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.hasWaitAuditFlag||t.existFlag){e.next=3;break}return r("confirm",t),e.abrupt("return");case 3:t.existFlag&&te({api:"joinChatGroup",content:{type:"multi",id:t.id}});case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}();return function(){return A("div",{class:At},[A("img",{src:"./assets/fans-bg.fa43239b.png",class:Gt},null),e.fansList&&e.fansList.length>0?A("div",{class:Bt},[e.fansList.map((function(e){return A(le,{center:!0,class:Ut,border:!1},{icon:function(){return A(he,{src:e.img||O,fit:"cover",class:$t},null)},title:function(){return A("div",{class:qt},[A("div",{class:[Wt,"van-ellipsis"]},[e.name]),A("p",{class:["van-ellipsis",Jt]},[e.introduce])])},default:function(){return A(X,{type:"primary",size:"small",round:!0,disabled:e.hasWaitAuditFlag,onClick:function(){return n(e)}},{default:function(){return[e.existFlag?"去聊天":"",e.hasWaitAuditFlag?"审核中":"",e.hasWaitAuditFlag||e.existFlag?"":"申请入群"]}})}})}))]):A("div",{class:Yt},[K("暂时还没有粉丝群哦!")])])}}}),Qt=e("getAssetsHomeFile",(function(e){var t="./images/".concat(e);return{"./images/cert_active.png":s,"./images/cert_default.png":c,"./images/follow_bg.png":u,"./images/head_bg.png":l,"./images/icon-add-star.png":_,"./images/icon-add.png":d,"./images/icon-cert.png":m,"./images/icon-chat.png":f,"./images/icon-close.png":g,"./images/icon-live.png":p,"./images/icon-message.png":h,"./images/icon-small-live.png":b,"./images/icon1.png":v,"./images/icon2.png":y,"./images/icon3.png":I,"./images/icon_fans.png":x,"./images/icon_subject.png":j,"./images/icon_subject1.png":S,"./images/icon_video.png":M,"./images/live_active.png":w,"./images/live_bg.png":k,"./images/live_default.png":T,"./images/music_active.png":C,"./images/music_default.png":P,"./images/svip_active.png":L,"./images/teacher-icon.png":N,"./images/video_active.png":z,"./images/video_default.png":D,"./images/vip_active.png":F,"./images/vip_default.png":R}[t].default}));e("default",E({name:"teacherHome",data:function(){var e=sessionStorage.getItem("teacherHomeTabs")||"",t=this.$route.query;return{teacherId:t.teacherId,tabs:e||t.tabs||"vip",userInfo:{},background:"rgba(55, 205, 177, 0)",headColor:"#fff",height:"auto",tabsHeight:0,stickyHeightNum:0,backIconColor:"white",homeContaiterHeight:"",fansStatus:!1,fansList:[],chatItem:{},chatStatus:!1}},mounted:function(){var e=this;return o(regeneratorRuntime.mark((function t(){var r;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return postMessage({api:"setStatusBarTextColor",content:{statusBarTextColor:!0}}),e.$nextTick((function(){var t=re(document.querySelector(".van-tabs__wrap")).height;e.tabsHeight=t,e.stickyHeight()})),t.prev=2,t.next=5,B.get("/api-student/student/queryUserInfo");case 5:r=t.sent,ne(r.data),t.next=11;break;case 9:t.prev=9,t.t0=t.catch(2);case 11:e.getTeacherDetail(),ae("webViewOnResume",(function(){e.getTeacherDetail()})),be(document,"scroll",(function(t){ve().y.value>52?(e.headColor="#000",e.background="#fff",e.backIconColor="black"):(e.background="transparent",e.headColor="#fff",e.backIconColor="white")})),xe("老师风采");case 15:case"end":return t.stop()}}),t,null,[[2,9]])})))()},methods:{stickyHeight:function(){var e,t=0;t="auto"===this.height?this.tabsHeight:this.height+this.tabsHeight,this.stickyHeightNum=t,null===(e=this.$refs.musicListRef)||void 0===e||e.updateStickyHeight(t)},getTeacherDetail:function(){var e=this;return o(regeneratorRuntime.mark((function t(){var r;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,B.get("/api-student/teacher/queryTeacherHome",{params:{userId:e.teacherId}});case 3:r=t.sent,e.userInfo=r.data,t.next=9;break;case 7:t.prev=7,t.t0=t.catch(0);case 9:case"end":return t.stop()}}),t,null,[[0,7]])})))()},getFansList:function(){var e=this;return o(regeneratorRuntime.mark((function t(){var r;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,B.post("/api-student/imGroup/queryTeacherGroup",{data:{type:"FAN",createUserId:e.teacherId}});case 3:r=t.sent,e.fansList=r.data||[],t.next=9;break;case 7:t.prev=7,t.t0=t.catch(0);case 9:case"end":return t.stop()}}),t,null,[[0,7]])})))()},onItemClick:function(e){this.$router.push({path:"/music-detail",query:{id:e.id}})}},render:function(){var e,t=this;return A("div",{class:we},[A("div",{ref:"headers"},[A(ie,{hideHeader:!1,background:this.background,border:!1,color:this.headColor,backIconColor:this.backIconColor,onHeaderBack:function(){t.$nextTick((function(){var e=re(t.$refs.headers).height;t.height=Math.floor(e),t.stickyHeight()}))}},null)]),A("img",{class:ke,src:this.userInfo.heardUrl},null),A("div",{class:Te,style:{paddingTop:this.height+"px"}},null),A("div",{class:Ce},[A(Mt,{userInfo:this.userInfo,teacherId:this.teacherId,onStar:function(e){t.userInfo.isStar=e.isStar,t.userInfo.fansNum=e.fansNum}},null),A("div",{class:Pe},[A("div",{class:Le},[A("div",{class:ze,onClick:function(){t.$router.push({path:"/teacher-style",query:{teacherId:t.teacherId}})}},[A("img",{src:Qt("icon1.png")},null),K("个人风采")]),A("div",{class:Ne,onClick:(e=o(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(t.fansList.length<=0)){e.next=3;break}return e.next=3,t.getFansList();case 3:t.fansStatus=!0;case 4:case"end":return e.stop()}}),e)}))),function(){return e.apply(this,arguments)})},[A("img",{src:Qt("icon2.png")},null),K("粉丝群")])]),this.userInfo.introduction&&A("div",{class:De},[this.userInfo.introduction])])]),A(oe,{color:"var(--van-primary)",background:"#f8f9fc",shrink:!0,lineWidth:44,sticky:!0,offsetTop:this.height,active:this.tabs,"onUpdate:active":function(e){return t.tabs=e},onChange:function(){sessionStorage.setItem("teacherHomeTabs",t.tabs)}},{default:function(){return[A(se,{title:"VIP定制课",name:"vip"},{default:function(){return[A("div",{style:{minHeight:t.homeContaiterHeight}},["vip"===t.tabs&&A(Et,{userInfo:t.userInfo},null)])]}}),A(se,{title:"趣纠课",name:"practice"},{default:function(){return[A("div",{style:{minHeight:t.homeContaiterHeight}},["practice"===t.tabs&&A(nt,{userInfo:t.userInfo},null)])]}}),A(se,{title:"直播课",name:"live"},{default:function(){return[A("div",{style:{minHeight:t.homeContaiterHeight}},["live"===t.tabs&&A(yt,null,null)])]}}),A(se,{title:"视频课",name:"video"},{default:function(){return["video"===t.tabs&&A(Ft,null,null)]}}),A(se,{title:"乐谱",name:"music"},{default:function(){return["music"===t.tabs&&A(Se,{hideSearch:!0,onlySearch:!0,myself:!0,height:t.stickyHeightNum,ref:"musicListRef",onItemClick:t.onItemClick,teacherId:t.teacherId},null)]}})]}}),A(Q,{show:this.fansStatus,class:Fe,closeable:!0,onClose:function(){return t.fansStatus=!1}},{default:function(){return[A(Kt,{fansList:t.fansList,onConfirm:function(e){t.chatStatus=!0,t.chatItem=e}},null)]}}),A(Q,{show:this.chatStatus,position:"bottom",round:!0,closeable:!0,"safe-area-inset-bottom":!0,onClose:function(){return t.chatStatus=!1}},{default:function(){return[A(Ht,{item:t.chatItem,onClose:function(e){t.fansList.forEach((function(t){t.id===e&&(t.hasWaitAuditFlag=!0)})),t.chatStatus=!1}},null)]}})])}}))}}}))}();