Authored by lore-w

详情页模板修改

... ... @@ -91,13 +91,14 @@
</div>
</li>
</ul>
<div class="comments-box" cid="1295" ctype="1" cc="101" ctwoc="101001">
{{# comment}}
<div class="comments-box" data-id="{{id}}" data-type="{{type}}" data-c="{{c}}" data-twoc="{{twoc}}">
<ul class="comments-list"></ul>
<div class="comment-textarea"><textarea placeholder="说点什么..." cid="1295"></textarea>
<div class="comment-textarea"><textarea placeholder="说点什么..."></textarea>
<div class="login-status clearfix">
<div class="userimg">
<img src="http://cmsres.test.yoho.cn/res/new/boys/images/detail/user-img.png" alt="">
<img src="{{userImg}}" alt="">
<i></i>
</div>
<div class="userinfo" style="display: none;">
... ... @@ -110,11 +111,42 @@
</div>
</div>
</div>
{{/ comment}}
</div>
<div class="detail-page">
<span class="detail-prev"><a href="{{prevLink}}" title="{{prevTitle}}" onclick="prevOrNextClickEvent();">上一篇</a></span>
<span class="detail-next"><a href="{{nextLink}}" title="{{nextTitle}}" onclick="prevOrNextClickEvent();">下一篇</a></span>
<span class="detail-prev">
<a href="{{prevLink}}" title="{{prevTitle}}" onclick="prevOrNextClickEvent();">上一篇</a>
</span>
<span class="detail-next">
<a href="{{nextLink}}" title="{{nextTitle}}" onclick="prevOrNextClickEvent();">下一篇</a>
</span>
</div>
{{> layout/footer320}}
\ No newline at end of file
<div class="recomment">
<h2>相关推荐</h2>
<ul></ul>
</div>
{{> layout/footer320}}
<script id="related-tpl" type="x-tmpl-mustache">
\{{#relatedPost}}
<li>
<a href="\{{link}}" target="_blank" onclick="relatedClickEvent();">
<div class="content-pic">
<img src="\{{cover}}" alt="" />
\{{#isVideo}}
<span class="video-icon"></span>
\{{/isVideo}}
</div>
<div class="content-text">
<h2>\{{title}}</h2>
<h3>\{{subtitle}}</h3>
</div>
</a>
</li>
\{{/relatedPost}}
</script>
\ No newline at end of file
... ...
... ... @@ -83,4 +83,14 @@
});
</script>
{{/ writer320_js}}
\ No newline at end of file
{{/ writer320_js}}
{{# detail}}
<script type="text/javascript">
seajs.use(['js/common','js/channel/detail'], function (common,detail) {
common.init();
detail.init();
});
</script>
{{/ detail}}
\ No newline at end of file
... ...