PageSourceSearch

https://asporj.com/chunk/History-DM-8ug12.js

js asporj.com collected 2026-10-09 04:52:41 UTC 3,437 bytes, 1 lines download raw bytes

1var k=(V,x,e)=>new Promise((b,n)=>{var r=s=>{try{i(e.next(s))}catch(u){n(u)}},c=s=>{try{i(e.throw(s))}catch(u){n(u)}},i=s=>s.done?b(s.value):Promise.resolve(s.value).then(r,c);i((e=e.apply(V,x)).next())});import{q as U,E as C,r as E}from"./vendor-vant-Bm17JRNb.js";import{_ as R}from"./refresh-BH6UtVs6.js";import{H as S}from"./Header-C79mlvxH.js";import{u as F}from"./vendor-i18n-CiW900N9.js";import{_ as P,u as T,p as q,kl as z}from"./utils-B5OSJW8B.js";import{aK as A}from"./common-store-GQlMYFbM.js";/* empty css              */import{f as D,P as f,k as y,u as a,Q as o,F as $,X as B,Y as m,U as K,r as p,W as g,R as v}from"./vendor-vue-3uhbnuug.js";import"./usePcHomeIframeBridge-DLiqpKXD.js";/* empty css              */import"../entry/index-Bkwk7GPG.js";import"./vendor-DBvt4Fsq.js";import"./vendor-crypto-noGo53ea.js";import"./vendor-axios-BcSYhU8s.js";const M={class:"history"},Q={class:"list-box"},W={class:"table-row table-head"},X={class:"list-wrap"},Y={key:0,class:"empty"},j=20,G={__name:"History",setup(V){const{theme:x}=T(),{t:e}=F(),b=[e("领取时间"),e("礼包类型"),e("奖金金额")],n=p(!0),r=p([]),c=p(!1),i=p(!1),s=p(!1),u=p(!1),_=p(1),H=()=>k(this,null,function*(){var w;if(!i.value){u.value=!1;try{const{code:t,data:d}=yield A({pageNo:_.value,pageSize:j});if(t===0){const h=(w=d==null?void 0:d.list)!=null?w:[];_.value===1?r.value=h:r.value.push(...h),_.value+=1,i.value=r.value.length>=(d==null?void 0:d.total)||0}}catch(t){u.value=!0}finally{c.value=!1}}}),N=()=>k(this,null,function*(){s.value=!0,n.value&&(c.value=!0),_.value=1,i.value=!1,u.value=!1,n.value&&(yield H()),s.value=!1,n.value=!1});return D(N),(w,t)=>{const d=E,h=U,I=C;return g(),f("div",M,[y(S,{title:a(e)("发放记录"),isRightShow:!1,class:"top-nav"},null,8,["title"]),o("div",Q,[o("div",W,[(g(),f($,null,B(b,(l,L)=>o("p",{key:L},v(l),1)),64))]),o("div",X,[y(h,{modelValue:s.value,"onUpdate:modelValue":t[1]||(t[1]=l=>s.value=l),onRefresh:N,disabled:!n.value.value&&!r.value.length},{pulling:m(()=>[t[2]||(t[2]=o("img",{class:"icon",src:R,alt:""},null,-1)),o("span",null,v(n.value?`${a(e)("数据加载中")}...`:a(e)("松开立即刷新")),1)]),loosing:m(()=>[t[3]||(t[3]=o("img",{class:"icon",src:R,alt:""},null,-1)),o("span",null,v(n.value?`${a(e)("数据加载中")}...`:a(e)("松开立即刷新")),1)]),loading:m(()=>[t[4]||(t[4]=o("img",{class:"icon",src:R,alt:""},null,-1)),o("span",null,v(n.value?`${a(e)("数据加载中")}...`:a(e)("正在刷新数据")),1)]),default:m(()=>[y(d,{loading:c.value,"onUpdate:loading":t[0]||(t[0]=l=>c.value=l),finished:i.value,"finished-text":r.value.length?a(e)("没有更多了"):"","loading-text":n.value||!r.value.length?" ":`${a(e)("加载中")}...`,error:u.value,"error-text":a(e)("加载失败点击重试"),"immediate-check":!1,offset:120,onLoad:H},{default:m(()=>[(g(!0),f($,null,B(r.value,l=>(g(),f("div",{class:"table-row table-container",key:l.id},[o("p",null,v(l==null?void 0:l.receiveTime),1),o("p",null,v(l==null?void 0:l.giftName),1),o("p",null,v(a(z)(l==null?void 0:l.rewardAmt)),1)]))),128))]),_:1},8,["loading","finished","finished-text","loading-text","error","error-text"])]),_:1},8,["modelValue","disabled"]),!s.value&&!r.value.length?(g(),f("div",Y,[y(I,{image:a(q)(`public/nodata_${a(x)}.png`),description:a(e)("暂无记录")},null,8,["image","description"])])):K("",!0)])])])}}},ve=P(G,[["__scopeId","data-v-12db19b2"],["__file","History.vue"]]);export{ve as default};

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.