import{j as f,a as b,r as v,G as V,I as d,B as t,y as o,_ as k,J as x,v as B,a2 as E,a1 as y,a5 as w,a6 as F,u as I,a7 as C,O as N}from"./element-plus-D8cTx5ZJ.js";import{u as U}from"./upload-HJQqh7MG.js";import{_ as g}from"./_plugin-vue_export-helper-DlAUqK2U.js";import"./http-BeIBo5P3.js";const j={class:"feedback-container"},O={class:"main"},R={class:"submit"},h=f({__name:"FeedBack",setup(q){const l=b({describe:"",img:"",contact:""}),c=v(),u=({file:r})=>{U(r,{}).then(a=>{console.log(a)}).catch(a=>{console.error(a)})};return(r,e)=>{const a=y,n=E,i=F,m=w,p=k,_=x;return B(),V("div",j,[d("div",O,[e[4]||(e[4]=d("div",{class:"title"}," 意见反馈 ",-1)),t(p,{model:l,"label-width":"150px"},{default:o(()=>[t(n,{label:"描述问题"},{default:o(()=>[t(a,{modelValue:l.describe,"onUpdate:modelValue":e[0]||(e[0]=s=>l.describe=s),rows:6,type:"textarea",style:{width:"95%"}},null,8,["modelValue"])]),_:1}),t(n,{label:"上传图片"},{default:o(()=>[t(m,{ref_key:"uploadRef",ref:c,multiple:"",limit:3,"list-type":"picture-card","http-request":u,"auto-upload":!1},{default:o(()=>[t(i,{class:"avatar-uploader-icon"},{default:o(()=>[t(I(C))]),_:1})]),_:1},512)]),_:1}),t(n,{label:"您的联系方式"},{default:o(()=>[t(a,{modelValue:l.contact,"onUpdate:modelValue":e[1]||(e[1]=s=>l.contact=s),style:{width:"95%"}},null,8,["modelValue"])]),_:1})]),_:1},8,["model"]),d("div",R,[t(_,{color:"#f34d2c",plain:"",onClick:e[2]||(e[2]=s=>c.value.submit())},{default:o(()=>e[3]||(e[3]=[N("提交反馈")])),_:1})])])])}}}),$=g(h,[["__scopeId","data-v-8b6b8404"]]);export{$ as default};
