2025/2/8第一次更新

This commit is contained in:
爱吃咸鱼小猫咪
2025-02-08 18:50:38 +08:00
commit d7af560866
26519 changed files with 5046029 additions and 0 deletions
+50
View File
@@ -0,0 +1,50 @@
import '@dcloudio/types'
declare global {
namespace UniNamespace {
export interface GetMenuButtonBoundingClientRectRes {
/**
* 小程序胶囊菜单按钮的宽度
*/
width: number
/**
* 小程序胶囊菜单按钮的高度
*/
height: number
/**
* 小程序胶囊菜单按钮的上边界坐标
*/
top: number
/**
* 小程序胶囊菜单按钮的右边界坐标
*/
right: number
/**
* 小程序胶囊菜单按钮的下边界坐标
*/
bottom: number
/**
* 小程序胶囊菜单按钮的左边界坐标
*/
left: number
/**
* 自定义按钮左边界坐标,单位 px,以屏幕左上角为原点
*/
optionMenuLeft: number
}
}
}
interface wx {
requirePrivacyAuthorize: ({
success,
fail,
complete,
}: {
success: () => void
fail: () => void
complete: () => void
}) => void
}
export {}