property-806f8c06.js 6.0 KB

1
  1. import{_ as C,__tla as I}from"./ComponentContainerProperty-e76d013f.js";import{d as P,o as h,k as V,w as r,i as a,a as t,j as b,l as j,R as k,_ as D,d3 as E,aR as S,aj as H,H as L,ae as Q,cX as W,cY as X,I as Y,__tla as Z}from"./index-fac66584.js";import{_ as q,__tla as A}from"./UploadImg-264af494.js";import{_ as F,__tla as G}from"./index-38dbe6e6.js";import{E as J,__tla as K}from"./el-card-1aed0cc5.js";import{u as M,__tla as N}from"./util-fdf3f395.js";import O,{__tla as $}from"./SpuShowcase-352f7677.js";import"./_plugin-vue_export-helper-1b428a4d.js";import{__tla as aa}from"./index-99eedac9.js";import{__tla as ea}from"./el-image-viewer-d151798c.js";import{__tla as ta}from"./useMessage-4f910490.js";import"./color-6e929987.js";import{__tla as la}from"./Dialog-a20771ef.js";import{__tla as oa}from"./Qrcode-53658b61.js";import{__tla as ra}from"./el-text-128b6e12.js";import{__tla as _a}from"./IFrame.vue_vue_type_script_setup_true_lang-0b481c30.js";import{__tla as sa}from"./vuedraggable.umd-25f9713e.js";import{__tla as ma}from"./el-collapse-item-48bdc6b8.js";import{__tla as ua}from"./el-image-0e9de59f.js";import{__tla as da}from"./spu-591e7cb6.js";import{__tla as pa}from"./SpuTableSelect.vue_vue_type_script_setup_true_lang-f2c9317e.js";import{__tla as na}from"./ContentWrap.vue_vue_type_script_setup_true_lang-3b4e78d5.js";import{__tla as ca}from"./index.vue_vue_type_script_setup_true_lang-4b913090.js";import{__tla as ia}from"./index-46f5e148.js";import{__tla as fa}from"./el-tree-select-92aa473a.js";import"./tree-0af4953a.js";import{__tla as ha}from"./category-d40af9b8.js";let w,Va=Promise.all([(()=>{try{return I}catch{}})(),(()=>{try{return Z}catch{}})(),(()=>{try{return A}catch{}})(),(()=>{try{return G}catch{}})(),(()=>{try{return K}catch{}})(),(()=>{try{return N}catch{}})(),(()=>{try{return $}catch{}})(),(()=>{try{return aa}catch{}})(),(()=>{try{return ea}catch{}})(),(()=>{try{return ta}catch{}})(),(()=>{try{return la}catch{}})(),(()=>{try{return oa}catch{}})(),(()=>{try{return ra}catch{}})(),(()=>{try{return _a}catch{}})(),(()=>{try{return sa}catch{}})(),(()=>{try{return ma}catch{}})(),(()=>{try{return ua}catch{}})(),(()=>{try{return da}catch{}})(),(()=>{try{return pa}catch{}})(),(()=>{try{return na}catch{}})(),(()=>{try{return ca}catch{}})(),(()=>{try{return ia}catch{}})(),(()=>{try{return fa}catch{}})(),(()=>{try{return ha}catch{}})()]).then(async()=>{let n,c;n={class:"flex gap-8px"},c={class:"flex gap-8px"},w=P({name:"ProductListProperty",__name:"property",props:{modelValue:{}},emits:["update:modelValue"],setup(g,{emit:y}){const U=g,x=y,{formData:e}=M(U.modelValue,x);return(ba,l)=>{const s=J,m=D,u=E,d=S,R=H,_=L,i=F,f=Q,v=W,T=q,p=X,z=Y,B=C;return h(),V(B,{modelValue:t(e).style,"onUpdate:modelValue":l[11]||(l[11]=o=>t(e).style=o)},{default:r(()=>[a(z,{"label-width":"80px",model:t(e)},{default:r(()=>[a(s,{header:"\u5546\u54C1\u5217\u8868",class:"property-group",shadow:"never"},{default:r(()=>[a(O,{modelValue:t(e).spuIds,"onUpdate:modelValue":l[0]||(l[0]=o=>t(e).spuIds=o)},null,8,["modelValue"])]),_:1}),a(s,{header:"\u5546\u54C1\u6837\u5F0F",class:"property-group",shadow:"never"},{default:r(()=>[a(_,{label:"\u5E03\u5C40",prop:"type"},{default:r(()=>[a(R,{modelValue:t(e).layoutType,"onUpdate:modelValue":l[1]||(l[1]=o=>t(e).layoutType=o)},{default:r(()=>[a(d,{class:"item",content:"\u53CC\u5217",placement:"bottom"},{default:r(()=>[a(u,{label:"twoCol"},{default:r(()=>[a(m,{icon:"fluent:text-column-two-24-filled"})]),_:1})]),_:1}),a(d,{class:"item",content:"\u4E09\u5217",placement:"bottom"},{default:r(()=>[a(u,{label:"threeCol"},{default:r(()=>[a(m,{icon:"fluent:text-column-three-24-filled"})]),_:1})]),_:1}),a(d,{class:"item",content:"\u6C34\u5E73\u6ED1\u52A8",placement:"bottom"},{default:r(()=>[a(u,{label:"horizSwiper"},{default:r(()=>[a(m,{icon:"system-uicons:carousel"})]),_:1})]),_:1})]),_:1},8,["modelValue"])]),_:1}),a(_,{label:"\u5546\u54C1\u540D\u79F0",prop:"fields.name.show"},{default:r(()=>[b("div",n,[a(i,{modelValue:t(e).fields.name.color,"onUpdate:modelValue":l[2]||(l[2]=o=>t(e).fields.name.color=o)},null,8,["modelValue"]),a(f,{modelValue:t(e).fields.name.show,"onUpdate:modelValue":l[3]||(l[3]=o=>t(e).fields.name.show=o)},null,8,["modelValue"])])]),_:1}),a(_,{label:"\u5546\u54C1\u4EF7\u683C",prop:"fields.price.show"},{default:r(()=>[b("div",c,[a(i,{modelValue:t(e).fields.price.color,"onUpdate:modelValue":l[4]||(l[4]=o=>t(e).fields.price.color=o)},null,8,["modelValue"]),a(f,{modelValue:t(e).fields.price.show,"onUpdate:modelValue":l[5]||(l[5]=o=>t(e).fields.price.show=o)},null,8,["modelValue"])])]),_:1})]),_:1}),a(s,{header:"\u89D2\u6807",class:"property-group",shadow:"never"},{default:r(()=>[a(_,{label:"\u89D2\u6807",prop:"badge.show"},{default:r(()=>[a(v,{modelValue:t(e).badge.show,"onUpdate:modelValue":l[6]||(l[6]=o=>t(e).badge.show=o)},null,8,["modelValue"])]),_:1}),t(e).badge.show?(h(),V(_,{key:0,label:"\u89D2\u6807",prop:"badge.imgUrl"},{default:r(()=>[a(T,{modelValue:t(e).badge.imgUrl,"onUpdate:modelValue":l[7]||(l[7]=o=>t(e).badge.imgUrl=o),height:"44px",width:"72px"},{tip:r(()=>[j(" \u5EFA\u8BAE\u5C3A\u5BF8\uFF1A36 * 22 ")]),_:1},8,["modelValue"])]),_:1})):k("",!0)]),_:1}),a(s,{header:"\u5546\u54C1\u6837\u5F0F",class:"property-group",shadow:"never"},{default:r(()=>[a(_,{label:"\u4E0A\u5706\u89D2",prop:"borderRadiusTop"},{default:r(()=>[a(p,{modelValue:t(e).borderRadiusTop,"onUpdate:modelValue":l[8]||(l[8]=o=>t(e).borderRadiusTop=o),max:100,min:0,"show-input":"","input-size":"small","show-input-controls":!1},null,8,["modelValue"])]),_:1}),a(_,{label:"\u4E0B\u5706\u89D2",prop:"borderRadiusBottom"},{default:r(()=>[a(p,{modelValue:t(e).borderRadiusBottom,"onUpdate:modelValue":l[9]||(l[9]=o=>t(e).borderRadiusBottom=o),max:100,min:0,"show-input":"","input-size":"small","show-input-controls":!1},null,8,["modelValue"])]),_:1}),a(_,{label:"\u95F4\u9694",prop:"space"},{default:r(()=>[a(p,{modelValue:t(e).space,"onUpdate:modelValue":l[10]||(l[10]=o=>t(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{Va as __tla,w as default};