property-36e4f5bb.js 6.0 KB

1
  1. import{_ as P,__tla as C}from"./ComponentContainerProperty-64348cc8.js";import{d as D,o as h,x as y,w as r,g as e,a as t,h as V,n as j,Q as q,q as E,dg as I,aS as L,aj as S,B as Q,ae as k,d8 as G,d9 as O,G as W,_ as A,__tla as F}from"./index-52b99925.js";import{_ as H,__tla as J}from"./UploadImg-63fa00ce.js";import{_ as K,__tla as M}from"./index-fd978199.js";import{E as N,__tla as X}from"./el-card-1538e136.js";import{u as Y,__tla as Z}from"./util-457306af.js";import $,{__tla as ee}from"./SpuShowcase-2c25bd6c.js";import{__tla as ae}from"./index-2375ba8a.js";import{__tla as te}from"./el-image-viewer-8d62bae1.js";import{__tla as le}from"./useMessage-c41e583e.js";import"./color-6e929987.js";import{__tla as oe}from"./Dialog-01a79427.js";import{__tla as re}from"./Qrcode-fee82749.js";import{__tla as se}from"./el-text-b9d50448.js";import{__tla as me}from"./IFrame-8261cfd0.js";import{__tla as ue}from"./vuedraggable.umd-0bfe358f.js";import{__tla as de}from"./el-collapse-item-dbb3399f.js";import{__tla as _e}from"./el-image-9d9dde0a.js";import{__tla as pe}from"./spu-1f519991.js";import{__tla as ne}from"./SpuTableSelect-0674f998.js";import{__tla as ce}from"./ContentWrap-b4eafcae.js";import{__tla as ie}from"./index-34771a13.js";import{__tla as fe}from"./index-af0729b2.js";import{__tla as he}from"./el-tree-select-ecd79ef3.js";import"./tree-0af4953a.js";import{__tla as ye}from"./category-264d46c0.js";let b,Ve=Promise.all([(()=>{try{return C}catch{}})(),(()=>{try{return F}catch{}})(),(()=>{try{return J}catch{}})(),(()=>{try{return M}catch{}})(),(()=>{try{return X}catch{}})(),(()=>{try{return Z}catch{}})(),(()=>{try{return ee}catch{}})(),(()=>{try{return ae}catch{}})(),(()=>{try{return te}catch{}})(),(()=>{try{return le}catch{}})(),(()=>{try{return oe}catch{}})(),(()=>{try{return re}catch{}})(),(()=>{try{return se}catch{}})(),(()=>{try{return me}catch{}})(),(()=>{try{return ue}catch{}})(),(()=>{try{return de}catch{}})(),(()=>{try{return _e}catch{}})(),(()=>{try{return pe}catch{}})(),(()=>{try{return ne}catch{}})(),(()=>{try{return ce}catch{}})(),(()=>{try{return ie}catch{}})(),(()=>{try{return fe}catch{}})(),(()=>{try{return he}catch{}})(),(()=>{try{return ye}catch{}})()]).then(async()=>{let n,c;n={class:"flex gap-8px"},c={class:"flex gap-8px"},b=A(D({name:"ProductListProperty",__name:"property",props:{modelValue:{type:Object,required:!0}},emits:["update:modelValue"],setup(w,{emit:g}){const x=w,U=g,{formData:a}=Y(x.modelValue,U);return(be,l)=>{const m=N,u=E,d=I,_=L,z=S,s=Q,i=K,f=k,v=G,R=H,p=O,T=W,B=P;return h(),y(B,{modelValue:t(a).style,"onUpdate:modelValue":l[11]||(l[11]=o=>t(a).style=o)},{default:r(()=>[e(T,{"label-width":"80px",model:t(a)},{default:r(()=>[e(m,{header:"\u5546\u54C1\u5217\u8868",class:"property-group",shadow:"never"},{default:r(()=>[e($,{modelValue:t(a).spuIds,"onUpdate:modelValue":l[0]||(l[0]=o=>t(a).spuIds=o)},null,8,["modelValue"])]),_:1}),e(m,{header:"\u5546\u54C1\u6837\u5F0F",class:"property-group",shadow:"never"},{default:r(()=>[e(s,{label:"\u5E03\u5C40",prop:"type"},{default:r(()=>[e(z,{modelValue:t(a).layoutType,"onUpdate:modelValue":l[1]||(l[1]=o=>t(a).layoutType=o)},{default:r(()=>[e(_,{class:"item",content:"\u53CC\u5217",placement:"bottom"},{default:r(()=>[e(d,{label:"twoCol"},{default:r(()=>[e(u,{icon:"fluent:text-column-two-24-filled"})]),_:1})]),_:1}),e(_,{class:"item",content:"\u4E09\u5217",placement:"bottom"},{default:r(()=>[e(d,{label:"threeCol"},{default:r(()=>[e(u,{icon:"fluent:text-column-three-24-filled"})]),_:1})]),_:1}),e(_,{class:"item",content:"\u6C34\u5E73\u6ED1\u52A8",placement:"bottom"},{default:r(()=>[e(d,{label:"horizSwiper"},{default:r(()=>[e(u,{icon:"system-uicons:carousel"})]),_:1})]),_:1})]),_:1},8,["modelValue"])]),_:1}),e(s,{label:"\u5546\u54C1\u540D\u79F0",prop:"fields.name.show"},{default:r(()=>[V("div",n,[e(i,{modelValue:t(a).fields.name.color,"onUpdate:modelValue":l[2]||(l[2]=o=>t(a).fields.name.color=o)},null,8,["modelValue"]),e(f,{modelValue:t(a).fields.name.show,"onUpdate:modelValue":l[3]||(l[3]=o=>t(a).fields.name.show=o)},null,8,["modelValue"])])]),_:1}),e(s,{label:"\u5546\u54C1\u4EF7\u683C",prop:"fields.price.show"},{default:r(()=>[V("div",c,[e(i,{modelValue:t(a).fields.price.color,"onUpdate:modelValue":l[4]||(l[4]=o=>t(a).fields.price.color=o)},null,8,["modelValue"]),e(f,{modelValue:t(a).fields.price.show,"onUpdate:modelValue":l[5]||(l[5]=o=>t(a).fields.price.show=o)},null,8,["modelValue"])])]),_:1})]),_:1}),e(m,{header:"\u89D2\u6807",class:"property-group",shadow:"never"},{default:r(()=>[e(s,{label:"\u89D2\u6807",prop:"badge.show"},{default:r(()=>[e(v,{modelValue:t(a).badge.show,"onUpdate:modelValue":l[6]||(l[6]=o=>t(a).badge.show=o)},null,8,["modelValue"])]),_:1}),t(a).badge.show?(h(),y(s,{key:0,label:"\u89D2\u6807",prop:"badge.imgUrl"},{default:r(()=>[e(R,{modelValue:t(a).badge.imgUrl,"onUpdate:modelValue":l[7]||(l[7]=o=>t(a).badge.imgUrl=o),height:"44px",width:"72px"},{tip:r(()=>[j(" \u5EFA\u8BAE\u5C3A\u5BF8\uFF1A36 * 22 ")]),_:1},8,["modelValue"])]),_:1})):q("",!0)]),_:1}),e(m,{header:"\u5546\u54C1\u6837\u5F0F",class:"property-group",shadow:"never"},{default:r(()=>[e(s,{label:"\u4E0A\u5706\u89D2",prop:"borderRadiusTop"},{default:r(()=>[e(p,{modelValue:t(a).borderRadiusTop,"onUpdate:modelValue":l[8]||(l[8]=o=>t(a).borderRadiusTop=o),max:100,min:0,"show-input":"","input-size":"small","show-input-controls":!1},null,8,["modelValue"])]),_:1}),e(s,{label:"\u4E0B\u5706\u89D2",prop:"borderRadiusBottom"},{default:r(()=>[e(p,{modelValue:t(a).borderRadiusBottom,"onUpdate:modelValue":l[9]||(l[9]=o=>t(a).borderRadiusBottom=o),max:100,min:0,"show-input":"","input-size":"small","show-input-controls":!1},null,8,["modelValue"])]),_:1}),e(s,{label:"\u95F4\u9694",prop:"space"},{default:r(()=>[e(p,{modelValue:t(a).space,"onUpdate:modelValue":l[10]||(l[10]=o=>t(a).space=o),max:100,min:0,"show-input":"","input-size":"small","show-input-controls":!1},null,8,["modelValue"])]),_:1})]),_:1})]),_:1},8,["model"])]),_:1},8,["modelValue"])}}}),[["__file","D:/zx/mall-newfeifan-zx-admin/src/components/DiyEditor/components/mobile/ProductList/property.vue"]])});export{Ve as __tla,b as default};