(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/HeroList/HeroList"],{372:function(n,e,t){"use strict";t.r(e);var i=t(373),a=t.n(i);for(var o in i)"default"!==o&&function(n){t.d(e,n,(function(){return i[n]}))}(o);e["default"]=a.a},373:function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=0,a={name:"HeroList",data:function(){return{mainPageData:getApp().globalData.mainPageData,TabList:[{name:"大富翁成交榜"},{name:"分佣榜"}],currentTabIndex:i}},methods:{onTableIndexChanged:function(n){var e=n.index;this.currentTabIndex=e},getTargetShowingData:function(){return this.mainPageData.ranklist[this.currentTabIndex].rankitem},getTopImageUrl:function(){return this.mainPageData.ranklist[this.currentTabIndex]?this.mainPageData.ranklist[this.currentTabIndex].picurl:"../../static/images/mainview/banner_yingxiongbang.png"},getUdidKeyOfItem:function(n){return this.currentTabIndex+"_"+n},getRankIndexImage:function(n){return"../../static/images/mainview/p_"+(n+1)+".png"},getMoneyFormat:function(n){n/=100;var e=this.$utils.formatMoney(n);return"¥"+e},getUpdateTimeStr:function(){if(0==this.mainPageData.ranklist.length)return"";var n=this.mainPageData.ranklist[this.currentTabIndex],e=n.updatetime;return"更新于:"+this.$utils.formatTime(e)}}};e.default=a},374:function(n,e,t){},443:function(n,e,t){"use strict";t.r(e);var i=t(486),a=t(372);for(var o in a)"default"!==o&&function(n){t.d(e,n,(function(){return a[n]}))}(o);t(444);var r,u=t(1),s=Object(u["a"])(a["default"],i["b"],i["c"],!1,null,"c8edc5f8",null,!1,i["a"],r);s.options.__file="components/HeroList/HeroList.vue",e["default"]=s.exports},444:function(n,e,t){"use strict";var i=t(374),a=t.n(i);a.a},486:function(n,e,t){"use strict";var i;t.d(e,"b",(function(){return a})),t.d(e,"c",(function(){return o})),t.d(e,"a",(function(){return i}));try{i={uGap:function(){return Promise.all([t.e("common/vendor"),t.e("uni_modules/uview-ui/components/u-gap/u-gap")]).then(t.bind(null,509))},uTabs:function(){return Promise.all([t.e("common/vendor"),t.e("uni_modules/uview-ui/components/u-tabs/u-tabs")]).then(t.bind(null,519))},uLine:function(){return Promise.all([t.e("common/vendor"),t.e("uni_modules/uview-ui/components/u-line/u-line")]).then(t.bind(null,506))},uText:function(){return Promise.all([t.e("common/vendor"),t.e("uni_modules/uview-ui/components/u-text/u-text")]).then(t.bind(null,517))},uSkeleton:function(){return Promise.all([t.e("common/vendor"),t.e("uni_modules/uview-ui/components/u-skeleton/u-skeleton")]).then(t.bind(null,530))},uList:function(){return Promise.all([t.e("common/vendor"),t.e("uni_modules/uview-ui/components/u-list/u-list")]).then(t.bind(null,513))}}}catch(r){if(-1===r.message.indexOf("Cannot find module")||-1===r.message.indexOf(".vue"))throw r;console.error(r.message),console.error("1. 排查组件名称拼写是否正确"),console.error("2. 排查组件是否符合 easycom 规范,文档:https://uniapp.dcloud.net.cn/collocation/pages?id=easycom"),console.error("3. 若组件不符合 easycom 规范,需手动引入,并在 components 中注册该组件")}var a=function(){var n=this,e=n.$createElement,t=(n._self._c,n.getTopImageUrl()),i=n.getUpdateTimeStr(),a=0!=n.mainPageData.ranklist.length?n.__map(n.getTargetShowingData(),(function(e,t){var i=n.__get_orig(e),a=n.getUdidKeyOfItem(t),o=t<3?n.getRankIndexImage(t):null,r=n.getMoneyFormat(e.score);return{$orig:i,m2:a,m3:o,m4:r}})):null;n.$mp.data=Object.assign({},{$root:{m0:t,m1:i,l0:a}})},o=[];a._withStripped=!0}}]); //# sourceMappingURL=../../../.sourcemap/mp-weixin/components/HeroList/HeroList.js.map ;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([ 'components/HeroList/HeroList-create-component', { 'components/HeroList/HeroList-create-component':(function(module, exports, __webpack_require__){ __webpack_require__('0')['createComponent'](__webpack_require__(443)) }) }, [['components/HeroList/HeroList-create-component']] ]);