You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

1 lines
4.1 KiB

require('../common/vendor.js');(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/users/user_money/index"],{"0764":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("1579"),c=e("f984"),a=e("8ba8"),u=e("666f"),r=e("26cb"),s=i(e("66ca")),f={components:{recommend:function(){Promise.all([e.e("common/vendor"),e.e("components/recommend/index")]).then(function(){return resolve(e("f1f8"))}.bind(null,e)).catch(e.oe)},authorize:function(){e.e("components/Authorize").then(function(){return resolve(e("b29f"))}.bind(null,e)).catch(e.oe)},home:function(){Promise.all([e.e("common/vendor"),e.e("components/home/index")]).then(function(){return resolve(e("03ff"))}.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=f}).call(this,e("543d")["default"])},"323c":function(t,n,e){},a1ec:function(t,n,e){"use strict";(function(t,n){var i=e("4ea4");e("248d");i(e("66fd"));var o=i(e("f6ef"));t.__webpack_require_UNI_MP_PLUGIN__=e,n(o.default)}).call(this,e("bc2e")["default"],e("543d")["createPage"])},a6e9:function(t,n,e){"use strict";var i=e("323c"),o=e.n(i);o.a},c294: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("积分中心"),f=t.$t("签到领积分"),h=t.$t("赚积分抵现金"),l=t.$t("领取优惠券"),d=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("当前限时秒杀"),p=t.$t("最新商品秒杀进行中"),b=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:f,m9:h,m10:l,m11:d,m12:m,m13:g,m14:_,m15:v,m16:$,m17:p,m18:b,m19:y,m20:P,m21:w,m22:L,m23:I}})},o=[]},f1cd:function(t,n,e){"use strict";e.r(n);var i=e("0764"),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},f6ef:function(t,n,e){"use strict";e.r(n);var i=e("c294"),o=e("f1cd");for(var c in o)["default"].indexOf(c)<0&&function(t){e.d(n,t,(function(){return o[t]}))}(c);e("a6e9");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}},[["a1ec","common/runtime","common/vendor"]]]);