Merge branch 'develop' of http://git.dev.yoho.cn/web/yohobuy into develop
Showing
2 changed files
with
12 additions
and
0 deletions
@@ -164,6 +164,12 @@ $addressListPage.find('.address-last').each(function(i, elem) { | @@ -164,6 +164,12 @@ $addressListPage.find('.address-last').each(function(i, elem) { | ||
164 | }); | 164 | }); |
165 | }); | 165 | }); |
166 | 166 | ||
167 | +$addressListPage.on('touchstart', 'li', function() { | ||
168 | + $(this).addClass('highlight'); | ||
169 | +}).on('touchend touchcancel', 'li', function() { | ||
170 | + $(this).removeClass('highlight'); | ||
171 | +}); | ||
172 | + | ||
167 | $('input, textarea').on('focus', function() { | 173 | $('input, textarea').on('focus', function() { |
168 | $footer.hide(); | 174 | $footer.hide(); |
169 | }).on('blur', function() { | 175 | }).on('blur', function() { |
@@ -207,10 +207,16 @@ | @@ -207,10 +207,16 @@ | ||
207 | font-size: pxToRem(32px); | 207 | font-size: pxToRem(32px); |
208 | line-height: pxToRem(88px); | 208 | line-height: pxToRem(88px); |
209 | border-bottom: 1px solid #e0e0e0; | 209 | border-bottom: 1px solid #e0e0e0; |
210 | + | ||
210 | .iconfont { | 211 | .iconfont { |
211 | float: right; | 212 | float: right; |
212 | color: #d0d0d0; | 213 | color: #d0d0d0; |
213 | } | 214 | } |
215 | + | ||
216 | + &.highlight { | ||
217 | + background: #eee; | ||
218 | + } | ||
219 | + | ||
214 | ul { | 220 | ul { |
215 | display: none; | 221 | display: none; |
216 | position: absolute; | 222 | position: absolute; |
-
Please register or login to post a comment