2026-03-15 17:05:46 +08:00
|
|
|
import{bY as B,au as m,c9 as s,cc as k,ax as b,ce as r,an as V,cd as n,aM as x,bW as v,bD as c,c3 as g}from"./bootstrap-DwKkJn_4.js";import{m as C,ab as y,b2 as p,bJ as d,j as o,u as e,ce as I,ae as i,ac as R,ai as f,ad as P,I as T}from"../jse/index-index-BpFlhWxK.js";import{_ as E}from"./showcase.vue_vue_type_script_setup_true_lang-CuEEvpmC.js";import u from"./index-DSh5I_y8.js";import"./vuedraggable.umd-BOjC35qW.js";import"./index-UzZwidDG.js";/* empty css *//* empty css */import{_ as N}from"./component-container-property.vue_vue_type_script_setup_true_lang-DZr0X2Sz.js";import"./index-DzQd0hzL.js";import"./index-C4C0TKRB.js";import"./combinationActivity-DQaIZP88.js";import"./table-select.vue_vue_type_script_setup_true_lang-CmzZxxwR.js";import"./vxe-table-6CfoyTeh.js";import"./dict-tag.vue_vue_type_script_setup_true_lang-B_4EcSf0.js";import"./index-DNgka44R.js";import"./dict-enum-CaHgMaDZ.js";import"./use-vxe-grid-DbJDMsHn.js";import"./use-modal-D3K6QxxX.js";import"./x-BBEQBGJU.js";/* empty css */import"./index-C2Ly4ydS.js";const _={class:"flex gap-2"},z={class:"flex gap-2"},F={class:"flex gap-2"},S={class:"flex gap-2"},$={class:"flex gap-2"},h={class:"flex gap-2"},ie=C({name:"PromotionCombinationProperty",__name:"property",props:{modelValue:{}},emits:["update:modelValue"],setup(w,{emit:U}){const t=I(w,"modelValue",U);return(j,l)=>(p(),y(N,{modelValue:e(t).style,"onUpdate:modelValue":l[24]||(l[24]=a=>e(t).style=a)},{default:d(()=>[o(e(B),{"label-col":{span:6},"wrapper-col":{span:18},model:e(t)},{default:d(()=>[o(e(m),{title:"拼团活动",class:"property-group",bordered:!1},{default:d(()=>[o(e(E),{modelValue:e(t).activityIds,"onUpdate:modelValue":l[0]||(l[0]=a=>e(t).activityIds=a)},null,8,["modelValue"])]),_:1}),o(e(m),{title:"商品样式",class:"property-group",bordered:!1},{default:d(()=>[o(e(s),{label:"布局",name:"type"},{default:d(()=>[o(e(k),{value:e(t).layoutType,"onUpdate:value":l[1]||(l[1]=a=>e(t).layoutType=a)},{default:d(()=>[o(e(b),{title:"单列大图",placement:"bottom"},{default:d(()=>[o(e(r),{value:"oneColBigImg"},{default:d(()=>[o(e(V),{icon:"fluent:text-column-one-24-filled",class:"size-6"})]),_:1})]),_:1}),o(e(b),{title:"单列小图",placement:"bottom"},{default:d(()=>[o(e(r),{value:"oneColSmallImg"},{default:d(()=>[o(e(V),{icon:"fluent:text-column-two-left-24-filled",class:"size-6"})]),_:1})]),_:1}),o(e(b),{title:"双列",placement:"bottom"},{default:d(()=>[o(e(r),{value:"twoCol"},{default:d(()=>[o(e(V),{icon:"fluent:text-column-two-24-filled",class:"size-6"})]),_:1})]),_:1})]),_:1},8,["value"])]),_:1}),o(e(s),{label:"商品名称",name:"fields.name.show"},{default:d(()=>[i("div",_,[o(e(u),{modelValue:e(t).fields.name.color,"onUpdate:modelValue":l[2]||(l[2]=a=>e(t).fields.name.color=a)},null,8,["modelValue"]),o(e(n),{checked:e(t).fields.name.show,"onUpdate:checked":l[3]||(l[3]=a=>e(t).fields.name.show=a)},null,8,["checked"])])]),_:1}),o(e(s),{label:"商品简介",name:"fields.introduction.show"},{default:d(()=>[i("div",z,[o(e(u),{modelValue:e(t).fields.introduction.color,"onUpdate:modelValue":l[4]||(l[4]=a=>e(t).fields.introduction.color=a)},null,8,["modelValue"]),o(e(n),{checked:e(t).fields.introduction.show,"onUpdate:checked":l[5]||(l[5]=a=>e(t).fields.introduction.show=a)},null,8,["checked"])])]),_:1}),o(e(s),{label:"商品价格",name:"fields.price.show"},{default:d(()=>[i("div",F,[o(e(u),{modelValue:e(t).fields.price.color,"onUpdate:modelValue":l[6]||(l[6]=a=>e(t).fields.price.color=a)},null,8,["modelValue"]),o(e(n),{checked:e(t).fields.price.show,"onUpdate:checked":l[7]||(l[7]=a=>e(t).fields.price.show=a)},null,8,["checked"])])]),_:1}),o(e(s),{label:"市场价",name:"fields.marketPrice.show"},{default:d(()=>[i("div",S,[o(e(u),{modelValue:e(t).fields.marketPrice.color,"onUpdate:modelValue":l[8]||(l[8]=a=>e(t).fields.marketPrice.color=a)},null,8,["modelValue"]),o(e(n),{checked:e(t).fields.marketPric
|