Files
xin-school/public/assets/descriptions-7UvHFHcf.js
T
2026-05-30 17:38:49 +08:00

2 lines
6.7 KiB
JavaScript

import{j as e,T as y,U as p,S as u,B as a,Y as b,Z as g,_ as n,a as S,C as o,A as I,Q as f,D as c,i as v}from"./index-B-sDl1ER.js";import{C as l}from"./index-CO5DzGxy.js";import{F as d}from"./index-Bc7ikhKh.js";import{S as R,T as C}from"./Timeline-BM8lZv8J.js";import{D as s}from"./index-VkcAtM9X.js";import{T as x}from"./index-C9m5qSM4.js";import{F as r}from"./Table-B11dzOaz.js";import"./index-CeRfFUxJ.js";import"./index-DmtjhyJb.js";const{Title:B,Text:t}=y,A=()=>{const m=[{title:"商品名称",dataIndex:"name",key:"name"},{title:"商品编号",dataIndex:"code",key:"code"},{title:"数量",dataIndex:"quantity",key:"quantity"},{title:"单价",dataIndex:"price",key:"price",render:i=>${i.toFixed(2)}`},{title:"小计",dataIndex:"total",key:"total",render:i=>${i.toFixed(2)}`}],j=[{key:"1",name:"iPhone 15 Pro Max",code:"IP15PM-256-BLK",quantity:2,price:9999,total:19998},{key:"2",name:"AirPods Pro 2",code:"APP2-WHT",quantity:1,price:1899,total:1899},{key:"3",name:'MacBook Pro 16"',code:"MBP16-M3-SLV",quantity:1,price:25999,total:25999}],h=[{time:"2026-01-01 15:30:00",status:"已签收",description:"您的订单已由本人签收,感谢您的购买"},{time:"2026-01-01 09:20:00",status:"派送中",description:"快递员正在为您派送 [北京市朝阳区] 快递员:李师傅 13800138000"},{time:"2025-12-31 18:45:00",status:"运输中",description:"您的包裹已到达 [北京分拨中心]"},{time:"2025-12-30 14:20:00",status:"已发货",description:"您的订单已从 [上海仓库] 发出,物流单号: SF1234567890"},{time:"2025-12-30 10:00:00",status:"已支付",description:"订单支付成功,等待商家发货"}];return e.jsxs("div",{style:{minHeight:"100vh"},children:[e.jsx(l,{variant:"borderless",style:{marginBottom:20},children:e.jsxs(d,{justify:"space-between",align:"center",children:[e.jsxs("div",{children:[e.jsxs(B,{level:3,style:{marginBottom:4},children:[e.jsx(p,{style:{marginRight:8}}),"订单详情"]}),e.jsx(t,{type:"secondary",children:"订单号: OD2026010100001 · 创建时间: 2025-12-30 09:45:32"})]}),e.jsxs(u,{style:{height:"100%"},children:[e.jsx(a,{icon:e.jsx(b,{}),children:"打印订单"}),e.jsx(a,{icon:e.jsx(g,{}),children:"导出订单"}),e.jsx(a,{type:"primary",children:"联系客服"})]})]})}),e.jsx(l,{variant:"borderless",style:{marginBottom:20},children:e.jsx(R,{current:4,items:[{title:"提交订单",description:"2025-12-30 09:45",icon:e.jsx(n,{})},{title:"支付完成",description:"2025-12-30 10:00",icon:e.jsx(n,{})},{title:"商家发货",description:"2025-12-30 14:20",icon:e.jsx(n,{})},{title:"运输中",description:"2025-12-31 18:45",icon:e.jsx(n,{})},{title:"已签收",description:"2026-01-01 15:30",icon:e.jsx(n,{})}]})}),e.jsxs(S,{gutter:[16,16],children:[e.jsxs(o,{xs:24,lg:16,children:[e.jsx(l,{variant:"borderless",title:"订单基本信息",style:{marginBottom:16},children:e.jsxs(s,{column:{xs:1,sm:2},bordered:!0,children:[e.jsx(s.Item,{label:"订单号",children:"OD2026010100001"}),e.jsx(s.Item,{label:"订单状态",children:e.jsx(x,{color:"success",icon:e.jsx(n,{}),children:"已完成"})}),e.jsx(s.Item,{label:"下单时间",children:"2025-12-30 09:45:32"}),e.jsx(s.Item,{label:"支付时间",children:"2025-12-30 10:00:15"}),e.jsx(s.Item,{label:"发货时间",children:"2025-12-30 14:20:00"}),e.jsx(s.Item,{label:"完成时间",children:"2026-01-01 15:30:00"}),e.jsx(s.Item,{label:"支付方式",children:e.jsx(x,{color:"blue",children:"微信支付"})}),e.jsx(s.Item,{label:"配送方式",children:"顺丰速运"}),e.jsx(s.Item,{label:"发票类型",children:"电子发票"}),e.jsx(s.Item,{label:"发票抬头",children:"北京科技有限公司"})]})}),e.jsx(l,{variant:"borderless",title:"收货信息",style:{marginBottom:16},children:e.jsxs(s,{column:{xs:1,sm:2},bordered:!0,children:[e.jsx(s.Item,{label:"收货人",children:"张三"}),e.jsx(s.Item,{label:"联系电话",children:"138****8888"}),e.jsx(s.Item,{label:"收货地址",span:2,children:"北京市朝阳区建国路88号SOHO现代城A座2106室"})]})}),e.jsx(l,{variant:"borderless",title:"商品信息",children:e.jsx(r,{columns:m,dataSource:j,pagination:!1,summary:()=>e.jsxs(r.Summary,{children:[e.jsxs(r.Summary.Row,{children:[e.jsx(r.Summary.Cell,{index:0,colSpan:4,children:e.jsx(t,{strong:!0,children:"合计"})}),e.jsx(r.Summary.Cell,{index:1,children:e.jsx(t,{strong:!0,style:{color:"#f5222d",fontSize:16},children:"¥47,896.00"})})]}),e.jsxs(r.Summary.Row,{children:[e.jsx(r.Summary.Cell,{index:0,colSpan:4,children:e.jsx(t,{children:"运费"})}),e.jsx(r.Summary.Cell,{index:1,children:e.jsx(t,{children:"¥0.00"})})]}),e.jsxs(r.Summary.Row,{children:[e.jsx(r.Summary.Cell,{index:0,colSpan:4,children:e.jsx(t,{children:"优惠"})}),e.jsx(r.Summary.Cell,{index:1,children:e.jsx(t,{style:{color:"#52c41a"},children:"-¥500.00"})})]}),e.jsxs(r.Summary.Row,{children:[e.jsx(r.Summary.Cell,{index:0,colSpan:4,children:e.jsx(t,{strong:!0,style:{fontSize:16},children:"实付金额"})}),e.jsx(r.Summary.Cell,{index:1,children:e.jsx(t,{strong:!0,style:{color:"#f5222d",fontSize:18},children:"¥47,396.00"})})]})]})})})]}),e.jsxs(o,{xs:24,lg:8,children:[e.jsxs(l,{variant:"borderless",title:"买家信息",style:{marginBottom:16},children:[e.jsxs(d,{align:"center",style:{marginBottom:16},children:[e.jsx(I,{size:48,icon:e.jsx(f,{})}),e.jsxs("div",{style:{marginLeft:12},children:[e.jsx(t,{strong:!0,children:"张三"}),e.jsx("br",{}),e.jsx(t,{type:"secondary",style:{fontSize:12},children:"会员等级: VIP金卡"})]})]}),e.jsx(c,{style:{margin:"12px 0"}}),e.jsxs(s,{column:1,size:"small",children:[e.jsx(s.Item,{label:"用户ID",children:"U202512300001"}),e.jsx(s.Item,{label:"手机号",children:"138****8888"}),e.jsx(s.Item,{label:"邮箱",children:"zhangsan@example.com"}),e.jsx(s.Item,{label:"历史订单",children:"156 笔"}),e.jsx(s.Item,{label:"累计消费",children:"¥358,960"})]})]}),e.jsxs(l,{variant:"borderless",title:"物流追踪",children:[e.jsx(t,{type:"secondary",style:{fontSize:12},children:"物流公司: 顺丰速运"}),e.jsx("br",{}),e.jsx(t,{type:"secondary",style:{fontSize:12},children:"快递单号: SF1234567890"}),e.jsx(c,{style:{margin:"12px 0"}}),e.jsx(C,{items:h.map(i=>({color:i.status==="已签收"?"green":"blue",children:e.jsxs("div",{children:[e.jsx(t,{strong:!0,children:i.status}),e.jsx("br",{}),e.jsx(t,{type:"secondary",style:{fontSize:12},children:i.description}),e.jsx("br",{}),e.jsxs(t,{type:"secondary",style:{fontSize:12},children:[e.jsx(v,{style:{marginRight:4}}),i.time]})]})}))})]})]})]}),e.jsxs(l,{variant:"borderless",title:"订单备注",style:{marginTop:16},children:[e.jsx(t,{type:"secondary",children:"买家留言: 请在工作日配送,周末家里没人。如有问题请提前电话联系。"}),e.jsx(c,{}),e.jsx(t,{type:"secondary",children:"商家备注: 已按照买家要求在工作日配送,客户体验良好。"})]})]})};export{A as default};