var share = { share_title: config.share_title ? config.share_title : document.title, share_desc: config.share_desc ? config.share_desc : ' 为进一步彰显宝鸡社会组织时代风采和良好形象,规范对外宣传交流标识,更好塑造宝鸡社会组织品牌,宝', link: 'https://m6979d0ea1c647446.wxvote.pingxuan123.com/page/rule/id/5f50570e2f3aa381.html', imgUrl: config.share_img ? config.url_uploads_path + config.share_img + config.img_tag_share : $('img').eq(0).attr('src') }; wx.config({"appId":"wxb6a454852c62b7e0","timestamp":1715291242,"nonceStr":"267c0bea52db3286b4d95cdbe5280a7d","signature":"0dde5644d89bc277137f38989c5d940031e52984","jsApiList":["onMenuShareTimeline","onMenuShareAppMessage","hideAllNonBaseMenuItem"]}); wx.ready(function () { wx.onMenuShareAppMessage({ title: share.share_title, desc: share.share_desc, link: share.link, imgUrl: share.imgUrl, type: '', dataUrl: '', success: function () { requestUrlBg(config.url_share + '?type=2'); } }); wx.onMenuShareTimeline({ title: share.share_title, link: share.link, imgUrl: share.imgUrl, success: function () { requestUrlBg(config.url_share + '?type=1'); } }); });