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/index217.js
import{c as w,X as x,Y as c,b as C,aw as z,g as S,w as M,o as $,j as l,k as u,C as B,m as E,p as L,y as i,q as N,s as P,F as j,ax as F}from"./base-lib.js?v=1777008528";import{cZ as V}from"./utils-lib.js?v=1777008528";const q={key:1,class:"flex items-center h-[28px]"},D={class:"!border-solid !border-1 !border-light !px-[10px] !h-[28px] leading-[28px] text-center"},I=w({__name:"index",props:x({row:{},page:{},total:{},type:{default:"default"},name:{default:"row"},layout:{default:"prev, pager, next, sizes, total, jumper"},rowList:{default:()=>[10,20,50,100]},useStorage:{type:Boolean,default:!0}},{row:{default:10},rowModifiers:{},page:{default:1},pageModifiers:{},total:{default:0},totalModifiers:{}}),emits:x(["change"],["update:row","update:page","update:total"]),setup(o,{emit:f}){const t=c(o,"row"),a=c(o,"page"),m=c(o,"total"),n=o,g=C(),b="".concat(g==null?void 0:g.fullPath.replace(/\//g,"_"),"_").concat(n==null?void 0:n.name),d=z(b,t.value||n.rowList[0]),p=f,v=S(()=>(t.value=n.useStorage?d.value:t.value,n.useStorage?d.value:t.value));M(()=>d.value,e=>{e!==t.value&&(t.value=e,p("change",a.value,e))});const h=e=>{a.value=1,e!==t.value&&(t.value=e),d.value=e,p("change",a.value,e)},k=e=>{a.value=e,p("change",e,v.value)};return $(()=>{}),(e,s)=>{const y=F;return l(),u(j,null,[o.type==="default"?(l(),B(y,E({key:0,background:"",size:"small"},e.$attrs,{total:m.value,"page-size":L(v),"page-sizes":o.rowList,"current-page":a.value,"pager-count":5,layout:o.layout,onSizeChange:h,onCurrentChange:k}),null,16,["total","page-size","page-sizes","current-page","layout"])):i("",!0),o.type==="unknown"?(l(),u("div",q,[a.value>1?(l(),u("span",{key:0,class:"bt-link !border-solid !border-1 !border-light !px-[10px] !h-[28px] leading-[28px] text-center",onClick:s[0]||(s[0]=r=>e.$emit("change",1,r))}," 首页 ")):i("",!0),a.value>1?(l(),u("span",{key:1,class:"bt-link !border-solid !border-1 !border-light !px-[10px] !h-[28px] leading-[28px] text-center",onClick:s[1]||(s[1]=r=>e.$emit("change",a.value-1,r))}," 上一页 ")):i("",!0),t.value>=m.value?(l(),u("span",{key:2,class:"bt-link !border-solid !border-1 !border-light !px-[10px] !h-[28px] leading-[28px] text-center",onClick:s[2]||(s[2]=r=>e.$emit("change",a.value+1,r))}," 下一页 ")):i("",!0),N("span",D," 第 "+P(a.value)+" 页 ",1)])):i("",!0)],64)}}}),Y=V(I,[["__scopeId","data-v-2b0b56a9"]]);export{Y as _};