Authored by runner

platform and css bug update

@@ -23,7 +23,6 @@ const api = new API(); @@ -23,7 +23,6 @@ const api = new API();
23 23
24 24
25 const getOutletResource = (channel, contentcode) => { 25 const getOutletResource = (channel, contentcode) => {
26 - console.log(contentcode);  
27 const params = { 26 const params = {
28 content_code: contentcode || 'c19ffa03f053f4cac3690b22c8da26b7', 27 content_code: contentcode || 'c19ffa03f053f4cac3690b22c8da26b7',
29 limit: 25, 28 limit: 25,
@@ -98,7 +97,7 @@ const getActivityDetail = (id) => { @@ -98,7 +97,7 @@ const getActivityDetail = (id) => {
98 var params = { 97 var params = {
99 method: 'app.outlets.activityGet', 98 method: 'app.outlets.activityGet',
100 sort: 2, 99 sort: 2,
101 - platform: 2, 100 + platform: 3,
102 yh_channel: 1, 101 yh_channel: 1,
103 id: id, 102 id: id,
104 type: 0 103 type: 0
@@ -11,4 +11,4 @@ @@ -11,4 +11,4 @@
11 </a> 11 </a>
12 {{/data}} 12 {{/data}}
13 </div> 13 </div>
14 -<div class="more-activity ">更多精彩活动</div> 14 +<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) { @@ -76,8 +76,9 @@ if ($('#list-nav').length > 0) {
76 if ($('.back-ground-white').length > 10) { 76 if ($('.back-ground-white').length > 10) {
77 $('.more-activity').show(); 77 $('.more-activity').show();
78 $('.back-ground-white').each(function(index, e) { 78 $('.back-ground-white').each(function(index, e) {
  79 + console.log(index);
79 if(index > 9) { 80 if(index > 9) {
80 - e.hide(); 81 + $(e).hide();
81 } 82 }
82 }); 83 });
83 } 84 }
@@ -86,7 +87,7 @@ $('.more-activity').click(function() { @@ -86,7 +87,7 @@ $('.more-activity').click(function() {
86 $('.more-activity').hide(); 87 $('.more-activity').hide();
87 $('.back-ground-white').each(function(index, e) { 88 $('.back-ground-white').each(function(index, e) {
88 if(index > 9) { 89 if(index > 9) {
89 - e.show(); 90 + $(e)git .show();
90 } 91 }
91 }); 92 });
92 }); 93 });
@@ -45,8 +45,6 @@ @@ -45,8 +45,6 @@
45 45
46 .center-square { 46 .center-square {
47 position: absolute; 47 position: absolute;
48 - background: rgba(255, 255, 255, 0.5);  
49 - opacity: 0.9;  
50 top: 50px; 48 top: 50px;
51 width: 70%; 49 width: 70%;
52 margin-left: 15%; 50 margin-left: 15%;
@@ -161,12 +159,18 @@ @@ -161,12 +159,18 @@
161 } 159 }
162 160
163 .more-activity { 161 .more-activity {
164 - height: 80px; 162 + padding-top: 5px;
165 color: #f1f1f9; 163 color: #f1f1f9;
166 background-color: #444; 164 background-color: #444;
167 font-size: 36px; 165 font-size: 36px;
168 text-align: center; 166 text-align: center;
169 margin-bottom: 20px; 167 margin-bottom: 20px;
  168 +
  169 + .count-down-icon {
  170 + margin-top: -15px;
  171 + font-size: 30px;
  172 + color: #fff;
  173 + }
170 } 174 }
171 175
172 .hidden { 176 .hidden {