Authored by ccbikai

添加地址

@@ -27,7 +27,9 @@ function editAddress(data) { @@ -27,7 +27,9 @@ function editAddress(data) {
27 $addressForm.find('[name="area"]').val(data.area || ''); 27 $addressForm.find('[name="area"]').val(data.area || '');
28 $addressForm.find('[name="address"]').val(data.address || ''); 28 $addressForm.find('[name="address"]').val(data.address || '');
29 $editAddressPage.show(); 29 $editAddressPage.show();
30 - $addressForm.find('[name="consignee"]').focus(); 30 +
  31 + // $addressForm.find('[name="address"]').blur();
  32 + // $addressForm.find('[name="consignee"]').focus();
31 } 33 }
32 34
33 function deleteAddress(data) { 35 function deleteAddress(data) {
@@ -142,8 +142,8 @@ @@ -142,8 +142,8 @@
142 input, textarea { 142 input, textarea {
143 position: absolute; 143 position: absolute;
144 top: 0; 144 top: 0;
145 - right: 0;  
146 - width: pxToRem(400px); 145 + right: pxToRem(40px);
  146 + width: pxToRem(360px);
147 height: pxToRem(88px); 147 height: pxToRem(88px);
148 color: #444; 148 color: #444;
149 padding: 0; 149 padding: 0;
@@ -156,6 +156,8 @@ @@ -156,6 +156,8 @@
156 } 156 }
157 157
158 textarea { 158 textarea {
  159 + right: 0;
  160 + width: pxToRem(400px);
159 height: pxToRem(58px) * 2; 161 height: pxToRem(58px) * 2;
160 padding: pxToRem(20px) 0; 162 padding: pxToRem(20px) 0;
161 } 163 }