?re: dataRes.signature, }); } } }); wx.ready(function () { var title = document.title; var myurl = location.href.split('#')[0]; var defaultImg = 'https://bbs.txwb.com/uc_server/data/avatar/000/07/57/03_avatar_small.jpg'; var img = $("body img"); var imgUrl = img.length >= 3 ? img[2].src : defaultImg; var desc = getDesc(); if (!desc || desc == "") { desc = ")Y NQ'T/fgegCgZvQ'T7bz,:NQ'TN;NTvsQNXTcOQ'TTQTvb/g,Q'TTv,~%?{t,Q'T|~,evQ'T,;Nu?Q'Tq_Ɖ,6e9?Q'ToN,NSQ'T[WNAm gR:N;NvL?N,{Nz"; } //RN~ gS wx.updateAppMessageShareData({ title: title, // RNh desc: desc, // RNc link: myurl + '?from=wxh5Share', // RNc imgUrl: imgUrl, // RNVh type: 'link', // RN{|W,music0videoblink NkX؞:Nlink success: function (res) { // (u7bnxRNTgbLvVQpe console.log("res", res); }, cancel: function () { // (u7bSmRNTgbLvVQpe } }); wx.updateTimelineShareData({ title: title, // RNh link: myurl + '?from=wxh5Share', // RNc desc: desc, // RNc imgUrl: imgUrl, // RNVh success: function (res) { // (u7bnxRNTgbLvVQpe console.log("res", res); }, cancel: function () { // (u7bSmRNTgbLvVQpe } }); }); wx.error(function (res) { }); } else { //^_OsX;? if (ua.indexOf("miniprogram") != -1 && wx.miniProgram) { wx.miniProgram.getEnv(function (res) { if (res.miniprogram) { // \ z^sX N;? var title = document.title; var desc = getDesc(); if (!desc || desc == "") { desc = ")Y NQ'T/fgegCgZvQ'T7bz,:NQ'TN;NTvsQNXTcOQ'TTQTvb/g,Q'TTv,~%?{t,Q'T|~,evQ'T,;Nu?Q'Tq_Ɖ,6e9?Q'ToN,NSQ'T[WNAm gR:N;NvL?N,{Nz"; } console.log("postMessage",title); console.log("postMessage",desc); wx.miniProgram.postMessage({ data: { title: title, desc: desc, } }); } else { //^?\ z^sX N;? } }) } } } }; </script> <!-- --> <SCRIPT language=javascript> /* clean 20220406 */ function showbaiduAd() { BAIDU_CLB_fillSlotAsync("8140808", "baidu_92987"); BAIDU_CLB_fillSlotAsync("79573", "baidu_79573"); } (function () { var activeIndex = getTopMenuActiveIndex(); show_intro_flex('menu_c', 'menu_t', 12, activeIndex + 1, 'menu'); if (ua.match(/MicroMessenger/i) == "micromessenger") { wx.miniProgram.getEnv(function (res) { if (res.miniprogram) { isInMp = true; } else { showbaiduAd(); } }) } else { showbaiduAd(); } })(); </SCRIPT> </body> </html>