收藏
回答

How many way to shared miniprogram

How many way to shared in miniprogram  to friend without using button component and use  open-type = 'shared'.

回答关注问题邀请回答
收藏

1 个回答

  • 痛快科技
    痛快科技
    2018-12-10

    top right corner button

    Page({  

    onShareAppMessage: function (res) {    

        if (res.from === 'button') {      

          console.log(res.target)

       }    

        return {      

            title: 'custom title',      

            path: '/page/user?id=123'

       }  } })


    2018-12-10
    有用
    回复 4
    • 2018-12-10

      I know that way. But I want to know can I bind action with othor component , view or image etc.

      2018-12-10
      回复
    • 痛快科技
      痛快科技
      2018-12-10回复

      dont support

      2018-12-10
      回复
    • 2018-12-13回复

      you can set button opcity:0 on othor component 

      2018-12-13
      回复
    • 2018-12-13回复

      It work , Thank you very much

      2018-12-13
      回复
登录 后发表内容