.info{
width:100px;
word-break:break-all;
display:-webkit-box;
-webkit-box-orient:vertical;
-webkit-line-colamp:3;
overflow:hidden;
}
button组件设置属性 open-type=“share”
onShareAppMessage: function () {} 事件
<button open-type="share">分享</button>
//转发
onShareAppMessage: function() {
let users = wx.getStorageSync(\'user\');
if (res.from === \'button\') {}
return {
title: \'转发\',
path: \'/pages/index/index\',
success: function(res) {}
}
}
请点赞!因为你的鼓励是我写作的最大动力!
吹逼交流群:711613774
请发表评论