?rc="//res.wx.qq.com/open/js/jweixin-1.6.0.js"></script> <script type="text/javascript"> function copyQQ(e) { copyTextNoAlert(e); swal({ title: " Y6RbR", text: "QQSx]~ Y6R0R|4?g", type: "success", confirmButtonColor: "#2B7ACD", confirmButtonText: "nx[", closeOnConfirm: true }); } function copyUrl() { copyPageTitleAndUrlNoAlert(); swal({ title: " Y6RbR", text: "Q@WTh]~ Y6R0R|4?g", type: "success", confirmButtonColor: "#2B7ACD", confirmButtonText: "nx[", closeOnConfirm: true }); } function FontZoom(fsize) { var ctext = document.getElementById("fontzoom"); ctext.style.fontSize = fsize + "px"; } window.onload = function () { if (typeof st_onload != 'undefined') { st_onload(); } var matchStr = window.location.href; var reURL = /^(https):\/\/.+$/; console.log("matchStr", matchStr); if (!reURL.test(matchStr) && matchStr.indexOf("login.") == -1) { matchStr = matchStr.replace("http://txwb.com", "https://www.txwb.com"); matchStr = matchStr.replace("http://", "https://"); console.log("matchStr2", matchStr); window.location.href = matchStr; } if (typeof jQuery != 'undefined') { $(".gotop-mobile").click(function () { $('html,body').animate({ 'scrollTop': 0 }, 500); }); $("#loading").click(function () { $('#loading').css('display', 'none'); }); $('#hotsearch a,.show_page a,.post-copyright a,#searchboxa').click(function () { var href = $(this).attr('href'); if (!href || /^(javascript:)|#/.test(href)) return; window.location.href = href; loading(); return false; }); function loading() { $('#loading').css('display', 'flex'); setTimeout(function () { $('#loading').css('display', 'none'); }, 5000); return false; } var url = location.href.split('#')[0]; setTimeout(function () { $.ajax({ url: "//bbs.txwb.com/wmapi/homeToBaidu.php", data: { "url": url }, type: 'POST', dataType: "json", timeout: 5000, error: function (XMLHttpRequest, textStatus, errorThrown) { if (textStatus == "timeout") { // Ble } else { } }, success: function (data) { } }); }, 2000); var ua = window.navigator.userAgent.toLowerCase(); if (ua.match(/MicroMessenger/i) == 'micromessenger') { // $Re/f&T/f_OsX $.ajax({ url: "//bbs.txwb.com/wmapi/wxShare.php", data: { "url": url }, type: 'POST', dataType: "json", timeout: 5000, error: function (XMLHttpRequest, textStatus, errorThrown) { if (textStatus == "timeout") { // Ble } else { } }, success: function (data) { if (data.err_code == 0) { // BlbR const dataRes = data.data; wx.config({ jsApiList: ['updateTimelineShareData', 'updateAppMessageShareData'], debug: false, appId: dataRes.appId, timestamp: dataRes.timestamp, nonceStr: dataRes.nonceStr, signature: dataRes.signature, }); } } }); wx.ready(function () { if (typeof wx.updateAppMessageShareData == 'undefined') return; 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 = title + ",)Y NQ'T/fgegCgZvQ'T7bz,:NQ'TN;NTvsQNXTcOQ'TTQTvsQNNwƋ";//$("#fontzoom").text().replace(/[\r\n]/g,"").replace(/[ ]/g,""); 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) { }); if (wx.miniProgram) { wx.miniProgram.getEnv(function (res) { if (res.miniprogram) { // \ z^sX N;? } else { //^?\ z^sX N;? } }) } } else { //^_OsX;? } } }; </script> <!-- --> <SCRIPT language=javascript> /* clean 20220406 */ (function () { var activeIndex = getTopMenuActiveIndex(); show_intro_flex('menu_c','menu_t',12,activeIndex+1,'menu'); BAIDU_CLB_fillSlotAsync("8140808","baidu_92987"); BAIDU_CLB_fillSlotAsync("79573", "baidu_79573"); })(); </SCRIPT> </body> </html>