Files
aiot-platform-ui/apps/web-antd/dist/js/property-CyVaipxc.js

2 lines
7.3 KiB
JavaScript
Raw Normal View History

2026-03-08 00:18:15 +08:00
import{bY as B,au as m,c9 as u,cc as y,ax as b,ce as r,an as V,cd as n,aM as x,bW as w,bD as c,c3 as g}from"./bootstrap-D7yvUSkm.js";import{m as C,ab as k,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-BAlyf32H.js";import"./vxe-table-B6xkb-Em.js";import{_ as E}from"./spu-showcase.vue_vue_type_script_setup_true_lang-BrOkBnJy.js";import s from"./index-BkstTSEa.js";import"./vuedraggable.umd-Bghgsm_i.js";import"./index-DGSFefnE.js";/* empty css *//* empty css */import{_ as N}from"./component-container-property.vue_vue_type_script_setup_true_lang-2vU02k_9.js";import"./dict-tag.vue_vue_type_script_setup_true_lang-B4-NPqix.js";import"./index-B_hHEnAD.js";import"./spu-table-select.vue_vue_type_script_setup_true_lang-CvoTWq0J.js";import"./index-DpviAbdi.js";import"./rangePickerProps-B_jPQzKn.js";import"./use-vxe-grid-DxdOmjKl.js";/* empty css */import"./index-YwaEekFV.js";const _={class:"flex gap-2"},h={class:"flex gap-2"},z={class:"flex gap-2"},F={class:"flex gap-2"},S={class:"flex gap-2"},$={class:"flex gap-2"},de=C({name:"ProductCardProperty",__name:"property",props:{modelValue:{}},emits:["update:modelValue"],setup(U,{emit:v}){const t=I(U,"modelValue",v);return(j,l)=>(p(),k(N,{modelValue:e(t).style,"onUpdate:modelValue":l[24]||(l[24]=a=>e(t).style=a)},{default:d(()=>[o(e(B),{model:e(t)},{default:d(()=>[o(e(m),{title:"商品列表",class:"property-group"},{default:d(()=>[o(e(E),{modelValue:e(t).spuIds,"onUpdate:modelValue":l[0]||(l[0]=a=>e(t).spuIds=a)},null,8,["modelValue"])]),_:1}),o(e(m),{title:"商品样式",class:"property-group"},{default:d(()=>[o(e(u),{label:"布局",name:"type"},{default:d(()=>[o(e(y),{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(u),{label:"商品名称",name:"fields.name.show"},{default:d(()=>[i("div",_,[o(e(s),{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(u),{label:"商品简介",name:"fields.introduction.show"},{default:d(()=>[i("div",h,[o(e(s),{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(u),{label:"商品价格",name:"fields.price.show"},{default:d(()=>[i("div",z,[o(e(s),{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(u),{label:"市场价",name:"fields.marketPrice.show"},{default:d(()=>[i("div",F,[o(e(s),{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.marketPrice.show,"onUpdate:checked":l[9]||(l[9]=a=>e(t).fields.marketPrice.show=a)},null,8,["checked"])])]),_:1}),o(e(u),{label:"商品销量",name:"fields.salesCount.show"},{default:d(()=>[i("div",S,[o(e(s),{