property-ed9f1ca0.js 5.7 KB

1
  1. import{d as S,o as d,c as U,f as t,w as e,a as o,F as A,n as G,q as f,g as n,t as H,m as u,O as g,_ as J,x as L,y as M,z as R,da as K,ah as N,U as W,C as X,__tla as Y}from"./index-2eab2d23.js";import{_ as Z,__tla as $}from"./index.vue_vue_type_script_setup_true_lang-37a41f6e.js";import{_ as C,__tla as ll}from"./index.vue_vue_type_script_setup_true_lang-f5b637f5.js";import{E as tl,__tla as el}from"./el-text-b1163e3d.js";import{_ as al,__tla as ol}from"./UploadImg-90fe71c2.js";import{_ as rl,__tla as _l}from"./index-30d48444.js";import{u as ml,T as v,__tla as ul}from"./util-8a54c07a.js";import{__tla as sl}from"./vuedraggable.umd-67523a5c.js";import{__tla as dl}from"./AppLinkSelectDialog.vue_vue_type_script_setup_true_lang-8a855232.js";import{__tla as nl}from"./Dialog-c2716df6.js";import"./_plugin-vue_export-helper-1b428a4d.js";import{__tla as cl}from"./ProductCategorySelect.vue_vue_type_script_setup_true_lang-997a9041.js";import{__tla as pl}from"./el-tree-select-4ae7c290.js";import"./tree-fd3a041e.js";import{__tla as il}from"./category-c573377b.js";import{__tla as fl}from"./index-d3f876ab.js";import{__tla as yl}from"./el-image-viewer-5d14bc77.js";import{__tla as hl}from"./useMessage-171aa63e.js";import"./color-6e929987.js";import{__tla as Vl}from"./Qrcode-a57a527d.js";import{__tla as bl}from"./IFrame.vue_vue_type_script_setup_true_lang-82b81649.js";import{__tla as xl}from"./el-card-c558f0ec.js";import{__tla as Ul}from"./el-collapse-item-5ecf4321.js";let w,gl=Promise.all([(()=>{try{return Y}catch{}})(),(()=>{try{return $}catch{}})(),(()=>{try{return ll}catch{}})(),(()=>{try{return el}catch{}})(),(()=>{try{return ol}catch{}})(),(()=>{try{return _l}catch{}})(),(()=>{try{return ul}catch{}})(),(()=>{try{return sl}catch{}})(),(()=>{try{return dl}catch{}})(),(()=>{try{return nl}catch{}})(),(()=>{try{return cl}catch{}})(),(()=>{try{return pl}catch{}})(),(()=>{try{return il}catch{}})(),(()=>{try{return fl}catch{}})(),(()=>{try{return yl}catch{}})(),(()=>{try{return hl}catch{}})(),(()=>{try{return Vl}catch{}})(),(()=>{try{return bl}catch{}})(),(()=>{try{return xl}catch{}})(),(()=>{try{return Ul}catch{}})()]).then(async()=>{let y,h,V,b;y={class:"tab-bar"},h={class:"flex items-center justify-between"},V={class:"m-b-8px flex items-center justify-around"},b={class:"flex flex-col items-center justify-between"},w=S({name:"TabBarProperty",__name:"property",props:{modelValue:{}},emits:["update:modelValue"],setup(T,{emit:I}){const j=T,k=I,{formData:a}=ml(j.modelValue,k),z=()=>{const s=v.find(r=>r.id===a.value.theme);s!=null&&s.color&&(a.value.style.activeColor=s.color)};return(s,r)=>{const F=J,P=L,q=M,m=R,p=rl,x=K,B=N,i=al,c=tl,D=W,E=C,O=Z,Q=X;return d(),U("div",y,[t(Q,{model:o(a),"label-width":"80px"},{default:e(()=>[t(m,{label:"\u4E3B\u9898",prop:"theme"},{default:e(()=>[t(q,{modelValue:o(a).theme,"onUpdate:modelValue":r[0]||(r[0]=l=>o(a).theme=l),onChange:z},{default:e(()=>[(d(!0),U(A,null,G(o(v),(l,_)=>(d(),f(P,{key:_,label:l.name,value:l.id},{default:e(()=>[n("div",h,[t(F,{icon:l.icon,color:l.color},null,8,["icon","color"]),n("span",null,H(l.name),1)])]),_:2},1032,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),t(m,{label:"\u9ED8\u8BA4\u989C\u8272"},{default:e(()=>[t(p,{modelValue:o(a).style.color,"onUpdate:modelValue":r[1]||(r[1]=l=>o(a).style.color=l)},null,8,["modelValue"])]),_:1}),t(m,{label:"\u9009\u4E2D\u989C\u8272"},{default:e(()=>[t(p,{modelValue:o(a).style.activeColor,"onUpdate:modelValue":r[2]||(r[2]=l=>o(a).style.activeColor=l)},null,8,["modelValue"])]),_:1}),t(m,{label:"\u5BFC\u822A\u80CC\u666F"},{default:e(()=>[t(B,{modelValue:o(a).style.bgType,"onUpdate:modelValue":r[3]||(r[3]=l=>o(a).style.bgType=l)},{default:e(()=>[t(x,{label:"color"},{default:e(()=>[u("\u7EAF\u8272")]),_:1}),t(x,{label:"img"},{default:e(()=>[u("\u56FE\u7247")]),_:1})]),_:1},8,["modelValue"])]),_:1}),o(a).style.bgType==="color"?(d(),f(m,{key:0,label:"\u9009\u62E9\u989C\u8272"},{default:e(()=>[t(p,{modelValue:o(a).style.bgColor,"onUpdate:modelValue":r[4]||(r[4]=l=>o(a).style.bgColor=l)},null,8,["modelValue"])]),_:1})):g("",!0),o(a).style.bgType==="img"?(d(),f(m,{key:1,label:"\u9009\u62E9\u56FE\u7247"},{default:e(()=>[t(i,{modelValue:o(a).style.bgImg,"onUpdate:modelValue":r[5]||(r[5]=l=>o(a).style.bgImg=l),width:"100%",height:"50px",class:"min-w-200px"},{tip:e(()=>[u(" \u5EFA\u8BAE\u5C3A\u5BF8 375 * 50 ")]),_:1},8,["modelValue"])]),_:1})):g("",!0),t(c,{tag:"p"},{default:e(()=>[u("\u56FE\u6807\u8BBE\u7F6E")]),_:1}),t(c,{type:"info",size:"small"},{default:e(()=>[u(" \u62D6\u52A8\u5DE6\u4E0A\u89D2\u7684\u5C0F\u5706\u70B9\u53EF\u5BF9\u5176\u6392\u5E8F, \u56FE\u6807\u5EFA\u8BAE\u5C3A\u5BF8 44*44 ")]),_:1}),t(O,{modelValue:o(a).items,"onUpdate:modelValue":r[6]||(r[6]=l=>o(a).items=l),limit:5},{default:e(({element:l})=>[n("div",V,[n("div",b,[t(i,{modelValue:l.iconUrl,"onUpdate:modelValue":_=>l.iconUrl=_,width:"40px",height:"40px","show-delete":!1,"show-btn-text":!1},null,8,["modelValue","onUpdate:modelValue"]),t(c,{size:"small"},{default:e(()=>[u("\u672A\u9009\u4E2D")]),_:1})]),n("div",null,[t(i,{modelValue:l.activeIconUrl,"onUpdate:modelValue":_=>l.activeIconUrl=_,width:"40px",height:"40px","show-delete":!1,"show-btn-text":!1},null,8,["modelValue","onUpdate:modelValue"]),t(c,null,{default:e(()=>[u("\u5DF2\u9009\u4E2D")]),_:1})])]),t(m,{prop:"text",label:"\u6587\u5B57","label-width":"48px",class:"m-b-8px!"},{default:e(()=>[t(D,{modelValue:l.text,"onUpdate:modelValue":_=>l.text=_,placeholder:"\u8BF7\u8F93\u5165\u6587\u5B57"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024),t(m,{prop:"url",label:"\u94FE\u63A5","label-width":"48px",class:"m-b-0!"},{default:e(()=>[t(E,{modelValue:l.url,"onUpdate:modelValue":_=>l.url=_},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024)]),_:1},8,["modelValue"])]),_:1},8,["model"])])}}})});export{gl as __tla,w as default};