property-6d5b61ed.js 6.1 KB

1
  1. import{_ as T,__tla as C}from"./ComponentContainerProperty-d9e0dfdf.js";import{d as B,o as h,v as y,w as r,f as a,a as e,g as V,n as E,P as I,j as L,d6 as k,a_ as q,ai as S,A,ad as O,c_ as W,c$ as $,D as F,_ as G,__tla as H}from"./index-6d7b82ba.js";import{_ as J,__tla as K}from"./UploadImg-f5f3b1db.js";import{_ as M,__tla as N}from"./index-871b504a.js";import{E as Q,__tla as X}from"./el-card-1a4b93b1.js";import{u as Y,__tla as Z}from"./util-83233a10.js";import j,{__tla as aa}from"./SpuShowcase-89a82076.js";import{__tla as ta}from"./index-8e19be94.js";import{__tla as ea}from"./el-image-viewer-4a19ded4.js";import{__tla as la}from"./useMessage-be161634.js";import"./color-6e929987.js";import{__tla as oa}from"./Dialog-78181bae.js";import{__tla as ra}from"./Qrcode-64fbb7c9.js";import{__tla as _a}from"./el-text-cceaf178.js";import{__tla as sa}from"./IFrame-f47bddea.js";import{__tla as ma}from"./vuedraggable.umd-ff291baa.js";import{__tla as ua}from"./el-collapse-item-2a674d59.js";import{__tla as da}from"./el-image-afb9e567.js";import{__tla as pa}from"./spu-402402f7.js";import{__tla as na}from"./SpuTableSelect-9edb3132.js";import{__tla as ca}from"./ContentWrap-1ba5c8ca.js";import{__tla as ia}from"./ContentWrap.vue_vue_type_script_setup_true_lang-68bb15fa.js";import{__tla as fa}from"./index-a786614b.js";import{__tla as ha}from"./index-e37504b6.js";import{__tla as ya}from"./el-tree-select-23e10a37.js";import"./tree-0af4953a.js";import{__tla as Va}from"./category-d8fb78d9.js";let b,ba=Promise.all([(()=>{try{return C}catch{}})(),(()=>{try{return H}catch{}})(),(()=>{try{return K}catch{}})(),(()=>{try{return N}catch{}})(),(()=>{try{return X}catch{}})(),(()=>{try{return Z}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{}})(),(()=>{try{return ya}catch{}})(),(()=>{try{return Va}catch{}})()]).then(async()=>{let n,c;n={class:"flex gap-8px"},c={class:"flex gap-8px"},b=G(B({name:"ProductListProperty",__name:"property",props:{modelValue:{type:Object,required:!0}},emits:["update:modelValue"],setup(w,{emit:g}){const x=w,U=g,{formData:t}=Y(x.modelValue,U);return(wa,l)=>{const s=Q,m=L,u=k,d=q,v=S,_=A,i=M,f=O,z=W,R=J,p=$,D=F,P=T;return h(),y(P,{modelValue:e(t).style,"onUpdate:modelValue":l[11]||(l[11]=o=>e(t).style=o)},{default:r(()=>[a(D,{"label-width":"80px",model:e(t)},{default:r(()=>[a(s,{header:"\u5546\u54C1\u5217\u8868",class:"property-group",shadow:"never"},{default:r(()=>[a(j,{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(v,{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(z,{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(R,{modelValue:e(t).badge.imgUrl,"onUpdate:modelValue":l[7]||(l[7]=o=>e(t).badge.imgUrl=o),height:"44px",width:"72px"},{tip:r(()=>[E(" \u5EFA\u8BAE\u5C3A\u5BF8\uFF1A36 * 22 ")]),_:1},8,["modelValue"])]),_:1})):I("",!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"])}}}),[["__file","D:/zx/mall-newfeifan-zx-admin/src/components/DiyEditor/components/mobile/ProductList/property.vue"]])});export{ba as __tla,b as default};