| 12 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-257bf800"],{"0fb9":function(n,t,e){"use strict";e.r(t);var r=function(){var n=this,t=n._self._c;return t("div",{staticClass:"pages"},[t("img",{attrs:{src:e("6939"),width:"100%"}}),t("div",{staticClass:"context"},[t("span",{staticClass:"num"},[n._v(" 会员卡信息 ")]),t("div",{staticClass:"user"},[t("img",{attrs:{src:e("6bab"),height:"53",width:"53"}}),t("span",[n._v(n._s(n.user.Name))]),t("em",[n._v(n._s(n._f("hidePhone")(n.user.Phone)))])]),n._l(n.schools,(function(e){return t("div",{staticClass:"value"},[1==e.VipType?t("div",{staticClass:"vTitle year"},[t("i"),n._v("年会员")]):n._e(),2==e.VipType?t("div",{staticClass:"vTitle price"},[t("i"),n._v("充值会员")]):n._e(),t("div",{staticClass:"vNum"},[t("span",[n._v(" "+n._s(e.ShopName))]),t("div",{staticClass:"center"},[n._v(" 总计"+n._s(e.ClassHourToatal)+"课时 ")]),1==e.VipType?t("em",[n._v("(有效期至"+n._s(n._f("fmtTime")(e.ExpTime))+")")]):n._e()]),t("mu-flex",{staticClass:"linear-progress"},[t("mu-linear-progress",{attrs:{mode:"determinate",value:e.ClassHourRemain/e.ClassHourToatal*100,size:10,color:"secondary"}})],1),t("div",{staticClass:"limit"},[t("em",[n._v("剩余 "+n._s(e.ClassHourRemain)+" 课时")]),t("span",[n._v("完成 "+n._s(e.ClassHourConsume)+" 课时")])])],1)})),t("div",{staticClass:"btn_center"},[t("span",{staticClass:"btn btn-md login_btn",on:{click:n.logoutBtn}},[n._v("退出")])])],2),t("bottomTab",{attrs:{curTab:n.thisTab}})],1)},i=[],a=(e("14d9"),e("fb6a"),e("ac1f"),e("5319"),e("b0c0"),e("bc3a"),e("a8da")),u=e("b8a1"),o=(e("379d"),e("4328")),s={data:function(){return{num:0,thisTab:"我的运动",active:0,sum:0,openAlert:!1,list:[],dialog:{id:"",name:"",timeLong:""},user:{Ck:0,CKMonth:0,Cle:0,CleMonth:0,CalorieMonth:0,CalorieTotal:0,ClassFinish:0,ClassRemain:0,ClassTotal:0,ExpTime:0,Name:"",Phone:"",VipType:0},ckRs:{Ck:0,CKMonth:0,Cle:0,CleMonth:0},schools:[]}},mounted:function(){this.getInfo(),this.getOrderShopQuery(),this.getCalorie()},methods:{getCalorie:function(){var n=this,t={token:localStorage.token},e=o.stringify(t);Object(u["S"])(e).then((function(t){var e=t;0==e.Code?n.ckRs=e:n.$toast.message(e.Memo)}))},getOrderShopQuery:function(){var n=this,t={token:localStorage.token},e=o.stringify(t);Object(u["x"])(e).then((function(t){var e=t;0==e.Code?n.schools=e.Rs:n.$toast.message(e.Memo)}))},logoutBtn:function(){var n=this;this.$confirm("是否退出账号?","提示",{type:"warning"}).then((function(t){var e=t.result;e?(localStorage.token="",n.$router.push({path:"/login"})):n.$toast.message("点击了取消")}))},getInfo:function(){var n=this,t={token:localStorage.token,active:this.active},e=o.stringify(t);Object(u["V"])(e).then((function(t){var e=t;0==e.Code?n.user=e.Rs:n.$toast.message(e.Memo)}))}},filters:{hidePhone:function(n){var t=String(n),e=t.length;if(e>=7){var r=t.slice(-8,-4);return t.replace(r,"****")}if(e<7&&e>=6){r=t.slice(-4,-2);return t.replace(r,"**")}},fmtTime:function(n){if(n){n*=1e3;var t=new Date(n),e=t.getFullYear(),r=t.getMonth()+1;r=r<10?"0"+r:r;var i=t.getDate();i=i<10?"0"+i:i;var a=t.getHours();a=a<10?"0"+a:a;var u=t.getMinutes();u=u<10?"0"+u:u;var o=t.getSeconds();return o=o<10?"0"+o:o,e+"-"+r+"-"+i}return 0}},beforeRouteEnter:function(n,t,e){e((function(t){"mine"==n.name&&t.getInfo()}))},watch:{active:function(){console.log(123),this.getList()}},components:{bottomTab:a["a"]}},c=s,d=(e("974a"),e("2877")),f=Object(d["a"])(c,r,i,!1,null,"4ab073c4",null);t["default"]=f.exports},5306:function(n,t,e){},6939:function(n,t,e){n.exports=e.p+"img/banner.e70f9803.png"},"6bab":function(n,t){n.ex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l+Fskj+BHMXTiYwKXjMM/AHcyeP+jUV9xv7IH4Yzib4RNl79Q2LkFWoIzrl3DZ7vMZUoetE9AANw7HvQt6R5/Q2U3k3iNxzwMN7hiRM3IGG5UcfELNcSfJIShXzEIFmBEo6nY/w3GPk2xSecQXQ21gXpzSTh7zA62vNQHd1gIn7JPjUWmZzKvP3090zpQkW0DtgXCd7Y75EbPnqo6drN2z8HoV6U2FCRlioc8mqCx6JkFb6/KZ76g1ri1Lj+xKUzxKa3RWNA4V3Z/r1PxKfAkqm3DZUDFoCpLzsndy34hdKlBZZAcX5/RMhU9br7hB5zb5/2sSKEi8TAH6Ib4h3eOVJazJOTyoJ8sZMJEgqGRmdkOFoAmQ4NrkEBR2ZGtQqikgtxCKM5viIaxBJYWgiCOLMrRxbX0lTiKQyUeYpni4iTcI+vVJJJebYPa8bxKjbLWQty/RoSVQCnFQqh0aaavkd+/yBCr6/+QmYHKWk9yfuto5BDvnYUH+P2ApgFK7Lent0aREl9HD/Onov3yKKlOHNAEDYw78COK9tKI0u5GdmMHLTBEfFKlydZ8iXzVOwdI6jXw5YSaXNk4vTfSLQV0QAQ+XUDx6uc+jFI9JLdHgb+SCUmlUGmNafI4oFFgz552yn5wxqHV+6EjiGy8CVaXbheP0TMfc/BrsnU+6JPeNpYicP7V1bVlLU6tnobKOTmYLdTnPRzIQ4k5Alfgk2IJr3qCImgXMaIB72pGKWGt8ZymnEajQm1eDVwUmV7IszbMdGY/r6GrH6vklieCzQTK8aNb8TsXjjf10bcEU0lTMw6ox07ZHa3nPyYB8EZ4CPAScXp5X0/WiVs8v73B/HqMKYkm54rOBjjuF60zLAhGV51/HFuiQo9vLggAAAABJRU5ErkJggg=="},8418:function(n,t,e){"use strict";var r=e("a04b"),i=e("9bf2"),a=e("5c6c");n.exports=function(n,t,e){var u=r(t);u in n?i.f(n,u,a(0,e)):n[u]=e}},"843d":function(n,t,e){"use strict";e("d0e2")},"974a":function(n,t,e){"use strict";e("5306")},a8da:function(n,t,e){"use strict";e("b0c0");var r=function(){var n=this,t=n._self._c;return t("div",{attrs:{id:"bottomTab"}},[t("mu-container",{staticStyle:{width:"100%"},attrs:{color:"primary"}},[t("mu-bottom-nav",{attrs:{value:n.nowTab,color:"#E75296"}},n._l(n.tabs,(function(n){return t("mu-bottom-nav-item",{key:n.tabindex,attrs:{title:n.name,icon:n.src,to:n.class,value:n.name}})})),1)],1)],1)},i=[],a={data:function(){return{nowTab:this.curTab,tabs:[{name:"预约课程",class:"/",src:" ",tabindex:1},{name:"预约记录",class:"record",src:" ",tabindex:2},{name:"上课统计",class:"reportLesson",src:" ",tabindex:3},{name:"我的运动",class:"report",src:" ",tabindex:4}]}},props:["curTab"],methods:{},watch:{$route:function(n){this.nowTab=n.meta.title}}},u=a,o=(e("843d"),e("2877")),s=Object(o["a"])(u,r,i,!1,null,"2008d39a",null);t["a"]=s.exports},b0c0:function(n,t,e){"use strict";var r=e("83ab"),i=e("5e77").EXISTS,a=e("e330"),u=e("edd0"),o=Function.prototype,s=a(o.toString),c=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,d=a(c.exec),f="name";r&&!i&&u(o,f,{configurable:!0,get:function(){try{return d(c,s(this))[1]}catch(n){return""}}})},b8a1:function(n,t,e){"use strict";e.d(t,"Z",(function(){return u})),e.d(t,"h",(function(){return o})),e.d(t,"k",(function(){return s})),e.d(t,"O",(function(){return c})),e.d(t,"W",(function(){return d})),e.d(t,"z",(function(){return f})),e.d(t,"A",(function(){return v})),e.d(t,"C",(function(){return l})),e.d(t,"D",(function(){return h})),e.d(t,"b",(function(){return p})),e.d(t,"T",(function(){return m})),e.d(t,"V",(function(){return y})),e.d(t,"Q",(function(){return b})),e.d(t,"o",(function(){return g})),e.d(t,"S",(function(){return C})),e.d(t,"P",(function(){return x})),e.d(t,"x",(function(){return T})),e.d(t,"E",(function(){return A})),e.d(t,"H",(function(){return Q})),e.d(t,"J",(function(){return P})),e.d(t,"F",(function(){return S})),e.d(t,"G",(function(){return F})),e.d(t,"K",(function(){return W})),e.d(t,"M",(function(){return O})),e.d(t,"L",(function(){return U})),e.d(t,"r",(function(){return I})),e.d(t,"q",(function(){return M})),e.d(t,"X",(function(){return k})),e.d(t,"Y",(function(){return B})),e.d(t,"I",(function(){return D})),e.d(t,"g",(function(){return w})),e.d(t,"a",(function(){return V})),e.d(t,"R",(function(){return K})),e.d(t,"y",(function(){return z})),e.d(t,"B",(function(){return j})),e.d(t,"f",(function(){return E})),e.d(t,"u",(function(){return L})),e.d(t,"s",(function(){return N})),e.d(t,"t",(function(){return R})),e.d(t,"v",(function(){return H})),e.d(t,"w",(function(){return X})),e.d(t,"j",(function(){return J})),e.d(t,"c",(function(){return Y})),e.d(t,"d",(function(){return _})),e.d(t,"n",(function(){return G})),e.d(t,"N",(function(){return Z})),e.d(t,"p",(function(){return q})),e.d(t,"U",(function(){return $})),e.d(t,"e",(function(){return nn})),e.d(t,"m",(function(){return tn})),e.d(t,"i",(function(){return en})),e.d(t,"l",(function(){return rn}));var r=e("bc3a"),i=e.n(r);e("379d");function a(n,t){return i.a.post(n,t).then((function(n){var t=n.data;return t}),(function(n){console.info(n)}))}function u(n){var t=headapi+"testSelect";return a(t,n)}function o(n){var t=headapi+"v1/Auth/GenVerifyPic";return a(t,n)}function s(n){var t=headapi+"v1/Auth/GetPhoneVFCode";return a(t,n)}function c(n){var t=headapi+"v1/Auth/PhoneSignIn";return a(t,n)}function d(n){var t=headapi+"v1/Auth/WXBind";return a(t,n)}function f(n){var t=headapi+"v1/Weixin/OderAddByVipUser";return a(t,n)}function v(n){var t=headapi+"v1/Weixin/OderCancelByVipUser";return a(t,n)}function l(n){var t=headapi+"v1/Weixin/OrderListQuery";return a(t,n)}function h(n){var t=headapi+"v1/Weixin/OrderShopQuery";return a(t,n)}function p(n){var t=headapi+"v1/Weixin/CanOrderSchoolTimeTableListQuery";return a(t,n)}function m(n){var t=headapi+"v1/Weixin/VipUserConsumeListQuery";return a(t,n)}function y(n){var t=headapi+"v1/Weixin/VipUserSelfQuery";return a(t,n)}function b(n){var t=headapi+"v1/Weixin/SchoolTimeQueryByDate";return a(t,n)}function g(n){var t=headapi+"v1/User/ManagerSelfQuery";return a(t,n)}function C(n){var t=headapi+"v1/Weixin/VipUserCleCkSum";return a(t,n)}function x(n){var t=headapi+"v1/Weixin/QueryNextWeek";return a(t,n)}function T(n){var t=headapi+"v1/Weixin/MyShopQuery";return a(t,n)}function A(n){var t=headapi+"v1/Weixin/PersonCardStatistics";return a(t,n)}function Q(n){var t=headapi+"v1/Weixin/PersonClassStatistics";return a(t,n)}function P(n){var t=headapi+"v1/Weixin/PersonMonthStatistics";return a(t,n)}function S(n){var t=headapi+"v1/Weixin/PersonClassDetail";return a(t,n)}function F(n){var t=headapi+"v1/Weixin/PersonClassList";return a(t,n)}function W(n){var t=headapi+"v1/Weixin/PersonScoreClassQuery";return a(t,n)}function O(n){var t=headapi+"v1/Weixin/PersonTtolistQuery";return a(t,n)}function U(n){var t=headapi+"v1/Weixin/PersonTtdStaticsQuery";return a(t,n)}function I(n){var t=headapi+"v1/Weixin/MyDailyTrainOverviewQuery";return a(t,n)}function M(n){var t=headapi+"v1/Weixin/MyDailyTrainDetailListQuery";return a(t,n)}function k(n){var t=headapi+"v1/Weixin/WxTplClassOverDetail";return a(t,n)}function B(n){var t=headapi+"v1/Weixin/WxTplScoreClassQuery";return a(t,n)}function D(n){var t=headapi+"v1/Weixin/PersonFtoList";return a(t,n)}function w(n){var t=headapi+"v1/FitnessTest/FtoDetailQuery";return a(t,n)}function V(n){var t=headapi+"v1/FitnessTest/CanOrderDateQuery";return a(t,n)}function K(n){var t=headapi+"v1/Shop/ShopQueryByUnLoginLoalLoutUser";return a(t,n)}function z(n){var t=headapi+"v1/Auth/NotUserGetPhoneVFCode";return a(t,n)}function j(n){var t=headapi+"v1/FitnessTest/OrderFitnessTestAdd";return a(t,n)}function E(n){var t=headapi+"v1/FitnessTest/FTGroupTypeIsOrderOneQuery";return a(t,n)}function L(n){var t=headapi+"v1/FitnessTest/MyOrderFitnessTestListQuery";return a(t,n)}function N(n){var t=headapi+"v1/FitnessTest/MyOrderFitnessTestCancel";return a(t,n)}function R(n){var t=headapi+"v1/FitnessTest/MyOrderFitnessTestDetailList";return a(t,n)}function H(n){var t=headapi+"v1/FitnessTest/MyOrderFitnessTestListQueryByOpenId";return a(t,n)}function X(n){var t=headapi+"v1/FitnessTest/MyOrderFitnessTestLogOut";return a(t,n)}function J(n){var t=headapi+"v1/FitnessTest/GetOpenIdAndPhoneByCode";return a(t,n)}function Y(n){var t=headapi+"v1/WxPay/ChargeInfoQuery";return a(t,n)}function _(n){var t=headapi+"v1/WxPay/CurrentPromotionsQuery";return a(t,n)}function G(n){var t=headapi+"v1/WxPay/JsApiPrepayRequest";return a(t,n)}function Z(n){var t=headapi+"v1/WxPay/PhoneRelationShopQuery";return a(t,n)}function q(n){var t=headapi+"v1/WxPay/MyChargeInfoListQuery";return a(t,n)}function $(n){var t=headapi+"v1/Weixin/VipUserSelfInviteCodeQuery";return a(t,n)}function nn(n){var t=headapi+"v1/WxPay/CurrentPromotionsTabQuery";return a(t,n)}function tn(n){var t=headbpi+"v1/OutService/GetUserHistoryInfoByDuId";return a(t,n)}function en(n){var t=headbpi+"v1/OutService/GetHrValueInfoByDuId";return a(t,n)}function rn(n){var t=headbpi+"v1/OutService/GetSportPercentByDuId";return a(t,n)}},d0e2:function(n,t,e){},fb6a:function(n,t,e){"use strict";var r=e("23e7"),i=e("e8b5"),a=e("68ee"),u=e("861d"),o=e("23cb"),s=e("07fa"),c=e("fc6a"),d=e("8418"),f=e("b622"),v=e("1dde"),l=e("f36a"),h=v("slice"),p=f("species"),m=Array,y=Math.max;r({target:"Array",proto:!0,forced:!h},{slice:function(n,t){var e,r,f,v=c(this),h=s(v),b=o(n,h),g=o(void 0===t?h:t,h);if(i(v)&&(e=v.constructor,a(e)&&(e===m||i(e.prototype))?e=void 0:u(e)&&(e=e[p],null===e&&(e=void 0)),e===m||void 0===e))return l(v,b,g);for(r=new(void 0===e?m:e)(y(g-b,0)),f=0;b<g;b++,f++)b in v&&d(r,f,v[b]);return r.length=f,r}})}}]);
- //# sourceMappingURL=chunk-257bf800.undefined.1727314329046.js.map
|