1 |
- import{_ as q,__tla as F}from"./ComponentContainerProperty-c8be2893.js";import{d as H,o as p,x as h,w as r,f as l,a,g as m,y as i,a0 as J,c as K,F as O,j as S,as as A,at as M,ae as N,C as Q,a9 as W,cJ as G,R as L,cK as X,H as Y,_ as Z,__tla as $}from"./index-327f993b.js";import{_ as x,__tla as ll}from"./UploadImg-6ec4129d.js";import{_ as el,__tla as al}from"./index-45786128.js";import{E as tl,__tla as ol}from"./el-card-5aa8b203.js";import{u as rl,__tla as dl}from"./util-9652d8a9.js";import ul,{__tla as sl}from"./SpuShowcase-069f806e.js";import{__tla as ml}from"./index-0a6e5e60.js";import{__tla as nl}from"./el-image-viewer-30346ca4.js";import{__tla as _l}from"./useMessage-b42f14d5.js";import"./color-6e929987.js";import{__tla as pl}from"./Dialog-172e53a1.js";import{__tla as il}from"./Qrcode-67b2893e.js";import{__tla as cl}from"./el-text-dccec509.js";import{__tla as fl}from"./IFrame-2f157ffe.js";import{__tla as Vl}from"./vuedraggable.umd-5d808901.js";import{__tla as hl}from"./el-collapse-item-a3f6e5f9.js";import{__tla as yl}from"./el-image-0635b2c8.js";import{__tla as bl}from"./spu-e357f0fc.js";import{__tla as gl}from"./SpuTableSelect-fd5e34fe.js";import{__tla as wl}from"./ContentWrap-f767e20d.js";import{__tla as Ul}from"./index-5a79877f.js";import{__tla as Bl}from"./index-0ac6413f.js";import{__tla as Cl}from"./el-tree-select-ece8cdbe.js";import"./tree-0af4953a.js";import{__tla as kl}from"./category-60bbc2d0.js";let v,vl=Promise.all([(()=>{try{return F}catch{}})(),(()=>{try{return $}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 yl}catch{}})(),(()=>{try{return bl}catch{}})(),(()=>{try{return gl}catch{}})(),(()=>{try{return wl}catch{}})(),(()=>{try{return Ul}catch{}})(),(()=>{try{return Bl}catch{}})(),(()=>{try{return Cl}catch{}})(),(()=>{try{return kl}catch{}})()]).then(async()=>{let y,b,g,w,U,B;y={class:"flex gap-8px"},b={class:"flex gap-8px"},g={class:"flex gap-8px"},w={class:"flex gap-8px"},U={class:"flex gap-8px"},B={class:"flex gap-8px"},v=Z(H({name:"ProductCardProperty",__name:"property",props:{modelValue:{type:Object,required:!0}},emits:["update:modelValue"],setup(P,{emit:R}){const T=P,E=R,{formData:e}=rl(T.modelValue,E);return(Pl,t)=>{const n=tl,c=S,_=A,f=M,C=N,d=Q,u=el,s=W,z=G,k=x,I=L,V=X,D=Y,j=q;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",y,[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",b,[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",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(z,{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})):J("",!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(),K(O,{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","D:/zhongxing/mall-newfeifan-zx-admin/src/components/DiyEditor/components/mobile/ProductCard/property.vue"]])});export{vl as __tla,v as default};
|