property-bb1cbcc2.js 6.0 KB

1
  1. import{_ as B,__tla as P}from"./ComponentContainerProperty-6ef97b3e.js";import{d as I,o as h,q as V,w as r,f as a,a as e,g as b,m as O,O as k,_ as q,d1 as D,aO as S,ah as W,z as j,ac as E,cV as L,cW as M,C as A,__tla as F}from"./index-73e02845.js";import{_ as G,__tla as H}from"./UploadImg-0588e092.js";import{_ as J,__tla as K}from"./index-07c17b54.js";import{E as N,__tla as Q}from"./el-card-ada74e7d.js";import{u as X,__tla as Y}from"./util-dd51d14c.js";import Z,{__tla as $}from"./SpuShowcase-98f5c670.js";import"./_plugin-vue_export-helper-1b428a4d.js";import{__tla as aa}from"./index-c6e30cdd.js";import{__tla as ta}from"./el-image-viewer-a6b3dac3.js";import{__tla as ea}from"./useMessage-1490ad82.js";import"./color-6e929987.js";import{__tla as la}from"./Dialog-1f04d1b7.js";import{__tla as oa}from"./Qrcode-6f455c95.js";import{__tla as ra}from"./el-text-42605a6c.js";import{__tla as _a}from"./IFrame.vue_vue_type_script_setup_true_lang-f13b6e94.js";import{__tla as ma}from"./vuedraggable.umd-a9078d65.js";import{__tla as sa}from"./el-collapse-item-ef3a5f74.js";import{__tla as ua}from"./el-image-6a280602.js";import{__tla as da}from"./spu-a6b1f90b.js";import{__tla as pa}from"./SpuTableSelect.vue_vue_type_script_setup_true_lang-96cc336d.js";import{__tla as na}from"./ContentWrap.vue_vue_type_script_setup_true_lang-589371a6.js";import{__tla as ca}from"./index.vue_vue_type_script_setup_true_lang-2534a34f.js";import{__tla as ia}from"./index-c1a24aa4.js";import{__tla as fa}from"./el-tree-select-a05a2d94.js";import"./tree-fd3a041e.js";import{__tla as ha}from"./category-ee994b51.js";let w,Va=Promise.all([(()=>{try{return P}catch{}})(),(()=>{try{return F}catch{}})(),(()=>{try{return H}catch{}})(),(()=>{try{return K}catch{}})(),(()=>{try{return Q}catch{}})(),(()=>{try{return Y}catch{}})(),(()=>{try{return $}catch{}})(),(()=>{try{return aa}catch{}})(),(()=>{try{return ta}catch{}})(),(()=>{try{return ea}catch{}})(),(()=>{try{return la}catch{}})(),(()=>{try{return oa}catch{}})(),(()=>{try{return ra}catch{}})(),(()=>{try{return _a}catch{}})(),(()=>{try{return ma}catch{}})(),(()=>{try{return sa}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=I({name:"ProductListProperty",__name:"property",props:{modelValue:{}},emits:["update:modelValue"],setup(g,{emit:y}){const U=g,x=y,{formData:t}=X(U.modelValue,x);return(ba,l)=>{const m=N,s=q,u=D,d=S,R=W,_=j,i=J,f=E,v=L,z=G,p=M,T=A,C=B;return h(),V(C,{modelValue:e(t).style,"onUpdate:modelValue":l[11]||(l[11]=o=>e(t).style=o)},{default:r(()=>[a(T,{"label-width":"80px",model:e(t)},{default:r(()=>[a(m,{header:"\u5546\u54C1\u5217\u8868",class:"property-group",shadow:"never"},{default:r(()=>[a(Z,{modelValue:e(t).spuIds,"onUpdate:modelValue":l[0]||(l[0]=o=>e(t).spuIds=o)},null,8,["modelValue"])]),_:1}),a(m,{header:"\u5546\u54C1\u6837\u5F0F",class:"property-group",shadow:"never"},{default:r(()=>[a(_,{label:"\u5E03\u5C40",prop:"type"},{default:r(()=>[a(R,{modelValue:e(t).layoutType,"onUpdate:modelValue":l[1]||(l[1]=o=>e(t).layoutType=o)},{default:r(()=>[a(d,{class:"item",content:"\u53CC\u5217",placement:"bottom"},{default:r(()=>[a(u,{label:"twoCol"},{default:r(()=>[a(s,{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(s,{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(s,{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:e(t).fields.name.color,"onUpdate:modelValue":l[2]||(l[2]=o=>e(t).fields.name.color=o)},null,8,["modelValue"]),a(f,{modelValue:e(t).fields.name.show,"onUpdate:modelValue":l[3]||(l[3]=o=>e(t).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:e(t).fields.price.color,"onUpdate:modelValue":l[4]||(l[4]=o=>e(t).fields.price.color=o)},null,8,["modelValue"]),a(f,{modelValue:e(t).fields.price.show,"onUpdate:modelValue":l[5]||(l[5]=o=>e(t).fields.price.show=o)},null,8,["modelValue"])])]),_:1})]),_:1}),a(m,{header:"\u89D2\u6807",class:"property-group",shadow:"never"},{default:r(()=>[a(_,{label:"\u89D2\u6807",prop:"badge.show"},{default:r(()=>[a(v,{modelValue:e(t).badge.show,"onUpdate:modelValue":l[6]||(l[6]=o=>e(t).badge.show=o)},null,8,["modelValue"])]),_:1}),e(t).badge.show?(h(),V(_,{key:0,label:"\u89D2\u6807",prop:"badge.imgUrl"},{default:r(()=>[a(z,{modelValue:e(t).badge.imgUrl,"onUpdate:modelValue":l[7]||(l[7]=o=>e(t).badge.imgUrl=o),height:"44px",width:"72px"},{tip:r(()=>[O(" \u5EFA\u8BAE\u5C3A\u5BF8\uFF1A36 * 22 ")]),_:1},8,["modelValue"])]),_:1})):k("",!0)]),_:1}),a(m,{header:"\u5546\u54C1\u6837\u5F0F",class:"property-group",shadow:"never"},{default:r(()=>[a(_,{label:"\u4E0A\u5706\u89D2",prop:"borderRadiusTop"},{default:r(()=>[a(p,{modelValue:e(t).borderRadiusTop,"onUpdate:modelValue":l[8]||(l[8]=o=>e(t).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:e(t).borderRadiusBottom,"onUpdate:modelValue":l[9]||(l[9]=o=>e(t).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:e(t).space,"onUpdate:modelValue":l[10]||(l[10]=o=>e(t).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};