property-715d6884.js 3.2 KB

1
  1. import{_ as y}from"./ComponentContainerProperty-0cc92dbf.js";import{d as C,o as w,A as k,B as r,f as o,a,G as v,S as B,a6 as S,U as j}from"./index-39d329c4.js";import{E as q}from"./el-card-5cc80b8a.js";import{_ as A}from"./index.vue_vue_type_script_setup_true_lang-9b4187c8.js";import{_ as D}from"./index.vue_vue_type_script_setup_true_lang-cd47233b.js";import{_ as E}from"./index-ca9729d7.js";import{_ as G}from"./UploadImg-e9385982.js";import{u as N}from"./util-8fee7fda.js";import"./_plugin-vue_export-helper-1b428a4d.js";import"./el-text-df6ae3a1.js";import"./vuedraggable.umd-bfdd5929.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"./color-6e929987.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 P=C({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}=N(s.modelValue,V);return(z,l)=>{const f=G,m=B,d=E,_=S,c=D,U=A,b=q,x=j,h=y;return w(),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]=[v("\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(b,{header:"\u516C\u544A\u5185\u5BB9",class:"property-group",shadow:"never"},{default:r(()=>[o(U,{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{P as default};