Authored by ccbikai

地址管理优化

@@ -28,10 +28,8 @@ function editAddress(data) { @@ -28,10 +28,8 @@ function editAddress(data) {
28 $addressForm.find('[name="area_code"]').val(data.areaCode || ''); 28 $addressForm.find('[name="area_code"]').val(data.areaCode || '');
29 $addressForm.find('[name="area"]').val(data.area || ''); 29 $addressForm.find('[name="area"]').val(data.area || '');
30 $addressForm.find('[name="address"]').val(data.address || ''); 30 $addressForm.find('[name="address"]').val(data.address || '');
  31 + $footer.hide();
31 $editAddressPage.show(); 32 $editAddressPage.show();
32 -  
33 - // $addressForm.find('[name="address"]').blur();  
34 - // $addressForm.find('[name="consignee"]').focus();  
35 } 33 }
36 34
37 $confim.on('touchend', '.cancel', function() { 35 $confim.on('touchend', '.cancel', function() {
@@ -2,7 +2,7 @@ @@ -2,7 +2,7 @@
2 <form class="edit-address"> 2 <form class="edit-address">
3 <input type="hidden" name="id" value=""> 3 <input type="hidden" name="id" value="">
4 <label class="username"> 4 <label class="username">
5 - 收件人 5 + 收件人姓名
6 <input type="text" name="consignee" value=""> 6 <input type="text" name="consignee" value="">
7 </label> 7 </label>
8 <label class="mobile"> 8 <label class="mobile">