1 |
- import{_ as F}from"./ComponentContainerProperty-0cc92dbf.js";import{d as G,o as s,A as k,B as a,f as o,a as m,G as u,c as v,F as D,E as M,aq as P,ar as S,S as j,cF as q,U as A}from"./index-39d329c4.js";import{E as B}from"./el-card-5cc80b8a.js";import{_ as I}from"./index.vue_vue_type_script_setup_true_lang-9b4187c8.js";import{_ as O}from"./index-ca9729d7.js";import{_ as x}from"./index.vue_vue_type_script_setup_true_lang-cd47233b.js";import{_ as z}from"./index-9c978ae1.js";import{_ as H}from"./UploadImg-e9385982.js";import{u as J,E as K}from"./util-8fee7fda.js";import"./_plugin-vue_export-helper-1b428a4d.js";import"./el-text-df6ae3a1.js";import"./vuedraggable.umd-bfdd5929.js";import"./color-6e929987.js";import"./Dialog-6a91c005.js";import"./AppLinkSelectDialog.vue_vue_type_script_setup_true_lang-fd572571.js";import"./ProductCategorySelect.vue_vue_type_script_setup_true_lang-a7541bf5.js";import"./el-tree-select-2af4c3cc.js";import"./tree-fd3a041e.js";import"./category-c00e0426.js";import"./SpuTableSelectOne.vue_vue_type_script_setup_true_lang-7a43f9fe.js";import"./ContentWrap.vue_vue_type_script_setup_true_lang-f3ab50e7.js";import"./index.vue_vue_type_script_setup_true_lang-24521fcb.js";import"./index-e66b1f22.js";import"./el-image-7f18c10a.js";import"./el-image-viewer-b66eac2e.js";import"./spu-42eb31d6.js";import"./index-0c406c8d.js";import"./useMessage-47346882.js";import"./Qrcode-934fcc60.js";import"./IFrame.vue_vue_type_script_setup_true_lang-5df22f83.js";import"./el-collapse-item-d4073a86.js";const L=G({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=P,U=S,d=j,c=H,p=z,_=x,g=q,h=O,C=I,w=B,y=A,E=F;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)):M("",!0)]),_:1},8,["modelValue","empty-item"])]),_:1})]),_:1},8,["model"])]),_:1},8,["modelValue"])}}});export{L as default};
|