Authored by happyhour7

Merge branch 'develop' of http://git.dev.yoho.cn/ued/yohogirls-mustache into develop

... ... @@ -2,23 +2,7 @@
<div class="related-posts">
<h2>新品播报</h2>
<ul class="postslist clearfix">
{{# postList}}
<li>
<a href="{{url}}" target="_blank">
<div class="pic">
<img src="{{src}}" alt="">
{{# isVideo}}
<span class="play-icon"></span>
{{/ isVideo}}
<span class="arrow-bottom girl-{{channel}}-arrow"></span>
</div>
<div class="post-title">
<h4>{{title}}</h4>
<p>{{subtitle}}</p>
</div>
</a>
</li>
{{/ postList}}
{{> detail/related_post}}
</ul>
<a href="javascript:;" class="load-more"></a>
</div>
... ...
<script id="side-related-posts" type="x-tmpl-mustache">
{{# relatedPost}}
<div class="side-related-posts">
<h2>热播</h2>
<ul class="side-postslist">
{{# postList}}
<li>
<a class="clearfix" href="{{url}}">
<div class="pic">
<img src="{{src}}" alt="">
{{# isVideo}}
<span class="play-icon"></span>
{{/ isVideo}}
</div>
<div class="post-title">
<h4>{{title}}</h4>
<p>{{subtitle}}</p>
</div>
</a>
</li>
{{/ postList}}
{{> detail/related_post}}
</ul>
</div>
{{/ relatedPost}}
</script>
\ No newline at end of file
... ...
{{# postList}}
<li>
<a href="{{url}}" target="_blank">
<div class="pic">
<img src="{{src}}" alt="">
{{# isVideo}}
<span class="play-icon"></span>
{{/ isVideo}}
<span class="arrow-bottom girl-{{channel}}-arrow"></span>
</div>
<div class="post-title">
<h4>{{title}}</h4>
<p>{{subtitle}}</p>
</div>
</a>
</li>
{{/ postList}}
\ No newline at end of file
... ...
<script type="text/javascript" charset="utf-8">
//详情页面JS
seajs.use(['js/channel/detail'], function(detail) {
seajs.use(['js/channel/detail', 'js/public'], function(detail) {
if (detail) {
detail.init();
}
});
</script>
\ No newline at end of file
... ...
<script type="text/javascript" charset="utf-8">
//详情页面JS
seajs.use(['js/channel/magazine'], function(magazine) {
seajs.use(['js/channel/magazine', 'js/public'], function(magazine) {
if (magazine) {
magazine.init();
}
... ...