property-82e9f3e6.js 4.7 KB

1
  1. import{_ as S}from"./ComponentContainerProperty-c1184365.js";import{d as j,o as s,j as k,w as a,i as l,a as d,m as p,at as D,c as E,F,l as G,ag as H,ah as M,G as P,cX as T,H as I}from"./index-abad4030.js";import{E as X}from"./el-card-ae8ad827.js";import{_ as q}from"./index.vue_vue_type_script_setup_true_lang-11fa9aba.js";import{_ as z}from"./index-516295df.js";import{_ as A}from"./index.vue_vue_type_script_setup_true_lang-5ff08c3b.js";import{_ as B}from"./index-0a1d0567.js";import{_ as J}from"./UploadImg-4addd383.js";import{u as K,b as L}from"./util-bca5ebaa.js";import"./_plugin-vue_export-helper-1b428a4d.js";import"./el-text-a24fb190.js";import"./vuedraggable.umd-8bfe8b14.js";import"./color-6e929987.js";import"./Dialog-59824a83.js";import"./AppLinkSelectDialog.vue_vue_type_script_setup_true_lang-6f841dc0.js";import"./ProductCategorySelect.vue_vue_type_script_setup_true_lang-5b9e6589.js";import"./el-tree-select-25ec6c82.js";import"./tree-0af4953a.js";import"./category-608481db.js";import"./SpuTableSelectOne.vue_vue_type_script_setup_true_lang-c285be5c.js";import"./ContentWrap.vue_vue_type_script_setup_true_lang-7f96d0ff.js";import"./index.vue_vue_type_script_setup_true_lang-bec51e2c.js";import"./index-84234f22.js";import"./el-image-56b655c9.js";import"./el-image-viewer-589d6dbb.js";import"./spu-05fe52fb.js";import"./index-b9506fe9.js";import"./useMessage-7954cb2f.js";import"./Qrcode-026af33e.js";import"./IFrame.vue_vue_type_script_setup_true_lang-aad19a9d.js";import"./el-collapse-item-fdec7875.js";const N=j({name:"MenuSwiperProperty",__name:"property",props:{modelValue:{}},emits:["update:modelValue"],setup(V,{emit:f}){const b=V,_=f,{formData:m}=K(b.modelValue,_);return(O,o)=>{const u=H,i=M,r=P,U=J,n=B,c=A,g=T,h=z,w=q,x=X,y=I,C=S;return s(),k(C,{modelValue:d(m).style,"onUpdate:modelValue":o[4]||(o[4]=e=>d(m).style=e)},{default:a(()=>[l(y,{"label-width":"80px",model:d(m),class:"m-t-8px"},{default:a(()=>[l(r,{label:"\u5E03\u5C40",prop:"layout"},{default:a(()=>[l(i,{modelValue:d(m).layout,"onUpdate:modelValue":o[0]||(o[0]=e=>d(m).layout=e)},{default:a(()=>[l(u,{label:"iconText"},{default:a(()=>o[5]||(o[5]=[p("\u56FE\u6807+\u6587\u5B57")])),_:1}),l(u,{label:"icon"},{default:a(()=>o[6]||(o[6]=[p("\u4EC5\u56FE\u6807")])),_:1})]),_:1},8,["modelValue"])]),_:1}),l(r,{label:"\u884C\u6570",prop:"row"},{default:a(()=>[l(i,{modelValue:d(m).row,"onUpdate:modelValue":o[1]||(o[1]=e=>d(m).row=e)},{default:a(()=>[l(u,{label:1},{default:a(()=>o[7]||(o[7]=[p("1\u884C")])),_:1}),l(u,{label:2},{default:a(()=>o[8]||(o[8]=[p("2\u884C")])),_:1})]),_:1},8,["modelValue"])]),_:1}),l(r,{label:"\u5217\u6570",prop:"column"},{default:a(()=>[l(i,{modelValue:d(m).column,"onUpdate:modelValue":o[2]||(o[2]=e=>d(m).column=e)},{default:a(()=>[l(u,{label:3},{default:a(()=>o[9]||(o[9]=[p("3\u5217")])),_:1}),l(u,{label:4},{default:a(()=>o[10]||(o[10]=[p("4\u5217")])),_:1}),l(u,{label:5},{default:a(()=>o[11]||(o[11]=[p("5\u5217")])),_:1})]),_:1},8,["modelValue"])]),_:1}),l(x,{header:"\u83DC\u5355\u8BBE\u7F6E",class:"property-group",shadow:"never"},{default:a(()=>[l(w,{modelValue:d(m).list,"onUpdate:modelValue":o[3]||(o[3]=e=>d(m).list=e),"empty-item":d(D)(d(L))},{default:a(({element:e})=>[l(r,{label:"\u56FE\u6807",prop:"iconUrl"},{default:a(()=>[l(U,{modelValue:e.iconUrl,"onUpdate:modelValue":t=>e.iconUrl=t,height:"80px",width:"80px"},{tip:a(()=>o[12]||(o[12]=[p(" \u5EFA\u8BAE\u5C3A\u5BF8\uFF1A98 * 98 ")])),_:2},1032,["modelValue","onUpdate:modelValue"])]),_:2},1024),l(r,{label:"\u6807\u9898",prop:"title"},{default:a(()=>[l(n,{modelValue:e.title,"onUpdate:modelValue":t=>e.title=t,color:e.titleColor,"onUpdate:color":t=>e.titleColor=t},null,8,["modelValue","onUpdate:modelValue","color","onUpdate:color"])]),_:2},1024),l(r,{label:"\u94FE\u63A5",prop:"url"},{default:a(()=>[l(c,{modelValue:e.url,"onUpdate:modelValue":t=>e.url=t},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024),l(r,{label:"\u663E\u793A\u89D2\u6807",prop:"badge.show"},{default:a(()=>[l(g,{modelValue:e.badge.show,"onUpdate:modelValue":t=>e.badge.show=t},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024),e.badge.show?(s(),E(F,{key:0},[l(r,{label:"\u89D2\u6807\u5185\u5BB9",prop:"badge.text"},{default:a(()=>[l(n,{modelValue:e.badge.text,"onUpdate:modelValue":t=>e.badge.text=t,color:e.badge.textColor,"onUpdate:color":t=>e.badge.textColor=t},null,8,["modelValue","onUpdate:modelValue","color","onUpdate:color"])]),_:2},1024),l(r,{label:"\u80CC\u666F\u989C\u8272",prop:"badge.bgColor"},{default:a(()=>[l(h,{modelValue:e.badge.bgColor,"onUpdate:modelValue":t=>e.badge.bgColor=t},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024)],64)):G("",!0)]),_:1},8,["modelValue","empty-item"])]),_:1})]),_:1},8,["model"])]),_:1},8,["modelValue"])}}});export{N as default};