PageSourceSearch

https://tirangaapk.com/assets/js/index-z9pxM78k.js

js tirangaapk.com collected 2026-09-30 10:07:15 UTC 5,787 bytes, 2 lines download raw bytes

1import{a1 as z,j as p,b as K,l as W,aQ as q,r as M,P as F,e as N,E as J,aR as X,aS as Z,_ as O,Q as g,I as _,K as u,U as n,R as l,a6 as b,V as i,a7 as S,a8 as $,a4 as R,aa as ee,ay as te}from"./index-DZlBn30x.js";import{L as ae}from"./ListSimply-DnG86sjQ.js";import"./index-0_4Ojkfw.js";import"./usePullRefresh-CxSelmKs.js";const ne=z({__name:"index",setup(Y,{expose:r}){r();const D=p(!1),{t:e}=K(),m=p(),C=W(),{minDate:c,maxDate:y}=X(),v=localStorage.getItem("language"),{value:s}=q({status:3});let f=p(`${s[0]}${e("year")}${s[1]}${e("month")}`);const t=M({startDate:F(c).format("YYYY-MM-DD HH:mm:ss"),endDate:F(y).format("YYYY-MM-DD HH:mm:ss")});t.startDate=`${s[0]}-${s[1]}-01 00:00:00`;const k=new Date(s[0],s[1],0).getDate();t.endDate=`${s[0]}-${s[1]}-${k} 23:59:59`;const h=M({show:!1,actions:[{name:e("pointsAllRecords"),value:-1},{name:e("pointsBets"),value:0},{name:e("pointsRedeem"),value:3},{name:e("pointsCanceled"),value:5},{name:e("wealName1"),value:6},{name:e("wealName2"),value:7}],selected:{name:"",value:0}}),I=N(()=>P.value.filter(a=>a.type!==3).reduce((a,o)=>a+o.integral,0)),B=N(()=>P.value.filter(a=>a.type===3).reduce((a,o)=>a+o.integral,0)),P=p([]);function Q(){C.back()}const j=p(s);function U(a,o){if(a==="year")switch(v){case"vi":o.text=e("year")+" "+o.text;break;case"en":o.text=e("year")+" "+o.text;break;default:o.text+=e("year")}if(a==="month")switch(v){case"vi":o.text=e("month")+" "+o.text;break;case"en":o.text=e("month")+" "+o.text;break;default:o.text+=e("month")}return o}const H=()=>{D.value=!1},G=({selectedOptions:a})=>{D.value=!1;let[{text:o},{text:d}]=a;o.slice(0,-1),d.slice(0,-1),d.startsWith("0")&&(d=d.replace("0","")),f.value=o+d;const x=new Date(new Date().getFullYear(),a[1].value,0).getDate();t.startDate=`${a[0].value}-${a[1].value}-01 00:00:00`,t.endDate=`${a[0].value}-${a[1].value}-${x}
1 23:59:59`,w.startDate=t.startDate,w.endDate=t.endDate,m.value.resetRefresh()};function A(){h.show=!0}function E(a){h.selected=a,w.type=a.value,h.show=!1,m.value.resetRefresh()}function T(a){const x=h.actions.filter(L=>L.value===a).map(L=>L.name)[0];return x?x.replace(/[\[\]"]/g,""):""}const w=M({type:-1,startDate:t.startDate,endDate:t.endDate});J(()=>{m.value.resetRefresh()});const V={showDataPick:D,$t:e,listRef:m,router:C,minDate:c,maxDate:y,languagesN:v,dateVal:s,get dateValue(){return f},set dateValue(a){f=a},calendarData:t,lastDay:k,filterSheetProps:h,income:I,output:B,recordList:P,onClick:Q,currentDate:j,formatter:U,cancelDataPick:H,onConfirmDataPick:G,onFilterClick:A,onFilterConfirm:E,keytransvalue:T,pageQuery:w,get GetIntegralLogList(){return Z},List:ae};return Object.defineProperty(V,"__isScriptSetup",{enumerable:!1,value:!0}),V}}),oe={class:"pointMallRecord__container"},re={class:"navbar__content-right__buttons"},se={class:"pointMallRecord__container-header"},le={class:"points-date"},ie={class:"pointMallRecord__container-header__content"},ce={class:"pointMallRecord__container-header__content-left"},de={class:"pointMallRecord__container-header__content-right"},_e={key:0,class:"pointMallRecord__container-list"},ue={class:"pointMallRecord__container-list__item-left"},me={class:"pointMallRecord__container-list__item-right"},ve={key:0},fe={key:1};function he(Y,r,D,e,m,C){const c=g("svg-icon"),y=g("NavBar"),v=g("van-date-picker"),s=g("van-popup"),f=g("van-action-sheet");return _(),u(S,null,[n("div",oe,[l(y,{title:e.$t("pointsRecord"),"left-arrow":"",onClickLeft:e.onClick},{right:b(()=>[n("div",re,[l(c,{name:"recordFilter",onClick:e.onFilterClick})])]),_:1},8,["title"]),n("div",se,[n("div",le,[n("div",{class:"pointMallRecord__container-header-date",onClick:r[0]||(r[0]=t=>e.showDataPick=!0)},[n("div",null,i(e.dateValue),1),l(c,{name:"dropDown"})])]),n("div",ie,[n("div",ce,[n("div",null,i(e.income.toFixed(2)),1),n("div",null,[l(c,{name:"income"}),n("span",null,i(e.$t("pointsIncome")),1)])]),n("div",de,[n("div",null,i(e.output.toFixed(2)),1),n("div",null,[l(c,{name:"output"}),n("span",null,i(e.$t("payout")),1)])])])]),l(e.List,{api:e.GetIntegralLogList,list:e.recordList,"onUpdate:list":r[1]||(r[1]=t=>e.recordList=t),ref:"listRef",pageQuery:e.pageQuery},{content:b(()=>[e.recordList.length>0?(_(),u("div",_e,[(_(!0),u(S,null,$(e.recordList,(t,k)=>(_(),u("div",{class:"pointMallRecord__container-list__item",key:k},[n("div",ue,[n("div",null,i(e.keytransvalue(t.type)),1),n("div",null,i(t.addTime),1)]),R("这个位置type==3才是红色,其余的时候都是绿色  shon确认"),n("div",me,[n("div",{class:ee({color2fb192:t.integral&&t.type!==3,colorf95959:t.integral&&t.type===3})},[R("这个位置type==3或者4才是-号,其余的时候都是+ shon确认"),t.integral&&(t.type===3||t.type===4)?(_(),u("span",ve,"-")):(_(),u("span",fe,"+")),te(i(t.integral.toFixed(2)),1)],2)])]))),128))])):R("v-if",!0)]),_:1},8,["api","list","pageQuery"])]),l(s,{show:e.showDataPick,"onUpdate:show":r[3]||(r[3]=t=>e.showDataPick=t),round:"",position:"bottom"},{default:b(()=>[l(v,{modelValue:e.currentDate,"onUpdate:modelValue":r[2]||(r[2]=t=>e.currentDate=t),title:e.$t("pickDate"),"columns-type":["year","month"],formatter:e.formatter,onCancel:e.cancelDataPick,onConfirm:e.onConfirmDataPick},null,8,["modelValue","title"])]),_:1},8,["show"]),R(` <van-calendar v-model:show="calendarProps.show" type="range" @confirm="onCalenderConfirm" color="#F95959"
2		:min-date="calendarProps.minDate" :max-date="calendarProps.maxDate" /> `),l(f,{show:e.filterSheetProps.show,"onUpdate:show":r[4]||(r[4]=t=>e.filterSheetProps.show=t),actions:e.filterSheetProps.actions,onSelect:e.onFilterConfirm},null,8,["show","actions"])],64)}const we=O(ne,[["render",he],["__scopeId","data-v-b9c228ce"],["__file","/home/jenkins/agent/workspace/AR051-Pages-india-tiranga/src/views/activity/PointMall/Record/index.vue"]]);export{we 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.