Kaynağa Gözat

博客自动收录

layui
mail_yanpeng@163.com 6 yıl önce
ebeveyn
işleme
192d788faf
  1. 14
      views/blog.html

14
views/blog.html

@ -134,7 +134,7 @@
}
}, 'json')
})
debugger
/*百度收录*/
var bp = document.createElement('script');
var curProtocol = window.location.protocol.split(':')[0];
@ -148,8 +148,16 @@
s.parentNode.insertBefore(bp, s);
/*360收录*/
// var src = (document.location.protocol == "http:") ? "http://js.passport.qihucdn.com/11.0.1.js?d33b14200fa89b7ecd3780341cd234c4":"https://jspassport.ssl.qhimg.com/11.0.1.js?d33b14200fa89b7ecd3780341cd234c4";
// document.write('<script src="' + src + '" id="sozz"><\/script>');
var qihuo = document.createElement('script');
if (curProtocol === 'https') {
qihuo.src = 'https://jspassport.ssl.qhimg.com/11.0.1.js?d33b14200fa89b7ecd3780341cd234c';
}
else {
qihuo.src = 'http://js.passport.qihucdn.com/11.0.1.js?d33b14200fa89b7ecd3780341cd234c4';
}
qihuo.id = "sozz"
var s = document.getElementsByTagName("script")[1];
s.parentNode.insertBefore(qihuo, s);
})
function recomm(pid, flag) {
layer.prompt({title: '请输入评论内容', value: name, formType: 2}, function (val, index) {

Yükleniyor…
İptal
Kaydet