Initial commit

This commit is contained in:
sjk
2025-11-17 13:32:54 +08:00
commit e788eab6eb
1659 changed files with 171560 additions and 0 deletions

55
admin/dist/assets/Dashboard-c6aa87b9.js vendored Normal file

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
.dashboard .page-header{h2[data-v-ed8c17c7] {margin: 0 0 8px 0; color: #333;} p[data-v-ed8c17c7] {margin: 0; color: #666;}}.dashboard .page-header[data-v-ed8c17c7],.dashboard .stats-row[data-v-ed8c17c7]{margin-bottom:24px}.dashboard .time-filter[data-v-ed8c17c7]{margin-bottom:24px;padding:16px;background:#fff;border-radius:8px;box-shadow:0 1px 3px #0000001a;display:flex;align-items:center;gap:16px}.dashboard .stat-card[data-v-ed8c17c7]{background:#fff;border-radius:8px;padding:24px;box-shadow:0 1px 3px #0000001a;display:flex;align-items:center}.dashboard .stat-card .stat-icon[data-v-ed8c17c7]{width:64px;height:64px;border-radius:12px;display:flex;align-items:center;justify-content:center;margin-right:16px}.dashboard .stat-card .stat-icon.user[data-v-ed8c17c7]{background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);color:#fff}.dashboard .stat-card .stat-icon.product[data-v-ed8c17c7]{background:linear-gradient(135deg,#f093fb 0%,#f5576c 100%);color:#fff}.dashboard .stat-card .stat-icon.order[data-v-ed8c17c7]{background:linear-gradient(135deg,#4facfe 0%,#00f2fe 100%);color:#fff}.dashboard .stat-card .stat-icon.revenue[data-v-ed8c17c7]{background:linear-gradient(135deg,#43e97b 0%,#38f9d7 100%);color:#fff}.dashboard .stat-card .stat-content[data-v-ed8c17c7]{flex:1}.dashboard .stat-card .stat-content .stat-title[data-v-ed8c17c7]{color:#666;font-size:14px;margin-bottom:8px}.dashboard .stat-card .stat-content .stat-value[data-v-ed8c17c7]{font-size:28px;font-weight:700;color:#333;margin-bottom:4px}.dashboard .stat-card .stat-content .stat-trend[data-v-ed8c17c7]{font-size:12px;display:flex;align-items:center}.dashboard .stat-card .stat-content .stat-trend.up[data-v-ed8c17c7]{color:#52c41a}.dashboard .stat-card .stat-content .stat-trend.down[data-v-ed8c17c7]{color:#ff4d4f}.dashboard .stat-card .stat-content .stat-trend.stable[data-v-ed8c17c7]{color:#666}.dashboard .stat-card .stat-content .stat-detail[data-v-ed8c17c7]{font-size:12px;color:#666;margin-top:4px}.dashboard .stat-card .stat-content .stat-detail .detail-item[data-v-ed8c17c7]{margin-right:8px}.dashboard .stat-card .stat-content .stat-detail .detail-item.low-stock[data-v-ed8c17c7]{color:#ff4d4f}.dashboard .charts-row[data-v-ed8c17c7]{margin-bottom:24px}.dashboard .chart-card[data-v-ed8c17c7]{background:#fff;border-radius:8px;padding:24px;box-shadow:0 1px 3px #0000001a}.dashboard .chart-card .chart-header{h3[data-v-ed8c17c7] {margin: 0; color: #333;}}.dashboard .chart-card .chart-header[data-v-ed8c17c7]{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.dashboard .recent-orders[data-v-ed8c17c7]{background:#fff;border-radius:8px;padding:24px;box-shadow:0 1px 3px #0000001a}.dashboard .recent-orders .section-header{h3[data-v-ed8c17c7] {margin: 0; color: #333;}}.dashboard .recent-orders .section-header[data-v-ed8c17c7]{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.dashboard .recent-orders [data-v-ed8c17c7] .el-table,.dashboard .recent-orders [data-v-ed8c17c7] .el-table__body-wrapper,.dashboard .recent-orders [data-v-ed8c17c7] .el-table__header-wrapper{width:100%!important}

1
admin/dist/assets/Login-369dc207.js vendored Normal file
View File

@@ -0,0 +1 @@
import{u as V,a as h,r as _,b as k,c as r,o as L,d as R,e as u,f as s,w as a,g as U,h as c,t as z,E as g}from"./index-fa7a0ed8.js";import{_ as B}from"./_plugin-vue_export-helper-c27b6911.js";const C={class:"login-container"},E={class:"login-box"},F={__name:"Login",setup(N){const f=V(),w=h(),d=_(),t=_(!1),o=k({username:"",password:"",remember:!1}),b={username:[{required:!0,message:"请输入用户名",trigger:"blur"},{min:3,max:20,message:"用户名长度在 3 到 20 个字符",trigger:"blur"}],password:[{required:!0,message:"请输入密码",trigger:"blur"},{min:6,max:20,message:"密码长度在 6 到 20 个字符",trigger:"blur"}]},m=async()=>{if(d.value)try{await d.value.validate(),t.value=!0,await w.login({username:o.username,password:o.password}),g.success("登录成功"),f.push("/")}catch(i){i.message&&g.error(i.message)}finally{t.value=!1}};return(i,e)=>{const p=r("el-input"),n=r("el-form-item"),v=r("el-checkbox"),x=r("el-button"),y=r("el-form");return L(),R("div",C,[u("div",E,[e[4]||(e[4]=u("div",{class:"login-header"},[u("h1",null,"电商管理系统"),u("p",null,"欢迎登录后台管理系统")],-1)),s(y,{ref_key:"loginFormRef",ref:d,model:o,rules:b,class:"login-form",onKeyup:U(m,["enter"])},{default:a(()=>[s(n,{prop:"username"},{default:a(()=>[s(p,{modelValue:o.username,"onUpdate:modelValue":e[0]||(e[0]=l=>o.username=l),placeholder:"请输入用户名",size:"large","prefix-icon":"User"},null,8,["modelValue"])]),_:1}),s(n,{prop:"password"},{default:a(()=>[s(p,{modelValue:o.password,"onUpdate:modelValue":e[1]||(e[1]=l=>o.password=l),type:"password",placeholder:"请输入密码",size:"large","prefix-icon":"Lock","show-password":""},null,8,["modelValue"])]),_:1}),s(n,null,{default:a(()=>[s(v,{modelValue:o.remember,"onUpdate:modelValue":e[2]||(e[2]=l=>o.remember=l)},{default:a(()=>[...e[3]||(e[3]=[c("记住密码",-1)])]),_:1},8,["modelValue"])]),_:1}),s(n,null,{default:a(()=>[s(x,{type:"primary",size:"large",loading:t.value,onClick:m,style:{width:"100%"}},{default:a(()=>[c(z(t.value?"登录中...":"登录"),1)]),_:1},8,["loading"])]),_:1})]),_:1},8,["model"])])])}}},K=B(F,[["__scopeId","data-v-bad2aed0"]]);export{K as default};

1
admin/dist/assets/Login-864e0546.css vendored Normal file
View File

@@ -0,0 +1 @@
.login-container[data-v-bad2aed0]{height:100vh;background:linear-gradient(135deg,#667eea 0%,#764ba2 100%);display:flex;align-items:center;justify-content:center}.login-box[data-v-bad2aed0]{width:400px;padding:40px;background:#fff;border-radius:12px;box-shadow:0 8px 32px #0000001a}.login-header[data-v-bad2aed0]{text-align:center;margin-bottom:32px}.login-header h1[data-v-bad2aed0]{font-size:28px;color:#333;margin-bottom:8px}.login-header p[data-v-bad2aed0]{color:#666;font-size:14px}.login-form .el-form-item[data-v-bad2aed0]{margin-bottom:24px}.login-form .el-form-item[data-v-bad2aed0]:last-child{margin-bottom:0}

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
.permissions-container[data-v-80ebf8e8]{padding:20px}.card-header[data-v-80ebf8e8]{display:flex;justify-content:space-between;align-items:center}.search-area[data-v-80ebf8e8]{margin-bottom:20px;padding:20px;background-color:#f5f5f5;border-radius:4px}.pagination-container[data-v-80ebf8e8]{margin-top:20px;text-align:right}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

1
admin/dist/assets/Roles-1ddd8ceb.css vendored Normal file
View File

@@ -0,0 +1 @@
.roles-container[data-v-cdfeee21]{padding:20px}.card-header[data-v-cdfeee21]{display:flex;justify-content:space-between;align-items:center}.search-area[data-v-cdfeee21]{margin-bottom:20px;padding:20px;background-color:#f5f5f5;border-radius:4px}.pagination-container[data-v-cdfeee21]{margin-top:20px;text-align:right}

1
admin/dist/assets/Roles-a22d3b28.js vendored Normal file

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
const s=(t,r)=>{const o=t.__vccOpts||t;for(const[c,e]of r)o[c]=e;return o};export{s as _};

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
.category-form[data-v-3f2c1506]{padding:20px 0}.icon-upload[data-v-3f2c1506]{display:flex;align-items:center;gap:10px}.icon-preview[data-v-3f2c1506]{flex-shrink:0}.image-slot[data-v-3f2c1506]{display:flex;align-items:center;justify-content:center;width:40px;height:40px;background-color:#f5f7fa;color:#909399;border-radius:4px}.dialog-footer[data-v-3f2c1506]{text-align:right}[data-v-3f2c1506] .el-tree-select{width:100%}.category-name[data-v-2ced7953]{display:flex;align-items:center}.page-header[data-v-2ced7953]{margin-bottom:20px}.page-header h2[data-v-2ced7953]{margin:0 0 8px;font-size:20px;font-weight:600}.page-header p[data-v-2ced7953]{margin:0;color:#666;font-size:14px}[data-v-2ced7953] .el-table .cell{display:flex;align-items:center;min-height:40px}[data-v-2ced7953] .el-table .el-table__row .el-table__indent{display:inline-flex;align-items:center}[data-v-2ced7953] .el-table .el-table__row .el-table__expand-icon{vertical-align:middle;margin-right:8px}[data-v-2ced7953] .el-table .el-table__body .el-table__row .el-table__cell:first-child{text-align:left}[data-v-2ced7953] .el-table .el-table__body .el-table__row .el-table__cell:first-child .cell{justify-content:flex-start;padding-left:14px}

5
admin/dist/assets/index-0a06735a.js vendored Normal file

File diff suppressed because one or more lines are too long

1
admin/dist/assets/index-0fae0f69.css vendored Normal file
View File

@@ -0,0 +1 @@
.refund-detail[data-v-2de432af]{max-height:600px;overflow-y:auto}.detail-card[data-v-2de432af]{margin-bottom:20px}.detail-card[data-v-2de432af]:last-child{margin-bottom:0}.amount[data-v-2de432af]{font-weight:700;color:#e6a23c}.reason-content[data-v-2de432af],.audit-content[data-v-2de432af]{padding:10px 0}.reason-content p[data-v-2de432af],.audit-content p[data-v-2de432af]{margin:10px 0;line-height:1.6}.evidence-images[data-v-2de432af]{display:flex;flex-wrap:wrap;gap:10px}.evidence-image[data-v-2de432af]{width:100px;height:100px;border-radius:4px;cursor:pointer}.log-content[data-v-2de432af]{padding:10px;background-color:#f5f5f5;border-radius:4px}.log-action[data-v-2de432af]{font-weight:700;margin-bottom:5px}.log-remark[data-v-2de432af]{color:#666;margin-bottom:5px}.log-status[data-v-2de432af]{font-size:12px;color:#999}.dialog-footer[data-v-2de432af]{display:flex;justify-content:flex-end;gap:10px}.amount[data-v-36abb1d6]{font-weight:700;color:#e6a23c;font-size:16px}.form-tip[data-v-36abb1d6]{font-size:12px;color:#999;margin-top:5px}.dialog-footer[data-v-36abb1d6]{display:flex;justify-content:flex-end;gap:10px}.refunds-container[data-v-b7c6a266]{padding:20px}.card-header[data-v-b7c6a266]{display:flex;justify-content:space-between;align-items:center}.header-actions[data-v-b7c6a266]{display:flex;gap:10px}.search-area[data-v-b7c6a266]{margin-bottom:20px;padding:20px;background-color:#f5f5f5;border-radius:4px}.stats-cards[data-v-b7c6a266]{margin-bottom:20px}.stat-card[data-v-b7c6a266]{text-align:center}.stat-content[data-v-b7c6a266]{padding:10px}.stat-value[data-v-b7c6a266]{font-size:24px;font-weight:700;color:#409eff;margin-bottom:5px}.stat-label[data-v-b7c6a266]{font-size:14px;color:#666}.table-container[data-v-b7c6a266]{margin-bottom:20px}.amount[data-v-b7c6a266]{font-weight:700;color:#e6a23c}.pagination-container[data-v-b7c6a266]{display:flex;justify-content:center;margin-top:20px}

1
admin/dist/assets/index-12c2b32b.js vendored Normal file
View File

@@ -0,0 +1 @@
import{i as ee,u as te,a as ne,r as oe,j as b,k as le,c as o,o as r,d as v,f as e,w as t,e as _,l as m,h as l,F as se,m as ae,t as g,n as ue}from"./index-fa7a0ed8.js";import{_ as de}from"./_plugin-vue_export-helper-c27b6911.js";const re={class:"admin-layout"},_e={class:"logo"},ce={key:1},ie={class:"header-left"},me={class:"header-right"},pe={class:"user-info"},fe={style:{"margin-left":"8px"}},xe={__name:"index",setup(be){const p=ee(),C=te(),w=ne(),c=oe(!1),f=b(()=>w.userInfo),D=b(()=>{const{path:a}=p;return a}),E=b(()=>{const a=p.matched.filter(d=>d.meta&&d.meta.title),n=[];return a.forEach(d=>{n.push({title:d.meta.title,path:d.path})}),n}),A=()=>{c.value=!c.value},L=()=>{document.fullscreenElement?document.exitFullscreen():document.documentElement.requestFullscreen()},R=async a=>{switch(a){case"profile":break;case"settings":break;case"logout":try{await ue.confirm("确定要退出登录吗?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}),await w.logout(),C.push("/login")}catch{}break}};return le(()=>p.meta.title,a=>{a&&(document.title=`${a} - 电商管理系统`)},{immediate:!0}),(a,n)=>{const d=o("Shop"),s=o("el-icon"),z=o("DataBoard"),u=o("el-menu-item"),I=o("User"),N=o("Goods"),y=o("el-sub-menu"),T=o("Document"),V=o("RefreshLeft"),q=o("Picture"),G=o("Setting"),M=o("el-menu"),P=o("el-aside"),U=o("Fold"),j=o("Expand"),k=o("el-button"),$=o("el-breadcrumb-item"),H=o("el-breadcrumb"),J=o("FullScreen"),K=o("el-avatar"),O=o("ArrowDown"),x=o("el-dropdown-item"),Q=o("el-dropdown-menu"),W=o("el-dropdown"),X=o("el-header"),Y=o("router-view"),Z=o("el-main"),h=o("el-container");return r(),v("div",re,[e(h,null,{default:t(()=>[e(P,{width:c.value?"64px":"240px",class:"sidebar"},{default:t(()=>[_("div",_e,[c.value?(r(),m(s,{key:0,size:"24"},{default:t(()=>[e(d)]),_:1})):(r(),v("span",ce,"电商管理系统"))]),e(M,{"default-active":D.value,collapse:c.value,"unique-opened":!0,"background-color":"#001529","text-color":"#fff","active-text-color":"#1890ff",router:""},{default:t(()=>[e(u,{index:"/dashboard"},{title:t(()=>[...n[0]||(n[0]=[l("仪表盘",-1)])]),default:t(()=>[e(s,null,{default:t(()=>[e(z)]),_:1})]),_:1}),e(u,{index:"/users"},{title:t(()=>[...n[1]||(n[1]=[l("用户管理",-1)])]),default:t(()=>[e(s,null,{default:t(()=>[e(I)]),_:1})]),_:1}),e(y,{index:"/products"},{title:t(()=>[e(s,null,{default:t(()=>[e(N)]),_:1}),n[2]||(n[2]=_("span",null,"商品管理",-1))]),default:t(()=>[e(u,{index:"/products"},{default:t(()=>[...n[3]||(n[3]=[l("商品列表",-1)])]),_:1}),e(u,{index:"/products/categories"},{default:t(()=>[...n[4]||(n[4]=[l("商品分类",-1)])]),_:1})]),_:1}),e(u,{index:"/orders"},{title:t(()=>[...n[5]||(n[5]=[l("订单管理",-1)])]),default:t(()=>[e(s,null,{default:t(()=>[e(T)]),_:1})]),_:1}),e(u,{index:"/refunds"},{title:t(()=>[...n[6]||(n[6]=[l("退款管理",-1)])]),default:t(()=>[e(s,null,{default:t(()=>[e(V)]),_:1})]),_:1}),e(u,{index:"/banners"},{title:t(()=>[...n[7]||(n[7]=[l("轮播图管理",-1)])]),default:t(()=>[e(s,null,{default:t(()=>[e(q)]),_:1})]),_:1}),e(y,{index:"/system"},{title:t(()=>[e(s,null,{default:t(()=>[e(G)]),_:1}),n[8]||(n[8]=_("span",null,"系统管理",-1))]),default:t(()=>[e(u,{index:"/system/roles"},{default:t(()=>[...n[9]||(n[9]=[l("角色管理",-1)])]),_:1}),e(u,{index:"/system/permissions"},{default:t(()=>[...n[10]||(n[10]=[l("权限管理",-1)])]),_:1})]),_:1})]),_:1},8,["default-active","collapse"])]),_:1},8,["width"]),e(h,{class:"main-content"},{default:t(()=>[e(X,{class:"header"},{default:t(()=>[_("div",ie,[e(k,{type:"text",onClick:A,style:{"font-size":"18px"}},{default:t(()=>[e(s,null,{default:t(()=>[c.value?(r(),m(j,{key:1})):(r(),m(U,{key:0}))]),_:1})]),_:1}),e(H,{class:"breadcrumb",separator:"/"},{default:t(()=>[(r(!0),v(se,null,ae(E.value,i=>(r(),m($,{key:i.path,to:i.path},{default:t(()=>[l(g(i.title),1)]),_:2},1032,["to"]))),128))]),_:1})]),_("div",me,[e(k,{type:"text",onClick:L},{default:t(()=>[e(s,null,{default:t(()=>[e(J)]),_:1})]),_:1}),e(W,{onCommand:R},{dropdown:t(()=>[e(Q,null,{default:t(()=>[e(x,{command:"profile"},{default:t(()=>[...n[11]||(n[11]=[l("个人中心",-1)])]),_:1}),e(x,{command:"settings"},{default:t(()=>[...n[12]||(n[12]=[l("系统设置",-1)])]),_:1}),e(x,{divided:"",command:"logout"},{default:t(()=>[...n[13]||(n[13]=[l("退出登录",-1)])]),_:1})]),_:1})]),default:t(()=>{var i,B;return[_("span",pe,[e(K,{size:32,src:(i=f.value)==null?void 0:i.avatar},{default:t(()=>{var F,S;return[l(g((S=(F=f.value)==null?void 0:F.name)==null?void 0:S.charAt(0)),1)]}),_:1},8,["src"]),_("span",fe,g((B=f.value)==null?void 0:B.name),1),e(s,null,{default:t(()=>[e(O)]),_:1})])]}),_:1})])]),_:1}),e(Z,{class:"content"},{default:t(()=>[e(Y)]),_:1})]),_:1})]),_:1})])}}},we=de(xe,[["__scopeId","data-v-dbfb3303"]]);export{we as default};

1
admin/dist/assets/index-20ceadcc.css vendored Normal file
View File

@@ -0,0 +1 @@
.admin-layout[data-v-dbfb3303]{height:100vh}.sidebar[data-v-dbfb3303]{background:#001529;transition:width .3s}.logo[data-v-dbfb3303]{height:64px;display:flex;align-items:center;justify-content:center;color:#fff;font-size:18px;font-weight:700;border-bottom:1px solid #1f1f1f}.main-content[data-v-dbfb3303]{background:#f0f2f5}.header[data-v-dbfb3303]{background:#fff;padding:0 24px;box-shadow:0 1px 4px #00152914;display:flex;justify-content:space-between;align-items:center}.header-left[data-v-dbfb3303]{display:flex;align-items:center}.breadcrumb[data-v-dbfb3303]{margin-left:16px}.header-right[data-v-dbfb3303]{display:flex;align-items:center;gap:16px}.user-info[data-v-dbfb3303]{display:flex;align-items:center;cursor:pointer;padding:8px;border-radius:4px;transition:background-color .3s}.user-info[data-v-dbfb3303]:hover{background-color:#f5f5f5}.content[data-v-dbfb3303]{padding:16px;min-height:calc(100vh - 64px)}

1
admin/dist/assets/index-2ee2ca87.css vendored Normal file

File diff suppressed because one or more lines are too long

1
admin/dist/assets/index-3cdcc6af.css vendored Normal file
View File

@@ -0,0 +1 @@
.upload-container[data-v-3798b55f]{width:100%}.upload-placeholder[data-v-3798b55f]{text-align:center;padding:40px 0;border:2px dashed #dcdfe6;border-radius:6px;cursor:pointer;transition:border-color .3s}.upload-placeholder[data-v-3798b55f]:hover{border-color:#409eff}.upload-icon[data-v-3798b55f]{font-size:28px;color:#8c939d;margin-bottom:16px}.upload-text[data-v-3798b55f]{color:#606266;font-size:14px;margin-bottom:8px}.upload-tip[data-v-3798b55f]{color:#909399;font-size:12px}.upload-preview[data-v-3798b55f]{position:relative;border-radius:6px;overflow:hidden;cursor:pointer}.upload-overlay[data-v-3798b55f]{position:absolute;top:0;left:0;right:0;bottom:0;background:rgba(0,0,0,.5);color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;opacity:0;transition:opacity .3s}.upload-preview:hover .upload-overlay[data-v-3798b55f]{opacity:1}.dialog-footer[data-v-3798b55f]{text-align:right}.banner-detail[data-v-2059dded]{padding:20px 0}.banner-preview[data-v-2059dded],.detail-section[data-v-2059dded]{margin-bottom:30px}.section-title[data-v-2059dded]{font-size:16px;font-weight:600;color:#303133;margin:0 0 20px;padding-bottom:10px;border-bottom:1px solid #ebeef5}.detail-item[data-v-2059dded]{margin-bottom:15px;display:flex;align-items:flex-start}.detail-item label[data-v-2059dded]{font-weight:500;color:#606266;min-width:80px;margin-right:10px}.detail-item span[data-v-2059dded]{color:#303133;word-break:break-all}.stat-card[data-v-2059dded]{text-align:center;padding:20px;background:#f8f9fa;border-radius:8px;border:1px solid #ebeef5}.stat-value[data-v-2059dded]{font-size:24px;font-weight:600;color:#409eff;margin-bottom:8px}.stat-label[data-v-2059dded]{font-size:14px;color:#909399}.dialog-footer[data-v-2059dded]{text-align:right}.text-gray[data-v-7d7660dd]{color:#999}.page-header[data-v-7d7660dd]{margin-bottom:20px}.page-header h2[data-v-7d7660dd]{margin:0 0 8px;font-size:20px;font-weight:600}.page-header p[data-v-7d7660dd]{margin:0;color:#666;font-size:14px}

1
admin/dist/assets/index-60dd7d88.js vendored Normal file

File diff suppressed because one or more lines are too long

1
admin/dist/assets/index-8259d11c.css vendored Normal file
View File

@@ -0,0 +1 @@
.system-container[data-v-ec5c7e97]{height:100%}

1
admin/dist/assets/index-8e8d8ff2.css vendored Normal file

File diff suppressed because one or more lines are too long

1
admin/dist/assets/index-92073a1b.js vendored Normal file

File diff suppressed because one or more lines are too long

1
admin/dist/assets/index-d81478ed.js vendored Normal file

File diff suppressed because one or more lines are too long

1
admin/dist/assets/index-eacf7336.js vendored Normal file
View File

@@ -0,0 +1 @@
import{_ as o}from"./_plugin-vue_export-helper-c27b6911.js";import{c as t,o as _,d as c,f as s}from"./index-fa7a0ed8.js";const n={class:"system-container"},r={__name:"index",setup(a){return(p,d)=>{const e=t("router-view");return _(),c("div",n,[s(e)])}}},l=o(r,[["__scopeId","data-v-ec5c7e97"]]);export{l as default};

71
admin/dist/assets/index-fa7a0ed8.js vendored Normal file

File diff suppressed because one or more lines are too long

1
admin/dist/assets/index-fb9d242a.css vendored Normal file
View File

@@ -0,0 +1 @@
.orders-container[data-v-21247ff0]{padding:20px;width:100%;box-sizing:border-box}.card-header[data-v-21247ff0]{display:flex;justify-content:space-between;align-items:center}.search-area[data-v-21247ff0]{margin-bottom:20px;padding:20px;background-color:#f5f5f5;border-radius:4px}.stats-cards[data-v-21247ff0]{margin-bottom:20px}.table-container[data-v-21247ff0]{width:100%;margin-bottom:20px}.stat-card[data-v-21247ff0]{position:relative;overflow:hidden}.stat-content[data-v-21247ff0]{position:relative;z-index:2}.stat-value[data-v-21247ff0]{font-size:24px;font-weight:700;color:#303133;margin-bottom:5px}.stat-label[data-v-21247ff0]{font-size:14px;color:#909399}.stat-icon[data-v-21247ff0]{position:absolute;right:20px;top:50%;transform:translateY(-50%);font-size:40px;opacity:.3}.product-info[data-v-21247ff0]{display:flex;flex-direction:column;gap:10px}.product-item[data-v-21247ff0]{display:flex;align-items:center;margin-bottom:8px}.product-item[data-v-21247ff0]:last-child{margin-bottom:0}.product-details[data-v-21247ff0]{flex:1;min-width:0}.product-name[data-v-21247ff0]{font-weight:500;margin-bottom:2px;line-height:1.4;word-break:break-word;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}.product-spec[data-v-21247ff0]{font-size:12px;color:#909399;line-height:1.3;word-break:break-word}.amount[data-v-21247ff0]{color:#e6a23c;font-weight:700}.pagination-container[data-v-21247ff0]{margin-top:20px;text-align:right}.order-detail[data-v-21247ff0]{max-height:600px;overflow-y:auto}

1
admin/dist/assets/orders-9608cfb6.js vendored Normal file
View File

@@ -0,0 +1 @@
import{H as e}from"./index-fa7a0ed8.js";const a=r=>e({url:"/admin/api/v1/orders",method:"get",params:r}),d=r=>e({url:`/admin/api/v1/orders/${r}`,method:"get"}),o=(r,t)=>e({url:`/admin/api/v1/orders/${r}/ship`,method:"post",data:t}),n=(r,t)=>e({url:`/admin/api/v1/orders/${r}/cancel`,method:"post",data:{reason:t}}),i=(r,t)=>e({url:`/admin/api/v1/orders/${r}/refund`,method:"post",data:t}),u=()=>e({url:"/admin/api/v1/orders/statistics",method:"get"});export{u as a,d as b,n as c,a as g,i as r,o as s};

View File

@@ -0,0 +1 @@
import{H as e}from"./index-fa7a0ed8.js";const o=t=>e({url:"/admin/api/v1/products",method:"get",params:t}),d=t=>e({url:`/admin/api/v1/products/${t}`,method:"get"}),u=t=>e({url:"/admin/api/v1/products",method:"post",data:t}),s=(t,r)=>e({url:`/admin/api/v1/products/${t}`,method:"put",data:r}),c=t=>e({url:`/admin/api/v1/products/${t}`,method:"delete"}),n=t=>e({url:"/admin/api/v1/products/batch",method:"delete",data:{ids:t}}),i=(t,r)=>e({url:`/admin/api/v1/products/${t}`,method:"put",data:{status:r}}),p=t=>e({url:"/admin/api/v1/categories",method:"get",params:t}),m=t=>e({url:"/admin/api/v1/categories",method:"post",data:t}),l=(t,r)=>e({url:`/admin/api/v1/categories/${t}`,method:"put",data:r}),g=t=>e({url:`/admin/api/v1/categories/${t}`,method:"delete"});export{o as a,d as b,u as c,c as d,i as e,n as f,p as g,l as h,m as i,g as j,s as u};

15
admin/dist/index.html vendored Normal file
View File

@@ -0,0 +1,15 @@
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>电商后台管理系统</title>
<script type="module" crossorigin src="/assets/index-fa7a0ed8.js"></script>
<link rel="stylesheet" href="/assets/index-8e8d8ff2.css">
</head>
<body>
<div id="app"></div>
</body>
</html>