...
|
...
|
@@ -37,6 +37,23 @@ require('../plugins/check'); |
|
|
|
|
|
lazyLoad($('img.lazy'));
|
|
|
|
|
|
// 地址切换
|
|
|
$('.address-list').on('click', '.address', function() {
|
|
|
var $this = $(this);
|
|
|
|
|
|
if ($this.hasClass('focus')) {
|
|
|
return;
|
|
|
}
|
|
|
|
|
|
$this.addClass('focus');
|
|
|
$this.siblings('.focus').removeClass('focus');
|
|
|
});
|
|
|
|
|
|
// 显示全部地址
|
|
|
$('.address-all').click(function() {
|
|
|
$(this).siblings('.address-list').removeClass('shrink').end().remove();
|
|
|
});
|
|
|
|
|
|
/**
|
|
|
* 发票弹窗Factory
|
|
|
*/
|
...
|
...
|
|