Authored by runner

platform and css bug update

... ... @@ -23,7 +23,6 @@ const api = new API();
const getOutletResource = (channel, contentcode) => {
console.log(contentcode);
const params = {
content_code: contentcode || 'c19ffa03f053f4cac3690b22c8da26b7',
limit: 25,
... ... @@ -98,7 +97,7 @@ const getActivityDetail = (id) => {
var params = {
method: 'app.outlets.activityGet',
sort: 2,
platform: 2,
platform: 3,
yh_channel: 1,
id: id,
type: 0
... ...
... ... @@ -11,4 +11,4 @@
</a>
{{/data}}
</div>
<div class="more-activity ">更多精彩活动</div>
<div class="more-activity hide"><p>更多精彩活动</p><span class="iconfont count-down-icon">&#xe609;</span></div>
... ...
... ... @@ -76,8 +76,9 @@ if ($('#list-nav').length > 0) {
if ($('.back-ground-white').length > 10) {
$('.more-activity').show();
$('.back-ground-white').each(function(index, e) {
console.log(index);
if(index > 9) {
e.hide();
$(e).hide();
}
});
}
... ... @@ -86,7 +87,7 @@ $('.more-activity').click(function() {
$('.more-activity').hide();
$('.back-ground-white').each(function(index, e) {
if(index > 9) {
e.show();
$(e)git .show();
}
});
});
... ...
... ... @@ -45,8 +45,6 @@
.center-square {
position: absolute;
background: rgba(255, 255, 255, 0.5);
opacity: 0.9;
top: 50px;
width: 70%;
margin-left: 15%;
... ... @@ -161,12 +159,18 @@
}
.more-activity {
height: 80px;
padding-top: 5px;
color: #f1f1f9;
background-color: #444;
font-size: 36px;
text-align: center;
margin-bottom: 20px;
.count-down-icon {
margin-top: -15px;
font-size: 30px;
color: #fff;
}
}
.hidden {
... ...