chunk-708c58cc.undefined.1671008926470.js 4.7 KB

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