"use strict"; const common_vendor = require("../../common/vendor.js"); const _sfc_main = { name: "myContainer", data() { return { time: "" }; }, mounted() { }, methods: { //处理滚动 handleScroll() { const time = Date.now(); if (time - this.time > 100) { this.time = time; common_vendor.index.createSelectorQuery().in(this).select(".inner-container").boundingClientRect((rect) => { console.log(rect); }).exec(); } } } }; function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { return {}; } const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render]]); wx.createComponent(Component);