PageSourceSearch

https://jaispin.com/assets/js/index-OK_j3T1x.js

js jaispin.com collected 2026-09-29 23:00:57 UTC 5,100 bytes, 1 lines download raw bytes

1import{a4 as D,b as A,l as N,ab as E,aL as R,_ as T,Q as g,ax as z,I as a,K as s,R as l,af as B,ag as L,ah as b,ae as O,U as o,aG as S,V as n,ai as Q,ay as u,aj as C,ad as P}from"./index-W6wVap2t.js";import{u as V}from"./usePointLottery.hook-CC1YpTKd.js";import{L as j}from"./List-HhKo7KM5.js";import"./index-BCN17hDz.js";import"./usePullRefresh-RACKvDFg.js";const G=D({__name:"index",setup(w,{expose:i}){i();const{t:d}=A(),e=N(),{myPointTabs:k,pointTabActive:y,myPointList:p,myPointQuery:f,listRef:m,pointRest:c}=V(),F=r=>[r.img_Five,r.img_Four,r.img_One,r.img_Three,r.img_Two].filter(Boolean);function t(){e.back()}E(y,()=>{f.value.orderStatus=y.value,c(),m.value.resetRefresh()});function _(r,h){if(h===1)switch(r){case 0:return"linear-gradient(270deg, #FF5353 27.64%, #FF4141 91%, #FF9495 96.88%, #EB2426 100%)";case 2:return"linear-gradient(270deg, #FABB2A 18.36%, #EB9315 89.84%, #FBE571 96.48%, #ED8B19 100%)";case 1:return"linear-gradient(270deg, #9FAAD2 18.36%, #A3B0DE 89.84%, #D5E1FF 96.48%, #7884B0 100%)"}else switch(r){case 1:return"linear-gradient(90deg, #BDC9F4 -3.24%, #FFF 4.63%, #C9D5FB 13.43%, #D9E3FF 76.75%)";case 2:return"linear-gradient(90deg, #FF9C3A -3.24%, #FFE55C 4.63%, #FFB936 13.43%, #FFF962 76.75%)";default:return"linear-gradient(90deg, #FF9C3A -3.24%, #FFE55C 4.63%, #FFB936 13.43%, #FFF962 76.75%)"}}function v(r){switch(r){case 0:return d("ongoing");case 2:return d("winTheLottery");case 1:return d("winTips4")}}function x(r,h){e.push({name:"PointMall-ReceiveLottery",query:{pointsLotteryID:r,orderId:h}})}const I={$t:d,router:e,myPointTabs:k,pointTabActive:y,myPointList:p,myPointQuery:f,listRef:m,pointRest:c,images:F,onClick:t,getStatusBackground:_,getStatus:v,onReceiveClick:x,get GetPointsLotteryOrderList(){return R},List:j};return Object.defineProperty(I,"__isScriptSetup",{enumerable:!1,value:!0}),I}}),U={class:"myLottery__container"},q={class:"myLottery__container-products"},M={class:"myLottery__container-products__item"},K={class:"myLottery__container-products__item-header"},H={class:"myLottery__container-products__item-header__left"},J={class:"myLottery__container-products__item-header__right"},W={class:"left"},X={class:"right"},Y={class:"myLottery__container-products__item-footer"},Z={class:"myLottery__container-products__item-footer__header"},$={class:"myLottery__container-products__item-footer__body"},tt=["onClick"];function et(w,i,d,e,k,y){const p=g("NavBar"),f=g("van-tab"),m=g("van-tabs"),c=g("svg-icon"),F=z("lazy");return a(),s("div",U,[l(p,{title:e.$t("mydraw"),"z-index":"99",fixed:"","left-arrow":"",onClickLeft:e.onClick},null,8,["title"]),l(m,{active:e.pointTabActive,"onUpdate:active":i[0]||(i[0]=t=>e.pointTabActive=t),"line-width":"0","line-height":"0","title-active-color":"#fff","title-inactive-color":"#fff"},{default:B(()=>[(a(!0),s(L,null,b(e.myPointTabs,(t,_)=>(a(),O(f,{name:t.value,key:_,title:t.label},null,8,["name","title"]))),128))]),_:1},8,["active"]),l(e.List,{distance:300,api:e.GetPointsLotteryOrderList,list:e.myPointList,"onUpdate:list":i[1]||(i[1]=t=>e.myPointList=t),"page-query":e.myPointQuery,"onUpdate:pageQuery":i[2]||(i[2]=t=>e.myPointQuery=t),isAutoLoad:!0,ref:"listRef"},{content:B(()=>[o("div",q,[(a(!0),s(L,null,b(e.myPointList,(t,_)=>(a(),s("div",M,[o("div",K,[o("div",H,[o("span",{style:S({background:e.getStatusBackground(t.orderInfo.orderStatus,1)})},n(e.getStatus(t.orderInfo.orderStatus)),5),o("span",{style:S({background:e.getStatusBackground(t.orderInfo.orderStatus,2)})},n(e.getStatus(t.orderInfo.orderStatus)),5),Q(o("img",null,null,512),[[F,e.images(t.lotteryInfo)[0]]])]),o("div",J,[o("h1",null,n(t.lotteryInfo.name),1),o("div",null,n(e.$t("betNumber"))+": "+n(t.lotteryInfo.issueNumber),1),o("div",null,[o("span",W,n(t.lotteryInfo.redeemedNumber),1),u("/"+n(t.lotteryInfo.totalNumber)+" "+n(e.$t("sheets"))+" ",1),o("span",X,[l(c,{name:"point"}),u(" "+n(t.lotteryInfo.unit)+".00 ",1)])])])]),o("div",Y,[o("div",Z,[o("div",null,[u(n(e.$t("gross")),1),o("span",null,n(t.ticketsInfo.length),1),u(n(e.$t("raffleticket")),1)]),o("div",null,[l(c,{name:"point"}),u(" "+n(t.ticketsInfo.length*t.lotteryInfo.unit),1)])]),o("div",$,[(a(!0),s(L,null,b(t.ticketsInfo,v=>(a(),s("div",{class:"myLottery__container-products__item-footer__body-item",key:_},[l(c,{name:"ticket"}),o("span",null,n(v.ticketNumber),1)]))),128))])]),t.orderInfo.orderStatus===2&&t.orderInfo.shippingStatus==0?(a(),s("div",{key:0,class:C(["myLottery__container-products__item-button",{boxShadow4px:!0}]),onClick:v=>e.onReceiveClick(t.lotteryInfo.pointsLotteryID,t.orderInfo.pointsLotteryOrdersID)},[o("span",null,n(e.$t("claimtreasure")),1)],8,tt)):P("v-if",!0),t.orderInfo.shippingStatus>0&&t.orderInfo.orderStatus===2?(a(),s("div",{key:1,class:C(["myLottery__container-products__item-button",{boxShadow4px:!1}])},[o("span",null,n(e.$t("claimed")),1)])):P("v-if",!0)]))),256))])]),_:1},8,["api","list","page-query"])])}const st=T(G,[["render",et],["__scopeId","data-v-9902e904"],["__file","/home/jenkins/agent/workspace/AR093-Pages-india-jaiclub/src/views/activity/PointMall/MyLottery/index.vue"]]);export{st 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.