1 |
- import{_ as F,__tla as O}from"./ComponentContainerProperty-540b9384.js";import{d as S,o as p,q as h,w as r,f as l,a,g as m,m as i,O as j,c as A,F as G,_ as H,da as J,b5 as L,ah as M,z as Q,ac as W,d2 as K,U as N,d3 as X,C as Y,__tla as Z}from"./index-2eab2d23.js";import{_ as $,__tla as v}from"./UploadImg-90fe71c2.js";import{_ as ll,__tla as el}from"./index-30d48444.js";import{E as al,__tla as tl}from"./el-card-c558f0ec.js";import{u as ol,__tla as rl}from"./util-8a54c07a.js";import dl,{__tla as ul}from"./SpuShowcase-f48b7c23.js";import"./_plugin-vue_export-helper-1b428a4d.js";import{__tla as sl}from"./index-d3f876ab.js";import{__tla as ml}from"./el-image-viewer-5d14bc77.js";import{__tla as _l}from"./useMessage-171aa63e.js";import"./color-6e929987.js";import{__tla as nl}from"./Dialog-c2716df6.js";import{__tla as pl}from"./Qrcode-a57a527d.js";import{__tla as il}from"./el-text-b1163e3d.js";import{__tla as cl}from"./IFrame.vue_vue_type_script_setup_true_lang-82b81649.js";import{__tla as fl}from"./vuedraggable.umd-67523a5c.js";import{__tla as Vl}from"./el-collapse-item-5ecf4321.js";import{__tla as hl}from"./el-image-2171f3ff.js";import{__tla as bl}from"./spu-73047b60.js";import{__tla as yl}from"./SpuTableSelect.vue_vue_type_script_setup_true_lang-75d04071.js";import{__tla as gl}from"./ContentWrap.vue_vue_type_script_setup_true_lang-5a63038a.js";import{__tla as wl}from"./index.vue_vue_type_script_setup_true_lang-5730b053.js";import{__tla as Ul}from"./index-cc63c3c4.js";import{__tla as xl}from"./el-tree-select-4ae7c290.js";import"./tree-fd3a041e.js";import{__tla as Bl}from"./category-c573377b.js";let k,Cl=Promise.all([(()=>{try{return O}catch{}})(),(()=>{try{return Z}catch{}})(),(()=>{try{return v}catch{}})(),(()=>{try{return el}catch{}})(),(()=>{try{return tl}catch{}})(),(()=>{try{return rl}catch{}})(),(()=>{try{return ul}catch{}})(),(()=>{try{return sl}catch{}})(),(()=>{try{return ml}catch{}})(),(()=>{try{return _l}catch{}})(),(()=>{try{return nl}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 gl}catch{}})(),(()=>{try{return wl}catch{}})(),(()=>{try{return Ul}catch{}})(),(()=>{try{return xl}catch{}})(),(()=>{try{return Bl}catch{}})()]).then(async()=>{let b,y,g,w,U,x;b={class:"flex gap-8px"},y={class:"flex gap-8px"},g={class:"flex gap-8px"},w={class:"flex gap-8px"},U={class:"flex gap-8px"},x={class:"flex gap-8px"},k=S({name:"ProductCardProperty",__name:"property",props:{modelValue:{}},emits:["update:modelValue"],setup(P,{emit:R}){const T=P,z=R,{formData:e}=ol(T.modelValue,z);return(kl,t)=>{const _=al,c=H,n=J,f=L,B=M,d=Q,u=ll,s=W,E=K,C=$,I=N,V=X,q=Y,D=F;return p(),h(D,{modelValue:a(e).style,"onUpdate:modelValue":t[24]||(t[24]=o=>a(e).style=o)},{default:r(()=>[l(q,{"label-width":"80px",model:a(e)},{default:r(()=>[l(_,{header:"\u5546\u54C1\u5217\u8868",class:"property-group",shadow:"never"},{default:r(()=>[l(dl,{modelValue:a(e).spuIds,"onUpdate:modelValue":t[0]||(t[0]=o=>a(e).spuIds=o)},null,8,["modelValue"])]),_:1}),l(_,{header:"\u5546\u54C1\u6837\u5F0F",class:"property-group",shadow:"never"},{default:r(()=>[l(d,{label:"\u5E03\u5C40",prop:"type"},{default:r(()=>[l(B,{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(n,{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(n,{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(n,{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",g,[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",w,[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",x,[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(_,{header:"\u89D2\u6807",class:"property-group",shadow:"never"},{default:r(()=>[l(d,{label:"\u89D2\u6807",prop:"badge.show"},{default:r(()=>[l(E,{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(C,{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})):j("",!0)]),_:1}),l(_,{header:"\u6309\u94AE",class:"property-group",shadow:"never"},{default:r(()=>[l(d,{label:"\u6309\u94AE\u7C7B\u578B",prop:"btnBuy.type"},{default:r(()=>[l(B,{modelValue:a(e).btnBuy.type,"onUpdate:modelValue":t[16]||(t[16]=o=>a(e).btnBuy.type=o)},{default:r(()=>[l(n,{label:"text"},{default:r(()=>[i("\u6587\u5B57")]),_:1}),l(n,{label:"img"},{default:r(()=>[i("\u56FE\u7247")]),_:1})]),_:1},8,["modelValue"])]),_:1}),a(e).btnBuy.type==="text"?(p(),A(G,{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(C,{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(_,{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"])}}})});export{Cl as __tla,k as default};
|