公司小程序
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.

12 lines
3.7 KiB

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