From 3d914fdf96f67877587609af5e94b2cfb5237a1d Mon Sep 17 00:00:00 2001 From: wanganxp Date: Thu, 29 Aug 2019 03:28:44 +0800 Subject: [PATCH] Update sport.md --- docs/api/other/sport.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/docs/api/other/sport.md b/docs/api/other/sport.md index 571f55f6b..7ffa3d27a 100644 --- a/docs/api/other/sport.md +++ b/docs/api/other/sport.md @@ -1,9 +1,9 @@ -#### sport 运动 - +#### sport 运动 + 此功能为计步器,用于获取手机用户的运动步数。 -仅微信小程序平台、App平台支持,各平台开发方式暂未统一,使用时需注意用[条件编译](https://uniapp.dcloud.io/platform)调用不同平台的代码。 - -- 微信小程序平台:[规范详情](https://developers.weixin.qq.com/miniprogram/dev/api/open-api/werun/wx.getWeRunData.html) - -- App 平台:需使用原生插件,详见[计步器插件](https://ext.dcloud.net.cn/search?q=%E8%AE%A1%E6%AD%A5%E5%99%A8) \ No newline at end of file +各平台开发方式暂未统一,使用时需注意用[条件编译](https://uniapp.dcloud.io/platform)调用不同平台的代码。 + +- App 平台:需使用原生插件,详见[计步器插件](https://ext.dcloud.net.cn/search?q=%E8%AE%A1%E6%AD%A5%E5%99%A8) +- 微信小程序平台:[规范详情](https://developers.weixin.qq.com/miniprogram/dev/api/open-api/werun/wx.getWeRunData.html) +- 支付宝小程序平台:[规范详情](https://docs.alipay.com/mini/api/gxuu7v) -- GitLab