property-fd8d68e6.js 6.0 KB

1
  1. import{_ as B,__tla as D}from"./ComponentContainerProperty-8437c3e5.js";import{d as P,o as h,C as V,A as r,f as a,a as e,B as b,D as I,a2 as E,_ as L,cK as S,bf as j,at as k,U as A,ao as F,cC as K,cD as Q,V as W,__tla as q}from"./index-f65577b8.js";import{_ as G,__tla as H}from"./UploadImg-9468593a.js";import{_ as J,__tla as M}from"./index-b53b3ade.js";import{E as N,__tla as O}from"./el-card-ab53e6aa.js";import{u as X,__tla as Y}from"./util-11860902.js";import Z,{__tla as $}from"./SpuShowcase-ec62fe43.js";import"./_plugin-vue_export-helper-1b428a4d.js";import{__tla as aa}from"./index-c1ff7b7a.js";import{__tla as ta}from"./el-image-viewer-7e496319.js";import{__tla as ea}from"./useMessage-4dbf0ae4.js";import"./color-6e929987.js";import{__tla as la}from"./Dialog-bd3317a7.js";import{__tla as oa}from"./Qrcode-7b0cec92.js";import{__tla as ra}from"./el-text-b0c95094.js";import{__tla as _a}from"./IFrame.vue_vue_type_script_setup_true_lang-644d1b1d.js";import{__tla as sa}from"./vuedraggable.umd-95750846.js";import{__tla as ma}from"./el-collapse-item-4be43cd6.js";import{__tla as ua}from"./el-image-6b44629c.js";import{__tla as da}from"./spu-f470600f.js";import{__tla as pa}from"./SpuTableSelect.vue_vue_type_script_setup_true_lang-247a2538.js";import{__tla as na}from"./ContentWrap.vue_vue_type_script_setup_true_lang-9fbbd655.js";import{__tla as ca}from"./index.vue_vue_type_script_setup_true_lang-53598c8e.js";import{__tla as ia}from"./index-1896261a.js";import{__tla as fa}from"./el-tree-select-27b84fc4.js";import"./tree-0af4953a.js";import{__tla as ha}from"./category-60c03943.js";let w,Va=Promise.all([(()=>{try{return D}catch{}})(),(()=>{try{return q}catch{}})(),(()=>{try{return H}catch{}})(),(()=>{try{return M}catch{}})(),(()=>{try{return O}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 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:t}=X(U.modelValue,x);return(ba,l)=>{const s=N,m=L,u=S,d=j,R=k,_=A,i=J,f=F,v=K,T=G,p=Q,C=W,z=B;return h(),V(z,{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(Z,{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(()=>[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(s,{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(T,{modelValue:e(t).badge.imgUrl,"onUpdate:modelValue":l[7]||(l[7]=o=>e(t).badge.imgUrl=o),height:"44px",width:"72px"},{tip:r(()=>[I(" \u5EFA\u8BAE\u5C3A\u5BF8\uFF1A36 * 22 ")]),_:1},8,["modelValue"])]),_:1})):E("",!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{Va as __tla,w as default};