Authored by 王水玲

星潮教室

... ... @@ -7,10 +7,13 @@
var $ = require('jquery'),
Swiper = require('yoho.iswiper'),
calendar = require('../guang/calendar'),
lazyLoad = require('yoho.lazyload'),
tip = require('../plugin/tip');
var bannerSwiper, collocationSwiper;
lazyLoad($('img.lazy'));
// 日历弹出框显示及粉丝排行榜数据组装
function intimacyData(data) {
var $ul = $('.fan-charts-cont'),
... ...
... ... @@ -441,12 +441,11 @@ body {
.arrow {
width: 88rem / $pxConvertRem;
height: 88rem / $pxConvertRem;
background-image: image-url("guang/star-classroom/arrow.png");
background-repeat: no-repeat;
background-size: contain;
position: absolute;
top: 0;
right: 0;
color: #b0b0b0;
line-height: 88rem / $pxConvertRem;
}
}
... ...
... ... @@ -4,23 +4,6 @@
<div class="star-classroom yoho-page">
{{> guang/head-tab}}
<ul class="collocation-list">
{{#each collocationList}}
<li>
{{#if img}}
<a href="{{url}}"><img src="{{img}}" /></a>
{{/if}}
<div class="cont-area">
<h2 class="title"><a href="{{url}}">{{title}}</a></h2>
<p class="cont-txt">{{content}}</p>
<div class="count-area">
<span class="time"><i class="time-ico"></i>{{time}}</span>
<span class="see"><i class="see-ico"></i>{{seeNum}}</span>
<span class="zan"><i class="zan-ico"></i>{{zanNum}}</span>
<span class="forward"></span>
</div>
</div>
</li>
{{/each}}
</ul>
</div>
{{/trendClassCollocation}}
... ...
... ... @@ -3,7 +3,7 @@
<div class="home-floor-collocation">
<ul class="collocation-big-img">
{{#each collocationBigImg}}
<li><a href="{{url}}"><img src="{{img}}" /></a></li>
<li><a href="{{url}}"><img class="lazy" data-original="{{img}}"/></a></li>
{{/each}}
</ul>
<div class="collocation-img">
... ...
... ... @@ -2,7 +2,7 @@
{{> home/floor_header_more}}
<div class="home-floor-subject">
{{# subjectBanner}}
<a href="{{url}}"><img src="{{img}}" class="subject-banner"/></a>
<a href="{{url}}"><img class="lazy subject-banner" data-original="{{img}}" /></a>
{{/ subjectBanner}}
</div>
{{/ starSubject}}
\ No newline at end of file
... ...
... ... @@ -17,7 +17,7 @@
</div>
<div class="fan-charts">
<h2>新潮粉丝榜</h2>
<a href="{{url}}" class="arrow">&nbsp;</a>
<a href="/guang/starclass/top" class="arrow iconfont">&#xe614;</a>
</div>
<ul class="fan-charts-cont">
<!-- {{#each fanCharts}}
... ...