|
...
|
...
|
@@ -40,7 +40,6 @@ |
|
|
|
<ul>
|
|
|
|
<li class="author-icon">{$info.username}</li>
|
|
|
|
<li class="tag-icon"><a href="{$info.fromlink}" target="_blank">{$info.copyfrom}</a></li>
|
|
|
|
<li class="comment-icon"><a href="#SOHUCS"><b id="changyan_count_unit"></b> 评论</a></li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
<div class="post-content">
|
|
...
|
...
|
@@ -54,18 +53,9 @@ |
|
|
|
<!-- 代码2:用来读取评论框配置,此代码需放置在代码1之后。 -->
|
|
|
|
<!-- 如果当前页面有评论框,代码2请勿放置在评论框代码之前。 -->
|
|
|
|
<!-- 如果页面同时使用多个实验室项目,以下代码只需要引入一次,只配置上面的div标签即可 -->
|
|
|
|
<script type="text/javascript" charset="utf-8" src="https://changyan.itc.cn/js/lib/jquery.js"></script>
|
|
|
|
<script type="text/javascript" charset="utf-8" src="https://changyan.sohu.com/js/changyan.labs.https.js?appid=cytu7fNxW"></script>
|
|
|
|
<script type="text/javascript" charset="utf-8" src="https://cy-cdn.kuaizhan.com/js/changyan.labs.https.js?appid=cyv9A8z4m"></script>
|
|
|
|
</div >
|
|
|
|
|
|
|
|
<div class="fly-panel detail-box" id="flyReply">
|
|
|
|
<fieldset class="layui-elem-field layui-field-title" style="text-align: center;">
|
|
|
|
<legend>评论</legend>
|
|
|
|
</fieldset>
|
|
|
|
<!--PC和WAP自适应版-->
|
|
|
|
<div id="SOHUCS" sid="{$info.id}" ></div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
...
|
...
|
@@ -83,18 +73,6 @@ |
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</section>
|
|
|
|
<script type="text/javascript">
|
|
|
|
(function(){
|
|
|
|
var appid = '{$changyan.app_id}';
|
|
|
|
var conf = '{$changyan.config}';
|
|
|
|
var width = window.innerWidth || document.documentElement.clientWidth;
|
|
|
|
if (width < 960) {
|
|
|
|
window.document.write('<script id="changyan_mobile_js" charset="utf-8" type="text/javascript" src="https://changyan.sohu.com/upload/mobile/wap-js/changyan_mobile.js?client_id=' + appid + '&conf=' + conf + '"><\/script>'); } else { var loadJs=function(d,a){var c=document.getElementsByTagName("head")[0]||document.head||document.documentElement;var b=document.createElement("script");b.setAttribute("type","text/javascript");b.setAttribute("charset","UTF-8");b.setAttribute("src",d);if(typeof a==="function"){if(window.attachEvent){b.onreadystatechange=function(){var e=b.readyState;if(e==="loaded"||e==="complete"){b.onreadystatechange=null;a()}}}else{b.onload=a}}c.appendChild(b)};loadJs("https://changyan.sohu.com/upload/changyan.js",function(){window.changyan.api.config({appid:appid,conf:conf})}); } })();
|
|
|
|
function changyan_wtx() {
|
|
|
|
window.location.href="{:url('user/login/index')}";
|
|
|
|
}
|
|
|
|
</script>
|
|
|
|
<script type="text/javascript" src="https://assets.changyan.sohu.com/upload/plugins/plugins.count.js"></script>
|
|
|
|
|
|
|
|
<!-- maincontent end here -->
|
|
|
|
{include file="common/footer"/} |
|
|
\ No newline at end of file |
...
|
...
|
|