1 |
- import{_ as w}from"./ComponentContainerProperty-c1184365.js";import{d as y,o as C,j as k,w as r,i as o,a,m as j,G as v,V as q,H as B}from"./index-abad4030.js";import{E as D}from"./el-card-ae8ad827.js";import{_ as E}from"./index.vue_vue_type_script_setup_true_lang-11fa9aba.js";import{_ as G}from"./index.vue_vue_type_script_setup_true_lang-5ff08c3b.js";import{_ as H}from"./index-516295df.js";import{_ as N}from"./UploadImg-4addd383.js";import{u as P}from"./util-bca5ebaa.js";import"./_plugin-vue_export-helper-1b428a4d.js";import"./el-text-a24fb190.js";import"./vuedraggable.umd-8bfe8b14.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"./color-6e929987.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 z=y({name:"NoticeBarProperty",__name:"property",props:{modelValue:{}},emits:["update:modelValue"],setup(u,{emit:i}){const n={content:[{required:!0,message:"\u8BF7\u8F93\u5165\u516C\u544A",trigger:"blur"}]},s=u,V=i,{formData:t}=P(s.modelValue,V);return(A,l)=>{const f=N,m=v,d=H,_=q,c=G,b=E,U=D,x=B,h=w;return C(),k(h,{modelValue:a(t).style,"onUpdate:modelValue":l[4]||(l[4]=e=>a(t).style=e)},{default:r(()=>[o(x,{"label-width":"80px",model:a(t),rules:n},{default:r(()=>[o(m,{label:"\u516C\u544A\u56FE\u6807",prop:"iconUrl"},{default:r(()=>[o(f,{modelValue:a(t).iconUrl,"onUpdate:modelValue":l[0]||(l[0]=e=>a(t).iconUrl=e),height:"48px"},{tip:r(()=>l[5]||(l[5]=[j("\u5EFA\u8BAE\u5C3A\u5BF8\uFF1A24 * 24")])),_:1},8,["modelValue"])]),_:1}),o(m,{label:"\u80CC\u666F\u989C\u8272",prop:"backgroundColor"},{default:r(()=>[o(d,{modelValue:a(t).backgroundColor,"onUpdate:modelValue":l[1]||(l[1]=e=>a(t).backgroundColor=e)},null,8,["modelValue"])]),_:1}),o(m,{label:"\u6587\u5B57\u989C\u8272",prop:"\u6587\u5B57\u989C\u8272"},{default:r(()=>[o(d,{modelValue:a(t).textColor,"onUpdate:modelValue":l[2]||(l[2]=e=>a(t).textColor=e)},null,8,["modelValue"])]),_:1}),o(U,{header:"\u516C\u544A\u5185\u5BB9",class:"property-group",shadow:"never"},{default:r(()=>[o(b,{modelValue:a(t).contents,"onUpdate:modelValue":l[3]||(l[3]=e=>a(t).contents=e)},{default:r(({element:e})=>[o(m,{label:"\u516C\u544A",prop:"text","label-width":"40px"},{default:r(()=>[o(_,{modelValue:e.text,"onUpdate:modelValue":p=>e.text=p,placeholder:"\u8BF7\u8F93\u5165\u516C\u544A"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024),o(m,{label:"\u94FE\u63A5",prop:"url","label-width":"40px"},{default:r(()=>[o(c,{modelValue:e.url,"onUpdate:modelValue":p=>e.url=p},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024)]),_:1},8,["modelValue"])]),_:1})]),_:1},8,["model"])]),_:1},8,["modelValue"])}}});export{z as default};
|