property-e341108f.js 6.0 KB

1
  1. import{_ as D,__tla as P}from"./ComponentContainerProperty-9d57972c.js";import{d as I,o as h,C as y,A as r,f as a,a as e,B as V,D as A,a2 as L,_ as S,cK as j,bf as k,at as E,U as J,ao as K,cC as M,cD as W,V as q,__tla as F}from"./index-1f518666.js";import{_ as G,__tla as H}from"./UploadImg-832a2277.js";import{_ as N,__tla as O}from"./index-9c19facc.js";import{E as Q,__tla as X}from"./el-card-955661ed.js";import{u as Y,__tla as Z}from"./util-1d14cfdf.js";import $,{__tla as x}from"./SpuShowcase-d84e8fd1.js";import"./_plugin-vue_export-helper-1b428a4d.js";import{__tla as aa}from"./index-32463859.js";import{__tla as ta}from"./el-image-viewer-91778fd6.js";import{__tla as ea}from"./useMessage-633c11d2.js";import"./color-6e929987.js";import{__tla as la}from"./Dialog-4c960d8c.js";import{__tla as oa}from"./Qrcode-75d3f7a7.js";import{__tla as ra}from"./el-text-51f1e949.js";import{__tla as _a}from"./IFrame.vue_vue_type_script_setup_true_lang-1b3b1a66.js";import{__tla as sa}from"./vuedraggable.umd-88cf4fc6.js";import{__tla as ma}from"./el-collapse-item-0f9fda1e.js";import{__tla as ua}from"./el-image-1ae80d1a.js";import{__tla as da}from"./spu-7f489e39.js";import{__tla as pa}from"./SpuTableSelect.vue_vue_type_script_setup_true_lang-f7dfeed2.js";import{__tla as na}from"./ContentWrap.vue_vue_type_script_setup_true_lang-a4de6de9.js";import{__tla as ca}from"./index.vue_vue_type_script_setup_true_lang-cf2a6735.js";import{__tla as ia}from"./index-a37b14c7.js";import{__tla as fa}from"./el-tree-select-fc145135.js";import"./tree-0af4953a.js";import{__tla as ha}from"./category-af81e9cc.js";let b,ya=Promise.all([(()=>{try{return P}catch{}})(),(()=>{try{return F}catch{}})(),(()=>{try{return H}catch{}})(),(()=>{try{return O}catch{}})(),(()=>{try{return X}catch{}})(),(()=>{try{return Z}catch{}})(),(()=>{try{return x}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 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"},b=I({name:"ProductListProperty",__name:"property",props:{modelValue:{}},emits:["update:modelValue"],setup(w,{emit:g}){const U=w,v=g,{formData:t}=Y(U.modelValue,v);return(Va,l)=>{const s=Q,m=S,u=j,d=k,R=E,_=J,i=N,f=K,T=M,z=G,p=W,C=q,B=D;return h(),y(B,{modelValue:e(t).style,"onUpdate:modelValue":l[11]||(l[11]=o=>e(t).style=o)},{default:r(()=>[a(C,{"label-width":"80px",model:e(t)},{default:r(()=>[a(s,{header:"\u5546\u54C1\u5217\u8868",class:"property-group",shadow:"never"},{default:r(()=>[a($,{modelValue:e(t).spuIds,"onUpdate:modelValue":l[0]||(l[0]=o=>e(t).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: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(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(()=>[V("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(()=>[V("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(s,{header:"\u89D2\u6807",class:"property-group",shadow:"never"},{default:r(()=>[a(_,{label:"\u89D2\u6807",prop:"badge.show"},{default:r(()=>[a(T,{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(),y(_,{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(()=>[A(" \u5EFA\u8BAE\u5C3A\u5BF8\uFF1A36 * 22 ")]),_:1},8,["modelValue"])]),_:1})):L("",!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: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{ya as __tla,b as default};