property-64c8b37a.js 5.6 KB

1
  1. import{d as H,o as d,c as U,f as e,w as t,a as o,F as O,q as R,v as f,g as n,t as X,n as u,P as g,j as G,y as L,z as M,A as Q,dj as S,ai as J,V as K,D as N,_ as W,__tla as Y}from"./index-11e4820e.js";import{_ as Z,__tla as $}from"./index-9af5aa75.js";import{_ as ll,__tla as el}from"./index-9d21e1bd.js";import{E as tl,__tla as al}from"./el-text-ff6dcf4e.js";import{_ as ol,__tla as rl}from"./UploadImg-a1807be8.js";import{_ as ml,__tla as _l}from"./index-e8085014.js";import{u as ul,T as v,__tla as sl}from"./util-2aa5381f.js";import{__tla as dl}from"./vuedraggable.umd-0d041ae3.js";import{__tla as nl}from"./AppLinkSelectDialog-ecfa0bd4.js";import{__tla as cl}from"./Dialog-bbfaf85c.js";import{__tla as il}from"./ProductCategorySelect-428a6467.js";import{__tla as pl}from"./el-tree-select-beee4f04.js";import"./tree-0af4953a.js";import{__tla as fl}from"./category-1517c494.js";import{__tla as yl}from"./index-4203485c.js";import{__tla as hl}from"./el-image-viewer-c4f5814f.js";import{__tla as Vl}from"./useMessage-06ddf735.js";import"./color-6e929987.js";import{__tla as bl}from"./Qrcode-af459bd3.js";import{__tla as xl}from"./IFrame-ff1fc2dd.js";import{__tla as Ul}from"./el-card-919c14be.js";import{__tla as gl}from"./el-collapse-item-1259fd66.js";let w,vl=Promise.all([(()=>{try{return Y}catch{}})(),(()=>{try{return $}catch{}})(),(()=>{try{return el}catch{}})(),(()=>{try{return al}catch{}})(),(()=>{try{return rl}catch{}})(),(()=>{try{return _l}catch{}})(),(()=>{try{return sl}catch{}})(),(()=>{try{return dl}catch{}})(),(()=>{try{return nl}catch{}})(),(()=>{try{return cl}catch{}})(),(()=>{try{return il}catch{}})(),(()=>{try{return pl}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{}})(),(()=>{try{return gl}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=W(H({name:"TabBarProperty",__name:"property",props:{modelValue:{type:Object,required:!0}},emits:["update:modelValue"],setup(j,{emit:C}){const T=j,D=C,{formData:a}=ul(T.modelValue,D),k=()=>{const s=v.find(r=>r.id===a.value.theme);s!=null&&s.color&&(a.value.style.activeColor=s.color)};return(s,r)=>{const q=G,z=L,I=M,_=Q,i=ml,x=S,P=J,p=ol,c=tl,A=K,B=ll,E=Z,F=N;return d(),U("div",y,[e(F,{model:o(a),"label-width":"80px"},{default:t(()=>[e(_,{label:"\u4E3B\u9898",prop:"theme"},{default:t(()=>[e(I,{modelValue:o(a).theme,"onUpdate:modelValue":r[0]||(r[0]=l=>o(a).theme=l),onChange:k},{default:t(()=>[(d(!0),U(O,null,R(o(v),(l,m)=>(d(),f(z,{key:m,label:l.name,value:l.id},{default:t(()=>[n("div",h,[e(q,{icon:l.icon,color:l.color},null,8,["icon","color"]),n("span",null,X(l.name),1)])]),_:2},1032,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),e(_,{label:"\u9ED8\u8BA4\u989C\u8272"},{default:t(()=>[e(i,{modelValue:o(a).style.color,"onUpdate:modelValue":r[1]||(r[1]=l=>o(a).style.color=l)},null,8,["modelValue"])]),_:1}),e(_,{label:"\u9009\u4E2D\u989C\u8272"},{default:t(()=>[e(i,{modelValue:o(a).style.activeColor,"onUpdate:modelValue":r[2]||(r[2]=l=>o(a).style.activeColor=l)},null,8,["modelValue"])]),_:1}),e(_,{label:"\u5BFC\u822A\u80CC\u666F"},{default:t(()=>[e(P,{modelValue:o(a).style.bgType,"onUpdate:modelValue":r[3]||(r[3]=l=>o(a).style.bgType=l)},{default:t(()=>[e(x,{label:"color"},{default:t(()=>[u("\u7EAF\u8272")]),_:1}),e(x,{label:"img"},{default:t(()=>[u("\u56FE\u7247")]),_:1})]),_:1},8,["modelValue"])]),_:1}),o(a).style.bgType==="color"?(d(),f(_,{key:0,label:"\u9009\u62E9\u989C\u8272"},{default:t(()=>[e(i,{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(_,{key:1,label:"\u9009\u62E9\u56FE\u7247"},{default:t(()=>[e(p,{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:t(()=>[u(" \u5EFA\u8BAE\u5C3A\u5BF8 375 * 50 ")]),_:1},8,["modelValue"])]),_:1})):g("",!0),e(c,{tag:"p"},{default:t(()=>[u("\u56FE\u6807\u8BBE\u7F6E")]),_:1}),e(c,{type:"info",size:"small"},{default:t(()=>[u(" \u62D6\u52A8\u5DE6\u4E0A\u89D2\u7684\u5C0F\u5706\u70B9\u53EF\u5BF9\u5176\u6392\u5E8F, \u56FE\u6807\u5EFA\u8BAE\u5C3A\u5BF8 44*44 ")]),_:1}),e(E,{modelValue:o(a).items,"onUpdate:modelValue":r[6]||(r[6]=l=>o(a).items=l),limit:5},{default:t(({element:l})=>[n("div",V,[n("div",b,[e(p,{modelValue:l.iconUrl,"onUpdate:modelValue":m=>l.iconUrl=m,width:"40px",height:"40px","show-delete":!1,"show-btn-text":!1},null,8,["modelValue","onUpdate:modelValue"]),e(c,{size:"small"},{default:t(()=>[u("\u672A\u9009\u4E2D")]),_:1})]),n("div",null,[e(p,{modelValue:l.activeIconUrl,"onUpdate:modelValue":m=>l.activeIconUrl=m,width:"40px",height:"40px","show-delete":!1,"show-btn-text":!1},null,8,["modelValue","onUpdate:modelValue"]),e(c,null,{default:t(()=>[u("\u5DF2\u9009\u4E2D")]),_:1})])]),e(_,{prop:"text",label:"\u6587\u5B57","label-width":"48px",class:"m-b-8px!"},{default:t(()=>[e(A,{modelValue:l.text,"onUpdate:modelValue":m=>l.text=m,placeholder:"\u8BF7\u8F93\u5165\u6587\u5B57"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024),e(_,{prop:"url",label:"\u94FE\u63A5","label-width":"48px",class:"m-b-0!"},{default:t(()=>[e(B,{modelValue:l.url,"onUpdate:modelValue":m=>l.url=m},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1024)]),_:1},8,["modelValue"])]),_:1},8,["model"])])}}}),[["__file","/Users/RuHu.Xu/Desktop/mall-newfeifan-zx-admin/src/components/DiyEditor/components/mobile/TabBar/property.vue"]])});export{vl as __tla,w as default};