chunk-04f3da5a.undefined.1727314329046.js 4.7 KB

12
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-04f3da5a"],{"0a6d":function(t,e,s){"use strict";s.r(e);var a=s("22b4"),i=s("104d");Object(a["a"])(i["a"])},9999:function(t,e,s){"use strict";s("9a08")},"9a08":function(t,e,s){},cd12:function(t,e,s){"use strict";s.r(e);var a=s("22b4"),i=s("4b2a");Object(a["a"])(i["a"])},d28f:function(t,e,s){"use strict";s.r(e);var a=s("22b4"),i=s("ff32");Object(a["a"])(i["a"])},ef97:function(t,e,s){"use strict";s.r(e);var a=s("22b4"),i=s("3620");Object(a["a"])(i["a"])},f8f9:function(t,e,s){"use strict";s.r(e);s("fb6a");var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"pages"},[e("div",{staticClass:"headerInfo"},[e("img",{staticClass:"headBack",attrs:{src:s("aed9c"),width:"100%"}}),e("div",{staticClass:"backView"},[e("span",{staticClass:"Back",on:{click:function(e){return t.back()}}},[t._v("返回")])]),e("div",{staticClass:"userInfo"},["男"==t.user.Sex?e("img",{staticClass:"round_icon",style:{border:"solid 2px #AACC03"},attrs:{src:""!=t.user.Head?t.user.Head:t.headImgUrl}}):t._e(),"女"==t.user.Sex?e("img",{staticClass:"round_icon",style:{border:"solid 2px #E75296"},attrs:{src:""!=t.user.Head?t.user.Head:t.headImgUrl}}):t._e(),e("span",[t._v(t._s(t.user.Name))])])]),e("div",{staticClass:"info"},[e("ul",[e("li",[e("em",[t._v(t._s(t.user.Height))]),e("span",[t._v("身高cm")])]),e("li",[e("em",[t._v(t._s(t.user.Age))]),e("span",[t._v("年龄")])]),e("li",[e("em",[t._v(t._s(t.user.Weight))]),e("span",[t._v("体重kg")])]),e("li",[e("em",[t._v(t._s(t.user.Sex))]),e("span",[t._v("性别")])])])]),e("div",{staticClass:"fitnessRecord"},[e("div",{staticClass:"title"},[t._v(" 充值记录 ")]),t.chargeList.length<1?e("ul",{staticClass:"recordEmpty"},[t._v(" 没有查到充值记录噢 . . . ")]):t._e(),t.chargeList.length>0?e("ul",{staticClass:"record"},t._l(t.chargeList,(function(s,a){return e("li",[e("div",{staticClass:"divIndex"},[t._v(t._s(a+1))]),e("div",{staticClass:"divContent"},[e("div",{staticClass:"rowTitle"},[e("span",[t._v("英泓小飞龙")]),t._v("("+t._s(s.ShopName.length>7?s.ShopName.slice(5):s.ShopName.slice(3))+") "),e("em",[t._v(t._s(t._f("filterTime")(s.ChargeTime)))])]),e("div",{staticClass:"rowContent"},[e("div",{staticClass:"columnDetail"},[e("div",{staticClass:"detailLeft"},[e("div",{staticClass:"leftRow_1"},[e("i",{staticStyle:{background:"#F9C8DF"}}),t._v(" 会籍:"+t._s(s.ChargeNormalMonth)+"个月 "),s.ChargeGiftMonth>0?e("em",[t._v("赠送"+t._s(s.ChargeGiftMonth)+"个月")]):e("em",[t._v("无赠送")])]),e("div",{staticClass:"leftRow_1"},[e("i",{staticStyle:{background:"#B9E5FF"}}),t._v(" 课时:"+t._s(s.ChargeNormalClassHour)+"课时 "),s.ChargeGiftClassHour>0?e("em",[t._v("赠送"+t._s(s.ChargeGiftClassHour)+"课时")]):e("em",[t._v("无赠送")])])]),e("div",{staticClass:"detailRight"},[e("em",[t._v("¥")]),t._v(" "+t._s(s.TotalFee/100)+" ")])])])])])})),0):t._e()]),e("bottomTab",{attrs:{curTab:t.thisTab}})],1)},i=[],r=(s("b0c0"),s("14d9"),s("ac1f"),s("5319"),s("bc3a"),s("a8da")),n=s("b8a1"),c=(s("379d"),s("4328"));s("3eba");s("94b1"),s("ef97"),s("627c"),s("007d"),s("0a6d"),s("d28f"),s("cd12");var o={data:function(){return{DuId:"",ShopId:"",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.ShopId=this.$route.query.shopId,t.getUserInfo(),t.getChargeRecord()},methods:{back:function(){this.$router.push({path:"/report"})},getUserInfo:function(){var t=this,e={token:localStorage.token},s=c.stringify(e);Object(n["V"])(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,shopId:t.ShopId},s=c.stringify(e);Object(n["p"])(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 n=e.getMinutes();n=n<10?"0"+n:n;var c=e.getSeconds();return c=c<10?"0"+c:c,s+"-"+a+"-"+i}return 0}},beforeRouteEnter:function(t,e,s){s((function(e){"reportLessonDetail"==t.name&&e.getUserInfo()}))},components:{bottomTab:r["a"]}},d=o,u=(s("9999"),s("2877")),l=Object(u["a"])(d,a,i,!1,null,"345d8d1f",null);e["default"]=l.exports}}]);
  2. //# sourceMappingURL=chunk-04f3da5a.undefined.1727314329046.js.map