property-94b4fe91.js 6.0 KB

1
  1. import{_ as P,__tla as B}from"./ComponentContainerProperty-05f4c99c.js";import{d as D,o as h,x as y,w as r,f as e,a as t,g as V,y as j,a0 as k,j as E,as as H,at as I,ae as q,C as J,a9 as L,cJ as S,cK as K,H as O,_ as X,__tla as A}from"./index-8dc1e40a.js";import{_ as F,__tla as G}from"./UploadImg-c2c75279.js";import{_ as M,__tla as N}from"./index-0f4b3d5e.js";import{E as Q,__tla as W}from"./el-card-18df90f0.js";import{u as Y,__tla as Z}from"./util-6f9e53a1.js";import $,{__tla as ee}from"./SpuShowcase-5e70bdf0.js";import{__tla as ae}from"./index-519182c1.js";import{__tla as te}from"./el-image-viewer-3b8905e6.js";import{__tla as le}from"./useMessage-7a27dd80.js";import"./color-6e929987.js";import{__tla as oe}from"./Dialog-41802231.js";import{__tla as re}from"./Qrcode-b0c88a5f.js";import{__tla as se}from"./el-text-13e93c25.js";import{__tla as ue}from"./IFrame-e28a12d4.js";import{__tla as me}from"./vuedraggable.umd-3e3e7da3.js";import{__tla as _e}from"./el-collapse-item-7e888ef0.js";import{__tla as de}from"./el-image-6a48e9f1.js";import{__tla as pe}from"./spu-559f5d98.js";import{__tla as ne}from"./SpuTableSelect-573b2ba6.js";import{__tla as ce}from"./ContentWrap-0aca5216.js";import{__tla as ie}from"./index-64aeaa78.js";import{__tla as fe}from"./index-803dbf9a.js";import{__tla as he}from"./el-tree-select-d82790d8.js";import"./tree-0af4953a.js";import{__tla as ye}from"./category-e7433506.js";let b,Ve=Promise.all([(()=>{try{return B}catch{}})(),(()=>{try{return A}catch{}})(),(()=>{try{return G}catch{}})(),(()=>{try{return N}catch{}})(),(()=>{try{return W}catch{}})(),(()=>{try{return Z}catch{}})(),(()=>{try{return ee}catch{}})(),(()=>{try{return ae}catch{}})(),(()=>{try{return te}catch{}})(),(()=>{try{return le}catch{}})(),(()=>{try{return oe}catch{}})(),(()=>{try{return re}catch{}})(),(()=>{try{return se}catch{}})(),(()=>{try{return ue}catch{}})(),(()=>{try{return me}catch{}})(),(()=>{try{return _e}catch{}})(),(()=>{try{return de}catch{}})(),(()=>{try{return pe}catch{}})(),(()=>{try{return ne}catch{}})(),(()=>{try{return ce}catch{}})(),(()=>{try{return ie}catch{}})(),(()=>{try{return fe}catch{}})(),(()=>{try{return he}catch{}})(),(()=>{try{return ye}catch{}})()]).then(async()=>{let n,c;n={class:"flex gap-8px"},c={class:"flex gap-8px"},b=X(D({name:"ProductListProperty",__name:"property",props:{modelValue:{type:Object,required:!0}},emits:["update:modelValue"],setup(w,{emit:g}){const U=w,x=g,{formData:a}=Y(U.modelValue,x);return(be,l)=>{const u=Q,m=E,_=H,d=I,v=q,s=J,i=M,f=L,R=S,T=F,p=K,z=O,C=P;return h(),y(C,{modelValue:t(a).style,"onUpdate:modelValue":l[11]||(l[11]=o=>t(a).style=o)},{default:r(()=>[e(z,{"label-width":"80px",model:t(a)},{default:r(()=>[e(u,{header:"\u5546\u54C1\u5217\u8868",class:"property-group",shadow:"never"},{default:r(()=>[e($,{modelValue:t(a).spuIds,"onUpdate:modelValue":l[0]||(l[0]=o=>t(a).spuIds=o)},null,8,["modelValue"])]),_:1}),e(u,{header:"\u5546\u54C1\u6837\u5F0F",class:"property-group",shadow:"never"},{default:r(()=>[e(s,{label:"\u5E03\u5C40",prop:"type"},{default:r(()=>[e(v,{modelValue:t(a).layoutType,"onUpdate:modelValue":l[1]||(l[1]=o=>t(a).layoutType=o)},{default:r(()=>[e(d,{class:"item",content:"\u53CC\u5217",placement:"bottom"},{default:r(()=>[e(_,{label:"twoCol"},{default:r(()=>[e(m,{icon:"fluent:text-column-two-24-filled"})]),_:1})]),_:1}),e(d,{class:"item",content:"\u4E09\u5217",placement:"bottom"},{default:r(()=>[e(_,{label:"threeCol"},{default:r(()=>[e(m,{icon:"fluent:text-column-three-24-filled"})]),_:1})]),_:1}),e(d,{class:"item",content:"\u6C34\u5E73\u6ED1\u52A8",placement:"bottom"},{default:r(()=>[e(_,{label:"horizSwiper"},{default:r(()=>[e(m,{icon:"system-uicons:carousel"})]),_:1})]),_:1})]),_:1},8,["modelValue"])]),_:1}),e(s,{label:"\u5546\u54C1\u540D\u79F0",prop:"fields.name.show"},{default:r(()=>[V("div",n,[e(i,{modelValue:t(a).fields.name.color,"onUpdate:modelValue":l[2]||(l[2]=o=>t(a).fields.name.color=o)},null,8,["modelValue"]),e(f,{modelValue:t(a).fields.name.show,"onUpdate:modelValue":l[3]||(l[3]=o=>t(a).fields.name.show=o)},null,8,["modelValue"])])]),_:1}),e(s,{label:"\u5546\u54C1\u4EF7\u683C",prop:"fields.price.show"},{default:r(()=>[V("div",c,[e(i,{modelValue:t(a).fields.price.color,"onUpdate:modelValue":l[4]||(l[4]=o=>t(a).fields.price.color=o)},null,8,["modelValue"]),e(f,{modelValue:t(a).fields.price.show,"onUpdate:modelValue":l[5]||(l[5]=o=>t(a).fields.price.show=o)},null,8,["modelValue"])])]),_:1})]),_:1}),e(u,{header:"\u89D2\u6807",class:"property-group",shadow:"never"},{default:r(()=>[e(s,{label:"\u89D2\u6807",prop:"badge.show"},{default:r(()=>[e(R,{modelValue:t(a).badge.show,"onUpdate:modelValue":l[6]||(l[6]=o=>t(a).badge.show=o)},null,8,["modelValue"])]),_:1}),t(a).badge.show?(h(),y(s,{key:0,label:"\u89D2\u6807",prop:"badge.imgUrl"},{default:r(()=>[e(T,{modelValue:t(a).badge.imgUrl,"onUpdate:modelValue":l[7]||(l[7]=o=>t(a).badge.imgUrl=o),height:"44px",width:"72px"},{tip:r(()=>[j(" \u5EFA\u8BAE\u5C3A\u5BF8\uFF1A36 * 22 ")]),_:1},8,["modelValue"])]),_:1})):k("",!0)]),_:1}),e(u,{header:"\u5546\u54C1\u6837\u5F0F",class:"property-group",shadow:"never"},{default:r(()=>[e(s,{label:"\u4E0A\u5706\u89D2",prop:"borderRadiusTop"},{default:r(()=>[e(p,{modelValue:t(a).borderRadiusTop,"onUpdate:modelValue":l[8]||(l[8]=o=>t(a).borderRadiusTop=o),max:100,min:0,"show-input":"","input-size":"small","show-input-controls":!1},null,8,["modelValue"])]),_:1}),e(s,{label:"\u4E0B\u5706\u89D2",prop:"borderRadiusBottom"},{default:r(()=>[e(p,{modelValue:t(a).borderRadiusBottom,"onUpdate:modelValue":l[9]||(l[9]=o=>t(a).borderRadiusBottom=o),max:100,min:0,"show-input":"","input-size":"small","show-input-controls":!1},null,8,["modelValue"])]),_:1}),e(s,{label:"\u95F4\u9694",prop:"space"},{default:r(()=>[e(p,{modelValue:t(a).space,"onUpdate:modelValue":l[10]||(l[10]=o=>t(a).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{Ve as __tla,b as default};