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 z,H as A}from"./index-abad4030.js";import{_ as B}from"./index.vue_vue_type_script_setup_true_lang-11fa9aba.js";import{_ as D}from"./index.vue_vue_type_script_setup_true_lang-5ff08c3b.js";import{_ as E}from"./index-0a1d0567.js";import{_ as F}from"./UploadImg-4addd383.js";import{E as G}from"./el-card-ae8ad827.js";import{u as H}from"./util-bca5ebaa.js";import"./el-text-a24fb190.js";import"./vuedraggable.umd-8bfe8b14.js";import"./Dialog-59824a83.js";import"./_plugin-vue_export-helper-1b428a4d.js";import"./AppLinkSelectDialog.vue_vue_type_script_setup_true_lang-6f841dc0.js";import"./ProductCategorySelect.vue_vue_type_script_setup_true_lang-5b9e6589.js";import"./el-tree-select-25ec6c82.js";import"./tree-0af4953a.js";import"./category-608481db.js";import"./SpuTableSelectOne.vue_vue_type_script_setup_true_lang-c285be5c.js";import"./ContentWrap.vue_vue_type_script_setup_true_lang-7f96d0ff.js";import"./index.vue_vue_type_script_setup_true_lang-bec51e2c.js";import"./index-84234f22.js";import"./el-image-56b655c9.js";import"./el-image-viewer-589d6dbb.js";import"./spu-05fe52fb.js";import"./color-6e929987.js";import"./index-b9506fe9.js";import"./useMessage-7954cb2f.js";import"./Qrcode-026af33e.js";import"./IFrame.vue_vue_type_script_setup_true_lang-aad19a9d.js";import"./el-collapse-item-fdec7875.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=z,u=G,U=F,h=E,b=D,g=B,w=A;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};
|