当前位置:网站首页>uniapp 分享功能-分享给朋友群聊朋友圈效果(整理)
uniapp 分享功能-分享给朋友群聊朋友圈效果(整理)
2022-08-04 23:15:00 【我是开心呀】
效果图:
<template>
<button class="buttonBox posAbsolute" open-type="share">分享按钮</button>
</template>
wx.showShareMenu({
menus: ['shareAppMessage', 'shareTimeline']
});
//转发给朋友
onShareAppMessage(res) {
return {
title: "分享标题",
path: "这是打开后的跳转路径", //这是打开后的跳转路径
imageUrl: "分享图片"
}
},
//转发朋友圈
onShareTimeline(res) {
return {
title: "分享标题",
path: "这是打开后的跳转路径", //这是打开后的跳转路径
imageUrl: "分享图片"
}
},
边栏推荐
- To Offer | 03. Repeat Numbers in the array
- 养殖虚拟仿真软件提供高沉浸式的虚拟场景互动操作体验学习
- 【字符串函数内功修炼】strlen + strstr + strtok + strerror(三)
- 社区分享|腾讯海外游戏基于JumpServer构建游戏安全运营能力
- 【3D建模制作技巧分享】如何使用ZBrush导出效果图
- 质量管理大师爱德华·戴明博士经典的质量管理14条原则
- Vscode连接远程服务器(一套配置成功)
- 基于内容的图像检索系统设计与实现--颜色信息--纹理信息--形状信息--PHASH--SHFT特征点的综合检测项目,包含简易版与完整版的源码及数据!
- Both synchronized and ReentrantLock are smooth, because they are reentrant locks, and a thread will not deadlock if it takes the lock multiple times. We need reentrant locks
- the warmest home
猜你喜欢

一点点读懂cpufreq(一)
![[Cultivation of internal skills of string functions] strcpy + strcat + strcmp (1)](/img/b6/5a1c8b675dc7f67f359c25908403e1.png)
[Cultivation of internal skills of string functions] strcpy + strcat + strcmp (1)

If you can't get your heart, use "distributed lock" to lock your people
![[Paper Notes KDD2021] MixGCF: An Improved Training Method for Graph Neural Network-based Recommender Systems](/img/21/594260a3b98c73916ebc535d0f81e4.png)
[Paper Notes KDD2021] MixGCF: An Improved Training Method for Graph Neural Network-based Recommender Systems

407. 接雨水 II
![[Cultivation of internal skills of string functions] strlen + strstr + strtok + strerror (3)](/img/96/946bbef52bd017ac6142c6b7485a86.png)
[Cultivation of internal skills of string functions] strlen + strstr + strtok + strerror (3)

xss总结

「津津乐道播客」#397 厂长来了:怎样用科技给法律赋能?

【3D建模制作技巧分享】如何使用ZBrush导出效果图

Pytest学习-Fixture
随机推荐
功耗控制之DVFS介绍
【游戏建模模型制作全流程】ZBrush蜥蜴模型雕刻教程
吐槽 | 参加IT培训的正确姿势
FinClip崁入式搭建生态平台,降低合作门槛
一点点读懂thermal(一)
使用代理对象执行实现类目标方法异常
npm基本操作及命令详解
[Cultivation of internal skills of string functions] strlen + strstr + strtok + strerror (3)
node中package解析、npm 命令行npm详解,node中的common模块化,npm、nrm两种方式查看源和切换镜像
@Import注解的作用以及如何使用
【3D建模制作技巧分享】ZBrush模型制作流程:地精
文章占位 文章占位
C语言实现扫雷 附带源代码
MySQL的安装与卸载
【3D建模制作技巧分享】ZBrush模型如何添加不同材质
[Paper Notes KDD2021] MixGCF: An Improved Training Method for Graph Neural Network-based Recommender Systems
【云原生 · Kubernetes】Kubernetes运维
If you can't get your heart, use "distributed lock" to lock your people
[Cultivation of internal skills of string functions] strcpy + strcat + strcmp (1)
Pytest learning - fixtures