property-c2c8f5d7.js 6.0 KB

1
  1. import{_ as B,__tla as P}from"./ComponentContainerProperty-540b9384.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 S,O as k,_ as q,da as D,b5 as L,ah as O,z as j,ac as E,d2 as Q,d3 as A,C as F,__tla as G}from"./index-2eab2d23.js";import{_ as H,__tla as J}from"./UploadImg-90fe71c2.js";import{_ as K,__tla as M}from"./index-30d48444.js";import{E as N,__tla as W}from"./el-card-c558f0ec.js";import{u as X,__tla as Y}from"./util-8a54c07a.js";import Z,{__tla as $}from"./SpuShowcase-f48b7c23.js";import"./_plugin-vue_export-helper-1b428a4d.js";import{__tla as aa}from"./index-d3f876ab.js";import{__tla as ta}from"./el-image-viewer-5d14bc77.js";import{__tla as ea}from"./useMessage-171aa63e.js";import"./color-6e929987.js";import{__tla as la}from"./Dialog-c2716df6.js";import{__tla as oa}from"./Qrcode-a57a527d.js";import{__tla as ra}from"./el-text-b1163e3d.js";import{__tla as _a}from"./IFrame.vue_vue_type_script_setup_true_lang-82b81649.js";import{__tla as ma}from"./vuedraggable.umd-67523a5c.js";import{__tla as sa}from"./el-collapse-item-5ecf4321.js";import{__tla as ua}from"./el-image-2171f3ff.js";import{__tla as da}from"./spu-73047b60.js";import{__tla as pa}from"./SpuTableSelect.vue_vue_type_script_setup_true_lang-75d04071.js";import{__tla as na}from"./ContentWrap.vue_vue_type_script_setup_true_lang-5a63038a.js";import{__tla as ca}from"./index.vue_vue_type_script_setup_true_lang-5730b053.js";import{__tla as ia}from"./index-cc63c3c4.js";import{__tla as fa}from"./el-tree-select-4ae7c290.js";import"./tree-fd3a041e.js";import{__tla as ha}from"./category-c573377b.js";let w,Va=Promise.all([(()=>{try{return P}catch{}})(),(()=>{try{return G}catch{}})(),(()=>{try{return J}catch{}})(),(()=>{try{return M}catch{}})(),(()=>{try{return W}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=L,R=O,_=j,i=K,f=E,v=Q,z=H,p=A,T=F,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(()=>[S(" \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};