Micro letter forwarding applet event

And the life cycle is the same level, which is set in the .js file

//     share button 
onShareAppMessage: function () {
     return {
      title: ' distal pseudo uncle ' ,
      path: "/pages/list/list",
      imageUrl: "https://ss0.bdstatic.com/70cFvHSh_Q1YnxGkpoWK1HF6hhy/it/u=2854956166,1658664264&fm=26&gp=0.jpg"
    }
  }

Click the button to share

//     need to add open-type property; 
<the Button open-type = " report this content share " > Click Share </ button>

onShareAppMessage: function () {
      return {
        title: ' distal pseudo uncle ' ,
        path: "/pages/list/list",
        imageUrl: "https://ss0.bdstatic.com/70cFvHSh_Q1YnxGkpoWK1HF6hhy/it/u=2854956166,1658664264&fm=26&gp=0.jpg"
      }
    }

Like a small partner can focus on the micro-channel public number is "front-end pseudo-uncle."

 

Guess you like

Origin www.cnblogs.com/qdwds/p/11707065.html