Authored by ccbikai(👎🏻🍜)

Merge remote-tracking branch 'origin/hotfix/plusstar'

1 <div class="resources"> 1 <div class="resources">
2 <!--banner--> 2 <!--banner-->
3 {{#each result.focus1}} 3 {{#each result.focus1}}
4 - {{> resources/banner-top}} 4 + <div class="banner-top">
  5 + <div class="banner-swiper swiper-container">
  6 + <ul class="swiper-wrapper">
  7 + {{#each data}}
  8 + {{#if @first}}
  9 + <li class="swiper-slide">
  10 + <a href="{{url}}">
  11 + <img src="{{image src 750 364}}">
  12 + </a>
  13 + </li>
  14 + {{^}}
  15 + <li class="swiper-slide">
  16 + <a href="{{url}}">
  17 + <img class="swiper-lazy" data-src="{{image src 750 364}}">
  18 + </a>
  19 + <div class="swiper-lazy-preloader"></div>
  20 + </li>
  21 + {{/if}}
  22 + {{/each}}
  23 + </ul>
  24 + </div>
  25 + <div class="swiper-pagination">
  26 + <div class="pagination-inner">
  27 + </div>
  28 + </div>
  29 + </div>
5 {{/each}} 30 {{/each}}
6 31
7 {{#each result.title_image}} 32 {{#each result.title_image}}
@@ -125,7 +125,7 @@ $(function() { @@ -125,7 +125,7 @@ $(function() {
125 125
126 if (!(window.queryString.app_version || window.queryString.appVersion)) { 126 if (!(window.queryString.app_version || window.queryString.appVersion)) {
127 $('.tab-nav').css({ 127 $('.tab-nav').css({
128 - position: 'absolute' 128 + position: 'relative'
129 }); 129 });
130 130
131 $footer.css({ 131 $footer.css({
@@ -62,19 +62,18 @@ @@ -62,19 +62,18 @@
62 background: #f6f6f6; 62 background: #f6f6f6;
63 63
64 .title-image { 64 .title-image {
65 -  
66 a { 65 a {
67 display: block; 66 display: block;
68 } 67 }
69 68
70 .image { 69 .image {
71 width: 100%; 70 width: 100%;
72 - height: 364px; 71 + height: 310px;
73 } 72 }
74 73
75 img { 74 img {
76 width: 100%; 75 width: 100%;
77 - height: 100%; 76 + height: inherit;
78 } 77 }
79 } 78 }
80 79
@@ -104,20 +103,17 @@ @@ -104,20 +103,17 @@
104 } 103 }
105 104
106 .focus { 105 .focus {
107 -  
108 .swipe { 106 .swipe {
109 height: 100%; 107 height: 100%;
110 } 108 }
111 109
112 .swipe-1 { 110 .swipe-1 {
113 -  
114 .swipe-indicators { 111 .swipe-indicators {
115 display: none; 112 display: none;
116 } 113 }
117 } 114 }
118 115
119 .swipe-item { 116 .swipe-item {
120 -  
121 a { 117 a {
122 display: block; 118 display: block;
123 } 119 }
@@ -126,7 +122,6 @@ @@ -126,7 +122,6 @@
126 width: 100%; 122 width: 100%;
127 height: 100%; 123 height: 100%;
128 } 124 }
129 -  
130 } 125 }
131 126
132 .swipe-indicators { 127 .swipe-indicators {
@@ -168,8 +163,8 @@ @@ -168,8 +163,8 @@
168 a { 163 a {
169 display: inline-block; 164 display: inline-block;
170 margin: 0 15px; 165 margin: 0 15px;
171 - width: 250px;  
172 - height: 250px; 166 + width: 213px;
  167 + height: 213px;
173 } 168 }
174 169
175 img { 170 img {