(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-1e931ea8"],{"64ba":function(t,i,a){"use strict";a.r(i);var e=function(){var t=this,i=t.$createElement,e=t._self._c||i;return e("div",{ref:"container",staticClass:"integral-details"},[e("NavBar",{attrs:{title:"我的积分"}}),e("div",{staticClass:"header"},[e("div",{staticClass:"currentScore"},[t._v("当前积分")]),e("div",[t._v(t._s(t.info.integral))]),e("div",{staticClass:"line"}),e("div",{staticClass:"nav acea-row"},[e("div",{staticClass:"item"},[e("div",{staticClass:"num"},[t._v(t._s(t.info.sum_integral))]),e("div",[t._v("累计积分")])]),e("div",{staticClass:"item"},[e("div",{staticClass:"num"},[t._v(t._s(t.info.deduction_integral))]),e("div",[t._v("累计消费")])]),e("div",{staticClass:"item"},[e("div",{staticClass:"num"},[t._v(t._s(t.info.today_integral))]),e("div",[t._v("今日获得")])])])]),e("div",{staticClass:"wrapper"},[e("div",{staticClass:"nav acea-row"},t._l(t.navList,(function(i,a){return e("div",{key:a,staticClass:"item acea-row row-center-wrapper",class:t.current===a?"on":"",on:{click:function(i){return t.nav(a)}}},[e("span",{staticClass:"iconfont",class:i.icon}),t._v(t._s(i.name)+"\n      ")])})),0),e("div",{staticClass:"list",attrs:{hidden:0!==t.current}},[t._m(0),t._l(t.list,(function(i,a){return e("div",{key:a,staticClass:"item acea-row row-between-wrapper"},[e("div",[e("div",{staticClass:"state"},[t._v(t._s(i.mark))]),e("div",[t._v(t._s(i.add_time))])]),1==i.pm?e("div",{staticClass:"num"},[t._v("+"+t._s(i.number))]):t._e(),0==i.pm?e("div",{staticClass:"num font-color-red"},[t._v("\n          -"+t._s(i.number)+"\n        ")]):t._e()])}))],2),e("div",{staticClass:"list2",attrs:{hidden:1!==t.current}},[e("router-link",{staticClass:"item acea-row row-between-wrapper",attrs:{to:"/"}},[e("div",{staticClass:"pictrue"},[e("img",{attrs:{src:a("d31e")}})]),e("div",{staticClass:"name"},[t._v("购买商品可获得积分奖励")]),e("div",{staticClass:"earn"},[t._v("赚积分")])]),e("router-link",{staticClass:"item acea-row row-between-wrapper",attrs:{to:"/user/sign"}},[e("div",{staticClass:"pictrue"},[e("img",{attrs:{src:a("d31e")}})]),e("div",{staticClass:"name"},[t._v("每日签到可获得积分奖励")]),e("div",{staticClass:"earn"},[t._v("赚积分")])])],1)]),e("Loading",{attrs:{loaded:t.loaded,loading:t.loading}})],1)},s=[function(){var t=this,i=t.$createElement,a=t._self._c||i;return a("div",{staticClass:"tip acea-row row-middle"},[a("span",{staticClass:"iconfont icon-shuoming"}),t._v("提示：积分数值的高低会直接影响您的会员等级\n      ")])}],n=a("c24f"),r=a("3a5e"),l=a("d000"),c={name:"Integral",components:{Loading:r["a"],NavBar:l["a"]},props:{},data:function(){return{navList:[{name:"分值明细",icon:"icon-mingxi"},{name:"分值提升",icon:"icon-tishengfenzhi"}],current:0,where:{page:1,limit:15},data:{sign:1,integral:1,all:1},list:[],info:[],loaded:!1,loading:!1}},mounted:function(){var t=this;this.getIntegral(),this.getInfo(),this.$scroll(this.$refs.container,(function(){!t.loading&&t.getInfo()}))},methods:{nav:function(t){this.current=t},getInfo:function(){var t=this;1!=t.loaded&&1!=t.loading&&(t.loading=!0,Object(n["t"])(t.where).then((function(i){t.loading=!1,t.loaded=i.data.length<t.where.limit,t.loadTitle=t.loaded?"人家是有底线的":"上拉加载更多",t.where.page=t.where.page+1,t.list.push.apply(t.list,i.data)}),(function(i){t.$dialog.message(i.msg)})))},getIntegral:function(){var t=this;Object(n["P"])(t.data).then((function(i){t.info=i.data}),(function(i){t.$dialog.message(i.msg)}))}}},o=c,d=a("2877"),v=Object(d["a"])(o,e,s,!1,null,null,null);i["default"]=v.exports},d000:function(t,i,a){"use strict";var e=function(){var t=this,i=t.$createElement,a=t._self._c||i;return a("div",[a("div",{staticClass:"bg-color-red",staticStyle:{height:"0.7rem",position:"fixed","z-index":"999",top:"0",width:"100%"}},[a("div",{staticStyle:{width:"100%",display:"flex","line-height":"0.7rem","font-size":"0.35rem"}},[a("div",{staticClass:"iconfont icon-xiangzuo",staticStyle:{color:"#FFFFFF","font-size":"0.35rem","padding-left":"10px"},on:{click:t.returns}}),a("div",{staticStyle:{color:"#FFFFFF","font-weight":"400",flex:"auto","text-align":"center","padding-right":"30px"}},[t._v("\n        "+t._s(t.titles)+"\n      ")])])]),a("div",{staticStyle:{height:"0.7rem"}})])},s=[],n={name:"NavBar",props:{title:String},data:function(){return{titles:""}},mounted:function(){void 0==this.title?this.titles=this.$route.meta.title:this.titles=this.title},methods:{returns:function(){this.$router.back()}}},r=n,l=a("2877"),c=Object(l["a"])(r,e,s,!1,null,null,null);i["a"]=c.exports},d31e:function(t,i,a){t.exports=a.p+"h5/img/score.30715cf5.png"}}]);
//# sourceMappingURL=chunk-1e931ea8.48bf0eed.js.map