You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1 line
19 KiB

  1. import{a6 as e,_ as t,b as s,c as i,d as o,e as l,C as n,B as a,X as r,D as d,F as c,A as h,J as m}from"./index-7d881374.js";var g={packageFun:function(e,t=function(){},s={}){var i=this.fullClose(1e4,99999);s.JWrandom=i;try{if(2==s.platform)window.api.sendEvent({name:e,extra:{data:s}});else if(3==s.platform){let t={name:e,extra:{data:s}};window.webkit.messageHandlers.getTouJiaoData.postMessage(JSON.stringify(t))}else if(4==s.platform){let t={name:e,extra:{data:s}};window.android.getTouJiaoData(JSON.stringify(t))}else if(5==s.platform){let t={name:e,extra:{data:s}};window.uni.postMessage({data:{val:JSON.stringify(t)}})}}catch(o){console.log(o)}window[e+i]=t;try{window.parent[e+i]=t}catch(l){}},fullClose:function(e,t){for(var s=Math.random()*(t+1-e)+e;s>t;)s=Math.random()*(t+1-e)+e;return parseInt(s)}};const p="http://39.101.133.168:8828/scms";const u={class:"wheel-container"},v={class:"top-section"},f={class:"expire-time"},y={class:"top-right"},b=["src"],k=["src"],I=["src"],A={class:"wheel-section"},w={class:"wheel-wrapper"},M=["src"],T={class:"pointer-system"},x=["src"],R={class:"remaining-section"},z=["src"],C={class:"remaining-text"},B=["disabled"],S=["src"],P={key:0,class:"prize-modal"},V={class:"modal-content"},F=["src"],H=["src"],W={class:"prize-info"},E={class:"prize-title"},L={class:"prize-amount-wrapper"},N=["src"],U={key:0,class:"prize-text"},X={key:1},J={key:1,class:"no-times-modal"},O={class:"no-times-content"},j=["src"],Q={key:2,class:"rule-modal"},K={class:"rule-content"},q=["src"],Y=["src"],D={key:3,class:"rule-modal"},Z={class:"rule-content"},G=["src"],$=["src"],_={key:4,class:"history-record"},ee={style:{"margin-left":"45px","margin-top":"18px"}},te=["onClick"],se={class:"history-contents"},ie={key:0,style:{"padding-left":"45px"}},oe=["onClick"],le={class:"month-text"},ne={class:"month-caret"},ae={key:0},re={key:0,class:"empty-month"},de={class:"left"},ce={key:0,class:"title"},he={key:1,class:"title"},me={class:"time"},ge={class:"right"},pe={class:"token"},ue={key:1},ve=["onClick"],fe={class:"year-text"},ye={class:"year-caret"},be={key:0,class:"months",style:{"padding-left":"45px"}},ke=["onClick"],Ie={class:"month-text"},Ae={class:"month-caret"},we={key:0},Me={key:0,class:"empty-month"},Te={class:"left"},xe={key:0,class:"title"},Re={key:1,class:"title"},ze={class:"time"},Ce={class:"right"},Be={class:"token"};var Se=t({name:"FortuneWheel",data:()=>({historyImg:"https://d31zlh4on95l9h.cloudfront.net/images/aed693de6beb9faae015fd0628c4f052.png",ruleImg:"https://d31zlh4on95l9h.cloudfront.net/images/9a3f7680b29e31b60151cf562c0d43cb.png",titleImg:"https://d31zlh4on95l9h.cloudfront.net/images/a87d19806fed47b7fdf18d4b5dd70e65.png",wheelImg:"https://d31zlh4on95l9h.cloudfront.net/images/caaf77a490be46c56ae824d2d9aa72f4.png",pointerCoverImg:"https://d31zlh4on95l9h.cloudfront.net/images/19f2ea90e2560330089214e88eff04b5.png",remainingBgImg:"https://d31zlh4on95l9h.cloudfront.net/images/a43f0c383d55fc56b34768f039a401a8.png",spinBtnImg:"https://d31zlh4on95l9h.cloudfront.net/images/11b749e0fd4b08238980b74c6e80b2e6.png",disabledSpinBtnImg:"https://d31zlh4on95l9h.cloudfront.net/images/9b7383c1f80bb32a279791879947791a.png",modalBgImg:"https://d31zlh4on95l9h.cloudfront.net/images/f75ce9ca2703662fd3176dd0493f6d7b.png",prizeAmountImg:"https://d31zlh4on95l9h.cloudfront.net/images/878b8ea0c78bcafdaf4f6eb63a0b2eef.png",closeBtnImg:"https://d31zlh4on95l9h.cloudfront.net/images/453475456dad8e6832e9904c901c1274.png",noTimesImg:"https://d31zlh4on95l9h.cloudfront.net/images/a67e8b3de6e441af7bcb8fbbb2153ec2.png",ruleBgImg:"https://d31zlh4on95l9h.cloudfront.net/images/9f585ee0ab251f348a4568355ad36816.png",closeRuleBtnImg:"https://d31zlh4on95l9h.cloudfront.net/images/ca2ddd411ffb85968bc261382477c984.png",token:"",expireTime:"",remainingTimes:0,isSpinning:!1,showPrizeModal:!1,showNoTimesModal:!1,showRuleModal:!1,isFirstVisit:!0,pointerRotation:-21.5,noTimesTimer:null,prizeMessage:"",prizeAmount:"",textWidth:0,targetPointerRotation:0,historyRecordListVisible:!1,nowMonths:[],years:[],selected:1,options:[{label:"Token",value:1},{label:"