import{I as k,J as C,P as O,C as g,H as B,D as F,O as N}from"./element-plus-z3MwpXC9.js";import{_ as j}from"./add-nav.vue_vue_type_script_setup_true_lang-Cmdi_rFe.js";import{d as D,b as I,o as d,c as u,V as l,M as o,a as s,u as n,S as x,U as c,aa as V}from"./@vue-TMcuEboY.js";const R={class:"flex-1 mt-4"},J=D({__name:"attr",props:{content:{type:Object,default:()=>({})},styles:{type:Object,default:()=>({})}},emits:["update:content"],setup(b,{emit:v}){const y=v,w=b,a=I({get:()=>w.content,set:m=>{y("update:content",m)}});return(m,e)=>{const r=k,E=C,p=N,i=O,_=g,f=B,U=F;return d(),u("div",null,[l(U,{"label-width":"70px"},{default:o(()=>[l(f,{shadow:"never",class:"!border-none flex mt-2"},{default:o(()=>[e[6]||(e[6]=s("div",{class:"flex items-end mb-4"},[s("div",{class:"text-base text-[#101010] font-medium"},"展示样式")],-1)),l(E,{modelValue:n(a).style,"onUpdate:modelValue":e[0]||(e[0]=t=>n(a).style=t)},{default:o(()=>[l(r,{value:1},{default:o(()=>e[4]||(e[4]=[x("固定显示")])),_:1}),l(r,{value:2},{default:o(()=>e[5]||(e[5]=[x("分页滑动")])),_:1})]),_:1},8,["modelValue"]),l(_,{label:"每行数量",class:"mt-4"},{default:o(()=>[l(i,{modelValue:n(a).per_line,"onUpdate:modelValue":e[1]||(e[1]=t=>n(a).per_line=t),style:{width:"300px"}},{default:o(()=>[(d(),u(c,null,V(5,t=>l(p,{key:t,label:t+"个",value:t},null,8,["label","value"])),64))]),_:1},8,["modelValue"])]),_:1}),l(_,{label:"显示行数"},{default:o(()=>[l(i,{modelValue:n(a).show_line,"onUpdate:modelValue":e[2]||(e[2]=t=>n(a).show_line=t),style:{width:"300px"}},{default:o(()=>[(d(),u(c,null,V(2,t=>l(p,{key:t,label:t+"行",value:t},null,8,["label","value"])),64))]),_:1},8,["modelValue"])]),_:1})]),_:1}),l(f,{shadow:"never",class:"!border-none flex mt-2"},{default:o(()=>[e[7]||(e[7]=s("div",{class:"flex items-end"},[s("div",{class:"text-base text-[#101010] font-medium"},"菜单设置"),s("div",{class:"text-xs text-tx-secondary ml-2"},"建议图片尺寸：100px*100px")],-1)),s("div",R,[l(j,{modelValue:n(a).data,"onUpdate:modelValue":e[3]||(e[3]=t=>n(a).data=t)},null,8,["modelValue"])])]),_:1})]),_:1})])}}});export{J as _};
