浏览代码

fix:360修改

master
燕鹏 3 年前
父节点
当前提交
dcbed0aa58
  1. 2
      controllers/BlogController.go
  2. 1
      views/T.header.tpl
  3. 7
      views/blog.html
  4. 6
      views/blogs.html
  5. 33
      views/index.html
  6. 16
      views/login.html

2
controllers/BlogController.go

@ -163,7 +163,7 @@ func (this *BlogController) Get() {
userService.CountBrows(blog.UserId)
blogService.EditBlogBrows(id)
}
//utils.PostDataZZ(id)
utils.PostDataZZ(id)
return
}

1
views/T.header.tpl

@ -19,5 +19,4 @@
<script type="text/javascript" src="https://cdn.bootcss.com/jquery/3.4.0/jquery.min.js"></script>
<!-- <script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-5305532197406602" crossorigin="anonymous"></script> -->
<!-- <script type="text/javascript" src="//cpro.baidustatic.com/cpro/ui/cm.js" async="async" defer="defer" ></script> -->
<script type="text/javascript" src="/static/js/seo.js"></script>
{{end}}

7
views/blog.html

@ -79,7 +79,6 @@
lang: "zh-cn"
});
</script>
<script>
hljs.initHighlightingOnLoad();
@ -87,5 +86,11 @@
})
</script>
<script>
(function(){
var src = "https://s.ssl.qhres2.com/ssl/ab77b6ea7f3fbf79.js";
document.write('<script src="' + src + '" id="sozz"><\/script>');
})();
</script>
</body>
</html>

6
views/blogs.html

@ -88,6 +88,12 @@
{{template "footer"}}
</div>
</div>
<script>
(function(){
var src = "https://s.ssl.qhres2.com/ssl/ab77b6ea7f3fbf79.js";
document.write('<script src="' + src + '" id="sozz"><\/script>');
})();
</script>
</body>
<script>
var app = new Vue({

33
views/index.html

@ -30,7 +30,12 @@
{{template "footer"}}
</div>
</div>
<script>
(function(){
var src = "https://s.ssl.qhres2.com/ssl/ab77b6ea7f3fbf79.js";
document.write('<script src="' + src + '" id="sozz"><\/script>');
})();
</script>
</body>
<script>
var app = new Vue({
@ -40,30 +45,4 @@
}
})
</script>
<script>
$(function () {
/*百度收录*/
var bp = document.createElement('script');
var curProtocol = window.location.protocol.split(':')[0];
if (curProtocol === 'https') {
bp.src = 'https://zz.bdstatic.com/linksubmit/push.js';
} else {
bp.src = 'http://push.zhanzhang.baidu.com/push.js';
}
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(bp, s);
/*360收录*/
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);
})
</script>
</html>

16
views/login.html

@ -27,11 +27,6 @@
gl_PointSize = scale * ( 300.0 / - mvPosition.z );
gl_Position = projectionMatrix * mvPosition;
}
</script>
<script type="x-shader/x-fragment" id="fragmentshader">
uniform vec3 color;
@ -39,11 +34,6 @@
if ( length( gl_PointCoord - vec2( 0.5, 0.5 ) ) > 0.475 ) discard;
gl_FragColor = vec4( color, 1.0 );
}
</script>
<div id="threeContainer" class="threeContainer" ref="threeContainer"></div>
<div class="login-form" :style="mstyle">
@ -75,6 +65,12 @@
</div>
</div>
</div>
<script>
(function(){
var src = "https://s.ssl.qhres2.com/ssl/ab77b6ea7f3fbf79.js";
document.write('<script src="' + src + '" id="sozz"><\/script>');
})();
</script>
</body>
<script>
var windowHalfX = 0

正在加载...
取消
保存