import{_ as b,q as h,a4 as F,r as u,o as a,n as r,p as l,O as i,t as e,H as t,I as x,J as v,S as c,K as C}from"./index.10c3f8e5.js";const y={class:"settings__content","bg-white":""},D={"mb-2":"","font-bold":""},k={"w-500px":"","m-auto":"","mt-2":""},q={flex:"","justify-center":""},w=c("\u4FDD\u5B58"),S=h({__name:"basic-settings",props:{title:null,detail:null,columns:null},setup(o){const _={cost:[{required:!0,trigger:"change",message:"\u8BF7\u9009\u62E9\u7C7B\u76EE"}],name:[{required:!0,trigger:"change",message:"\u8BF7\u9009\u62E9\u5546\u54C1\u540D\u79F0"}],fixed:[{required:!0,trigger:"change",message:"\u8BF7\u9009\u62E9\u7A0E\u7387"}]},d=F({cost:"",fixed:"",name:""});return(A,N)=>{const m=u("el-descriptions-item"),p=u("el-descriptions"),s=u("el-input"),n=u("el-form-item"),f=u("el-form"),g=u("el-button");return a(),r("div",y,[l("h1",D,i(o.title),1),e(p,{column:3,size:"small",border:"","mb-5":""},{default:t(()=>[(a(!0),r(x,null,v(o.columns,(B,E)=>(a(),C(m,{label:"demo",key:E},{default:t(()=>[c(i(o.detail[B.field]),1)]),_:2},1024))),128))]),_:1}),l("div",k,[e(f,{"label-width":"120px","label-position":"left",rules:_,mode:d},{default:t(()=>[e(n,{label:"\u5546\u54C1\u7C7B\u76EE\u8BBE\u7F6E",prop:"cost"},{default:t(()=>[e(s,{placeholder:"\u9009\u62E9\u7C7B\u76EE\u8BBE\u7F6E"})]),_:1}),e(n,{label:"\u5546\u54C1\u540D\u79F0",prop:"name"},{default:t(()=>[e(s,{placeholder:"\u8BF7\u8F93\u5165\u5546\u54C1\u540D\u79F0"})]),_:1}),e(n,{label:"\u7A0E\u7387",prop:"fixed"},{default:t(()=>[e(s,{disabled:"",placeholder:"\u8BF7\u8F93\u5165\u7A0E\u7387"})]),_:1})]),_:1},8,["mode"]),l("div",q,[e(g,{type:"primary"},{default:t(()=>[w]),_:1})])])])}}});var I=b(S,[["__scopeId","data-v-13ff5b7f"]]);export{I as default};
