property-3bc702b2.js 4.2 KB

1
  1. import{_ as G}from"./ComponentContainerProperty-2fe370ac.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 M,ah as P,G as A,cX as H,H as I}from"./index-6d906b8a.js";import{E as S}from"./el-card-dcb0121c.js";import{_ as X}from"./index.vue_vue_type_script_setup_true_lang-94288b32.js";import{_ as q}from"./index-eb1d67ec.js";import{_ as x}from"./index.vue_vue_type_script_setup_true_lang-c821f3f8.js";import{_ as z}from"./index-fdbe6b30.js";import{_ as B}from"./UploadImg-6255f1e4.js";import{u as J,E as K}from"./util-82232e37.js";import"./_plugin-vue_export-helper-1b428a4d.js";import"./el-text-7d7615f3.js";import"./vuedraggable.umd-f8121945.js";import"./color-6e929987.js";import"./Dialog-7d76582a.js";import"./AppLinkSelectDialog.vue_vue_type_script_setup_true_lang-99c250c3.js";import"./ProductCategorySelect.vue_vue_type_script_setup_true_lang-356733e8.js";import"./el-tree-select-73d9f90b.js";import"./tree-fd3a041e.js";import"./category-f41ddfc2.js";import"./SpuTableSelectOne.vue_vue_type_script_setup_true_lang-582c1ffc.js";import"./ContentWrap.vue_vue_type_script_setup_true_lang-3e2a4d47.js";import"./index.vue_vue_type_script_setup_true_lang-7766ce4b.js";import"./index-06db4b5a.js";import"./el-image-9aeecfea.js";import"./el-image-viewer-3eb20b9c.js";import"./spu-8c99daaf.js";import"./index-6b24d3ee.js";import"./useMessage-cb0d0c75.js";import"./Qrcode-3c3f024c.js";import"./IFrame.vue_vue_type_script_setup_true_lang-d0abbb76.js";import"./el-collapse-item-ee2828c3.js";const L=j({name:"MenuGridProperty",__name:"property",props:{modelValue:{}},emits:["update:modelValue"],setup(n,{emit:V}){const b=n,f=V,{formData:r}=J(b.modelValue,f);return(N,t)=>{const i=M,U=P,d=A,c=B,p=z,_=x,g=H,h=q,C=X,w=S,y=I,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(K)},{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{L as default};