property-3923bfe4.js 4.2 KB

1
  1. import{_ as G}from"./ComponentContainerProperty-c1184365.js";import{d as j,o as s,j as k,w as a,i as o,a as m,m as u,c as v,F as D,l as F,ag as H,ah as P,G as I,cX as M,H as S}from"./index-abad4030.js";import{E as T}from"./el-card-ae8ad827.js";import{_ as X}from"./index.vue_vue_type_script_setup_true_lang-11fa9aba.js";import{_ as q}from"./index-516295df.js";import{_ as x}from"./index.vue_vue_type_script_setup_true_lang-5ff08c3b.js";import{_ as z}from"./index-0a1d0567.js";import{_ as A}from"./UploadImg-4addd383.js";import{u as B,E as J}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 K=j({name:"MenuGridProperty",__name:"property",props:{modelValue:{}},emits:["update:modelValue"],setup(n,{emit:V}){const b=n,f=V,{formData:r}=B(b.modelValue,f);return(L,t)=>{const i=H,U=P,d=I,c=A,p=z,_=x,g=M,h=q,C=X,w=T,y=S,E=G;return s(),k(E,{modelValue:m(r).style,"onUpdate:modelValue":t[2]||(t[2]=l=>m(r).style=l)},{default:a(()=>[o(y,{"label-width":"80px",model:m(r),class:"m-t-8px"},{default:a(()=>[o(d,{label:"\u6BCF\u884C\u6570\u91CF",prop:"column"},{default:a(()=>[o(U,{modelValue:m(r).column,"onUpdate:modelValue":t[0]||(t[0]=l=>m(r).column=l)},{default:a(()=>[o(i,{label:3},{default:a(()=>t[3]||(t[3]=[u("3\u4E2A")])),_:1}),o(i,{label:4},{default:a(()=>t[4]||(t[4]=[u("4\u4E2A")])),_:1})]),_:1},8,["modelValue"])]),_:1}),o(w,{header:"\u83DC\u5355\u8BBE\u7F6E",class:"property-group",shadow:"never"},{default:a(()=>[o(C,{modelValue:m(r).list,"onUpdate:modelValue":t[1]||(t[1]=l=>m(r).list=l),"empty-item":m(J)},{default:a(({element:l})=>[o(d,{label:"\u56FE\u6807",prop:"iconUrl"},{default:a(()=>[o(c,{modelValue:l.iconUrl,"onUpdate:modelValue":e=>l.iconUrl=e,height:"80px",width:"80px"},{tip:a(()=>t[5]||(t[5]=[u(" \u5EFA\u8BAE\u5C3A\u5BF8\uFF1A44 * 44 ")])),_:2},1032,["modelValue","onUpdate:modelValue"])]),_:2},1024),o(d,{label:"\u6807\u9898",prop:"title"},{default:a(()=>[o(p,{modelValue:l.title,"onUpdate:modelValue":e=>l.title=e,color:l.titleColor,"onUpdate:color":e=>l.titleColor=e},null,8,["modelValue","onUpdate:modelValue","color","onUpdate:color"])]),_:2},1024),o(d,{label:"\u526F\u6807\u9898",prop:"subtitle"},{default:a(()=>[o(p,{modelValue:l.subtitle,"onUpdate:modelValue":e=>l.subtitle=e,color:l.subtitleColor,"onUpdate:color":e=>l.subtitleColor=e},null,8,["modelValue","onUpdate:modelValue","color","onUpdate:color"])]),_:2},1024),o(d,{label:"\u94FE\u63A5",prop:"url"},{default:a(()=>[o(_,{modelValue:l.url,"onUpdate:modelValue":e=>l.url=e},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024),o(d,{label:"\u663E\u793A\u89D2\u6807",prop:"badge.show"},{default:a(()=>[o(g,{modelValue:l.badge.show,"onUpdate:modelValue":e=>l.badge.show=e},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024),l.badge.show?(s(),v(D,{key:0},[o(d,{label:"\u89D2\u6807\u5185\u5BB9",prop:"badge.text"},{default:a(()=>[o(p,{modelValue:l.badge.text,"onUpdate:modelValue":e=>l.badge.text=e,color:l.badge.textColor,"onUpdate:color":e=>l.badge.textColor=e},null,8,["modelValue","onUpdate:modelValue","color","onUpdate:color"])]),_:2},1024),o(d,{label:"\u80CC\u666F\u989C\u8272",prop:"badge.bgColor"},{default:a(()=>[o(h,{modelValue:l.badge.bgColor,"onUpdate:modelValue":e=>l.badge.bgColor=e},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024)],64)):F("",!0)]),_:1},8,["modelValue","empty-item"])]),_:1})]),_:1},8,["model"])]),_:1},8,["modelValue"])}}});export{K as default};