Use Baidu to share, how to use it in the list page?

  node.js, question

On a list page, I need Baidu’s sharing interface to share each piece of information separately, but I always use Baidu’s sharing custom interface to share web pages. How do I do this?图片描述

var shareurl = "";
 var sharedesc="";
 var sharepic="";
 var sharetitle="";
 $(".bdsharebuttonbox a").mouseover(function () {
 shareurl = $(this).parents(".bdsharebuttonbox").attr("data-url");
 sharedesc=$(this).parents(".bdsharebuttonbox").attr("data-desc");
 sharepic=$(this).parents(".bdsharebuttonbox").attr("data-pic");
 sharetitle=$(this).parents(".bdsharebuttonbox").attr("data-title");
 });
 function SetShare(cmd, config) {
 if (shareurl) {
 config.bdUrl = shareurl;
 bracket
 if(sharedesc){
 config.bdDesc = sharedesc;
 bracket
 if(sharepic){
 config.bdPic = sharepic;
 bracket
 if(sharetitle){
 config.bdText = sharetitle;
 bracket
 return config;
 bracket
 window._bd_share_config = {"common": {onBeforeClick:SetShare,"bdSnsKey":{},"bdMini":"2","bdMiniList":false,"bdStyle":"0","bdSize":"24"}, "share": {}}
 with(document)0[(getElementsByTagName('head')[0]||body).appendChild(createElement('script')).src='http://bdimg.share.baidu.com/static/api/js/share.js?  v=89860593.js?  Cdnversion=' plus-newdate ()/36e5)];

Add corresponding customized links, titles and other information to the bdsharebuttonbox layer.