Merge branch 'release/4.6' of http://git.yoho.cn/fe/yohobuywap-node into release/4.6
Showing
6 changed files
with
6 additions
and
7 deletions
@@ -12,7 +12,7 @@ | @@ -12,7 +12,7 @@ | ||
12 | <ul class="clearfix swiper-wrapper"> | 12 | <ul class="clearfix swiper-wrapper"> |
13 | {{# starAvatar}} | 13 | {{# starAvatar}} |
14 | <li class="swiper-slide"> | 14 | <li class="swiper-slide"> |
15 | - <span class="rank-avatar" data-url='{{url}}' data-avatar="{{image cover 180 180}}"></span> | 15 | + <a class="rank-avatar" href='{{url}}' data-avatar="{{image cover 180 180}}"></a> |
16 | </li> | 16 | </li> |
17 | {{/ starAvatar}} | 17 | {{/ starAvatar}} |
18 | </ul> | 18 | </ul> |
1 | <div class="banner"> | 1 | <div class="banner"> |
2 | 2 | ||
3 | {{# outletActivity}} | 3 | {{# outletActivity}} |
4 | - <img src="{{image webUrl 640 250}}"/> | 4 | + <img src="{{image coverUrl 640 250}}"/> |
5 | <p class="outlet-activity-time" data-time-ms="{{endLeftTime}}"><i class="iconfont time-ico"></i><span></span></p> | 5 | <p class="outlet-activity-time" data-time-ms="{{endLeftTime}}"><i class="iconfont time-ico"></i><span></span></p> |
6 | <p class="outlet-discount">{{promotionName}}</p> | 6 | <p class="outlet-discount">{{promotionName}}</p> |
7 | {{/ outletActivity}} | 7 | {{/ outletActivity}} |
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
@@ -87,8 +87,6 @@ function bindAvatar(dom) { | @@ -87,8 +87,6 @@ function bindAvatar(dom) { | ||
87 | } else if (window.queryString.app_version) { | 87 | } else if (window.queryString.app_version) { |
88 | return false; | 88 | return false; |
89 | } | 89 | } |
90 | - | ||
91 | - return false; | ||
92 | } | 90 | } |
93 | 91 | ||
94 | function setIndexAction() { | 92 | function setIndexAction() { |
@@ -125,7 +123,7 @@ function setIndexAction() { | @@ -125,7 +123,7 @@ function setIndexAction() { | ||
125 | }); | 123 | }); |
126 | 124 | ||
127 | starIScroll.iScroll.on('scroll', function() { | 125 | starIScroll.iScroll.on('scroll', function() { |
128 | - if (commonHeaderTop > $avatarWrap.offset().top) { | 126 | + if ($avatarWrap.offset().top <= 0) { |
129 | $('.avatar-clone').show(); | 127 | $('.avatar-clone').show(); |
130 | 128 | ||
131 | if (!avatarSwiperClone) { | 129 | if (!avatarSwiperClone) { |
@@ -152,7 +150,7 @@ function setIndexAction() { | @@ -152,7 +150,7 @@ function setIndexAction() { | ||
152 | } | 150 | } |
153 | } | 151 | } |
154 | 152 | ||
155 | - if (Math.abs(this.startY) < $('.banner-top').height() + avatarHeight + $('.head-tab').height()) { | 153 | + if ($avatarWrap.offset().top > $('.avatar-1')[0].scrollHeight) { |
156 | $('.avatar-clone').hide(); | 154 | $('.avatar-clone').hide(); |
157 | } | 155 | } |
158 | }); | 156 | }); |
@@ -124,7 +124,7 @@ | @@ -124,7 +124,7 @@ | ||
124 | margin-top: 0; | 124 | margin-top: 0; |
125 | position: fixed; | 125 | position: fixed; |
126 | width: 640px; | 126 | width: 640px; |
127 | - padding: 5px 0; | 127 | + padding: 30px 0; |
128 | z-index: 9; | 128 | z-index: 9; |
129 | background: #000; | 129 | background: #000; |
130 | } | 130 | } |
@@ -390,6 +390,7 @@ | @@ -390,6 +390,7 @@ | ||
390 | 390 | ||
391 | .star-index-bg { | 391 | .star-index-bg { |
392 | background: #000; | 392 | background: #000; |
393 | + overflow: hidden; | ||
393 | 394 | ||
394 | .star-page { | 395 | .star-page { |
395 | background: #000; | 396 | background: #000; |
-
Please register or login to post a comment