1import { c as cE } from "./index.min-bc62360e.js"; 2import { L as LittleScholar } from "./LittleScholar-ed302f60.js"; 3import { GetHotUser } from "./home-99a127f0.js"; 4import { n as normalizeComponent } from "./vueComponentNormalizer-9c6b8b3d.js"; 5import "./vue.runtime.esm-c480512b.js"; 6import "./_commonjsHelpers-7a7fcd32.js"; 7var render = function() { 8 var _vm = this; 9 var _h = _vm.$createElement; 10 var _c = _vm._self._c || _h; 11 return _c("XCard", { 12 attrs: { 13 "contentStyle": { 14 padding: "16px 0px" 15 } 16 } 17 }, [_vm.hotUserLoading ? _c("base-skeleton", { 18 attrs: { 19 "rows": 6, 20 "animated": "" 21 } 22 }) : _vm._e(), !_vm.hotUserLoading && !_vm.hotUsers.length ? _c("base-empty", { 23 attrs: { 24 "description": "ææ æè¡æ¦", 25 "image-size": 80 26 } 27 }) : _vm._e(), !_vm.hotUserLoading && _vm.hotUsers.length ? _c("div", { 28 staticClass: "Scholar__wrap" 29 }, _vm._l(_vm.hotUsers, function(item, index) { 30 return _c("little-scholar", { 31 key: "hotUser" + index, 32 attrs: { 33 "scholar": item.user, 34 "avatarSize": 30 35 } 36 }); 37 }), 1) : _vm._e()], 1); 38}; 39var staticRenderFns = []; 40const PointRank_vue_vue_type_style_index_0_scoped_true_lang = ""; 41const __vue2_script = { 42 name: "PointRank", 43 components: { XCard: cE, LittleScholar }, 44 data() { 45 return { 46 hotUserLoading: false, 47 hotUsers: [] 48 }; 49 }, 50 props: { 51 module: Object 52 }, 53 created() { 54 this.getHotUser(); 55 }, 56 methods: { 57 getHotUser() { 58 var _a, _b; 59 this.hotUserLoading = true; 60 GetHotUser((_a = this.module) == null ? void 0 : _a.communityId, ((_b = this.module) == null ? void 0 : _b.showDataSize) || 4).then((e) => { 61 if (!e.error) { 62 this.hotUsers = e.data; 63 } 64 }).finally(() => { 65 this.hotUserLoading = false; 66 }); 67 } 68 } 69}; 70const __cssModules = {}; 71var __component__ = /* @__PURE__ */ normalizeComponent( 72 __vue2_script, 73 render, 74 staticRenderFns, 75 false, 76 __vue2_injectStyles, 77 "3c185e70", 78 null, 79 null 80); 81function __vue2_injectStyles(context) { 82 for (let o in __cssModules) { 83 this[o] = __cssModules[o]; 84 } 85} 86const PointRank = /* @__PURE__ */ function() { 87 return __component__.exports; 88}(); 89export { 90 PointRank as default 91};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.