1 |
- import{_ as w}from"./ComponentContainerProperty-319aab40.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-df709923.js";import{E as D}from"./el-card-91c2276d.js";import{_ as E}from"./index.vue_vue_type_script_setup_true_lang-63307283.js";import{_ as G}from"./index.vue_vue_type_script_setup_true_lang-cdf24bdb.js";import{_ as H}from"./index-4c40d0be.js";import{_ as N}from"./UploadImg-15376c0d.js";import{u as P}from"./util-dd5f5ba0.js";import"./_plugin-vue_export-helper-1b428a4d.js";import"./el-text-282afb9f.js";import"./vuedraggable.umd-81e2c8c5.js";import"./Dialog-2f8bd685.js";import"./AppLinkSelectDialog.vue_vue_type_script_setup_true_lang-f31fc800.js";import"./ProductCategorySelect.vue_vue_type_script_setup_true_lang-de66c010.js";import"./el-tree-select-880d8b15.js";import"./tree-fd3a041e.js";import"./category-d6126e80.js";import"./SpuTableSelectOne.vue_vue_type_script_setup_true_lang-d7ce15c6.js";import"./ContentWrap.vue_vue_type_script_setup_true_lang-e908c5dd.js";import"./index.vue_vue_type_script_setup_true_lang-6fb625ff.js";import"./index-c8bd5ba7.js";import"./el-image-29d644a2.js";import"./el-image-viewer-90ad41b7.js";import"./spu-bd0a0feb.js";import"./color-6e929987.js";import"./index-54511734.js";import"./useMessage-89e9d1aa.js";import"./Qrcode-dc43e394.js";import"./IFrame.vue_vue_type_script_setup_true_lang-0abb60a1.js";import"./el-collapse-item-ab99f940.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};
|