PageSourceSearch

https://static.eleduck.com/_next/static/chunks/pages/ele_records-0a1185b06158b189.js

js eleduck.com collected 2026-09-25 14:02:12 UTC 7,848 bytes, 2 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[545],{97134:function(e,s,t){"use strict";t.d(s,{Z:function(){return c}});var n=t(73255),r=t(96164),a={src:"https://static.eleduck.com/_next/static/media/blank.dc63ca40.png"},i=t(85893),l=n.Z.Text,c=function(e){var s=e.children,t=e.description,n=e.hasData;return void 0!==n&&n?(0,i.jsx)(i.Fragment,{children:s}):(0,i.jsx)("div",{className:"my-50",children:(0,i.jsx)(r.Z,{description:(0,i.jsx)(l,{type:"secondary",children:t||"暂无数据"}),image:a.src})})}},32260:function(e,s,t){"use strict";var n=t(85893);s.Z=function(e){return(0,n.jsx)("div",{className:"quote-content mt-10",children:(0,n.jsx)("blockquote",{children:e.children})})}},19955:function(e,s,t){"use strict";var n=t(59499),r=t(41664),a=t.n(r),i=t(30705),l=t(28814),c=t(85893);function o(e,s){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);s&&(n=n.filter(function(s){return Object.getOwnPropertyDescriptor(e,s).enumerable})),t.push.apply(t,n)}return t}s.Z=function(e){var s=e.post.full_title||e.post.title,t=e.altTitle?(0,l.$G)(s):s;return(0,c.jsx)(a(),{legacyBehavior:!0,href:(0,i.wS)(e.post),as:(0,i.o2)(e.post),children:(0,c.jsx)("a",{className:e.className||"",title:s,target:"_blank",children:e.isText?(0,c.jsx)("span",{style:function(e){for(var s=1;s<arguments.length;s++){var t=null!=arguments[s]?arguments[s]:{};s%2?o(Object(t),!0).forEach(function(s){(0,n.Z)(e,s,t[s])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):o(Object(t)).forEach(function(s){Object.defineProperty(e,s,Object.getOwnPropertyDescriptor(t,s))})}return e}({},e.style),children:t}):(0,c.jsx)("h3",{style:{fontWeight:400,fontSize:"14px",marginBottom:"0px"},children:t})})})}},46716:function(e,s,t){"use strict";var n=t(79760),r=t.n(n),a=t(41664),i=t.n(a),l=t(11163),c=t(34172),o=t(30705),d=t(85893);s.Z=function(e){var s,t=(0,l.useRouter)();return!e.pager||e.pager.total_pages<=1?null:(0,d.jsxs)("div",{className:"jsx-2034623242 site-pagination",children:[(0,d.jsx)(c.Z,{size:"small",defaultCurrent:1,current:e.pager.current_page,pageSize:e.pager.limit_value,itemRender:function(e,s,n){if(!e)return n;var r=(0,o.TA)(t,function(s){e&&e>1?s.page=e:delete s.page});return(0,d.jsx)(i(),{legacyBehavior:!0,href:r.href,as:r.as,children:n})},total:e.pager.total_count,onChange:e.onPageChange,onShowSizeChange:e.onShowSizeChange,showSizeChanger:null!==(s=e.sizeChange)&&void 0!==s&&s}),(0,d.jsx)(r(),{id:"2034623242",children:[".jsx-2034623242{text-align:right;margin-top:20px;}"]})]})}},17631:function(e,s,t){"use strict";var n=t(41664),r=t.n(n),a=t(28814),i=t(13227),l=t(81774),c=t(85893);s.Z=function(e){var s=e.user,t=e.avatar,n=e.showLevel,o=e.size,d=e.isAuthor,u="showAvatar"in e?e.showAvatar:void 0!==t&&t,x=(0,l.u)(s).userProfileUrl;return(0,c.jsx)(r(),{legacyBehavior:!0,href:x,children:(0,c.jsxs)("a",{className:e.className,target:"_blank",children:[u&&(0,c.jsx)(i.Z,{showLevel:void 0===n||n,user:s,size:void 0===o?23:o}),(0,c.jsx)("span",{className:"ml-5 ".concat(e.className),title:s.nickname,children:(0,a.$G)(s.nickname,12)}),void 0!==d&&d&&(0,c.jsx)("span",{children:"(作者)"})]})})}},64473:function(e,s,t){"use strict";t.r(s),t.d(s,{default:function(){return E}});var n=t(79760),r=t.n(n),a=t(11163),i=t(67294),l=t(14890),c=t(14416),o=t(49570),d=t(8585),u=t(49785),x=t(46716),j=t(29183),p=t(97134),h=t(45438),g=t(30381),m=t.n(g),f=t(85893),v=t(92105),b=t(26005),w=t(91981),N=t(41144),y=t(19955),Z=t(37359),_=t(32260),k=t(17631),O=v.Z.Panel,P=function(e){var s=(0,a.useRouter)(),t=s.query.page,n=void 0===t?1:t,l=e.token,c=e.eleRecordList,o=function(t){e.getEleRecordList(l,{page:t}),s.push("/ele_records?page=".concat(t),{shallow:!0})},d=function(e){var s=e.label,t=e.detail;return(0,f.jsxs)("div",{className:"flex align-items-top mt-10",children:[(0,f.jsxs)("span",{className:"text-secondary inline-block w-50",children:[s,":"]}),(0,f.jsx)("span",{children:t})]})};(0,i.useEffect)(function(){return o(n)},[]);var g=(0,f.jsxs)("div",{className:"jsx-919524738",children:[(0,f.jsx)(j.Z,{}),(0,f.jsx)(b.Z,{title:"电量用途",children:(0,f.jsxs)("ul",{className:"jsx-919524738",children:[(0,f.jsx)("li",{className:"jsx-919524738",children:"查看他人的联系方式,-5;"}),(0,f.jsx)("li",{className:"jsx-919524738",children:"查看职位的申请方式,-5;"}),(0,f.jsx)("li",{className:"jsx-919524738",children:"用来赞赏和支持你喜欢的帖子和作者;"}),(0,f.jsx)("li",{className:"jsx-919524738",children:"用来感谢那些帮你回答了问题或者解决了问题的社区居民;"})]})}),(0,f.jsx)(r(),{id:"919524738",children:["ul.jsx-919524738{margin:0;font-size:14px;color:#9b9b9b;padding-inline-start:20px;line-height:24px;}",".btn-topup.jsx-919524738{margin-top:10px;}"]})]});return(0,f.jsxs)(u.Z,{pageTitle:"电量明细",pageSider:g,children:[(0,f.jsxs)(b.Z,{children:[(0,f.jsx)("h1",{className:"jsx-1979154340 page-title",children:"电量明细"}),(0,f.jsxs)("div",{className:"jsx-1979154340 record-list",children:[(0,f.jsx)("div",{className:"jsx-1979154340 my-10 px-20",children:(0,f.jsxs)(w.Z,{type:"flex",justify:"space-between",gutter:8,children:[(0,f.jsx)(N.Z,{span:10,children:(0,f.jsx)("strong",{className:"jsx-1979154340",children:"操作内容"})}),(0,f.jsx)(N.Z,{span:7,children:(0,f.jsx)("strong",{style:{paddingLeft:"10px"}
1,className:"jsx-1979154340",children:"操作时间"})}),(0,f.jsx)(N.Z,{span:7,className:"text-right",children:(0,f.jsx)("strong",{className:"jsx-1979154340",children:"电量值"})})]})}),(0,f.jsx)(v.Z,{children:c?c.records.length?c.records.map(function(e){var s;return(0,f.jsxs)(O,{header:(0,f.jsxs)(w.Z,{type:"flex",justify:"space-between",gutter:8,children:[(0,f.jsx)(N.Z,{span:10,children:(0,f.jsx)("span",{className:"jsx-1979154340 text-break",children:e.kind_label})}),(0,f.jsx)(N.Z,{span:7,children:(0,f.jsx)("span",{className:"jsx-1979154340",children:(s=e.created_at,m()(s).format("YYYY-MM-DD HH:mm"))})}),(0,f.jsxs)(N.Z,{span:7,className:"text-right",children:[e.ele>0?"+":"",e.ele,(0,f.jsx)("span",{className:"jsx-1979154340 "+((e.ele>0?"up":"down")||"")})]})]}),children:[e.details&&e.details.post&&e.details.post.title&&(0,f.jsx)(d,{label:"帖子",detail:(0,f.jsx)(y.Z,{post:e.details.post})}),e.details&&e.details.comment&&(0,f.jsx)(d,{label:"评论",detail:(0,f.jsx)(_.Z,{children:(0,f.jsx)(Z.Z,{html:e.details.comment.content})})}),e.details&&e.details.group&&(0,f.jsx)(d,{label:"群名",detail:e.details.group.name}),e.details&&e.details.category&&(0,f.jsx)(d,{label:"版块",detail:e.details.category.name}),e.details&&e.details.user&&"post_contact_view"!==e.kind&&(0,f.jsx)(d,{label:"用户",detail:(0,f.jsx)(k.Z,{user:e.details.user})}),e.details&&e.details.reason&&(0,f.jsx)(d,{label:"理由",detail:e.details.reason}),["user_created","user_detailed","user_upgrade","ele_charged"].includes(e.kind)&&e.kind_label]},e.id)}):(0,f.jsx)(p.Z,{}):(0,f.jsx)(h.Z,{})})]}),(0,f.jsx)(x.Z,{pager:c&&c.pager,onPageChange:o})]}),(0,f.jsx)(r(),{id:"1979154340",children:['.up.jsx-1979154340,.down.jsx-1979154340{content:" ";display:inline-block;background-position:right center;background-repeat:no-repeat;width:21px;height:20px;vertical-align:text-bottom;}',".up.jsx-1979154340{background-image:url(/static/icons/arrow-up.svg);}",".down.jsx-1979154340{background-image:url(/static/icons/arrow-down.svg);}"]})]})};P.requireUser=function(){return!0};var E=(0,c.$j)(function(e){return{token:e.user.token,eleRecordList:e.user.eleRecordList}},function(e){return(0,l.DE)({getEleRecordList:o.Xu,showAppModal:d.l3},e)})(P)},6590:function(e,s,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/ele_records",function(){return t(64473)}])}},function(e){e.O(0,[2888,9774,179],function(){return e(e.s=6590)}),_N_E=e.O()}]);
2//# sourceMappingURL=ele_records-0a1185b06158b189.js.map

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.