property-a41ecb80.js 3.3 KB

1
  1. import{d as y,o as v,j as C,w as l,i as o,a as m,m as s,ag as T,ah as $,G as j,cX as D,H as z}from"./index-92f7a16c.js";import{_ as A}from"./index.vue_vue_type_script_setup_true_lang-b63f41bc.js";import{_ as B}from"./index.vue_vue_type_script_setup_true_lang-1377d251.js";import{_ as E}from"./index-dfca06dc.js";import{_ as F}from"./UploadImg-7f651e4b.js";import{E as G}from"./el-card-e60c275e.js";import{u as H}from"./util-77619550.js";import"./el-text-79d6dacd.js";import"./vuedraggable.umd-24d8b17d.js";import"./Dialog-524c7d28.js";import"./_plugin-vue_export-helper-1b428a4d.js";import"./AppLinkSelectDialog.vue_vue_type_script_setup_true_lang-af47b048.js";import"./ProductCategorySelect.vue_vue_type_script_setup_true_lang-d1b07927.js";import"./el-tree-select-4c0548d3.js";import"./tree-0af4953a.js";import"./category-8e584cf1.js";import"./SpuTableSelectOne.vue_vue_type_script_setup_true_lang-8916c602.js";import"./ContentWrap.vue_vue_type_script_setup_true_lang-93cdc892.js";import"./index.vue_vue_type_script_setup_true_lang-059ec67a.js";import"./index-579dde8f.js";import"./el-image-b5c91f66.js";import"./el-image-viewer-668f12f8.js";import"./spu-7bbcf2cd.js";import"./color-6e929987.js";import"./index-53ab5084.js";import"./useMessage-f6048a9f.js";import"./Qrcode-386ef4c1.js";import"./IFrame.vue_vue_type_script_setup_true_lang-9e7d9512.js";import"./el-collapse-item-8326507b.js";const P=y({name:"FloatingActionButtonProperty",__name:"property",props:{modelValue:{}},emits:["update:modelValue"],setup(n,{emit:V}){const _=n,c=V,{formData:a}=H(_.modelValue,c);return(S,t)=>{const i=T,f=$,p=j,x=D,u=G,U=F,h=E,b=B,g=A,w=z;return v(),C(w,{"label-width":"80px",model:m(a)},{default:l(()=>[o(u,{header:"\u6309\u94AE\u914D\u7F6E",class:"property-group",shadow:"never"},{default:l(()=>[o(p,{label:"\u5C55\u5F00\u65B9\u5411",prop:"direction"},{default:l(()=>[o(f,{modelValue:m(a).direction,"onUpdate:modelValue":t[0]||(t[0]=e=>m(a).direction=e)},{default:l(()=>[o(i,{label:"vertical"},{default:l(()=>t[3]||(t[3]=[s("\u5782\u76F4")])),_:1}),o(i,{label:"horizontal"},{default:l(()=>t[4]||(t[4]=[s("\u6C34\u5E73")])),_:1})]),_:1},8,["modelValue"])]),_:1}),o(p,{label:"\u663E\u793A\u6587\u5B57",prop:"showText"},{default:l(()=>[o(x,{modelValue:m(a).showText,"onUpdate:modelValue":t[1]||(t[1]=e=>m(a).showText=e)},null,8,["modelValue"])]),_:1})]),_:1}),o(u,{header:"\u6309\u94AE\u5217\u8868",class:"property-group",shadow:"never"},{default:l(()=>[o(g,{modelValue:m(a).list,"onUpdate:modelValue":t[2]||(t[2]=e=>m(a).list=e),"empty-item":{textColor:"#fff"}},{default:l(({element:e,index:d})=>[o(p,{label:"\u56FE\u6807",prop:`list[${d}].imgUrl`},{default:l(()=>[o(U,{modelValue:e.imgUrl,"onUpdate:modelValue":r=>e.imgUrl=r,height:"56px",width:"56px"},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1032,["prop"]),o(p,{label:"\u6587\u5B57",prop:`list[${d}].text`},{default:l(()=>[o(h,{modelValue:e.text,"onUpdate:modelValue":r=>e.text=r,color:e.textColor,"onUpdate:color":r=>e.textColor=r},null,8,["modelValue","onUpdate:modelValue","color","onUpdate:color"])]),_:2},1032,["prop"]),o(p,{label:"\u8DF3\u8F6C\u94FE\u63A5",prop:`list[${d}].url`},{default:l(()=>[o(b,{modelValue:e.url,"onUpdate:modelValue":r=>e.url=r},null,8,["modelValue","onUpdate:modelValue"])]),_:2},1032,["prop"])]),_:1},8,["modelValue"])]),_:1})]),_:1},8,["model"])}}});export{P as default};