property-c7ac8dca.js 6.0 KB

1
  1. import{_ as B,__tla as D}from"./ComponentContainerProperty-c3248ae9.js";import{d as S,o as h,l as y,w as r,i as a,a as t,g as V,j as k,a2 as C,v as E,az as H,aA as I,ah as L,H as O,ab as q,c2 as A,c3 as K,K as X,_ as F,__tla as G}from"./index-af173888.js";import{_ as J,__tla as M}from"./UploadImg-adf73e38.js";import{_ as N,__tla as Q}from"./index-8aa493e6.js";import{E as W,__tla as Y}from"./el-card-178b9654.js";import{u as Z,__tla as $}from"./util-e4d0e78d.js";import j,{__tla as aa}from"./SpuShowcase-08b584b3.js";import{__tla as ea}from"./index-4db4ba8b.js";import{__tla as ta}from"./el-image-viewer-0d82b94c.js";import{__tla as la}from"./useMessage-170c1b43.js";import"./color-6e929987.js";import{__tla as oa}from"./Dialog-987c90a1.js";import{__tla as ra}from"./Qrcode-a13f7c78.js";import{__tla as _a}from"./el-text-0fe23cf3.js";import{__tla as sa}from"./IFrame-bf46a7c2.js";import{__tla as ua}from"./vuedraggable.umd-09fd9aad.js";import{__tla as ma}from"./el-collapse-item-c60eb47f.js";import{__tla as da}from"./el-image-fdde0035.js";import{__tla as pa}from"./spu-41f2bf16.js";import{__tla as na}from"./SpuTableSelect-13f3c2ad.js";import{__tla as ca}from"./ContentWrap-b959c1be.js";import{__tla as ia}from"./index-a33d7937.js";import{__tla as fa}from"./index-54b8f773.js";import{__tla as ha}from"./el-tree-select-cd58540b.js";import"./tree-02f455f9.js";import{__tla as ya}from"./category-8ca28490.js";let b,Va=Promise.all([(()=>{try{return D}catch{}})(),(()=>{try{return G}catch{}})(),(()=>{try{return M}catch{}})(),(()=>{try{return Q}catch{}})(),(()=>{try{return Y}catch{}})(),(()=>{try{return $}catch{}})(),(()=>{try{return aa}catch{}})(),(()=>{try{return ea}catch{}})(),(()=>{try{return ta}catch{}})(),(()=>{try{return la}catch{}})(),(()=>{try{return oa}catch{}})(),(()=>{try{return ra}catch{}})(),(()=>{try{return _a}catch{}})(),(()=>{try{return sa}catch{}})(),(()=>{try{return ua}catch{}})(),(()=>{try{return ma}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{}})()]).then(async()=>{let n,c;n={class:"flex gap-8px"},c={class:"flex gap-8px"},b=F(S({name:"ProductListProperty",__name:"property",props:{modelValue:{type:Object,required:!0}},emits:["update:modelValue"],setup(w,{emit:g}){const U=w,x=g,{formData:e}=Z(U.modelValue,x);return(ba,l)=>{const s=W,u=E,m=H,d=I,v=L,_=O,i=N,f=q,z=A,R=J,p=K,T=X,P=B;return h(),y(P,{modelValue:t(e).style,"onUpdate:modelValue":l[11]||(l[11]=o=>t(e).style=o)},{default:r(()=>[a(T,{"label-width":"80px",model:t(e)},{default:r(()=>[a(s,{header:"\u5546\u54C1\u5217\u8868",class:"property-group",shadow:"never"},{default:r(()=>[a(j,{modelValue:t(e).spuIds,"onUpdate:modelValue":l[0]||(l[0]=o=>t(e).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:t(e).layoutType,"onUpdate:modelValue":l[1]||(l[1]=o=>t(e).layoutType=o)},{default:r(()=>[a(d,{class:"item",content:"\u53CC\u5217",placement:"bottom"},{default:r(()=>[a(m,{label:"twoCol"},{default:r(()=>[a(u,{icon:"fluent:text-column-two-24-filled"})]),_:1})]),_:1}),a(d,{class:"item",content:"\u4E09\u5217",placement:"bottom"},{default:r(()=>[a(m,{label:"threeCol"},{default:r(()=>[a(u,{icon:"fluent:text-column-three-24-filled"})]),_:1})]),_:1}),a(d,{class:"item",content:"\u6C34\u5E73\u6ED1\u52A8",placement:"bottom"},{default:r(()=>[a(m,{label:"horizSwiper"},{default:r(()=>[a(u,{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:t(e).fields.name.color,"onUpdate:modelValue":l[2]||(l[2]=o=>t(e).fields.name.color=o)},null,8,["modelValue"]),a(f,{modelValue:t(e).fields.name.show,"onUpdate:modelValue":l[3]||(l[3]=o=>t(e).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:t(e).fields.price.color,"onUpdate:modelValue":l[4]||(l[4]=o=>t(e).fields.price.color=o)},null,8,["modelValue"]),a(f,{modelValue:t(e).fields.price.show,"onUpdate:modelValue":l[5]||(l[5]=o=>t(e).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:t(e).badge.show,"onUpdate:modelValue":l[6]||(l[6]=o=>t(e).badge.show=o)},null,8,["modelValue"])]),_:1}),t(e).badge.show?(h(),y(_,{key:0,label:"\u89D2\u6807",prop:"badge.imgUrl"},{default:r(()=>[a(R,{modelValue:t(e).badge.imgUrl,"onUpdate:modelValue":l[7]||(l[7]=o=>t(e).badge.imgUrl=o),height:"44px",width:"72px"},{tip:r(()=>[k(" \u5EFA\u8BAE\u5C3A\u5BF8\uFF1A36 * 22 ")]),_:1},8,["modelValue"])]),_:1})):C("",!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:t(e).borderRadiusTop,"onUpdate:modelValue":l[8]||(l[8]=o=>t(e).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:t(e).borderRadiusBottom,"onUpdate:modelValue":l[9]||(l[9]=o=>t(e).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:t(e).space,"onUpdate:modelValue":l[10]||(l[10]=o=>t(e).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","/Users/RuHu.Xu/Desktop/mall-newfeifan-zx-admin/src/components/DiyEditor/components/mobile/ProductList/property.vue"]])});export{Va as __tla,b as default};