basic-settings.5a6d6109.js 1.3 KB

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