1 |
- require('../common/vendor.js');(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/users/user_money/index"],{4450:function(t,n,e){},"4a08":function(t,n,e){"use strict";e.r(n);var i=e("dfa4"),o=e("9879");for(var c in o)["default"].indexOf(c)<0&&function(t){e.d(n,t,(function(){return o[t]}))}(c);e("d3dc");var a=e("f0c5"),u=Object(a["a"])(o["default"],i["b"],i["c"],!1,null,"b86a8a24",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},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")),l={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=l}).call(this,e("543d")["default"])},d3dc:function(t,n,e){"use strict";var i=e("4450"),o=e.n(i);o.a},dfa4: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("积分中心"),l=t.$t("签到领积分"),h=t.$t("赚积分抵现金"),d=t.$t("领取优惠券"),f=t.$t("满减享优惠"),m=t.$permission("combination"),g=m?t.$t("最新拼团活动"):null,_=m?t.$t("最新的优惠商品上架拼团"):null,v=m&&t.activity.is_pink?t.$t("立即参与"):null,$=m&&!t.activity.is_pink?t.$t("已结束"):null,p=t.$permission("seckill"),b=p?t.$t("当前限时秒杀"):null,y=p?t.$t("最新商品秒杀进行中"):null,P=p&&t.activity.is_seckill?t.$t("立即参与"):null,w=p&&!t.activity.is_seckill?t.$t("已结束"):null,L=t.$permission("bargain"),I=L?t.$t("砍价活动"):null,k=L?t.$t("呼朋唤友来砍价"):null,S=L&&t.activity.is_bargin?t.$t("立即参与"):null,x=L&&!t.activity.is_bargin?t.$t("已结束"):null;t.$mp.data=Object.assign({},{$root:{m0:e,m1:i,m2:o,m3:c,m4:a,m5:u,m6:r,m7:s,m8:l,m9:h,m10:d,m11:f,m12:m,m13:g,m14:_,m15:v,m16:$,m17:p,m18:b,m19:y,m20:P,m21:w,m22:L,m23:I,m24:k,m25:S,m26:x}})},o=[]}},[["88e0","common/runtime","common/vendor"]]]);
|