1 |
- import{_ as H,__tla as q}from"./ComponentContainerProperty-f3dbbc51.js";import{d as F,o as p,l as h,w as r,i as l,a,g as m,j as i,a2 as K,c as O,F as S,v as X,av as J,aw as M,ah as Q,H as W,ab as Y,b$ as $,U as A,c0 as G,K as L,_ as N,__tla as Z}from"./index-b2b3c6c4.js";import{_ as x,__tla as ll}from"./UploadImg-5f639045.js";import{_ as el,__tla as al}from"./index-8c216baa.js";import{E as tl,__tla as ol}from"./el-card-bd6e27c9.js";import{u as rl,__tla as dl}from"./util-c8690f25.js";import ul,{__tla as sl}from"./SpuShowcase-4913ba2d.js";import{__tla as ml}from"./index-677601df.js";import{__tla as nl}from"./el-image-viewer-b5664270.js";import{__tla as _l}from"./useMessage-a5edbb0f.js";import"./color-6e929987.js";import{__tla as pl}from"./Dialog-70b24cbf.js";import{__tla as il}from"./Qrcode-39102c0a.js";import{__tla as cl}from"./el-text-466bfabe.js";import{__tla as fl}from"./IFrame-e1343bd8.js";import{__tla as Vl}from"./vuedraggable.umd-8fcf2deb.js";import{__tla as hl}from"./el-collapse-item-1a294fd0.js";import{__tla as bl}from"./el-image-d434829d.js";import{__tla as yl}from"./spu-ed9fb429.js";import{__tla as wl}from"./SpuTableSelect-8b613bea.js";import{__tla as gl}from"./ContentWrap-e91b2b5a.js";import{__tla as Ul}from"./index-341fc94c.js";import{__tla as Bl}from"./index-2d76a87c.js";import{__tla as Cl}from"./el-tree-select-7784ba1b.js";import"./tree-0af4953a.js";import{__tla as kl}from"./category-39c7fbf6.js";let v,vl=Promise.all([(()=>{try{return q}catch{}})(),(()=>{try{return Z}catch{}})(),(()=>{try{return ll}catch{}})(),(()=>{try{return al}catch{}})(),(()=>{try{return ol}catch{}})(),(()=>{try{return dl}catch{}})(),(()=>{try{return sl}catch{}})(),(()=>{try{return ml}catch{}})(),(()=>{try{return nl}catch{}})(),(()=>{try{return _l}catch{}})(),(()=>{try{return pl}catch{}})(),(()=>{try{return il}catch{}})(),(()=>{try{return cl}catch{}})(),(()=>{try{return fl}catch{}})(),(()=>{try{return Vl}catch{}})(),(()=>{try{return hl}catch{}})(),(()=>{try{return bl}catch{}})(),(()=>{try{return yl}catch{}})(),(()=>{try{return wl}catch{}})(),(()=>{try{return gl}catch{}})(),(()=>{try{return Ul}catch{}})(),(()=>{try{return Bl}catch{}})(),(()=>{try{return Cl}catch{}})(),(()=>{try{return kl}catch{}})()]).then(async()=>{let b,y,w,g,U,B;b={class:"flex gap-8px"},y={class:"flex gap-8px"},w={class:"flex gap-8px"},g={class:"flex gap-8px"},U={class:"flex gap-8px"},B={class:"flex gap-8px"},v=N(F({name:"ProductCardProperty",__name:"property",props:{modelValue:{type:Object,required:!0}},emits:["update:modelValue"],setup(P,{emit:E}){const R=P,z=E,{formData:e}=rl(R.modelValue,z);return(Pl,t)=>{const n=tl,c=X,_=J,f=M,C=Q,d=W,u=el,s=Y,T=$,k=x,I=A,V=G,D=L,j=H;return p(),h(j,{modelValue:a(e).style,"onUpdate:modelValue":t[24]||(t[24]=o=>a(e).style=o)},{default:r(()=>[l(D,{"label-width":"80px",model:a(e)},{default:r(()=>[l(n,{header:"\u5546\u54C1\u5217\u8868",class:"property-group",shadow:"never"},{default:r(()=>[l(ul,{modelValue:a(e).spuIds,"onUpdate:modelValue":t[0]||(t[0]=o=>a(e).spuIds=o)},null,8,["modelValue"])]),_:1}),l(n,{header:"\u5546\u54C1\u6837\u5F0F",class:"property-group",shadow:"never"},{default:r(()=>[l(d,{label:"\u5E03\u5C40",prop:"type"},{default:r(()=>[l(C,{modelValue:a(e).layoutType,"onUpdate:modelValue":t[1]||(t[1]=o=>a(e).layoutType=o)},{default:r(()=>[l(f,{class:"item",content:"\u5355\u5217\u5927\u56FE",placement:"bottom"},{default:r(()=>[l(_,{label:"oneColBigImg"},{default:r(()=>[l(c,{icon:"fluent:text-column-one-24-filled"})]),_:1})]),_:1}),l(f,{class:"item",content:"\u5355\u5217\u5C0F\u56FE",placement:"bottom"},{default:r(()=>[l(_,{label:"oneColSmallImg"},{default:r(()=>[l(c,{icon:"fluent:text-column-two-left-24-filled"})]),_:1})]),_:1}),l(f,{class:"item",content:"\u53CC\u5217",placement:"bottom"},{default:r(()=>[l(_,{label:"twoCol"},{default:r(()=>[l(c,{icon:"fluent:text-column-two-24-filled"})]),_:1})]),_:1})]),_:1},8,["modelValue"])]),_:1}),l(d,{label:"\u5546\u54C1\u540D\u79F0",prop:"fields.name.show"},{default:r(()=>[m("div",b,[l(u,{modelValue:a(e).fields.name.color,"onUpdate:modelValue":t[2]||(t[2]=o=>a(e).fields.name.color=o)},null,8,["modelValue"]),l(s,{modelValue:a(e).fields.name.show,"onUpdate:modelValue":t[3]||(t[3]=o=>a(e).fields.name.show=o)},null,8,["modelValue"])])]),_:1}),l(d,{label:"\u5546\u54C1\u7B80\u4ECB",prop:"fields.introduction.show"},{default:r(()=>[m("div",y,[l(u,{modelValue:a(e).fields.introduction.color,"onUpdate:modelValue":t[4]||(t[4]=o=>a(e).fields.introduction.color=o)},null,8,["modelValue"]),l(s,{modelValue:a(e).fields.introduction.show,"onUpdate:modelValue":t[5]||(t[5]=o=>a(e).fields.introduction.show=o)},null,8,["modelValue"])])]),_:1}),l(d,{label:"\u5546\u54C1\u4EF7\u683C",prop:"fields.price.show"},{default:r(()=>[m("div",w,[l(u,{modelValue:a(e).fields.price.color,"onUpdate:modelValue":t[6]||(t[6]=o=>a(e).fields.price.color=o)},null,8,["modelValue"]),l(s,{modelValue:a(e).fields.price.show,"onUpdate:modelValue":t[7]||(t[7]=o=>a(e).fields.price.show=o)},null,8,["modelValue"])])]),_:1}),l(d,{label:"\u5E02\u573A\u4EF7",prop:"fields.marketPrice.show"},{default:r(()=>[m("div",g,[l(u,{modelValue:a(e).fields.marketPrice.color,"onUpdate:modelValue":t[8]||(t[8]=o=>a(e).fields.marketPrice.color=o)},null,8,["modelValue"]),l(s,{modelValue:a(e).fields.marketPrice.show,"onUpdate:modelValue":t[9]||(t[9]=o=>a(e).fields.marketPrice.show=o)},null,8,["modelValue"])])]),_:1}),l(d,{label:"\u5546\u54C1\u9500\u91CF",prop:"fields.salesCount.show"},{default:r(()=>[m("div",U,[l(u,{modelValue:a(e).fields.salesCount.color,"onUpdate:modelValue":t[10]||(t[10]=o=>a(e).fields.salesCount.color=o)},null,8,["modelValue"]),l(s,{modelValue:a(e).fields.salesCount.show,"onUpdate:modelValue":t[11]||(t[11]=o=>a(e).fields.salesCount.show=o)},null,8,["modelValue"])])]),_:1}),l(d,{label:"\u5546\u54C1\u5E93\u5B58",prop:"fields.stock.show"},{default:r(()=>[m("div",B,[l(u,{modelValue:a(e).fields.stock.color,"onUpdate:modelValue":t[12]||(t[12]=o=>a(e).fields.stock.color=o)},null,8,["modelValue"]),l(s,{modelValue:a(e).fields.stock.show,"onUpdate:modelValue":t[13]||(t[13]=o=>a(e).fields.stock.show=o)},null,8,["modelValue"])])]),_:1})]),_:1}),l(n,{header:"\u89D2\u6807",class:"property-group",shadow:"never"},{default:r(()=>[l(d,{label:"\u89D2\u6807",prop:"badge.show"},{default:r(()=>[l(T,{modelValue:a(e).badge.show,"onUpdate:modelValue":t[14]||(t[14]=o=>a(e).badge.show=o)},null,8,["modelValue"])]),_:1}),a(e).badge.show?(p(),h(d,{key:0,label:"\u89D2\u6807",prop:"badge.imgUrl"},{default:r(()=>[l(k,{modelValue:a(e).badge.imgUrl,"onUpdate:modelValue":t[15]||(t[15]=o=>a(e).badge.imgUrl=o),height:"44px",width:"72px"},{tip:r(()=>[i(" \u5EFA\u8BAE\u5C3A\u5BF8\uFF1A36 * 22 ")]),_:1},8,["modelValue"])]),_:1})):K("",!0)]),_:1}),l(n,{header:"\u6309\u94AE",class:"property-group",shadow:"never"},{default:r(()=>[l(d,{label:"\u6309\u94AE\u7C7B\u578B",prop:"btnBuy.type"},{default:r(()=>[l(C,{modelValue:a(e).btnBuy.type,"onUpdate:modelValue":t[16]||(t[16]=o=>a(e).btnBuy.type=o)},{default:r(()=>[l(_,{label:"text"},{default:r(()=>[i("\u6587\u5B57")]),_:1}),l(_,{label:"img"},{default:r(()=>[i("\u56FE\u7247")]),_:1})]),_:1},8,["modelValue"])]),_:1}),a(e).btnBuy.type==="text"?(p(),O(S,{key:0},[l(d,{label:"\u6309\u94AE\u6587\u5B57",prop:"btnBuy.text"},{default:r(()=>[l(I,{modelValue:a(e).btnBuy.text,"onUpdate:modelValue":t[17]||(t[17]=o=>a(e).btnBuy.text=o)},null,8,["modelValue"])]),_:1}),l(d,{label:"\u5DE6\u4FA7\u80CC\u666F",prop:"btnBuy.bgBeginColor"},{default:r(()=>[l(u,{modelValue:a(e).btnBuy.bgBeginColor,"onUpdate:modelValue":t[18]||(t[18]=o=>a(e).btnBuy.bgBeginColor=o)},null,8,["modelValue"])]),_:1}),l(d,{label:"\u53F3\u4FA7\u80CC\u666F",prop:"btnBuy.bgEndColor"},{default:r(()=>[l(u,{modelValue:a(e).btnBuy.bgEndColor,"onUpdate:modelValue":t[19]||(t[19]=o=>a(e).btnBuy.bgEndColor=o)},null,8,["modelValue"])]),_:1})],64)):(p(),h(d,{key:1,label:"\u56FE\u7247",prop:"btnBuy.imgUrl"},{default:r(()=>[l(k,{modelValue:a(e).btnBuy.imgUrl,"onUpdate:modelValue":t[20]||(t[20]=o=>a(e).btnBuy.imgUrl=o),height:"56px",width:"56px"},{tip:r(()=>[i(" \u5EFA\u8BAE\u5C3A\u5BF8\uFF1A56 * 56 ")]),_:1},8,["modelValue"])]),_:1}))]),_:1}),l(n,{header:"\u5546\u54C1\u6837\u5F0F",class:"property-group",shadow:"never"},{default:r(()=>[l(d,{label:"\u4E0A\u5706\u89D2",prop:"borderRadiusTop"},{default:r(()=>[l(V,{modelValue:a(e).borderRadiusTop,"onUpdate:modelValue":t[21]||(t[21]=o=>a(e).borderRadiusTop=o),max:100,min:0,"show-input":"","input-size":"small","show-input-controls":!1},null,8,["modelValue"])]),_:1}),l(d,{label:"\u4E0B\u5706\u89D2",prop:"borderRadiusBottom"},{default:r(()=>[l(V,{modelValue:a(e).borderRadiusBottom,"onUpdate:modelValue":t[22]||(t[22]=o=>a(e).borderRadiusBottom=o),max:100,min:0,"show-input":"","input-size":"small","show-input-controls":!1},null,8,["modelValue"])]),_:1}),l(d,{label:"\u95F4\u9694",prop:"space"},{default:r(()=>[l(V,{modelValue:a(e).space,"onUpdate:modelValue":t[23]||(t[23]=o=>a(e).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","/Users/RuHu.Xu/Desktop/mall-newfeifan-zx-admin/src/components/DiyEditor/components/mobile/ProductCard/property.vue"]])});export{vl as __tla,v as default};
|