1 |
- !function(){function e(e,o,t,r,n,i,m){try{var _=e[i](m),s=_.value}catch(c){return void t(c)}_.done?o(s):Promise.resolve(s).then(r,n)}var o=document.createElement("style");o.innerHTML='._member-center_8doog_1{min-height:100vh;position:relative;background-color:#fff}._member-center_8doog_1 ._intro_8doog_6{background:url(./assets/share-vip-tips.2227c0e9.png) no-repeat center;background-size:contain;height:3.78667rem;font-size:.37333rem;color:#bb6e3a}._member-center_8doog_1 ._intro_8doog_6 p{padding:1.2rem .66667rem 0;text-align:justify;line-height:.58667rem}._member-center_8doog_1 ._shareBanner_8doog_18{width:100%}._member-center_8doog_1 ._memberContainer_8doog_21{position:relative;margin-top:.4rem;padding:0 .37333rem .66667rem;z-index:99}._member-center_8doog_1 ._memberItem_8doog_27{padding-top:.53333rem}._member-center_8doog_1 ._memberItem_8doog_27 ._title_8doog_30{font-size:.42667rem;color:#333;font-weight:500}._member-center_8doog_1 ._memberItem_8doog_27 ._title_8doog_30 span{color:#f7b500}._member-center_8doog_1 ._member_function_8doog_38{display:flex;justify-content:space-between;flex-wrap:wrap}._member-center_8doog_1 ._member_function_8doog_38 ._function_item__content_8doog_43{height:100%}._member-center_8doog_1 ._member_function_8doog_38 ._function_item_8doog_43{width:2.13333rem;padding:.32rem 0;margin-top:.21333rem;border-radius:.21333rem;overflow:hidden;background-color:#faefe3;text-align:center}._member-center_8doog_1 ._member_function_8doog_38 ._function_text_8doog_55{font-size:.32rem;color:#814014;line-height:.42667rem}._member-center_8doog_1 ._system-list_8doog_60::-webkit-scrollbar{display:none}._member-center_8doog_1 ._system-list_8doog_60{width:100%;overflow-x:auto;overflow-y:hidden;display:flex;position:relative;-webkit-user-select:none;-moz-user-select:none;user-select:none;box-sizing:content-box;padding-top:.42667rem;padding-bottom:.26667rem;margin-bottom:.26667rem}._member-center_8doog_1 ._system-item_8doog_76{display:flex;flex-direction:column;align-items:center;justify-content:center;flex:1 0 auto;width:2.56rem;min-height:3.2rem;box-sizing:border-box;background:#ffffff;border-radius:.32rem;border:.02667rem solid #e5e5e5;margin-right:.26667rem}._member-center_8doog_1 ._system-item_8doog_76 ._title_8doog_30{font-size:.37333rem;font-weight:500;color:#333;line-height:.53333rem}._member-center_8doog_1 ._system-item_8doog_76 ._price_8doog_96{color:#dc9362;font-size:.66667rem;line-height:1.5}._member-center_8doog_1 ._system-item_8doog_76 ._price_8doog_96 span{font-size:.42667rem}._member-center_8doog_1 ._system-item_8doog_76 ._originalPrice_8doog_104{color:#937059;font-size:.34667rem}._member-center_8doog_1 ._system-item_8doog_76._active_8doog_108{background:linear-gradient(215deg,#ffe7c4 0%,rgba(250,211,156,.21) 100%);border:.02667rem solid #b1652e;position:relative}._member-center_8doog_1 ._system-item_8doog_76._active_8doog_108 ._title_8doog_30{color:#814014}._member-center_8doog_1 ._system-item_8doog_76._active_8doog_108 ._price_8doog_96{color:#b1652e}._member-center_8doog_1 ._system-item_8doog_76._active_8doog_108 ._originalPrice_8doog_104{color:#937059}._member-center_8doog_1 ._system-item_8doog_76._active_8doog_108:before{content:"\\e728";font:.37333rem/1 vant-icon;color:#fff;background-color:#b1652e;width:.72rem;height:.48rem;display:flex;align-items:center;justify-content:center;position:absolute;top:0;right:0;border-radius:0 .32rem}._member-center_8doog_1 ._tagDiscount_8doog_137{position:absolute;top:-.37333rem;right:1.46667rem;padding:.05333rem .32rem;height:.61333rem;background:linear-gradient(180deg,#ffb635 0%,#ff4e18 100%);border-radius:.21333rem .21333rem 0 0;font-size:.37333rem;font-weight:600;color:#fff;line-height:.64rem}._member-center_8doog_1 ._wxpopup_8doog_150{width:100%;height:100vh;position:fixed;top:0;left:0;background:rgba(0,0,0,.5);z-index:9999}._member-center_8doog_1 ._wxpopup_8doog_150 img{width:88%;margin:0 6%}\n',document.head.appendChild(o),System.register(["./tip_bg-legacy.f826a784.js","./index-legacy.fba2875c.js","./index-legacy.d92f7da7.js","./share-banner-legacy.3a0e6967.js","./wx_bg-legacy.a09a21f9.js","./share-legacy.125a9021.js"],(function(o){"use strict";var t,r,n,i,m,_,s,c,d,a,g,l,u,b,f,p,h,v,w,y,x,k,I,z,j,S,T,U,C,D;return{setters:[function(e){t=e._,r=e.c,n=e.d,i=e.e,m=e.f,_=e.g,s=e.h,c=e.j,d=e.k,a=e.l,g=e.m,l=e.n,u=e.o,b=e.p,f=e.q,p=e.r},function(e){h=e.d,v=e.y,w=e.g,y=e.w,x=e.f,k=e.j,I=e.z,z=e.M,j=e.B},function(e){S=e.I},function(e){T=e.s},function(e){U=e.w},function(e){C=e.i,D=e.s}],execute:function(){var L="_member-center_8doog_1",P="_intro_8doog_6",A="_shareBanner_8doog_18",E="_memberContainer_8doog_21",M="_memberItem_8doog_27",R="_title_8doog_30",B="_member_function_8doog_38",F="_function_item_8doog_43",H="_function_text_8doog_55",q="_tagDiscount_8doog_137",N="_wxpopup_8doog_150",G=o("getAssetsHomeFile",(function(e){var o="../../../views/member-center/images/".concat(e);return{"../../../views/member-center/images/1.png":t,"../../../views/member-center/images/2.png":r,"../../../views/member-center/images/3.png":n,"../../../views/member-center/images/4.png":i,"../../../views/member-center/images/5.png":m,"../../../views/member-center/images/6.png":_,"../../../views/member-center/images/7.png":s,"../../../views/member-center/images/8.png":c,"../../../views/member-center/images/discount_bg.png":d,"../../../views/member-center/images/icon_discount.png":a,"../../../views/member-center/images/icon_gift.png":g,"../../../views/member-center/images/icon_video.png":l,"../../../views/member-center/images/member_bg.png":u,"../../../views/member-center/images/member_logo.png":b,"../../../views/member-center/images/record_bg.png":f,"../../../views/member-center/images/tip_bg.png":p}[o].default}));o("default",h({name:"MemberCenter",data:function(){var e=this.$route.query;e.recomUserId=e.userType&&"STUDENT"==e.userType?"":e.recomUserId;var o="".concat(location.origin,"/student/#/memberCenter?").concat(v.stringify(e));return{activityId:e.activityId,recomUserId:e.recomUserId,discount:0,functionList:[],wxStatus:!1,jumpUrl:o}},computed:{userInfo:function(){var e=w.user.data;return{username:null==e?void 0:e.username,phone:null==e?void 0:e.phone,avatar:null==e?void 0:e.heardUrl,id:null==e?void 0:e.userId,memberRankSettingId:null==e?void 0:e.memberRankSettingId,membershipDays:null==e?void 0:e.membershipDays,membershipEndTime:null==e?void 0:e.membershipEndTime}}},created:function(){C(this.jumpUrl)},mounted:function(){var o,t=this;return(o=regeneratorRuntime.mark((function e(){var o,r,n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,y.post("/api-teacher/open/memberPriceSettings/vipPermissions");case 3:if(o=e.sent,r=o.data||[],t.functionList=r.map((function(e){return{title:e.paramName,icon:G("".concat(e.paramValue,".png"))}})),!t.activityId){e.next=11;break}return e.next=9,y.post("/api-teacher/open/activity/state/".concat(t.activityId));case 9:n=e.sent,t.discount=n.data.check||0;case 11:e.next=15;break;case 13:e.prev=13,e.t0=e.catch(0);case 15:case"end":return e.stop()}}),e,null,[[0,13]])})),function(){var t=this,r=arguments;return new Promise((function(n,i){var m=o.apply(t,r);function _(o){e(m,n,i,_,s,"next",o)}function s(o){e(m,n,i,_,s,"throw",o)}_(void 0)}))})()},methods:{onShare:function(){x().weixin?this.wxStatus=!0:(D(this.jumpUrl),setTimeout((function(){window.location.href=location.origin+"/student/#/download"}),3e3))}},render:function(){var e=this;return k("div",{class:L},[k(S,{src:T,class:A},null),k("div",{class:E},[k("div",{class:[P]},[k("p",null,[I("酷乐秀会员可使用包括平台提供的所有训练乐谱,并专享“"),k("b",null,[I("小酷Ai")]),I("”八大核心功能,孩子在家就能轻松完成乐器自主规范练习。")])]),this.functionList.length>0&&k("div",{class:M},[k("div",{class:R},[I("会员功能")]),k("div",{class:B},[this.functionList.map((function(e){return k("div",{class:F},[k(z,{name:e.icon,size:34},null),k("div",{class:H,innerHTML:e.title},null)])}))])])]),k("div",{class:["btnGroup"],style:{paddingTop:"12px",position:"relative"}},[1===this.discount&&k("div",{class:q},[I("专属优惠")]),k(j,{block:!0,round:!0,type:"primary",onClick:this.onShare,color:"linear-gradient(220deg, #DFA164 0%, #FAC87E 100%)"},{default:function(){return[I("下载小酷Ai开始练习吧!")]}})]),this.wxStatus&&k("div",{class:N,onClick:function(){e.wxStatus=!1}},[k("img",{src:U,alt:""},null)])])}}))}}}))}();
|