| 12 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-7783d8bc"],{"08fe":function(t,n,e){},"0fb9":function(t,n,e){"use strict";e.r(n);var r=function(){var t=this,n=t.$createElement,r=t._self._c||n;return r("div",{staticClass:"pages"},[r("img",{attrs:{src:e("6939"),width:"100%"}}),r("div",{staticClass:"context"},[r("span",{staticClass:"num"},[t._v(" 会员卡信息 ")]),r("div",{staticClass:"user"},[r("img",{attrs:{src:e("6bab"),height:"53",width:"53"}}),r("span",[t._v(t._s(t.user.Name))]),r("em",[t._v(t._s(t._f("hidePhone")(t.user.Phone)))])]),t._l(t.schools,(function(n){return r("div",{staticClass:"value"},[1==n.VipType?r("div",{staticClass:"vTitle year"},[r("i"),t._v("年会员")]):t._e(),2==n.VipType?r("div",{staticClass:"vTitle price"},[r("i"),t._v("充值会员")]):t._e(),r("div",{staticClass:"vNum"},[r("span",[t._v(" "+t._s(n.ShopName))]),r("div",{staticClass:"center"},[t._v(" 总计"+t._s(n.ClassHourToatal)+"课时 ")]),1==n.VipType?r("em",[t._v("(有效期至"+t._s(t._f("fmtTime")(n.ExpTime))+")")]):t._e()]),r("mu-flex",{staticClass:"linear-progress"},[r("mu-linear-progress",{attrs:{mode:"determinate",value:n.ClassHourRemain/n.ClassHourToatal*100,size:10,color:"secondary"}})],1),r("div",{staticClass:"limit"},[r("em",[t._v("剩余 "+t._s(n.ClassHourRemain)+" 课时")]),r("span",[t._v("完成 "+t._s(n.ClassHourConsume)+" 课时")])])],1)})),r("div",{staticClass:"btn_center"},[r("span",{staticClass:"btn btn-md login_btn",on:{click:t.logoutBtn}},[t._v("退出")])])],2),r("bottomTab",{attrs:{curTab:t.thisTab}})],1)},i=[],a=(e("1767"),e("bd79"),e("3d3a"),e("606e"),e("82ae"),e("a8da")),o=e("b8a1"),u=(e("379d"),e("fed1")),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 t=this,n={token:localStorage.token},e=u.stringify(n);Object(o["x"])(e).then((function(n){var e=n;0==e.Code?t.ckRs=e:t.$toast.message(e.Memo)}))},getOrderShopQuery:function(){var t=this,n={token:localStorage.token},e=u.stringify(n);Object(o["i"])(e).then((function(n){var e=n;0==e.Code?t.schools=e.Rs:t.$toast.message(e.Memo)}))},logoutBtn:function(){var t=this;this.$confirm("是否退出账号?","提示",{type:"warning"}).then((function(n){var e=n.result;e?(localStorage.token="",t.$router.push({path:"/login"})):t.$toast.message("点击了取消")}))},getInfo:function(){var t=this,n={token:localStorage.token,active:this.active},e=u.stringify(n);Object(o["z"])(e).then((function(n){var e=n;0==e.Code?t.user=e.Rs:t.$toast.message(e.Memo)}))}},filters:{hidePhone:function(t){var n=String(t),e=n.length;if(e>=7){var r=n.slice(-8,-4);return n.replace(r,"****")}if(e<7&&e>=6){r=n.slice(-4,-2);return n.replace(r,"**")}},fmtTime:function(t){if(t){t*=1e3;var n=new Date(t),e=n.getFullYear(),r=n.getMonth()+1;r=r<10?"0"+r:r;var i=n.getDate();i=i<10?"0"+i:i;var a=n.getHours();a=a<10?"0"+a:a;var o=n.getMinutes();o=o<10?"0"+o:o;var u=n.getSeconds();return u=u<10?"0"+u:u,e+"-"+r+"-"+i}return 0}},beforeRouteEnter:function(t,n,e){e((function(n){"mine"==t.name&&n.getInfo()}))},watch:{active:function(){console.log(123),this.getList()}},components:{bottomTab:a["a"]}},c=s,f=(e("d596"),e("cba8")),d=Object(f["a"])(c,r,i,!1,null,"4ab073c4",null);n["default"]=d.exports},1767:function(t,n,e){"use strict";var r=e("720d"),i=e("4239"),a=e("71b6"),o=e("8e63"),u=e("015e"),s=e("e970"),c=e("cf11"),f=e("ca70"),d=e("1f96"),v=e("b661"),l=v("slice"),h=d("species"),p=[].slice,m=Math.max;r({target:"Array",proto:!0,forced:!l},{slice:function(t,n){var e,r,d,v=c(this),l=s(v),b=u(t,l),g=u(void 0===n?l:n,l);if(i(v)&&(e=v.constructor,a(e)&&(e===Array||i(e.prototype))?e=void 0:o(e)&&(e=e[h],null===e&&(e=void 0)),e===Array||void 0===e))return p.call(v,b,g);for(r=new(void 0===e?Array:e)(m(g-b,0)),d=0;b<g;b++,d++)b in v&&f(r,d,v[b]);return r.length=d,r}})},"29ee":function(t,n,e){"use strict";e("08fe")},4239:function(t,n,e){var r=e("f3c1");t.exports=Array.isArray||function(t){return"Array"==r(t)}},"606e":function(t,n,e){var r=e("f7c7"),i=e("2bbd").EXISTS,a=e("f5e4").f,o=Function.prototype,u=o.toString,s=/^\s*function ([^ (]*)/,c="name";r&&!i&&a(o,c,{configurable:!0,get:function(){try{return u.call(this).match(s)[1]}catch(t){return""}}})},6939:function(t,n,e){t.exports=e.p+"img/banner.a5b6c712.png"},"6bab":function(t,n){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADUAAAA1CAYAAADh5qNwAAAABHNCSVQICAgIfAhkiAAABX9JREFUaEPNWl1SG0cQ/npF8hC7KvgEkU8Q+S1BqgIeE0tlcQLDCQInAJ/AygkQJ0AuicojckUieUOcwOIEgSp4krSd6p2VtP87M7tKvFU8MTPqb3r67+smlPjxZW0b3363Czg1MPYA3gaoFvoJxgMIE4CnIJK/If365+cSxQAVPcwDsvXyPYgPYwB0D/eAck/+6O3NJ91taeusQfEfP1WxqJwCdFhUiPB+noKpg/nTBR1MHmzONga1OTAR8ZX2jqk5vjAFZgSK+43fAJyBsG36QwXWD0HuCb29meieoQXKt5tzENq6B5e6TrTmeMC6OufmguKrnRqYzq2dgI4U2mu4S83xUd7yTFAeINe5tn9ufA+mKYChJwhxFUxVEHbzBEv/fz6wVFD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WQty/RoSVQCnFQqh0aaavkd+/yBCr6/+QmYHKWk9yfuto5BDvnYUH+P2ApgFK7Lent0aREl9HD/Onov3yKKlOHNAEDYw78COK9tKI0u5GdmMHLTBEfFKlydZ8iXzVOwdI6jXw5YSaXNk4vTfSLQV0QAQ+XUDx6uc+jFI9JLdHgb+SCUmlUGmNafI4oFFgz552yn5wxqHV+6EjiGy8CVaXbheP0TMfc/BrsnU+6JPeNpYicP7V1bVlLU6tnobKOTmYLdTnPRzIQ4k5Alfgk2IJr3qCImgXMaIB72pGKWGt8ZymnEajQm1eDVwUmV7IszbMdGY/r6GrH6vklieCzQTK8aNb8TsXjjf10bcEU0lTMw6ox07ZHa3nPyYB8EZ4CPAScXp5X0/WiVs8v73B/HqMKYkm54rOBjjuF60zLAhGV51/HFuiQo9vLggAAAABJRU5ErkJggg=="},a8da:function(t,n,e){"use strict";var r=function(){var t=this,n=t.$createElement,e=t._self._c||n;return e("div",{attrs:{id:"bottomTab"}},[e("mu-container",{staticStyle:{width:"100%"},attrs:{color:"primary"}},[e("mu-bottom-nav",{attrs:{value:t.nowTab,color:"#E75296"}},t._l(t.tabs,(function(t){return e("mu-bottom-nav-item",{key:t.tabindex,attrs:{title:t.name,icon:t.src,to:t.class,value:t.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(t){this.nowTab=t.meta.title}}},o=a,u=(e("29ee"),e("cba8")),s=Object(u["a"])(o,r,i,!1,null,"2008d39a",null);n["a"]=s.exports},b661:function(t,n,e){var r=e("1710"),i=e("1f96"),a=e("393d"),o=i("species");t.exports=function(t){return a>=51||!r((function(){var n=[],e=n.constructor={};return e[o]=function(){return{foo:1}},1!==n[t](Boolean).foo}))}},b8a1:function(t,n,e){"use strict";e.d(n,"B",(function(){return o})),e.d(n,"c",(function(){return u})),e.d(n,"e",(function(){return s})),e.d(n,"u",(function(){return c})),e.d(n,"A",(function(){return f})),e.d(n,"j",(function(){return d})),e.d(n,"k",(function(){return v})),e.d(n,"l",(function(){return l})),e.d(n,"m",(function(){return h})),e.d(n,"a",(function(){return p})),e.d(n,"y",(function(){return m})),e.d(n,"z",(function(){return b})),e.d(n,"w",(function(){return g})),e.d(n,"h",(function(){return C})),e.d(n,"x",(function(){return A})),e.d(n,"v",(function(){return y})),e.d(n,"i",(function(){return x})),e.d(n,"n",(function(){return S})),e.d(n,"q",(function(){return T})),e.d(n,"s",(function(){return k})),e.d(n,"o",(function(){return Q})),e.d(n,"p",(function(){return B})),e.d(n,"t",(function(){return P})),e.d(n,"r",(function(){return U})),e.d(n,"b",(function(){return w})),e.d(n,"g",(function(){return I})),e.d(n,"d",(function(){return F})),e.d(n,"f",(function(){return M}));var r=e("82ae"),i=e.n(r);e("379d");function a(t,n){return i.a.post(t,n).then((function(t){var n=t.data;return n}),(function(t){console.info(t)}))}function o(t){var n=headapi+"testSelect";return a(n,t)}function u(t){var n=headapi+"v1/Auth/GenVerifyPic";return a(n,t)}function s(t){var n=headapi+"v1/Auth/GetPhoneVFCode";return a(n,t)}function c(t){var n=headapi+"v1/Auth/PhoneSignIn";return a(n,t)}function f(t){var n=headapi+"v1/Auth/WXBind";return a(n,t)}function d(t){var n=headapi+"v1/Weixin/OderAddByVipUser";return a(n,t)}function v(t){var n=headapi+"v1/Weixin/OderCancelByVipUser";return a(n,t)}function l(t){var n=headapi+"v1/Weixin/OrderListQuery";return a(n,t)}function h(t){var n=headapi+"v1/Weixin/OrderShopQuery";return a(n,t)}function p(t){var n=headapi+"v1/Weixin/CanOrderSchoolTimeTableListQuery";return a(n,t)}function m(t){var n=headapi+"v1/Weixin/VipUserConsumeListQuery";return a(n,t)}function b(t){var n=headapi+"v1/Weixin/VipUserSelfQuery";return a(n,t)}function g(t){var n=headapi+"v1/Weixin/SchoolTimeQueryByDate";return a(n,t)}function C(t){var n=headapi+"v1/User/ManagerSelfQuery";return a(n,t)}function A(t){var n=headapi+"v1/Weixin/VipUserCleCkSum";return a(n,t)}function y(t){var n=headapi+"v1/Weixin/QueryNextWeek";return a(n,t)}function x(t){var n=headapi+"v1/Weixin/MyShopQuery";return a(n,t)}function S(t){var n=headapi+"v1/Weixin/PersonCardStatistics";return a(n,t)}function T(t){var n=headapi+"v1/Weixin/PersonClassStatistics";return a(n,t)}function k(t){var n=headapi+"v1/Weixin/PersonMonthStatistics";return a(n,t)}function Q(t){var n=headapi+"v1/Weixin/PersonClassDetail";return a(n,t)}function B(t){var n=headapi+"v1/Weixin/PersonClassList";return a(n,t)}function P(t){var n=headapi+"v1/Weixin/PersonScoreClassQuery";return a(n,t)}function U(t){var n=headapi+"v1/Weixin/PersonFtoList";return a(n,t)}function w(t){var n=headapi+"v1/FitnessTest/FtoDetailQuery";return a(n,t)}function I(t){var n=headbpi+"v1/OutService/GetUserHistoryInfoByDuId";return a(n,t)}function F(t){var n=headbpi+"v1/OutService/GetHrValueInfoByDuId";return a(n,t)}function M(t){var n=headbpi+"v1/OutService/GetSportPercentByDuId";return a(n,t)}},ca44:function(t,n,e){},ca70:function(t,n,e){"use strict";var r=e("fadd"),i=e("f5e4"),a=e("f4ed");t.exports=function(t,n,e){var o=r(n);o in t?i.f(t,o,a(0,e)):t[o]=e}},d596:function(t,n,e){"use strict";e("ca44")}}]);
- //# sourceMappingURL=chunk-7783d8bc.undefined.1634027456456.js.map
|