解决详情页没有评论数据bug,返回按钮无响应bug
Showing
11 changed files
with
38 additions
and
78 deletions
@@ -21,7 +21,8 @@ | @@ -21,7 +21,8 @@ | ||
21 | <ul class="swiper-wrapper"> | 21 | <ul class="swiper-wrapper"> |
22 | {{#banner}} | 22 | {{#banner}} |
23 | <li class="swiper-slide"> | 23 | <li class="swiper-slide"> |
24 | - <img src="{{.}}" alt=""> | 24 | + <img class="swiper-lazy" data-src="{{.}}" alt=""> |
25 | + <div class="swiper-lazy-preloader"></div> | ||
25 | </li> | 26 | </li> |
26 | {{/banner}} | 27 | {{/banner}} |
27 | </ul> | 28 | </ul> |
@@ -21,7 +21,8 @@ | @@ -21,7 +21,8 @@ | ||
21 | <ul class="swiper-wrapper"> | 21 | <ul class="swiper-wrapper"> |
22 | {{#banner}} | 22 | {{#banner}} |
23 | <li class="swiper-slide"> | 23 | <li class="swiper-slide"> |
24 | - <img src="{{.}}" alt=""> | 24 | + <img class="swiper-lazy" data-src="{{.}}" alt=""> |
25 | + <div class="swiper-lazy-preloader"></div> | ||
25 | </li> | 26 | </li> |
26 | {{/banner}} | 27 | {{/banner}} |
27 | </ul> | 28 | </ul> |
@@ -7,7 +7,8 @@ | @@ -7,7 +7,8 @@ | ||
7 | {{#bannerItem}} | 7 | {{#bannerItem}} |
8 | <li class="swiper-slide"> | 8 | <li class="swiper-slide"> |
9 | <a href="{{link}}"> | 9 | <a href="{{link}}"> |
10 | - <img src="{{img}}" alt="banner"/> | 10 | + <img class="swiper-lazy" data-src="{{img}}" alt=""/> |
11 | + <div class="swiper-lazy-preloader"></div> | ||
11 | </a> | 12 | </a> |
12 | </li> | 13 | </li> |
13 | {{/bannerItem}} | 14 | {{/bannerItem}} |
@@ -31,7 +32,8 @@ | @@ -31,7 +32,8 @@ | ||
31 | {{#magazineSlide}} | 32 | {{#magazineSlide}} |
32 | <li class="swiper-slide"> | 33 | <li class="swiper-slide"> |
33 | <a href="javascript:;"> | 34 | <a href="javascript:;"> |
34 | - <img src="{{img}}"> | 35 | + <img class="swiper-lazy" data-src="{{img}}"> |
36 | + <div class="swiper-lazy-preloader"></div> | ||
35 | </a> | 37 | </a> |
36 | <time>{{time}}</time> | 38 | <time>{{time}}</time> |
37 | </li> | 39 | </li> |
@@ -43,16 +45,7 @@ | @@ -43,16 +45,7 @@ | ||
43 | <h2>E-ZINE</h2> | 45 | <h2>E-ZINE</h2> |
44 | 46 | ||
45 | <div class="swiper-container magazine-slide-style" id="zine-slide"> | 47 | <div class="swiper-container magazine-slide-style" id="zine-slide"> |
46 | - <ul class="swiper-wrapper zine-wrapper"> | ||
47 | - {{#zineSlide}} | ||
48 | - <li class="swiper-slide"> | ||
49 | - <a href="javascript:;" title="{{time}}"> | ||
50 | - <img src="{{img}}" alt=""> | ||
51 | - </a> | ||
52 | - <time>{{time}}</time> | ||
53 | - </li> | ||
54 | - {{/zineSlide}} | ||
55 | - </ul> | 48 | + <ul class="swiper-wrapper zine-wrapper"></ul> |
56 | </div> | 49 | </div> |
57 | </div> | 50 | </div> |
58 | <!--girl-app--> | 51 | <!--girl-app--> |
@@ -7,7 +7,8 @@ | @@ -7,7 +7,8 @@ | ||
7 | {{#bannerItem}} | 7 | {{#bannerItem}} |
8 | <li class="swiper-slide"> | 8 | <li class="swiper-slide"> |
9 | <a href="{{link}}"> | 9 | <a href="{{link}}"> |
10 | - <img src="{{img}}" alt="banner"/> | 10 | + <img class="swiper-lazy" data-src="{{img}}" alt="banner"/> |
11 | + <div class="swiper-lazy-preloader"></div> | ||
11 | </a> | 12 | </a> |
12 | </li> | 13 | </li> |
13 | {{/bannerItem}} | 14 | {{/bannerItem}} |
@@ -31,7 +32,8 @@ | @@ -31,7 +32,8 @@ | ||
31 | {{#magazineSlide}} | 32 | {{#magazineSlide}} |
32 | <li class="swiper-slide"> | 33 | <li class="swiper-slide"> |
33 | <a href="javascript:;"> | 34 | <a href="javascript:;"> |
34 | - <img src="{{img}}"> | 35 | + <img class="swiper-lazy" data-src="{{img}}"> |
36 | + <div class="swiper-lazy-preloader"></div> | ||
35 | </a> | 37 | </a> |
36 | <time>{{time}}</time> | 38 | <time>{{time}}</time> |
37 | </li> | 39 | </li> |
@@ -43,16 +45,7 @@ | @@ -43,16 +45,7 @@ | ||
43 | <h2>E-ZINE</h2> | 45 | <h2>E-ZINE</h2> |
44 | 46 | ||
45 | <div class="swiper-container magazine-slide-style" id="zine-slide"> | 47 | <div class="swiper-container magazine-slide-style" id="zine-slide"> |
46 | - <ul class="swiper-wrapper zine-wrapper"> | ||
47 | - {{#zineSlide}} | ||
48 | - <li class="swiper-slide"> | ||
49 | - <a href="javascript:;" title="{{time}}"> | ||
50 | - <img src="{{img}}" alt=""> | ||
51 | - </a> | ||
52 | - <time>{{time}}</time> | ||
53 | - </li> | ||
54 | - {{/zineSlide}} | ||
55 | - </ul> | 48 | + <ul class="swiper-wrapper zine-wrapper"></ul> |
56 | </div> | 49 | </div> |
57 | </div> | 50 | </div> |
58 | <!--girl-app--> | 51 | <!--girl-app--> |
@@ -6,7 +6,8 @@ | @@ -6,7 +6,8 @@ | ||
6 | {{#bannerItem}} | 6 | {{#bannerItem}} |
7 | <li class="swiper-slide"> | 7 | <li class="swiper-slide"> |
8 | <a href="{{link}}"> | 8 | <a href="{{link}}"> |
9 | - <img src="{{img}}" alt=""/> | 9 | + <img class="swiper-lazy" data-src="{{img}}" alt=""/> |
10 | + <div class="swiper-lazy-preloader"></div> | ||
10 | </a> | 11 | </a> |
11 | </li> | 12 | </li> |
12 | {{/bannerItem}} | 13 | {{/bannerItem}} |
@@ -22,9 +22,12 @@ | @@ -22,9 +22,12 @@ | ||
22 | \{{# page}} | 22 | \{{# page}} |
23 | <div class="comment-pager-content pager-content-default" style="display:none"> | 23 | <div class="comment-pager-content pager-content-default" style="display:none"> |
24 | <div class="channel-index-pager"> | 24 | <div class="channel-index-pager"> |
25 | - \{{# pageList}} | ||
26 | - <a class="pager-item \{{# isChoosen}}pager-item-choosen\{{/ isChoosen}}" href="\{{link}}">\{{text}}</a> | ||
27 | - \{{/ pageList}} | 25 | + \{{# switchNext}} |
26 | + <a class="pager-item switch-next" href="\{{link}}">下一页</a> | ||
27 | + \{{/ switchNext}} | ||
28 | + \{{# switchPrev}} | ||
29 | + <a class="pager-item switch-prev" href="\{{link}}">上一页</a> | ||
30 | + \{{/ switchPrev}} | ||
28 | </div> | 31 | </div> |
29 | </div> | 32 | </div> |
30 | \{{/ page}} | 33 | \{{/ page}} |
partials/common/downloadapp320.html
0 → 100644
1 | +<!--下载GIRLS--> | ||
2 | +<div class="header-download-wrap"> | ||
3 | + <div class="header-download"> | ||
4 | + <span class="tip-pic">YOHO GIRLS</span> | ||
5 | + <div class="tip-info"> | ||
6 | + <h2>YOHO!GIRLS</h2> | ||
7 | + <p>No Fashion,No Life!</p> | ||
8 | + <a class="yoho-download-app" data-ios="https://itunes.apple.com/cn/app/yoho!-girls-no-fashion-no/id918398578?mt=8&down.myapp.com" data-android="http://app.yoho.cn/install/YohoGirl_YOHO.apk" href="http://app.yoho.cn/install/YohoGirl_YOHO.apk" ios-href="yohogirl://" onclick="">OPEN</a> | ||
9 | + </div> | ||
10 | + <span class="tip-c" onclick="">关闭</span> | ||
11 | + </div> | ||
12 | +</div> |
@@ -23,18 +23,7 @@ | @@ -23,18 +23,7 @@ | ||
23 | </head> | 23 | </head> |
24 | <body id="{{channel}}"> | 24 | <body id="{{channel}}"> |
25 | <div id="mobile-wrap"> | 25 | <div id="mobile-wrap"> |
26 | - <!--下载GIRLS--> | ||
27 | - <div class="header-download-wrap"> | ||
28 | - <div class="header-download"> | ||
29 | - <span class="tip-pic">YOHO GIRLS</span> | ||
30 | - <div class="tip-info"> | ||
31 | - <h2>YOHO!GIRLS</h2> | ||
32 | - <p>No Fashion,No Life!</p> | ||
33 | - <a class="yoho-download-app" data-ios="" data-android="" href="" ios-href="" android-href="" onclick="">OPEN</a> | ||
34 | - </div> | ||
35 | - <span class="tip-c" onclick="">关闭</span> | ||
36 | - </div> | ||
37 | - </div> | 26 | + {{> common/downloadapp320}} |
38 | <!--header--> | 27 | <!--header--> |
39 | <header class="girl-header"> | 28 | <header class="girl-header"> |
40 | <span class="header-logo">Logo</span> | 29 | <span class="header-logo">Logo</span> |
@@ -23,18 +23,7 @@ | @@ -23,18 +23,7 @@ | ||
23 | </head> | 23 | </head> |
24 | <body id="{{channel}}"> | 24 | <body id="{{channel}}"> |
25 | <div id="mobile-wrap"> | 25 | <div id="mobile-wrap"> |
26 | - <!--下載GIRLS--> | ||
27 | - <div class="header-download-wrap"> | ||
28 | - <div class="header-download"> | ||
29 | - <span class="tip-pic">YOHO GIRLS</span> | ||
30 | - <div class="tip-info"> | ||
31 | - <h2>YOHO!GIRLS</h2> | ||
32 | - <p>No Fashion,No Life!</p> | ||
33 | - <a class="yoho-download-app" data-ios="" data-android="" href="" ios-href="" android-href="" onclick="">OPEN</a> | ||
34 | - </div> | ||
35 | - <span class="tip-c" onclick="">關閉</span> | ||
36 | - </div> | ||
37 | - </div> | 26 | + {{> common/downloadapp320}} |
38 | <!--header--> | 27 | <!--header--> |
39 | <header class="girl-header"> | 28 | <header class="girl-header"> |
40 | <span class="header-logo">Logo</span> | 29 | <span class="header-logo">Logo</span> |
@@ -23,18 +23,7 @@ | @@ -23,18 +23,7 @@ | ||
23 | </head> | 23 | </head> |
24 | <body id="{{channel}}"> | 24 | <body id="{{channel}}"> |
25 | <div id="mobile-wrap"> | 25 | <div id="mobile-wrap"> |
26 | - <!--下载GIRLS--> | ||
27 | - <div class="header-download-wrap"> | ||
28 | - <div class="header-download"> | ||
29 | - <span class="tip-pic">YOHO GIRLS</span> | ||
30 | - <div class="tip-info"> | ||
31 | - <h2>YOHO!GIRLS</h2> | ||
32 | - <p>No Fashion,No Life!</p> | ||
33 | - <a class="yoho-download-app" data-ios="" data-android="" href="" ios-href="" android-href="" onclick="">OPEN</a> | ||
34 | - </div> | ||
35 | - <span class="tip-c" onclick="">关闭</span> | ||
36 | - </div> | ||
37 | - </div> | 26 | + {{> common/downloadapp320}} |
38 | <!--header--> | 27 | <!--header--> |
39 | <header class="girl-header"> | 28 | <header class="girl-header"> |
40 | <span class="header-logo">Logo</span> | 29 | <span class="header-logo">Logo</span> |
@@ -23,18 +23,7 @@ | @@ -23,18 +23,7 @@ | ||
23 | </head> | 23 | </head> |
24 | <body id="{{channel}}"> | 24 | <body id="{{channel}}"> |
25 | <div id="mobile-wrap"> | 25 | <div id="mobile-wrap"> |
26 | - <!--下載GIRLS--> | ||
27 | - <div class="header-download-wrap"> | ||
28 | - <div class="header-download"> | ||
29 | - <span class="tip-pic">YOHO GIRLS</span> | ||
30 | - <div class="tip-info"> | ||
31 | - <h2>YOHO!GIRLS</h2> | ||
32 | - <p>No Fashion,No Life!</p> | ||
33 | - <a class="yoho-download-app" data-ios="" data-android="" href="" ios-href="" android-href="" onclick="">OPEN</a> | ||
34 | - </div> | ||
35 | - <span class="tip-c" onclick="">關閉</span> | ||
36 | - </div> | ||
37 | - </div> | 26 | + {{> common/downloadapp320}} |
38 | <!--header--> | 27 | <!--header--> |
39 | <header class="girl-header"> | 28 | <header class="girl-header"> |
40 | <span class="header-logo">Logo</span> | 29 | <span class="header-logo">Logo</span> |
-
Please register or login to post a comment