1 |
- require('../common/vendor.js');(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/users/user_money/index"],{"32fd":function(t,n,e){"use strict";var i=e("aa91"),o=e.n(i);o.a},"4a08":function(t,n,e){"use strict";e.r(n);var i=e("f12b"),o=e("9879");for(var c in o)["default"].indexOf(c)<0&&function(t){e.d(n,t,(function(){return o[t]}))}(c);e("32fd");var a=e("f0c5"),u=Object(a["a"])(o["default"],i["b"],i["c"],!1,null,"279b1107",null,!1,i["a"],void 0);n["default"]=u.exports},"88e0":function(t,n,e){"use strict";(function(t,n){var i=e("4ea4");e("4789");i(e("66fd"));var o=i(e("4a08"));t.__webpack_require_UNI_MP_PLUGIN__=e,n(o.default)}).call(this,e("bc2e")["default"],e("543d")["createPage"])},9879:function(t,n,e){"use strict";e.r(n);var i=e("c578"),o=e.n(i);for(var c in i)["default"].indexOf(c)<0&&function(t){e.d(n,t,(function(){return i[t]}))}(c);n["default"]=o.a},aa91:function(t,n,e){},c578:function(t,n,e){"use strict";(function(t){var i=e("4ea4");Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o=e("2a39"),c=e("5d9d"),a=e("d1ea"),u=e("86eb"),r=e("26cb"),s=i(e("19b6")),h={components:{recommend:function(){Promise.all([e.e("common/vendor"),e.e("components/recommend/index")]).then(function(){return resolve(e("7992"))}.bind(null,e)).catch(e.oe)},authorize:function(){e.e("components/Authorize").then(function(){return resolve(e("ad23"))}.bind(null,e)).catch(e.oe)},home:function(){Promise.all([e.e("common/vendor"),e.e("components/home/index")]).then(function(){return resolve(e("3b71"))}.bind(null,e)).catch(e.oe)}},mixins:[s.default],data:function(){return{userInfo:{},hostProduct:[],isClose:!1,recharge_switch:0,activity:{},isAuto:!1,isShowAuth:!1,hotScroll:!1,hotPage:1,hotLimit:10}},computed:(0,r.mapGetters)(["isLogin"]),watch:{isLogin:{handler:function(t,n){t&&(this.getUserInfo(),this.get_host_product(),this.get_activity())},deep:!0}},onLoad:function(){this.isLogin?(this.getUserInfo(),this.get_host_product(),this.get_activity()):(0,u.toLogin)()},methods:{onLoadFun:function(){this.getUserInfo(),this.get_host_product(),this.get_activity()},authColse:function(t){this.isShowAuth=t},openSubscribe:function(n){t.showLoading({title:this.$t("正在加载")}),(0,c.openRechargeSubscribe)().then((function(e){t.hideLoading(),t.navigateTo({url:n})})).catch((function(){t.hideLoading()}))},getUserInfo:function(){var t=this;(0,a.getUserInfo)().then((function(n){t.$set(t,"userInfo",n.data),t.recharge_switch=n.data.recharge_switch}))},get_activity:function(){var t=this;(0,a.userActivity)().then((function(n){t.$set(t,"activity",n.data)}))},get_host_product:function(){var t=this;t.hotScroll||(0,o.getProductHot)(t.hotPage,t.hotLimit).then((function(n){t.hotPage++,t.hotScroll=n.data.length<t.hotLimit,t.hostProduct=t.hostProduct.concat(n.data)}))}},onReachBottom:function(){this.get_host_product()},onPageScroll:function(n){t.$emit("scroll")}};n.default=h}).call(this,e("543d")["default"])},f12b:function(t,n,e){"use strict";e.d(n,"b",(function(){return i})),e.d(n,"c",(function(){return o})),e.d(n,"a",(function(){}));var i=function(){var t=this,n=t.$createElement,e=(t._self._c,t.$t("总资产(元)")),i=t.recharge_switch?t.$t("充值"):null,o=t.recharge_switch?t.$t("累计充值(元)"):null,c=t.$t("累计消费(元)"),a=t.$t("账单记录"),u=t.$t("消费记录"),r=t.recharge_switch?t.$t("充值记录"):null,s=t.$t("积分中心"),h=t.$t("签到领积分"),l=t.$t("赚积分抵现金"),d=t.$t("领取优惠券"),f=t.$t("满减享优惠"),m=t.$t("最新拼团活动"),g=t.$t("最新的优惠商品上架拼团"),_=t.activity.is_pink?t.$t("立即参与"):null,v=t.activity.is_pink?null:t.$t("已结束"),$=t.$t("当前限时秒杀"),b=t.$t("最新商品秒杀进行中"),p=t.activity.is_seckill?t.$t("立即参与"):null,y=t.activity.is_seckill?null:t.$t("已结束"),P=t.$t("砍价活动"),w=t.$t("呼朋唤友来砍价"),L=t.activity.is_bargin?t.$t("立即参与"):null,I=t.activity.is_bargin?null:t.$t("已结束");t.$mp.data=Object.assign({},{$root:{m0:e,m1:i,m2:o,m3:c,m4:a,m5:u,m6:r,m7:s,m8:h,m9:l,m10:d,m11:f,m12:m,m13:g,m14:_,m15:v,m16:$,m17:b,m18:p,m19:y,m20:P,m21:w,m22:L,m23:I}})},o=[]}},[["88e0","common/runtime","common/vendor"]]]);
|