HEX
Server: nginx/1.28.3
System: Linux ip-172-31-12-242 6.17.0-1007-aws #7~24.04.1-Ubuntu SMP Thu Jan 22 21:04:49 UTC 2026 x86_64
User: root (0)
PHP: 7.4.33
Disabled: passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv
Upload Files
File: /www/server/panel/BTPanel/static/js/index-legacy183.js
System.register(["./utils-lib-legacy.js?v=1777008528","./base-lib-legacy.js?v=1777008528","./store-legacy4.js?v=1777008528","./__commonjsHelpers__-legacy.js?v=1777008528","./index-legacy3.js?v=1777008528","./index-legacy119.js?v=1777008528","./index-legacy116.js?v=1777008528"],function(e,t){"use strict";var n,l,o,r,a,s,i,c,u,m,d,v,f,p,x,g,h,b,w,C,M,y,E;return{setters:[function(e){n=e.ez,l=e.W,o=e.cZ},function(e){r=e.c,a=e.aI,s=e.aC,i=e.bD,c=e.w,u=e.g,m=e.o,d=e.a8,v=e.j,f=e.k,p=e.q,x=e.F,g=e.B,h=e.L,b=e.p,w=e.x,C=e.s,M=e.e,y=e.Q},function(e){E=e.P},null,null,null,null],execute:function(){var t={class:"flex flex-col"},L={class:"flex flex-col absolute w-full"},j={class:"pt-2.6rem bottom-bg"},k={class:"px-3.6rem"},D={class:"voucher-list mt-2.6rem h-[235px] overflow-auto"},I={class:"voucher-amount inline-block px-1.6rem relative w-12rem"},N={class:"font-bold text-large"},_={class:"text-large36"},S={class:"text-tertiary mt-1rem"},H={class:"inline-block text-left mr-1rem text-secondary voucher-instructions flex-1 pl-1.6rem"},T={class:"text-base mb-1rem"},A={class:"voucher-count-down mt-1.2rem text-left"},O={class:"text-danger mlr-[1rem] inline-block text-extraLarge"},V={class:"px-[3.6rem] pb-1rem mt-1.4rem"},Z={class:"voucher-count-down text-center text-medium leading-[3rem] mt-[2.6rem] text-secondary flex justify-center"},B={class:"mt-[2rem] voucher-footer text-center"},F=r({__name:"index",props:{compData:{default:function(){return{isCoupon:[],isHome:!1,isLimited:!1,close:function(){}}}}},setup:function(e){var o=E(),r=a(o),F=r.couponItem,R=(r.closeAfterReload,r.timeClose),q=r.timeNow,z=o.siteList,G=o.addZero,P=o.claimCouponEvent,Q=o.changeCloseTimeEvent,U=s("popupClose",function(){}),W=function(e){if(null==e)return"时间未知";var t=Number(e);if(isNaN(t)||t<0)return"时间格式错误";if(t>Number.MAX_SAFE_INTEGER/1e3)return"时间过长";var n=Math.floor(t/86400),l=Math.floor(t%86400/3600),o=Math.floor(t%86400%3600/60),r=[];return n>0&&r.push("".concat(n,"天")),l>0&&r.push("".concat(l,"小时")),o>0&&r.push("".concat(o,"分")),r.length>0?r.join(""):"不足1分钟"},X=e,J=i();c(function(){return J.value},function(e){q.value=e});var K=u(function(){var e="00",t="00",n="00",l="00",o=Number(sessionStorage.getItem("HOME-ENDTIME"));(!o||q.value>=o)&&(o=q.value+72e5,sessionStorage.setItem("HOME-ENDTIME",o.toString()));var r=o-q.value;return r>0?(e=G(Math.floor(r/36e5)),t=G(Math.floor(r/6e4%60)),n=G(Math.floor(r/1e3%60)),l=G(Math.floor(r%1e3/10))):(e="00",t="00",n="00",l="00",0===r&&(sessionStorage.removeItem("HOME-ENDTIME"),Q("week",!1))),{hour:e,minute:t,second:n,millisecond:l}});return m(function(){X.compData.isCoupon.length&&(F.value=X.compData.isCoupon)}),d(function(){var e,t;n(null===(e=X.compData)||void 0===e?void 0:e.close)&&(null===(t=X.compData)||void 0===t||t.close())}),function(n,o){var r=l;return v(),f("section",t,[o[9]||(o[9]=p("svg",{viewBox:"0 0 402 485",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",width:"402.000000",height:"485.000000",fill:"none"},[p("g",null,[p("path",{class:"coupon-background",d:"M402 10C402 4.47715 397.523 0 392 0L10 0C4.47715 0 0 4.47715 0 10L0 303.008C0.165974 303.003 0.332656 303 0.5 303C8.50813 303 15 309.492 15 317.5C15 325.508 8.50813 332 0.5 332C0.332656 332 0.165974 331.997 0 331.992L0 475C0 480.523 4.47715 485 10 485L392 485C397.523 485 402 480.523 402 475L402 331.992C394.223 331.728 388 325.341 388 317.5C388 309.659 394.223 303.272 402 303.008L402 10Z","fill-rule":"evenodd"}),p("path",{id:"直线 1",class:"coupon-line",d:"M15 318L387 318"})])],-1)),p("div",L,[p("div",j,[p("div",k,[o[4]||(o[4]=p("div",{class:"text-extraLarge text-pro w-full text-center"},"免费限时领取【大额优惠券】",-1)),p("div",D,[(v(!0),f(x,null,g(b(F),function(e,t){return v(),f("div",{key:t,class:h(["voucher-item flex items-center justify-between py-[1.6rem] rounded-base",t===b(F).length-1?"mb-[1.4rem]":"mb-[2.4rem]"])},[p("div",I,[p("div",N,[o[2]||(o[2]=w(" ¥",-1)),p("span",_,C(e.val2),1)]),p("div",S,"满"+C(e.val1)+"减"+C(e.val2),1)]),p("div",H,[p("div",T,"仅限"+C(e.name),1),p("div",A,[o[3]||(o[3]=w(" 领取后有效期 ",-1)),p("div",O,C(W(e.timeout)),1)])])],2)}),128))])])]),p("div",V,[p("div",Z,[o[5]||(o[5]=w(" 距结束",-1)),p("span",null,C(b(K).hour),1),o[6]||(o[6]=w("时",-1)),p("span",null,C(b(K).minute),1),o[7]||(o[7]=w("分",-1)),p("span",null,C(b(K).second),1),o[8]||(o[8]=w("秒",-1)),p("span",null,C(b(K).millisecond),1)]),p("div",B,[p("span",{class:"text-white bg-pro hover:bg-[var(--bt-pro-sub-color)]",onClick:o[0]||(o[0]=function(t){return b(P)(b(U),e.compData.isLimited)})},"一键领取"),M(r,{modelValue:b(R),"onUpdate:modelValue":o[1]||(o[1]=function(e){return y(R)?R.value=e:null}),options:b(z),class:"reminder mt-1rem !w-[14rem]",placeholder:"选择不通知的时间",onChange:b(Q)},null,8,["modelValue","options","onChange"])])])])])}}});e("default",o(F,[["__scopeId","data-v-d44eac63"]]))}}});