import{_ as g,c as r,o as t,w as a,L as o,i as k,k as n,a1 as p,t as c,j as v,p as d,M as _,N as f,l as S,ac as b,bW as C}from"./index-CZJgrp0v.js";import{t as w}from"./themeMixins.C76yI6bA.js";const I={mixins:[w],props:{type:{type:String,default:"user"},list:{type:Array,default:()=>[]},cardTitle:{type:String,default:""},applyStatusObj:{type:Object,default:()=>({})}},computed:{showTitle(){return{unit:"团队报名信息",leader:"领队报名信息",coach:"教练报名信息",doctor:"队医报名信息",judge:"裁判员报名信息",register:"参赛人员信息"}[this.type]},extendClass(){return this.type!="unit"?"user":"team"}},data(){return{}},methods:{handleClickQrcode(){this.$emit("clickQrcode")},previewImage(s){b({urls:[s]})}}};function j(s,D,l,T,M,i){const e=v,y=S;return t(),r(e,{class:p(["match-user-box",i.extendClass])},{default:a(()=>[l.applyStatusObj.auditStatus?(t(),o("div",{key:0,class:p(["statusCn",l.applyStatusObj.auditStatus])},c(l.applyStatusObj.auditStatusCn),3)):k("",!0),n(e,{class:"match-user-box_top"},{default:a(()=>[n(e,null,{default:a(()=>[d(c(l.cardTitle||i.showTitle),1)]),_:1})]),_:1}),n(e,{class:"match-user-box_middle"},{default:a(()=>[(t(!0),o(_,null,f(l.list,(u,h)=>(t(),r(e,{class:"row",key:h},{default:a(()=>[n(e,{class:"label"},{default:a(()=>[d(c(u.fieldName),1)]),_:2},1024),u.fieldType!=="img"?(t(),r(e,{key:0,class:"value"},{default:a(()=>[d(c(u.value),1)]),_:2},1024)):(t(),r(e,{key:1,class:"value imgContainer"},{default:a(()=>[(t(!0),o(_,null,f(u.value.split(","),(m,x)=>(t(),r(y,{key:x,src:m,mode:"widthFix",class:"image",onClick:N=>i.previewImage(m)},null,8,["src","onClick"]))),128))]),_:2},1024))]),_:2},1024))),128))]),_:1})]),_:1},8,["class"])}const V=g(I,[["render",j],["__scopeId","data-v-95671bbe"]]),F=C("myMatchDetailStore",{state(){return{currentDetailInfo:[]}},actions:{setCurrentDetailInfo(s){this.currentDetailInfo=s}}});export{V as m,F as u};
