当前位置:网站首页>Uni app wechat applet sharing function
Uni app wechat applet sharing function
2022-06-28 06:06:00 【m0_ sixty-one million seventy-three thousand six hundred and se】
1: The native menu in the upper right corner of the applet has its own share button
2: Or a share button placed on the page <button>
<button class="separate-fl" plain="true" data-name="shareBtn" open-type="share">
<text class="icon-fenxiang iconfont"></text>
<text class="separate-text"> Share </text>
</button>
Both types of sharing trigger onShareAppMessage function , stay js The function is defined in , Set the information shared by the page ,
Be careful : This function and onLoad And so on
Official documents :https://uniapp.dcloud.io/api/plugins/share?id=onshareappmessage
The renderings are as follows :
边栏推荐
- JSP
- Maskrcnn,fast rcnn, faster rcnn优秀视频
- Binder interview: memory management unit
- 不会还有人只会用forEach遍历数组吧?
- Failed to start component [StandardEngine[Catalina].StandardHost[localhost]]
- Oracle condition, circular statement
- 6. graduation design temperature and humidity monitoring system (esp8266 + DHT11 +oled real-time upload temperature and humidity data to the public network server and display the real-time temperature
- AutoCAD C# 多段线自相交检测
- YYGH-6-微信登录
- idea根据数据库表生成实体类
猜你喜欢
ES9023音频解码芯片的工作原理
Sharing tips for efficient scripting
JQ picture amplifier
YYGH-8-预约挂号
Xcode13.3.1 项目执行pod install后报错
Binder interview: memory management unit
6. 毕业设计温湿度监控系统(ESP8266 + DHT11 +OLED 实时上传温湿度数据给公网服务器并在OLED显示屏上显示实时温湿度)
JSP
Slow content advertising: the long-term principle of brand growth
How popular are FB and WhatsApp mass messages in 2022?
随机推荐
Jenkins持续集成1
函数栈帧的创建和销毁
Configure multiple database connections using the SSM framework
【Paper Reading-3D Detection】Fully Convolutional One-Stage 3D Object Detection on LiDAR Range Images
Object object to list collection
移动广告发展动向:撬动存量,精细营销
cocoapod中的第三方库怎么引用本地头文件
YYGH-BUG-02
Install fmpefg
easyui 重置多条件查询
MySQL(二)——基本操作
Data midrange: implementation and summary of AI midrange
Where is the era bonus for developers?
Jenkins continuous integration 1
YYGH-BUG-02
idea创建类时自动添加注释
安装 Ffmpefg
Relevant implementation records of CSI and local disk
Yygh-6-wechat login
What are the advantages of e-mail marketing? Why do sellers of shopline independent station attach so much importance to it?