chunk-0d48ff4e.undefined.1671071058477.js 4.7 KB

12
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-0d48ff4e"],{"1cf3":function(e,t,s){"use strict";s.r(t);var a=s("2df3"),i=s("4e07");Object(a["a"])(i["a"])},"360a":function(e,t,s){"use strict";s.r(t);var a=s("2df3"),i=s("0905");Object(a["a"])(i["a"])},"872e":function(e,t,s){"use strict";s("dc0e")},dc0e:function(e,t,s){},f8f9:function(e,t,s){"use strict";s.r(t);var a=function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"pages"},[a("div",{staticClass:"headerInfo"},[a("img",{staticClass:"headBack",attrs:{src:s("aed9"),width:"100%"}}),a("div",{staticClass:"backView"},[a("span",{staticClass:"Back",on:{click:function(t){return e.back()}}},[e._v("返回")])]),a("div",{staticClass:"userInfo"},["男"==e.user.Sex?a("img",{staticClass:"round_icon",style:{border:"solid 2px #AACC03"},attrs:{src:""!=e.user.Head?e.user.Head:e.headImgUrl}}):e._e(),"女"==e.user.Sex?a("img",{staticClass:"round_icon",style:{border:"solid 2px #E75296"},attrs:{src:""!=e.user.Head?e.user.Head:e.headImgUrl}}):e._e(),a("span",[e._v(e._s(e.user.Name))])])]),a("div",{staticClass:"info"},[a("ul",[a("li",[a("em",[e._v(e._s(e.user.Height))]),a("span",[e._v("身高cm")])]),a("li",[a("em",[e._v(e._s(e.user.Age))]),a("span",[e._v("年龄")])]),a("li",[a("em",[e._v(e._s(e.user.Weight))]),a("span",[e._v("体重kg")])]),a("li",[a("em",[e._v(e._s(e.user.Sex))]),a("span",[e._v("性别")])])])]),a("div",{staticClass:"fitnessRecord"},[a("div",{staticClass:"title"},[e._v(" 充值记录 ")]),e.chargeList.length<1?a("ul",{staticClass:"recordEmpty"},[e._v(" 没有查到充值记录噢 . . . ")]):e._e(),e.chargeList.length>0?a("ul",{staticClass:"record"},e._l(e.chargeList,(function(t,s){return a("li",[a("div",{staticClass:"divIndex"},[e._v(e._s(s+1))]),a("div",{staticClass:"divContent"},[a("div",{staticClass:"rowTitle"},[a("span",[e._v("英泓小飞龙")]),e._v("("+e._s(t.ShopName.length>7?t.ShopName.slice(5):t.ShopName.slice(3))+") "),a("em",[e._v(e._s(e._f("filterTime")(t.ChargeTime)))])]),a("div",{staticClass:"rowContent"},[a("div",{staticClass:"columnDetail"},[a("div",{staticClass:"detailLeft"},[a("div",{staticClass:"leftRow_1"},[a("i",{staticStyle:{background:"#F9C8DF"}}),e._v(" 会籍:"+e._s(t.ChargeNormalMonth)+"个月 "),t.ChargeGiftMonth>0?a("em",[e._v("赠送"+e._s(t.ChargeGiftMonth)+"个月")]):a("em",[e._v("无赠送")])]),a("div",{staticClass:"leftRow_1"},[a("i",{staticStyle:{background:"#B9E5FF"}}),e._v(" 课时:"+e._s(t.ChargeNormalClassHour)+"课时 "),t.ChargeGiftClassHour>0?a("em",[e._v("赠送"+e._s(t.ChargeGiftClassHour)+"课时")]):a("em",[e._v("无赠送")])])]),a("div",{staticClass:"detailRight"},[a("em",[e._v("¥")]),e._v(" "+e._s(t.TotalFee/100)+" ")])])])])])})),0):e._e()]),a("bottomTab",{attrs:{curTab:e.thisTab}})],1)},i=[],r=(s("2bd2"),s("07c0"),s("a717"),s("d7f0"),s("82ae"),s("a8da")),n=s("b8a1"),c=(s("379d"),s("fed1"));s("0e88");s("37d4"),s("fc1c"),s("61e2"),s("6232"),s("360a"),s("1cf3"),s("fa51");var o={data:function(){return{DuId:"",StdId:"",userMd5:"",thisTab:"我的运动",screenWidth:document.body.clientWidth+"px",headImgUrl:s("c18d"),chargeList:{},user:{Name:"",Age:"",Height:"",Weight:"",StaticHr:"",Phone:"",Sex:"",Head:""}}},watch:{$route:function(e){if("fitnessRecord"==e.name){var t=this;t.getUserInfo(),t.getChargeRecord()}}},mounted:function(){var e=this;e.getUserInfo(),e.getChargeRecord()},methods:{back:function(){this.$router.push({path:"/report"})},getUserInfo:function(){var e=this,t={token:localStorage.token},s=c.stringify(t);Object(n["T"])(s).then((function(t){var s=t;0==s.Code?(e.user=s.Rs,e.userMd5=s.Rs.UserMd5):e.$toast.message(s.Memo)}))},getChargeRecord:function(){var e=this,t={token:localStorage.token},s=c.stringify(t);Object(n["o"])(s).then((function(t){var s=t;0==s.Code?e.chargeList=s.Rs:e.chargeList=[]}))}},filters:{hidePhone:function(e){var t=String(e),s=t.length;if(s>=7){var a=t.slice(-8,-4);return t.replace(a,"****")}if(s<7&&s>=6){var i=t.slice(-4,-2);return t.replace(i,"**")}},filterTime:function(e){return e?dateFormatWithoutZone(e,16):0},fmtTime:function(e){if(e){e*=1e3;var t=new Date(e),s=t.getFullYear(),a=t.getMonth()+1;a=a<10?"0"+a:a;var i=t.getDate();i=i<10?"0"+i:i;var r=t.getHours();r=r<10?"0"+r:r;var n=t.getMinutes();n=n<10?"0"+n:n;var c=t.getSeconds();return c=c<10?"0"+c:c,s+"-"+a+"-"+i}return 0}},beforeRouteEnter:function(e,t,s){s((function(t){"reportLessonDetail"==e.name&&t.getUserInfo()}))},components:{bottomTab:r["a"]}},d=o,l=(s("872e"),s("cba8")),u=Object(l["a"])(d,a,i,!1,null,"49da3af6",null);t["default"]=u.exports},fa51:function(e,t,s){"use strict";s.r(t);var a=s("2df3"),i=s("d902");Object(a["a"])(i["a"])},fc1c:function(e,t,s){"use strict";s.r(t);var a=s("2df3"),i=s("419c");Object(a["a"])(i["a"])}}]);
  2. //# sourceMappingURL=chunk-0d48ff4e.undefined.1671071058477.js.map