支付宝兼容矩阵 · 界面
界面
checkIsPictureInPictureActive
unsupported检测是否处于画中画状态。
支付宝目标方法
checkIsPictureInPictureActive
策略说明
- 微信:直连 `wx.checkIsPictureInPictureActive`
- 支付宝:无同等 API,调用时按 unsupported 报错
createAnimation
native支付宝目标方法
createAnimation
策略说明
- 微信:直连 `wx.createAnimation`
- 支付宝:直连 `my.createAnimation`
disableAlertBeforeUnload
native支付宝目标方法
disableAlertBeforeUnload
策略说明
- 微信:直连 `wx.disableAlertBeforeUnload`
- 支付宝:直连 `my.disableAlertBeforeUnload`
enableAlertBeforeUnload
native支付宝目标方法
enableAlertBeforeUnload
策略说明
- 微信:直连 `wx.enableAlertBeforeUnload`
- 支付宝:直连 `my.enableAlertBeforeUnload`
getMenuButtonBoundingClientRect
native支付宝目标方法
getMenuButtonBoundingClientRect
策略说明
- 微信:直连 `wx.getMenuButtonBoundingClientRect`
- 支付宝:直连 `my.getMenuButtonBoundingClientRect`
hideHomeButton
mapped隐藏返回首页按钮。
支付宝目标方法
hideBackHome
策略说明
- 微信:直连 `wx.hideHomeButton`
- 支付宝:映射到 `my.hideBackHome`
hideNavigationBarLoading
native支付宝目标方法
hideNavigationBarLoading
策略说明
- 微信:直连 `wx.hideNavigationBarLoading`
- 支付宝:直连 `my.hideNavigationBarLoading`
hideTabBarRedDot
native支付宝目标方法
hideTabBarRedDot
策略说明
- 微信:直连 `wx.hideTabBarRedDot`
- 支付宝:直连 `my.hideTabBarRedDot`
loadBuiltInFontFace
unsupported加载内置字体。
支付宝目标方法
loadBuiltInFontFace
策略说明
- 微信:直连 `wx.loadBuiltInFontFace`
- 支付宝:无同等 API,调用时按 unsupported 报错
nextTick
unsupported延迟到下一个 UI 更新时机执行回调。
支付宝目标方法
nextTick
策略说明
- 微信:直连 `wx.nextTick`
- 支付宝:无同等 API,调用时按 unsupported 报错
offMenuButtonBoundingClientRectWeightChange
unsupported支付宝目标方法
offMenuButtonBoundingClientRectWeightChange
策略说明
- 微信:直连 `wx.offMenuButtonBoundingClientRectWeightChange`
- 支付宝:未提供 my.offMenuButtonBoundingClientRectWeightChange,调用时将返回 not supported
offParallelStateChange
unsupported支付宝目标方法
offParallelStateChange
策略说明
- 微信:直连 `wx.offParallelStateChange`
- 支付宝:未提供 my.offParallelStateChange,调用时将返回 not supported
offUserOffTranslation
unsupported支付宝目标方法
offUserOffTranslation
策略说明
- 微信:直连 `wx.offUserOffTranslation`
- 支付宝:未提供 my.offUserOffTranslation,调用时将返回 not supported
offUserTriggerTranslation
unsupported支付宝目标方法
offUserTriggerTranslation
策略说明
- 微信:直连 `wx.offUserTriggerTranslation`
- 支付宝:未提供 my.offUserTriggerTranslation,调用时将返回 not supported
offWindowResize
unsupported取消监听窗口尺寸变化事件。
支付宝目标方法
offWindowResize
策略说明
- 微信:直连 `wx.offWindowResize`
- 支付宝:无同等 API,调用时按 unsupported 报错
offWindowStateChange
unsupported支付宝目标方法
offWindowStateChange
策略说明
- 微信:直连 `wx.offWindowStateChange`
- 支付宝:未提供 my.offWindowStateChange,调用时将返回 not supported
onMenuButtonBoundingClientRectWeightChange
unsupported支付宝目标方法
onMenuButtonBoundingClientRectWeightChange
策略说明
- 微信:直连 `wx.onMenuButtonBoundingClientRectWeightChange`
- 支付宝:未提供 my.onMenuButtonBoundingClientRectWeightChange,调用时将返回 not supported
onParallelStateChange
unsupported支付宝目标方法
onParallelStateChange
策略说明
- 微信:直连 `wx.onParallelStateChange`
- 支付宝:未提供 my.onParallelStateChange,调用时将返回 not supported
onUserOffTranslation
unsupported支付宝目标方法
onUserOffTranslation
策略说明
- 微信:直连 `wx.onUserOffTranslation`
- 支付宝:未提供 my.onUserOffTranslation,调用时将返回 not supported
onUserTriggerTranslation
unsupported支付宝目标方法
onUserTriggerTranslation
策略说明
- 微信:直连 `wx.onUserTriggerTranslation`
- 支付宝:未提供 my.onUserTriggerTranslation,调用时将返回 not supported
onWindowResize
unsupported监听窗口尺寸变化事件。
支付宝目标方法
onWindowResize
策略说明
- 微信:直连 `wx.onWindowResize`
- 支付宝:无同等 API,调用时按 unsupported 报错
onWindowStateChange
unsupported支付宝目标方法
onWindowStateChange
策略说明
- 微信:直连 `wx.onWindowStateChange`
- 支付宝:未提供 my.onWindowStateChange,调用时将返回 not supported
removeTabBarBadge
native支付宝目标方法
removeTabBarBadge
策略说明
- 微信:直连 `wx.removeTabBarBadge`
- 支付宝:直连 `my.removeTabBarBadge`
setBackgroundColor
mapped动态设置窗口背景色。
支付宝目标方法
setBackgroundColor
策略说明
- 微信:直连 `wx.setBackgroundColor`
- 支付宝:直连 `my.setBackgroundColor`
setBackgroundTextStyle
mapped动态设置下拉背景字体样式。
支付宝目标方法
setBackgroundTextStyle
策略说明
- 微信:直连 `wx.setBackgroundTextStyle`
- 支付宝:直连 `my.setBackgroundTextStyle`
setNavigationBarColor
native支付宝目标方法
setNavigationBarColor
策略说明
- 微信:直连 `wx.setNavigationBarColor`
- 支付宝:直连 `my.setNavigationBarColor`
setNavigationBarTitle
native支付宝目标方法
setNavigationBarTitle
策略说明
- 微信:直连 `wx.setNavigationBarTitle`
- 支付宝:直连 `my.setNavigationBarTitle`
setTabBarBadge
native支付宝目标方法
setTabBarBadge
策略说明
- 微信:直连 `wx.setTabBarBadge`
- 支付宝:直连 `my.setTabBarBadge`
setTabBarItem
native支付宝目标方法
setTabBarItem
策略说明
- 微信:直连 `wx.setTabBarItem`
- 支付宝:直连 `my.setTabBarItem`
setTabBarStyle
native支付宝目标方法
setTabBarStyle
策略说明
- 微信:直连 `wx.setTabBarStyle`
- 支付宝:直连 `my.setTabBarStyle`
setTopBarText
unsupported设置顶栏文本。
支付宝目标方法
setTopBarText
策略说明
- 微信:直连 `wx.setTopBarText`
- 支付宝:无同等 API,调用时按 unsupported 报错
setWindowSize
unsupported设置窗口尺寸。
支付宝目标方法
setWindowSize
策略说明
- 微信:直连 `wx.setWindowSize`
- 支付宝:无同等 API,调用时按 unsupported 报错
showActionSheet
mapped显示操作菜单。
支付宝目标方法
showActionSheet
策略说明
- 微信:直连 `wx.showActionSheet`
- 支付宝:`itemList` ↔ `items`、`index` ↔ `tapIndex` 双向对齐
showLoading
mapped显示 loading 提示框。
支付宝目标方法
showLoading
策略说明
- 微信:直连 `wx.showLoading`
- 支付宝:`title` 映射到 `content` 后调用 `my.showLoading`
showModal
mapped显示模态弹窗。
支付宝目标方法
confirm
策略说明
- 微信:直连 `wx.showModal`
- 支付宝:调用 `my.confirm` 并对齐按钮字段与 `cancel/content`;`showCancel=false`、`editable` 等场景按 unsupported 报错
showNavigationBarLoading
native支付宝目标方法
showNavigationBarLoading
策略说明
- 微信:直连 `wx.showNavigationBarLoading`
- 支付宝:直连 `my.showNavigationBarLoading`
showTabBarRedDot
native支付宝目标方法
showTabBarRedDot
策略说明
- 微信:直连 `wx.showTabBarRedDot`
- 支付宝:直连 `my.showTabBarRedDot`
showToast
mapped显示消息提示框。
支付宝目标方法
showToast
策略说明
- 微信:直连 `wx.showToast`
- 支付宝:`title/icon` 映射到 `content/type` 后调用 `my.showToast`
startPullDownRefresh
native支付宝目标方法
startPullDownRefresh
策略说明
- 微信:直连 `wx.startPullDownRefresh`
- 支付宝:直连 `my.startPullDownRefresh`
stopPullDownRefresh
native支付宝目标方法
stopPullDownRefresh
策略说明
- 微信:直连 `wx.stopPullDownRefresh`
- 支付宝:直连 `my.stopPullDownRefresh`