Authored by 2586703@qq.com

comment ezine模块修改

<li class="clearfix">
<div class="userimg">
<img src="\{{userimg}}" alt="">
<i class="\{{partnerType}}"></i>
</div>
<div class="userinfo">
<h6>{{username}}</h6>
<p class="comment-text">{{content}}</p>
{{# isSelf}}
<a class="delete-comment" href="javascript:;" pid="{{id}}"></a>
{{/ isSelf}}
</div>
</li>
<script id="comment-tpl" type="x-tmpl-mustache">
<ul class="comments-list">
\{{# comment}}
{{> common/comment_list}}
<li class="clearfix">
<div class="userimg">
<img src="\{{userimg}}" alt="">
<i class="\{{partnerType}}"></i>
</div>
<div class="userinfo">
<h6>\{{username}}</h6>
<p class="comment-text">\{{content}}</p>
\{{# isSelf}}
<a class="delete-comment" href="javascript:;" pid="{{id}}"></a>
\{{/ isSelf}}
</div>
</li>
\{{/ comment}}
</ul>
\{{# more}}
<div class="view-more"><a href="javascript:;">View&nbsp;<span>\{{moreNum}}</span>&nbsp;more</a></div>
\{{/ more}}
\{{# page}}
<div class="pager-content comment-pager-content">
<div class="channel-index-pager">\{{commentPage}}</div>
<div class="comment-pager-content pager-content-default" style="display:none">
<div class="channel-index-pager">\{{> html}}</div>
</div>
\{{/ page}}
<div class="comment-textarea">
... ...
... ... @@ -42,9 +42,13 @@
</body>
<script type="text/javascript" src="http://localhost:8000/dist/yohogirls-frontend-web/0.0.1/all-debug.js?nowrap"></script>
<script type="text/javascript">
seajs.use(['yohogirls-frontend-web/0.0.1/js/channel/detail-debug'], function(detail) {
seajs.use(['yohogirls-frontend-web/0.0.1/js/channel/detail-debug', 'yohogirls-frontend-web/0.0.1/js/channel/magazine-debug'], function(detail, magazine) {
if (detail) {
detail.init();
};
if (magazine) {
magazine.init();
}
});
</script>
... ...
<div class="mags-column">
<h2>E&nbsp;-&nbsp;ZINE</h2>
<div class="column-slide e-zine">
<h4>YOHO!GIRL</h4>
<div class="slide-box">
<img class="loading-img" src="http://localhost:8000/dist/yohogirls-frontend-web/assets/images/loading.gif" alt=" ">
</div>
... ...