import{b as x,ar as B,_ as F,c as t,e as c,f as m,h as o,i as l,F as I,j as V,k as f,g as a,A as b,m as w,R as $,S as A}from"./index.0308b213.js";const L={setup(){const e=x({replyList:[{title:"\u81EA\u5B9A\u4E49\u8BC4\u4EF7\u56DE\u590D",type:"textarea",value:""}]}),n=()=>{e.replyList.push({title:"\u81EA\u5B9A\u4E49\u8BC4\u4EF7\u56DE\u590D",type:"textarea",value:""})},d=u=>{e.replyList.splice(u,1)};return{...B(e),addInput:n,delInput:d}}};const v=e=>($("data-v-9d6e2922"),e=e(),A(),e),R={class:"container"},D=v(()=>a("h1",{class:"title"},"\u8BC4\u4EF7\u56DE\u590D",-1)),N={class:"item-row"},S={class:"item-row"},g=v(()=>a("span",{class:"add-text"},"\u6DFB\u52A0\u81EA\u5B9A\u4E49\u8BC4\u4EF7\u56DE\u590D",-1)),z=w("\u63D0\u4EA4");function P(e,n,d,u,U,j){const y=t("el-input"),h=t("CircleCloseFilled"),_=t("el-icon"),p=t("el-form-item"),C=t("CirclePlusFilled"),E=t("el-form"),k=t("el-button");return c(),m("div",R,[D,o(E,{"label-width":"200px",class:"form-container"},{default:l(()=>[(c(!0),m(I,null,V(e.replyList,(s,i)=>(c(),f(p,{key:i,label:s.title},{default:l(()=>[a("div",N,[s.type=="textarea"?(c(),f(y,{key:0,type:"textarea",modelValue:s.value,"onUpdate:modelValue":r=>s.value=r,autosize:{minRows:4}},null,8,["modelValue","onUpdate:modelValue"])):b("",!0),o(_,{size:16,class:"icon-delete",onClick:r=>e.delInput(i)},{default:l(()=>[o(h)]),_:2},1032,["onClick"])])]),_:2},1032,["label"]))),128)),o(p,null,{default:l(()=>[a("div",S,[a("p",{class:"add-btn",onClick:n[0]||(n[0]=s=>e.addInput())},[o(_,{size:16},{default:l(()=>[o(C)]),_:1}),g])])]),_:1})]),_:1}),o(k,{type:"primary"},{default:l(()=>[z]),_:1})])}const q=F(L,[["render",P],["__scopeId","data-v-9d6e2922"]]);export{q as default};
