1 |
- !function(){function e(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,n)}return t}function r(r){for(var n=1;n<arguments.length;n++){var i=null!=arguments[n]?arguments[n]:{};n%2?e(Object(i),!0).forEach((function(e){t(r,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(i)):e(Object(i)).forEach((function(e){Object.defineProperty(r,e,Object.getOwnPropertyDescriptor(i,e))}))}return r}function t(e,r,t){return(r=function(e){var r=function(e,r){if("object"!=typeof e||null===e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,r||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===r?String:Number)(e)}(e,"string");return"symbol"==typeof r?r:String(r)}(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function n(e,r,t,n,i,o,m){try{var s=e[o](m),a=s.value}catch(c){return void t(c)}s.done?r(a):Promise.resolve(a).then(n,i)}function i(e){return function(){var r=this,t=arguments;return new Promise((function(i,o){var m=e.apply(r,t);function s(e){n(m,i,o,s,a,"next",e)}function a(e){n(m,i,o,s,a,"throw",e)}s(void 0)}))}}System.register(["./index-legacy-a314c7dd.js","./icon-student-legacy-26129689.js","./icon-gift-legacy-ce1b66cd.js","./index-legacy-1240cc6d.js","./index-legacy-fb49b6ec.js","./index-legacy-dff5e6e7.js","./index-legacy-72dfb7ed.js"],(function(e,t){"use strict";var n,o,m,s,a,c,_,l,b,u,d,y,f,p,g,h,v;return{setters:[e=>{n=e.d,o=e.a6,m=e.D,s=e.V,a=e.a,c=e.W,_=e.F,l=e.A,b=e.U,u=e.C},e=>{d=e.i},e=>{y=e.i},e=>{f=e.O},e=>{p=e.u,g=e.a},e=>{h=e.C},e=>{v=e.I}],execute:function(){var A=document.createElement("style");A.textContent="._member-center_176y3_1{background:url("+new URL("bg-9ce9b369.png",t.meta.url).href+") top center no-repeat;background-size:contain;min-height:100vh;position:relative}._member-center_176y3_1 .van-nav-bar{background-color:transparent}._member-center_176y3_1 ._member_container_176y3_10{padding:0 .13333rem}._member-center_176y3_1 ._level_176y3_13{width:.48rem;height:.42667rem}._member-center_176y3_1 ._userMember_176y3_17{width:auto;border-radius:.50667rem;background-color:transparent}._member-center_176y3_1 ._userMember_176y3_17 ._userImgSection_176y3_22{border:.05333rem solid #fff;background-color:transparent;margin-right:.32rem;border-radius:50%}._member-center_176y3_1 ._userMember_176y3_17 ._userImg_176y3_22{width:1.38667rem;height:1.38667rem;border-radius:50%;vertical-align:middle;overflow:hidden}._member-center_176y3_1 ._userMember_176y3_17 ._userInfo_176y3_35{display:flex;align-items:center;color:#1e464f;padding-bottom:.13333rem}._member-center_176y3_1 ._userMember_176y3_17 ._userInfo_176y3_35 ._name_176y3_41{font-size:.48rem;padding-right:.13333rem;max-width:2.66667rem;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}._member-center_176y3_1 ._userMember_176y3_17 ._userInfo_176y3_35 ._phone_176y3_50{font-size:.37333rem}._member-center_176y3_1 ._userMember_176y3_17 ._timeRemaining_176y3_53{margin-top:0;font-size:.37333rem;color:silver}._member-center_176y3_1 ._userMember_176y3_17 ._timeRemaining_176y3_53 ._remaining_176y3_58{color:#ff5a56;padding:0 .13333rem}._member-center_176y3_1 ._userMember_176y3_17 ._member_time_176y3_62{display:flex;align-items:center;justify-content:space-between;color:#1e464f}._member-center_176y3_1 ._memberImgs_176y3_68{padding-top:.26667rem}._member-center_176y3_1 ._memberImgs_176y3_68 img{margin-bottom:.16rem;width:100%}._member-center_176y3_1 ._memberContainer_176y3_75{position:relative;padding:0 .37333rem 2rem;z-index:99}._member-center_176y3_1 ._memberItem_176y3_80{display:flex;flex-direction:column;min-height:3.49333rem;box-sizing:border-box;border-radius:.32rem;background:url("+new URL("vip_bg-17ba2567.png",t.meta.url).href+") no-repeat center;background-size:cover}._member-center_176y3_1 ._memberItem_176y3_80 ._title_176y3_89{padding:.66667rem .45333rem 0;font-size:.37333rem;color:#fff}._member-center_176y3_1 ._memberItem_176y3_80 ._title_176y3_89 span{margin-left:.16rem;background:rgba(255,255,255,.73);border-radius:.10667rem;font-size:.32rem;font-weight:600;color:#1f82ed;line-height:.48rem;padding:.02667rem .08rem}._member-center_176y3_1 ._memberItem_176y3_80 ._priceGroup_176y3_104{display:flex;align-items:baseline;padding:.66667rem .32rem .24rem}._member-center_176y3_1 ._memberItem_176y3_80 ._price_176y3_104{font-size:.8rem;font-weight:500;color:#fff;font-family:DINAlternate-Bold,DINAlternate}._member-center_176y3_1 ._memberItem_176y3_80 ._price_176y3_104 span{font-size:.58667rem}._member-center_176y3_1 ._memberItem_176y3_80 ._originalPrice_176y3_118{margin-left:.21333rem;font-size:.37333rem;color:#fff!important;font-family:DINAlternate-Bold,DINAlternate;line-height:.42667rem;font-weight:300}._member-center_176y3_1 ._memberGift_176y3_126{border-radius:.32rem;background:url("+new URL("vip_bg2-705cbf9c.png",t.meta.url).href+") no-repeat center;background-size:cover;min-height:4.29333rem}._member-center_176y3_1 ._giftCell_176y3_132{margin-top:.42667rem;padding:0 .50667rem;background-color:transparent}._member-center_176y3_1 ._giftCell_176y3_132 ._gift_176y3_132{display:flex;align-items:center;font-size:.32rem;font-weight:600;color:#fff;height:.90667rem}._member-center_176y3_1 ._giftCell_176y3_132 ._gift_176y3_132 span{font-size:.4rem;color:#fffc89;padding:0 .13333rem}._member-center_176y3_1 ._giftCell_176y3_132 ._iconGift_176y3_150{margin-right:.10667rem;width:.48rem;height:.48rem}._member-center_176y3_1 ._btnGroup_176y3_155{position:fixed;bottom:0;left:0;right:0;z-index:100;background-color:#fff;display:flex;align-items:center;padding:.32rem .42667rem;justify-content:space-between;border-top:.02667rem solid #f0f0f0}._member-center_176y3_1 ._btnGroup_176y3_155 ._btn_176y3_155{line-height:1.01333rem;height:1.01333rem;background:linear-gradient(220deg,#F5CBAB 0%,#FFCFC0 100%);padding:0 .45333rem;font-size:.42667rem;color:#772a27;border:none}._member-center_176y3_1 ._btnGroup_176y3_155 ._priceSection_176y3_177{display:flex;align-items:center;font-size:.42667rem;color:#772a27}._member-center_176y3_1 ._btnGroup_176y3_155 ._priceSection_176y3_177 ._price_176y3_104{font-size:.48rem;font-weight:700;color:#ff3535;font-family:DINAlternate-Bold,DINAlternate}._member-center_176y3_1 ._btnGroup_176y3_155 ._priceSection_176y3_177 ._price_176y3_104 ._priceUnit_176y3_189{font-size:.37333rem}._member-center_176y3_1 ._btnGroup_176y3_155 ._allPrice_176y3_192{display:inline-block;padding-left:.21333rem;font-size:.37333rem;font-family:DINAlternate-Bold,DINAlternate;font-weight:700;color:#8c6142;line-height:.42667rem;opacity:.5}._memberDiscount_176y3_202{margin-top:.42667rem;position:relative;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAArYAAABYCAMAAAA3DEQFAAAAn1BMVEUAAAD/6s3/5cv/58j/5cz/6cb/5c3/6sP/5Mr/58j/6Mr/6Mn/6M3/6cf/58j/5M3/6sL/6cL/5Mz/6sP/5cn/5sf/58b/5Mv/5Mr/6MT/6cP/6ML/5sj/47v/5sD/58H/5b//473/4bX/4rn/36f/4LD/36n/4LL/4K7/4rf/4bP/36v/4bj/4Kz/5b3/3qT/3qX/yIL/36T/1qb/yYIqFZqhAAAAFHRSTlMAC+rXqZzMzHxoWEQvIRX4+OvExIOs8PQAAAlXSURBVHja7JnbcrIwFIWDh1Zb/XuyRhMG2hdgxrHv/2z/XrIxEQygkEFm8mVnrx5uvPiGoavCZr2cPU3eZGd2dLAIrBoiYRHRDzYY5MZOWhikJ2IMMkbGJjHfdLAIrD7ZYpBb5NZOTN/sefaYu9F0sIq8AYVBKiQtDBJgX+P943m+XIvrvHzKXthdeHubtjbGV9iL9A6ry75iCCjLyxdQteQrlh/YW6wusLf3oTDGW4Cs5etFVHmdyr7Y4QBsTgc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OtIMva28b8vZ2xJT6h5wZ9NdS7z8xdDbyvu2nL1tFE3SeS3SiebobWVOAmtvW7i5oQd8S1M5XcHR28qcBM7edjI3xmCD06yEizU/bytzEjh7W2sawHp6219h+95W5iRw9rZz0wRe3va36oQ7ZE6CeNsbvO3cJAbL+GdCiT/og/bhj3oON8icBPG2N3lbmzSA9VJgL6oXloi3FW972zVhYpLamNhLJTyptxCItxVve7O3LUzt1hZ+3vZNvYclMidBvO0t3hYZu6QWLvYoLXhX6iMskTkJ4m1v8rYgN8tlktBe+qfJI+3Hp1KqH4JWve3Xl3hbvt62zNwtiRVtv3Q51Jff+7Z9RXTF24q3rfO+7YbCmoUnxhbryhIe3rarwCBcI95WvO0t3vaQOM+S1WK1WtC+lkmWx1HZVmwPBmrNU1gicxLE23p729Pqjq1LFhdJnM3jg5sBEkQV7VdJ8BwCmZMg3tb/mvAf4iK3aeZIjS0Xa1akuZxLbT6OI/T1+EaLrMRLoDaMui16287rMAiGrx3xtly9LbIS+jT3Da7Y2+5I7Rg9t+Zte8HmX35PvC1Xb+tZWr3LTV91dY3wMlIHBE8tedue2tETb8vW23qjsXfV1VV5CtR3Bt02vG0nUDuCjnhbvt62Enpz7hNHZW/bHahT+h/397av6oBX8bacva3/BRerurf97KvzvL/1nju/7ulth+qAoXhb5t7234hNuaiQYDErIMjOysmLnFQAYIM5l/hRAc4AAAAASUVORK5CYII=) no-repeat center;background-size:contain;display:flex;align-items:center;height:1.17333rem;font-size:.42667rem;color:#ff7100;line-height:.48rem}._memberDiscount_176y3_202 ._discountAvatar_176y3_214{margin-left:.4rem;width:.96rem;height:.96rem;border-radius:50%;overflow:hidden;border:.02667rem solid #ffaf59}._memberDiscount_176y3_202 ._discountName_176y3_222{padding-left:.8rem;max-width:5.33333rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}._memberDiscount_176y3_202 ._discountGift_176y3_229{position:absolute;right:.69333rem;top:.18667rem;width:.77333rem;height:.77333rem}\n",document.head.appendChild(A);const I={"member-center":"_member-center_176y3_1",member_container:"_member_container_176y3_10",level:"_level_176y3_13",userMember:"_userMember_176y3_17",userImgSection:"_userImgSection_176y3_22",userImg:"_userImg_176y3_22",userInfo:"_userInfo_176y3_35",name:"_name_176y3_41",phone:"_phone_176y3_50",timeRemaining:"_timeRemaining_176y3_53",remaining:"_remaining_176y3_58",member_time:"_member_time_176y3_62",memberImgs:"_memberImgs_176y3_68",memberContainer:"_memberContainer_176y3_75",memberItem:"_memberItem_176y3_80",title:"_title_176y3_89",priceGroup:"_priceGroup_176y3_104",price:"_price_176y3_104",originalPrice:"_originalPrice_176y3_118",memberGift:"_memberGift_176y3_126",giftCell:"_giftCell_176y3_132",gift:"_gift_176y3_132",iconGift:"_iconGift_176y3_150",btnGroup:"_btnGroup_176y3_155",btn:"_btn_176y3_155",priceSection:"_priceSection_176y3_177",priceUnit:"_priceUnit_176y3_189",allPrice:"_allPrice_176y3_192",memberDiscount:"_memberDiscount_176y3_202",discountAvatar:"_discountAvatar_176y3_214",discountName:"_discountName_176y3_222",discountGift:"_discountGift_176y3_229"},z=""+new URL("member-1-6bab617f.png",t.meta.url).href,P=""+new URL("member-2-9f8452ea.png",t.meta.url).href;e("default",n({name:"MemberCenter",data:()=>({functionList:[],selectMember:{},users:{},memberStatus:!1,background:"transparent",color:"#fff",showTips:!1,showMessage:""}),computed:{userInfo(){const e=this.users;return{username:(null==e?void 0:e.nickname)||"",phone:(null==e?void 0:e.phone)||"",avatar:null==e?void 0:e.avatar,id:null==e?void 0:e.id,isVip:null==e?void 0:e.vipMember,membershipGiftDays:null==e?void 0:e.membershipGiftDays,membershipDays:null==e?void 0:e.membershipDays,membershipEndTime:o(null==e?void 0:e.membershipEndTime).format("YYYY-MM-DD")}}},mounted(){var e=this;return i((function*(){p(document,"scroll",(()=>{const{y:r}=g();r.value>15?(e.background="#fff",e.color="#323333"):(e.background="transparent",e.color="#fff")})),e.__init()}))()},methods:{__init(){var e=this;return i((function*(){try{const r=yield m.get("/edu-app/student/member");e.users=r.data||{};const{data:t}=yield m.post("/edu-app/cityFeeSetting/member");e.selectMember=t,e.paymentOrderUnpaid()}catch(r){}}))()},paymentOrderUnpaid(){var e=this;return i((function*(){try{const{data:r}=yield m.get("/edu-app/userPaymentOrder/unpaid",{requestType:"form",params:{paymentType:"VIP"}});r.id&&s({message:"您有待支付的订单,是否继续支付",cancelButtonText:"取消订单",confirmButtonText:"继续支付"}).then((()=>{const t=r.paymentConfig;e.$router.push({path:"/order-detail",query:{config:JSON.stringify(t.paymentConfig),orderNo:t.orderNo}})})).catch(i((function*(){try{yield m.post("/edu-app/userPaymentOrder/cancelPayment/"+r.orderNo)}catch(e){}})))}catch(r){}}))()},calcSalePrice(e){if(1===e.discount){const r=Number((e.salePrice-e.discountPrice).toFixed(2));return r>=0?r:0}return e.salePrice},onSubmit(){var e=this;return i((function*(){try{const t=e.selectMember,n=[{giftVipDay:e.users.membershipGiftDays,goodsId:t.id,goodsNum:1,goodsType:"VIP",paymentCashAmount:t.salePrice,paymentCouponAmount:0}],i=yield m.post("/edu-app/userPaymentOrder/executeOrder",{data:{orderType:"VIP",paymentCashAmount:e.selectMember.salePrice||0,paymentCouponAmount:0,goodsInfos:n,orderName:"乐器AI学练工具",orderDesc:"乐器AI学练工具"}});if(5435===i.code)return e.showTips=!0,void(e.showMessage=i.message);const o=i.data,s=yield m.get("/edu-app/userPaymentOrder/detail/"+o.orderNo);"WAIT_PAY"!==s.data.status&&"PAYING"!==s.data.status?e.$router.push({path:"/payment-result",query:{orderNo:o.orderNo}}):e.$router.push({path:"/order-detail",query:{config:JSON.stringify(r(r({},o.paymentConfig),{},{paymentType:o.paymentType})),orderNo:o.orderNo}})}catch(t){console.log(t)}}))()}},render(){var e,r=this;return a("div",{class:I["member-center"]},[a(c,{background:this.background,color:this.color,border:!1},null),a("div",{class:I.member_container},[a(h,{class:[I.userMember],labelClass:I.timeRemaining,center:!0},{icon:()=>a("div",{class:I.userImgSection},[a(v,{class:I.userImg,src:this.userInfo.avatar||d,fit:"cover"},null)]),title:()=>a("div",{class:I.userInfo},[a("span",{class:I.name},[this.userInfo.username]),!!this.userInfo.isVip&&a(v,{class:I.level,src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAMAAAC7IEhfAAABy1BMVEUAAADpzYX+773335b96rfz257z3J/45Kvv1ZLmy33z4qLmyXz/78H75rPr0Iny257y253967r35K3t04755rHr0Yv34qr/7r/myXz/7b3oyX7967zoy4H14KXw2Jf76rjqz4X55K3u1ZH967jqzYT/8MPmyH386LXrz4j/8MPoyXz/7bvpzYPs1Iz/8sPryYD/8MHo0YP/8cb//9X/1arpzILozIHv1pLu1ZL/8Mv/9+T/9uz/9+r/7cL/8tH/78j/9+//9+j/9+b/9+D/9dr/9Nb/89T/8c3/7sb/9tz/9/H/9+z/9+7/997/9uj/9Nn/8c//7cT/+OL/8tPx2Jr/9uXgrULfqz//7r/v1JLdqDncpTX978/347Hgr0beqjzaoi7/9Oj+677+7Lz757Xsy3/nyXzmvWPiskzhsEnbpDLZoCv/9OP868L34a7uz4npy4LnyX3pwWrjtFHcpzfXnij98Nb45rv65bL34qv236X026Lv1pXw0o3s0o3uzoTpxHHlul3kuFnktlT868b86bv24Kjy1pbrx3Xpwm3nv2fWnCT/9/P757r55rf35LXz2Z7y1pr/8t313qjrzofryHrqxXn/7cbmvmstaKPlAAAAOXRSTlMA/jMP/tm/bW0zHnd29/fz8u/r693dzsXFvr6oqKWlhIR5eXBwZmZaWkxMR0c1JiYhIRIGBu/vzs4fqNxgAAADWUlEQVQ4y32RZ1caQRiFByFGo+m99x67KbAuCtiIgsAumlVAabHQQeki9t6Nyc/N+85AiBz1Yc9+4Tn33pklZTRXvH9d+/p9RTM5j/rauz+K3K2tP0uruO9288KB38k5/QcC73bfrzhNa3zodsWdW1vfC3RYBZf7YSMp5+N1t43bKkoMp01x/WOZ91Lhcp6Q+jv6Oa7f71K8POE9VQQ46jAJ4fr6uD7OGfA8JSXeepb6mQEPJIGBvzaOa9MEPG9Lx728zBUkFCAKXm0UY5t1+XLx8C23PE5QIAkNfDHFaNQYNRqj33OrhYkX7XEahE8hR1NAqzFqtbbgRerJb+xACE5iYA6EoWLVAirtzg05is9TcTbIL0nSbCiDfVqtf3zCMTQ8daQChNRzFO8kMQXbVmdn57whCIGoffRGHAYVkrwD3qWVJWNhzyF4v9ZUVvgrvjg5ODoyZlepLBadLrByCY6SjkOeFhclQnPetbwNM7yTg0PTY39AQtRpOM7jFZyMqJbmvMf59QR4CfCGp0ZsVDMY9OnHhFQG0bFi4QAUr0czUDbuGIJiyYDogVQlIRdgB0iUOfDGQzpdxoEDJwx6anV2dgYvEHJ1FxWLygJBq/noxnxeJ8QGR6enfLvowAPYrxJybRclXG3RHa5vjM8v6EN4g748OgOULvs1qE7pGDAngV7MPgk36Ju2DQx0gkNZgerKDDpstQ28xYlFHDizz6Turm4gA4d5IupRYqOj4E3CwLGZGDgUQRDUavEJIVVZW2m0dzFGb9A3k2CamhLIVsEnzNrBgDlYtRqjn9i3edytFphkMpl6ghJ8QvJVZBISnHDQgdM9qFAJEb8R4IUUKI4WltjAzT2TSd0DEqJUbudeoCi/KVJJwEUxHLi5gEnoUNrFm3KCVOV2oIh1RdGb2aYCOsr29nZ7ropQWm9Lv+loKNuPwp3PMonS2+vK3W4ljLorWWWpCmEOYualK3WkyDuZqCyTCpqZF4/ekRLPZFm+VAaPGRwzz/PLkuwZ+Z9Xstx2MceMDsMTkr0iJ/n0OSy6IIglMZbF8JdPpJymR+Hwnof/hyu5Fw4/aiKnUP0gEpGJ6WBSkUylV2WRyINqcgYNNfciPxmRezUN5Dzk1R/e1Lz5UC0nZfwFq/VzDW8PhUQAAAAASUVORK5CYII="},null),this.userInfo.phone&&a("span",{class:I.phone,innerHTML:`(${this.userInfo.phone})`},null)]),label:()=>a("div",{class:I.member_time},[a(_,null,[this.userInfo.isVip?a("div",null,[l("有效期至"),a("span",{class:I.remaining},[this.userInfo.membershipEndTime])]):a("div",null,[l("您还未领取器乐学练工具哟")])])])})]),a("div",{class:[I.memberContainer]},[a("div",{class:[I.memberItem,this.users.membershipGiftDays>0?I.memberGift:""]},[a("p",{class:[I.title]},[l("乐器AI学练工具"),a("span",null,[l("12个月")])]),a("div",{class:I.priceGroup},[a("p",{class:I.price},[a("span",null,[l("¥")]),b(this.selectMember.salePrice)]),this.selectMember.salePrice<this.selectMember.originalPrice&&a("del",{class:I.originalPrice},[l("¥"),b(this.selectMember.originalPrice)])]),this.users.membershipGiftDays>0&&a(h,{border:!1,class:I.giftCell},{title:()=>a("div",{class:I.gift},[a("img",{src:y,class:I.iconGift},null),l("现在领取赠送")," ",a("span",null,[this.users.membershipGiftDays||0]),l("天有效期")])})]),a("div",{class:I.memberImgs},[a("img",{src:z},null),a("img",{src:P},null)])]),a("div",{class:I.btnGroup},[a("div",{class:I.priceSection},[a("div",{class:I.price},[a("span",{class:I.priceUnit},[l("¥")]),a("span",{class:I.priceNum},[b(this.calcSalePrice(this.selectMember)||0)])]),this.selectMember.originalPrice>this.calcSalePrice(this.selectMember)?a("del",{class:I.allPrice},[l("¥ "),b(this.selectMember.originalPrice)]):""]),this.userInfo.id?a(u,{round:!0,class:I.btn,onClick:this.onSubmit},{default:()=>[l("立即领取")]}):""]),a(f,{show:this.memberStatus,"onUpdate:show":e=>this.memberStatus=e,title:"待激活团练宝",message:"为让团员有效使用乐团学习工具,首次加入乐团且购买团练宝的团员,团练宝的生效时间为乐团首次训练之日,具体训练时间可查看课表。",messageAlign:"left",dialogMarginTop:"env(safe-area-inset-top)",confirmButtonText:"我知道了"},null),a(f,{show:this.showTips,"onUpdate:show":e=>this.showTips=e,title:"温馨提示",message:this.showMessage,messageAlign:"center",dialogMarginTop:"env(safe-area-inset-top)",confirmButtonText:"刷新",onConfirm:(e=i((function*(){window.scrollTo({top:0,behavior:"smooth"}),r.__init()})),function(){return e.apply(this,arguments)})},null)])}}))}}}))}();
|