wd-gap.js 553 B

1
  1. "use strict";const o=require("../../../../common/vendor.js"),e=o.defineComponent({name:"wd-gap",options:{addGlobalClass:!0,virtualHost:!0,styleIsolation:"shared"},props:o.gapProps,setup(e){const t=e,s=o.computed((()=>{const e={};return o.isDef(t.bgColor)&&(e.background=t.bgColor),o.isDef(t.height)&&(e.height=o.addUnit(t.height)),`${o.objToStyle(e)}${t.customStyle}`}));return(e,t)=>({a:o.n(`wd-gap ${e.safeAreaBottom?"wd-gap--safe":""} ${e.customClass}`),b:o.s(s.value)})}}),t=o._export_sfc(e,[["__scopeId","data-v-a42913e1"]]);wx.createComponent(t);