1 |
- import{_ as I,__tla as P}from"./ComponentContainerProperty-ffae8668.js";import{d as A,r as j,b as q,o as u,C as _,A as r,f as e,a,c as F,F as J,R as K,B as w,D as L,a3 as N,S as O,U as Q,V as W,Q as M,cR as S,bg as G,au as H,ap as X,cJ as Y,cK as Z,W as $,_ as ee,__tla as le}from"./index-f6fb8e95.js";import{_ as ae,__tla as te}from"./UploadImg-76a51b31.js";import{_ as oe,__tla as re}from"./index-5ae0b78a.js";import{E as se,__tla as de}from"./el-card-8db16709.js";import{u as ue,__tla as me}from"./util-46a29ca1.js";import{a as _e,__tla as pe}from"./combinationActivity-b6e847c1.js";import{C as ne}from"./constants-c811e5ff.js";import{__tla as ie}from"./index-b76b57e5.js";import{__tla as ce}from"./el-image-viewer-cfdb08a7.js";import{__tla as fe}from"./useMessage-3b767a67.js";import"./color-6e929987.js";import{__tla as he}from"./Dialog-ac2b0e4e.js";import{__tla as Ve}from"./Qrcode-9eccc632.js";import{__tla as ye}from"./el-text-0047659b.js";import{__tla as be}from"./IFrame-37648fed.js";import{__tla as we}from"./vuedraggable.umd-0f8b81cd.js";import{__tla as ge}from"./el-collapse-item-3814a4ae.js";let g,Ue=Promise.all([(()=>{try{return P}catch{}})(),(()=>{try{return le}catch{}})(),(()=>{try{return te}catch{}})(),(()=>{try{return re}catch{}})(),(()=>{try{return de}catch{}})(),(()=>{try{return me}catch{}})(),(()=>{try{return pe}catch{}})(),(()=>{try{return ie}catch{}})(),(()=>{try{return ce}catch{}})(),(()=>{try{return fe}catch{}})(),(()=>{try{return he}catch{}})(),(()=>{try{return Ve}catch{}})(),(()=>{try{return ye}catch{}})(),(()=>{try{return be}catch{}})(),(()=>{try{return we}catch{}})(),(()=>{try{return ge}catch{}})()]).then(async()=>{let p,n;p={class:"flex gap-8px"},n={class:"flex gap-8px"},g=ee(A({name:"PromotionCombinationProperty",__name:"property",props:{modelValue:{type:Object,required:!0}},emits:["update:modelValue"],setup(U,{emit:x}){const v=U,R=x,{formData:t}=ue(v.modelValue,R),i=j([]);return q(async()=>{const{list:c}=await _e({status:ne.ENABLE});i.value=c}),(c,o)=>{const z=O,B=Q,s=W,d=se,f=M,h=S,V=G,C=H,y=oe,b=X,T=Y,k=ae,m=Z,D=$,E=I;return u(),_(E,{modelValue:a(t).style,"onUpdate:modelValue":o[11]||(o[11]=l=>a(t).style=l)},{default:r(()=>[e(D,{"label-width":"80px",model:a(t)},{default:r(()=>[e(d,{header:"\u62FC\u56E2\u6D3B\u52A8",class:"property-group",shadow:"never"},{default:r(()=>[e(s,{label:"\u62FC\u56E2\u6D3B\u52A8",prop:"activityId"},{default:r(()=>[e(B,{modelValue:a(t).activityId,"onUpdate:modelValue":o[0]||(o[0]=l=>a(t).activityId=l)},{default:r(()=>[(u(!0),F(J,null,K(a(i),l=>(u(),_(z,{key:l.id,label:l.name,value:l.id},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1})]),_:1}),e(d,{header:"\u5546\u54C1\u6837\u5F0F",class:"property-group",shadow:"never"},{default:r(()=>[e(s,{label:"\u5E03\u5C40",prop:"type"},{default:r(()=>[e(C,{modelValue:a(t).layoutType,"onUpdate:modelValue":o[1]||(o[1]=l=>a(t).layoutType=l)},{default:r(()=>[e(V,{class:"item",content:"\u5355\u5217",placement:"bottom"},{default:r(()=>[e(h,{label:"oneCol"},{default:r(()=>[e(f,{icon:"fluent:text-column-one-24-filled"})]),_:1})]),_:1}),e(V,{class:"item",content:"\u4E09\u5217",placement:"bottom"},{default:r(()=>[e(h,{label:"threeCol"},{default:r(()=>[e(f,{icon:"fluent:text-column-three-24-filled"})]),_:1})]),_:1})]),_:1},8,["modelValue"])]),_:1}),e(s,{label:"\u5546\u54C1\u540D\u79F0",prop:"fields.name.show"},{default:r(()=>[w("div",p,[e(y,{modelValue:a(t).fields.name.color,"onUpdate:modelValue":o[2]||(o[2]=l=>a(t).fields.name.color=l)},null,8,["modelValue"]),e(b,{modelValue:a(t).fields.name.show,"onUpdate:modelValue":o[3]||(o[3]=l=>a(t).fields.name.show=l)},null,8,["modelValue"])])]),_:1}),e(s,{label:"\u5546\u54C1\u4EF7\u683C",prop:"fields.price.show"},{default:r(()=>[w("div",n,[e(y,{modelValue:a(t).fields.price.color,"onUpdate:modelValue":o[4]||(o[4]=l=>a(t).fields.price.color=l)},null,8,["modelValue"]),e(b,{modelValue:a(t).fields.price.show,"onUpdate:modelValue":o[5]||(o[5]=l=>a(t).fields.price.show=l)},null,8,["modelValue"])])]),_:1})]),_:1}),e(d,{header:"\u89D2\u6807",class:"property-group",shadow:"never"},{default:r(()=>[e(s,{label:"\u89D2\u6807",prop:"badge.show"},{default:r(()=>[e(T,{modelValue:a(t).badge.show,"onUpdate:modelValue":o[6]||(o[6]=l=>a(t).badge.show=l)},null,8,["modelValue"])]),_:1}),a(t).badge.show?(u(),_(s,{key:0,label:"\u89D2\u6807",prop:"badge.imgUrl"},{default:r(()=>[e(k,{modelValue:a(t).badge.imgUrl,"onUpdate:modelValue":o[7]||(o[7]=l=>a(t).badge.imgUrl=l),height:"44px",width:"72px"},{tip:r(()=>[L(" \u5EFA\u8BAE\u5C3A\u5BF8\uFF1A36 * 22 ")]),_:1},8,["modelValue"])]),_:1})):N("",!0)]),_:1}),e(d,{header:"\u5546\u54C1\u6837\u5F0F",class:"property-group",shadow:"never"},{default:r(()=>[e(s,{label:"\u4E0A\u5706\u89D2",prop:"borderRadiusTop"},{default:r(()=>[e(m,{modelValue:a(t).borderRadiusTop,"onUpdate:modelValue":o[8]||(o[8]=l=>a(t).borderRadiusTop=l),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(m,{modelValue:a(t).borderRadiusBottom,"onUpdate:modelValue":o[9]||(o[9]=l=>a(t).borderRadiusBottom=l),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(m,{modelValue:a(t).space,"onUpdate:modelValue":o[10]||(o[10]=l=>a(t).space=l),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/PromotionCombination/property.vue"]])});export{Ue as __tla,g as default};
|