import{a,s as r}from"./list-I2I5D8gr.js";import{_ as l}from"./index-C-XHZLOy.js";import{Z as t,ae as s}from"./index-9PRMimni.js";const c=[{title:"id",key:"id",width:100},{title:"名称",key:"name",width:160,search:!0,searchProps:{placeholder:"请输入名称",style:{width:"150px"}}},{title:"头像",key:"avatar",width:160,render(e){return t(l,{imageProps:{width:32,height:32},imgList:[e.avatar],spaceProps:{justify:"space-between"},style:"border-radius: 50%"})}},{title:"性别",key:"sex",width:160,search:!0,searchType:"select",searchProps:{placeholder:"请选择性别",options:[{label:"男",value:"male"},{label:"女",value:"female"}],style:{width:"150px"}},render(e){return t(s,{type:e.sex==="male"?"info":"error"},{default:()=>a[e.sex]})}},{title:"邮箱",key:"email",width:180},{title:"城市",key:"city",width:180},{title:"状态",key:"status",width:160,search:!0,searchType:"select",searchProps:{placeholder:"请选择状态",options:[{label:"拒绝",value:"refuse"},{label:"取消",value:"close"},{label:"成功",value:"success"}],style:{width:"150px"}},render(e){return t(s,{type:e.status==="close"?"default":e.status==="refuse"?"error":"success"},{default:()=>r[e.status]})}},{title:"创建时间",width:320,key:"createDate",align:"center"}];export{c};
