Authored by 郭成尧

common-address-js

@@ -23,6 +23,8 @@ var $addressForm = $('.edit-address'), @@ -23,6 +23,8 @@ var $addressForm = $('.edit-address'),
23 newArea = [], 23 newArea = [],
24 chinaAddressList; 24 chinaAddressList;
25 25
  26 +require('../common.js');
  27 +
26 $($editAddressPage, $addressListPage).css('min-height', function() { 28 $($editAddressPage, $addressListPage).css('min-height', function() {
27 return $(window).height() - $('#yoho-header').height(); 29 return $(window).height() - $('#yoho-header').height();
28 }); 30 });
@@ -80,6 +82,7 @@ $addressForm.on('submit', function() { @@ -80,6 +82,7 @@ $addressForm.on('submit', function() {
80 isSubmiting = true; 82 isSubmiting = true;
81 loading.showLoadingMask(); 83 loading.showLoadingMask();
82 $submit.css('background', '#777'); 84 $submit.css('background', '#777');
  85 + console.log(window.queryString.refer);
83 $.ajax({ 86 $.ajax({
84 method: 'POST', 87 method: 'POST',
85 url: '/home/saveAddress', 88 url: '/home/saveAddress',