Authored by biao

Merge branch 'develop/wap' of http://git.dev.yoho.cn/web/yohobuy into develop/wap

@@ -80,6 +80,7 @@ $addressForm.on('submit', function() { @@ -80,6 +80,7 @@ $addressForm.on('submit', function() {
80 80
81 isSubmiting = true; 81 isSubmiting = true;
82 loading.showLoadingMask(); 82 loading.showLoadingMask();
  83 + $submit.css('background', '#777');
83 $.ajax({ 84 $.ajax({
84 method: 'POST', 85 method: 'POST',
85 url: '/home/saveAddress', 86 url: '/home/saveAddress',
@@ -102,6 +103,8 @@ $addressForm.on('submit', function() { @@ -102,6 +103,8 @@ $addressForm.on('submit', function() {
102 }).fail(function() { 103 }).fail(function() {
103 tip.show('网络出了点问题~'); 104 tip.show('网络出了点问题~');
104 isSubmiting = false; 105 isSubmiting = false;
  106 + loading.hideLoadingMask();
  107 + $submit.css('background', '#444');
105 }); 108 });
106 return false; 109 return false;
107 }); 110 });
@@ -27,7 +27,8 @@ function getGender() { @@ -27,7 +27,8 @@ function getGender() {
27 27
28 require('../home/maybe-like')(getGender()); 28 require('../home/maybe-like')(getGender());
29 29
30 - 30 +//提前触发lazyload
  31 +$(window).scrollTop(1).scrollTop(0);
31 32
32 33
33 34