feat: 微客宝H5客户端 - 基础架构+核心页面

This commit is contained in:
li
2026-03-14 19:44:03 +08:00
parent 54d2f617bb
commit 0e974da09c
3738 changed files with 811180 additions and 21 deletions
+13
View File
@@ -0,0 +1,13 @@
import { Ref } from 'vue';
export type ScrollElement = Element | Window;
export declare function getScrollTop(el: ScrollElement): number;
export declare function setScrollTop(el: ScrollElement, value: number): void;
export declare function getRootScrollTop(): number;
export declare function setRootScrollTop(value: number): void;
export declare function getElementTop(el: ScrollElement, scroller?: ScrollElement): number;
export declare function resetScroll(): void;
export declare const stopPropagation: (event: Event) => void;
export declare function preventDefault(event: Event, isStopPropagation?: boolean): void;
export declare function isHidden(elementRef: HTMLElement | Ref<HTMLElement | undefined>): boolean;
export declare const windowWidth: Ref<number, number>, windowHeight: Ref<number, number>;
export declare function getContainingBlock(el: Element): HTMLElement | null;