xuzhengzong

1、效果:

 

 

2、.js代码:

page({

  /**
   * 用户点击分享按钮或右上角分享
   */
  onShareAppMessage: function (res) {
    var that = this;
    return {
      title: that.data.common.act_name,
      desc: that.data.common.introduction,
      path: \'/pages/xiangqing/xiangqing?id=\'+that.data.id,
      success: function (res) {
        // 转发成功
      },
      fail: function (res) {
        // 转发失败
      }
    }
  }

})

 

分类:

技术点:

相关文章:

  • 2021-07-18
  • 2021-08-16
  • 2021-10-22
  • 2022-12-23
  • 2021-09-15
  • 2021-12-01
  • 2021-10-07
猜你喜欢
  • 2021-11-18
  • 2021-06-23
  • 2022-12-23
  • 2021-10-09
  • 2018-07-02
相关资源
相似解决方案