index.js 3.2 KB

1
  1. require('./common/vendor.js');(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/points_mall/index"],{"0a9f":function(t,n,e){},"30f5":function(t,n,e){"use strict";(function(t,n){var i=e("4ea4");e("4789");i(e("66fd"));var a=i(e("785d"));t.__webpack_require_UNI_MP_PLUGIN__=e,n(a.default)}).call(this,e("bc2e")["default"],e("543d")["createPage"])},"785d":function(t,n,e){"use strict";e.r(n);var i=e("c7e6"),a=e("c60f");for(var o in a)["default"].indexOf(o)<0&&function(t){e.d(n,t,(function(){return a[t]}))}(o);e("80d5");var r=e("f0c5"),l=Object(r["a"])(a["default"],i["b"],i["c"],!1,null,"4b50a80f",null,!1,i["a"],void 0);n["default"]=l.exports},"80d5":function(t,n,e){"use strict";var i=e("0a9f"),a=e.n(i);a.a},c60f:function(t,n,e){"use strict";e.r(n);var i=e("f54e"),a=e.n(i);for(var o in i)["default"].indexOf(o)<0&&function(t){e.d(n,t,(function(){return i[t]}))}(o);n["default"]=a.a},c7e6:function(t,n,e){"use strict";e.d(n,"b",(function(){return i})),e.d(n,"c",(function(){return a})),e.d(n,"a",(function(){}));var i=function(){var t=this,n=t.$createElement,e=(t._self._c,t.$t("大家都在换")),i=t.$t("查看更多"),a=t.goodList.length,o=a?t.__map(t.goodList,(function(n,e){var i=t.__get_orig(n),a=t.$t("积分"),o=t.$t("人兑换");return{$orig:i,m2:a,m3:o}})):null,r=a?null:t.$t("暂无商品,去看点别的吧"),l=t.$t("轻松赚积分"),s=t.$t("购买商品"),u=t.$t("购买商品可获得积分奖励"),c=t.$t("去完成"),g=t.$t("每日签到活动"),d=t.$t("每日签到可获得积分奖励"),f=t.$t("去完成"),m=t.$t("九宫格抽奖活动"),p=t.$t("幸运抽奖可获得积分奖励"),_=t.$t("去完成");t.$mp.data=Object.assign({},{$root:{m0:e,m1:i,g0:a,l0:o,m4:r,m5:l,m6:s,m7:u,m8:c,m9:g,m10:d,m11:f,m12:m,m13:p,m14:_}})},a=[]},f54e:function(t,n,e){"use strict";(function(t){var i=e("4ea4");Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=e("26cb"),o=e("5560"),r=e("6557"),l=i(e("19b6")),s=e("00a0"),u={components:{},mixins:[l.default],data:function(){return{imgHost:s.HTTP_REQUEST_URL,autoplay:!0,circular:!0,interval:3e3,duration:500,imgUrls:[],goodList:[],modelList:[{title:this.$t("我的积分"),imgUrl:"./static/my-point.png",url:"/pages/users/user_integral/index"},{title:this.$t("每日签到"),imgUrl:"./static/sign-in.png",url:"/pages/users/user_sgin/index"},{title:this.$t("积分抽奖"),imgUrl:"./static/points-lottery.png",url:"/pages/goods/lottery/grids/index?type=1"},{title:this.$t("兑换记录"),imgUrl:"./static/exchange.png",url:"/pages/points_mall/exchange_record"}]}},computed:(0,a.mapGetters)(["isLogin"]),onLoad:function(){this.getStoreIntegral()},watch:{isLogin:{handler:function(t,n){1==t&&this.getStoreIntegral()},deep:!0}},methods:{getStoreIntegral:function(){var t=this;(0,o.getStoreIntegral)().then((function(n){t.imgUrls=n.data.banner,t.goodList=n.data.list}))},goGoodsDetail:function(n){(0,r.goShopDetail)(n).then((function(e){t.navigateTo({url:"/pages/points_mall/integral_goods_details?id=".concat(n.id)})}))},jumpMore:function(){t.navigateTo({url:"/pages/points_mall/integral_goods_list"})},goPages:function(t){var n=t.link;this.$util.JumpPath(n)},jump:function(n){t.navigateTo({url:n})}}};n.default=u}).call(this,e("543d")["default"])}},[["30f5","common/runtime","common/vendor","pages/points_mall/common/vendor"]]]);