1
0
mirror of https://github.com/ialley-workshop-open/uni-halo.git synced 2026-09-13 00:50:40 +08:00
Files
uni-halo/.agents/skills/uniapp-project/references/api/share.md
T
2026-08-31 07:58:23 +08:00

26 lines
616 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 分享 API
## 概述
分享 API 用于分享内容。
## API 列表
### uni.share
分享内容。
**详细文档**https://uniapp.dcloud.net.cn/api/share/share.html#share
**参数**
- `provider` (String) - 分享服务提供商(weixin、sinaweibo、qq
- `type` (Number) - 分享类型(0-图文、1-纯文字、2-纯图片、3-音乐、4-视频、5-小程序)
- `href` (String) - 分享链接
- `title` (String) - 分享标题
- `summary` (String) - 分享摘要
- `imageUrl` (String) - 分享图片
## 参考资源
- [uni-app 分享文档](https://uniapp.dcloud.net.cn/api/share/share.html)