19 lines
776 B
JavaScript

"use strict";
const common_vendor = require("../../../common/vendor.js");
const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
__name: "PageBanner",
setup(__props) {
const capsuleRect = common_vendor.ref({});
common_vendor.onShow(() => {
capsuleRect.value = common_vendor.index.getMenuButtonBoundingClientRect();
});
return (_ctx, _cache) => {
return {
a: common_vendor.s(`padding-top:${capsuleRect.value.top + capsuleRect.value.height + 10}px;`)
};
};
}
});
const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-5f35f898"], ["__file", "/Users/zsq/Sources/github/2025property-pay/pay-customer/src/pages/index/components/PageBanner.vue"]]);
wx.createComponent(Component);