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-legacy493.js
!function(){function t(t){return function(t){if(Array.isArray(t))return e(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,a){if(t){if("string"==typeof t)return e(t,a);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?e(t,a):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function e(t,e){(null==e||e>t.length)&&(e=t.length);for(var a=0,n=Array(e);a<e;a++)n[a]=t[a];return n}function a(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */var t,e,r="function"==typeof Symbol?Symbol:{},o=r.iterator||"@@iterator",i=r.toStringTag||"@@toStringTag";function c(a,r,o,i){var c=r&&r.prototype instanceof u?r:u,s=Object.create(c.prototype);return n(s,"_invoke",function(a,n,r){var o,i,c,u=0,s=r||[],p=!1,d={p:0,n:0,v:t,a:v,f:v.bind(t,4),d:function(e,a){return o=e,i=0,c=t,d.n=a,l}};function v(a,n){for(i=a,c=n,e=0;!p&&u&&!r&&e<s.length;e++){var r,o=s[e],v=d.p,f=o[2];a>3?(r=f===n)&&(c=o[(i=o[4])?5:(i=3,3)],o[4]=o[5]=t):o[0]<=v&&((r=a<2&&v<o[1])?(i=0,d.v=n,d.n=o[1]):v<f&&(r=a<3||o[0]>n||n>f)&&(o[4]=a,o[5]=n,d.n=f,i=0))}if(r||a>1)return l;throw p=!0,n}return function(r,s,f){if(u>1)throw TypeError("Generator is already running");for(p&&1===s&&v(s,f),i=s,c=f;(e=i<2?t:c)||!p;){o||(i?i<3?(i>1&&(d.n=-1),v(i,c)):d.n=c:d.v=c);try{if(u=2,o){if(i||(r="next"),e=o[r]){if(!(e=e.call(o,c)))throw TypeError("iterator result is not an object");if(!e.done)return e;c=e.value,i<2&&(i=0)}else 1===i&&(e=o.return)&&e.call(o),i<2&&(c=TypeError("The iterator does not provide a '"+r+"' method"),i=1);o=t}else if((e=(p=d.n<0)?c:a.call(n,d))!==l)break}catch(e){o=t,i=1,c=e}finally{u=1}}return{value:e,done:p}}}(a,o,i),!0),s}var l={};function u(){}function s(){}function p(){}e=Object.getPrototypeOf;var d=[][o]?e(e([][o]())):(n(e={},o,function(){return this}),e),v=p.prototype=u.prototype=Object.create(d);function f(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,p):(t.__proto__=p,n(t,i,"GeneratorFunction")),t.prototype=Object.create(v),t}return s.prototype=p,n(v,"constructor",p),n(p,"constructor",s),s.displayName="GeneratorFunction",n(p,i,"GeneratorFunction"),n(v),n(v,i,"Generator"),n(v,o,function(){return this}),n(v,"toString",function(){return"[object Generator]"}),(a=function(){return{w:c,m:f}})()}function n(t,e,a,r){var o=Object.defineProperty;try{o({},"",{})}catch(t){o=0}n=function(t,e,a,r){function i(e,a){n(t,e,function(t){return this._invoke(e,a,t)})}e?o?o(t,e,{value:a,enumerable:!r,configurable:!r,writable:!r}):t[e]=a:(i("next",0),i("throw",1),i("return",2))},n(t,e,a,r)}function r(t,e,a,n,r,o,i){try{var c=t[o](i),l=c.value}catch(t){return void a(t)}c.done?e(l):Promise.resolve(l).then(n,r)}function o(t){return function(){var e=this,a=arguments;return new Promise(function(n,o){var i=t.apply(e,a);function c(t){r(i,n,o,c,l,"next",t)}function l(t){r(i,n,o,c,l,"throw",t)}c(void 0)})}}System.register(["./base-lib-legacy.js?v=1777008528","./index-legacy219.js?v=1777008528","./utils-lib-legacy.js?v=1777008528","./ai-legacy.js?v=1777008528","./index-legacy273.js?v=1777008528","./__commonjsHelpers__-legacy.js?v=1777008528"],function(e,n){"use strict";var r,i,c,l,u,s,p,d,v,f,y,m,b,g,h,w,_,x,j,k,L,S,I,G,O,D,A,C,M,P,T,U,q,F,z;return{setters:[function(t){r=t.c,i=t.r,c=t.a8,l=t.o,u=t.j,s=t.k,p=t.q,d=t.s,v=t.J,f=t.K,y=t.e,m=t.v,b=t.x,g=t.ak,h=t.aj,w=t.g,_=t.I,x=t.F,j=t.B,k=t.L,L=t.y,S=t.A,I=t.aB,G=t.z},function(t){O=t.default},function(t){D=t.cC,A=t.eP,C=t.M,M=t.d8,P=t.cZ,T=t.e,U=t.f},function(t){q=t.h,F=t.j},function(t){z=t._},null],execute:function(){var n={class:"payment-qrcode-dialog"},B={class:"payment-content"},E={class:"package-info"},V={class:"info-item"},Z={class:"value"},H={class:"info-item"},J={class:"price"},K={class:"qrcode-section"},N={class:"qrcode-wrapper"},R={class:"payment-tip"},$=P(r({__name:"payment-qrcode-dialog",props:{compData:{}},setup:function(e){var r=e,w=i("wechat"),_=i(""),x=i(null),j=i(!1),k=i("wechat-pay.svg"),L=function(t){"wechat"===t?(_.value=r.compData.orderInfo.wxUrl,k.value="wechat-pay.svg"):"alipay"===t&&(_.value=r.compData.orderInfo.aliUrl,k.value="ali-pay.svg")},S=function(){x.value&&(window.clearInterval(x.value),x.value=null),j.value=!1};return c(function(){S()}),l(function(){_.value=r.compData.orderInfo.wxUrl,j.value||(j.value=!0,x.value=window.setInterval(o(a().m(function t(){var e,n,o,i;return a().w(function(t){for(;;)switch(t.p=t.n){case 0:return t.p=0,t.n=1,D({wxoid:r.compData.orderInfo.wxoid,py_type:""});case 1:e=t.v,(n=e.data).status&&(S(),A(),C.success(n.msg),null===(o=(i=r.compData).onSuccess)||void 0===o||o.call(i)),t.n=3;break;case 2:t.p=2,t.v;case 3:return t.a(2)}},t,null,[[0,2]])})),3e3))}),function(a,r){var o,i,c=z,l=M,x=g,j=h;return u(),s("div",n,[p("div",B,[p("div",E,[p("div",V,[r[1]||(r[1]=p("span",{class:"label"},"套餐名称",-1)),p("span",Z,d(null===(o=e.compData.orderInfo)||void 0===o?void 0:o.title),1)]),p("div",H,[r[2]||(r[2]=p("span",{class:"label"},"支付金额",-1)),p("span",J,"¥"+d(null===(i=e.compData.orderInfo)||void 0===i?void 0:i.price),1)])])]),p("div",K,[p("div",N,[v(y(c,{value:_.value,size:160},null,8,["value"]),[[f,_.value]]),y(l,{type:"icons",src:k.value,class:"!absolute bg-white border-[0.2rem] border-light rounded-small w-3rem h-3rem top-[50%] left-[50%] -translate-x-1/2 -translate-y-1/2"},null,8,["src"])]),y(j,{modelValue:w.value,"onUpdate:modelValue":r[0]||(r[0]=function(t){return w.value=t}),onChange:L,class:"payment-radio-group"},{default:m(function(){return[y(x,{value:"wechat"},{default:m(function(){return t(r[3]||(r[3]=[b("微信支付",-1)]))}),_:1}),y(x,{value:"alipay"},{default:m(function(){return t(r[4]||(r[4]=[b("支付宝",-1)]))}),_:1})]}),_:1},8,["modelValue"]),p("p",R,"请使用"+d("wechat"===w.value?"微信":"支付宝")+"扫码支付",1)])])}}}),[["__scopeId","data-v-8b2f2d2a"]]),Q={class:"recharge-dialog"},W={class:"amount-options"},X=["onClick"],Y={key:0,class:"hot-tag"},tt={class:"option-title"},et={class:"number"},at={class:"option-desc"},nt={class:"option-price"},rt={key:0,class:"source-price"},ot={class:"price-num"},it={class:"dialog-footer"},ct={class:"footer-left"},lt={class:"total-info"},ut={class:"total-value"},st={key:0,class:"source-price-total"},pt={class:"footer-right"},dt=r({__name:"index",props:{compData:{type:Object,default:function(){return{}}}},setup:function(e,n){var r=n.expose,c=e,f=U(),g=i([]),h=i(!1),D=i(0),A=i(!1),C=w(function(){return g.value[D.value]||null}),M=function(){var t=o(a().m(function t(){var e,n;return a().w(function(t){for(;;)switch(t.p=t.n){case 0:return h.value=!0,t.p=1,t.n=2,q();case 2:e=t.v,(n=e.data).status&&n.data&&(g.value=n.data,D.value=n.data.findIndex(function(t){return 1===t.can_buy}));case 3:return t.p=3,h.value=!1,t.f(3);case 4:return t.a(2)}},t,null,[[1,,3,4]])}));return function(){return t.apply(this,arguments)}}();l(function(){M()});var P=function(){var t=o(a().m(function t(){var e,n,r;return a().w(function(t){for(;;)switch(t.p=t.n){case 0:if(C.value){t.n=1;break}return f.warn("请先选择套餐"),t.a(2);case 1:return A.value=!0,t.p=2,t.n=3,F({package_id:C.value.id});case 3:e=t.v,(n=e.data).status&&n.data&&(r=n.data,T({title:"扫码支付",area:48,component:$,showFooter:!1,compData:{orderInfo:{wxUrl:r.wx,aliUrl:r.ali,title:r.title,price:r.price,wxoid:r.wxoid},onSuccess:function(){var t,e;null===(t=(e=c.compData).callback)||void 0===t||t.call(e)}}})),t.n=5;break;case 4:t.p=4,t.v,f.error("创建订单失败,请稍后重试");case 5:return t.p=5,A.value=!1,t.f(5);case 6:return t.a(2)}},t,null,[[2,4,5,6]])}));return function(){return t.apply(this,arguments)}}();return r({handleRecharge:P}),function(e,a){var n,r,o=O,i=I,c=G,l=_("bt-loading");return u(),s("div",Q,[v((u(),s("div",W,[(u(!0),s(x,null,j(g.value,function(t,e){return u(),s(x,null,[t.can_buy?(u(),s("div",{key:t.id,class:k(["amount-option",{active:D.value===e}]),onClick:function(t){return D.value=e}},[t.extra&&t.extra.is_popular?(u(),s("span",Y,"推荐")):L("",!0),a[1]||(a[1]=S('<svg class="ai-icon" width="80" height="80" viewBox="0 0 15 14" fill="none" data-v-479b53aa><defs data-v-479b53aa><linearGradient id="aiStarGradient1" x1="3" x2="12" y1="0" y2="1.3" data-v-479b53aa><stop offset="0" stop-color="rgb(194,198,62)" data-v-479b53aa></stop><stop offset="1" stop-color="rgb(41,167,58)" data-v-479b53aa></stop></linearGradient><linearGradient id="aiStarGradient2" x1="11" x2="15" y1="9" y2="10" data-v-479b53aa><stop offset="0" stop-color="rgb(194,198,62)" data-v-479b53aa></stop><stop offset="1" stop-color="rgb(41,167,58)" data-v-479b53aa></stop></linearGradient></defs><path d="M7.5 4.26L11.84 5.83L7.5 7.41L5.92 11.67L4.32 7.41L0 5.83L4.32 4.26L5.92 0L7.5 4.26Z" fill="url(#aiStarGradient1)" data-v-479b53aa></path><path d="M13.27 11.04L15 11.67L13.27 12.3L12.63 14L11.99 12.3L10.26 11.67L11.99 11.04L12.63 9.33L13.27 11.04Z" fill="url(#aiStarGradient2)" data-v-479b53aa></path></svg>',1)),p("div",tt,[p("span",et,d(t.name),1)]),p("div",at,d(t.desc),1),p("div",nt,[t.origin_price&&t.origin_price>t.price?(u(),s("span",rt,"原价: ¥"+d(t.origin_price/100),1)):L("",!0),a[0]||(a[0]=p("span",{class:"price-symbol"},"¥",-1)),p("span",ot,d(t.price/100),1)])],10,X)):L("",!0)],64)}),256)),y(i,{placement:"bottom","popper-style":{padding:"0"},width:200,"hide-after":50,trigger:"click"},{reference:m(function(){return t(a[2]||(a[2]=[p("div",{class:"amount-option customer-option"},[p("div",{class:"customer-decor"},[p("svg",{class:"ai-icon",viewBox:"0 0 24 24",width:"80",height:"80",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},[p("path",{d:"M3 18v-6a9 9 0 0 1 18 0v6"}),p("path",{d:"M21 19a2 2 0 0 1-2 2h-1a2 2 0 0 1-2-2v-3a2 2 0 0 1 2-2h3zM3 19a2 2 0 0 0 2 2h1a2 2 0 0 0 2-2v-3a2 2 0 0 0-2-2H3z"})])]),p("div",{class:"option-title"},[p("span",{class:"number"},"更多优惠"),p("span",{class:"badge"},"专属")]),p("div",{class:"option-desc"},"联系客服获取专属折扣方案")],-1)]))}),default:m(function(){return[y(o)]}),_:1})])),[[l,h.value],[l,"加载套餐中...","title"]]),p("div",it,[p("div",ct,[p("div",lt,[a[3]||(a[3]=p("span",{class:"total-label"},"支付金额:",-1)),p("span",ut,"¥"+d(null!==(n=C.value)&&void 0!==n&&n.price?C.value.price/100:0),1),null!==(r=C.value)&&void 0!==r&&r.origin_price&&C.value.origin_price>C.value.price?(u(),s("span",st,"原价: ¥"+d(C.value.origin_price/100),1)):L("",!0)]),a[4]||(a[4]=p("div",{class:"tips-text mt-1.5"}," 购买资源包额度,有效期按套餐规定。消耗顺序:优先使用免费额度,再使用资源包额度。 ",-1))]),p("div",pt,[y(c,{type:"primary",loading:A.value,onClick:P},{default:m(function(){return t(a[5]||(a[5]=[b(" 确认支付 ",-1)]))}),_:1},8,["loading"])])])])}}});e("default",P(dt,[["__scopeId","data-v-479b53aa"]]))}}})}();