Authored by 张丽霞

电子发票模板

@@ -452,8 +452,8 @@ @@ -452,8 +452,8 @@
452 </div> 452 </div>
453 453
454 <div class="receipt-footer"> 454 <div class="receipt-footer">
455 - <div class="save-receipt highlight">保存发票信息</div>  
456 - <div class="cancel-receipt normal">取消</div> 455 + <div class="save-receipt highlight curser-button">保存发票信息</div>
  456 + <div class="cancel-receipt normal curser-button">取消</div>
457 </div> 457 </div>
458 </div> 458 </div>
459 </div> 459 </div>
@@ -905,7 +905,7 @@ function saveReceiptInfo() { @@ -905,7 +905,7 @@ function saveReceiptInfo() {
905 }; 905 };
906 }) 906 })
907 receiptMobile = $('#input-mobile').val(); 907 receiptMobile = $('#input-mobile').val();
908 - verifymobile = /[0-9]{11}/; 908 + verifymobile = /[*0-9]{11}/;
909 if (!verifymobile.test(receiptMobile)) { 909 if (!verifymobile.test(receiptMobile)) {
910 $('.invoice-phone .enpty-input').removeClass('hide'); 910 $('.invoice-phone .enpty-input').removeClass('hide');
911 passInfoVerify = false; 911 passInfoVerify = false;
@@ -913,6 +913,8 @@ function saveReceiptInfo() { @@ -913,6 +913,8 @@ function saveReceiptInfo() {
913 if (!passInfoVerify) { 913 if (!passInfoVerify) {
914 return; 914 return;
915 } else { 915 } else {
  916 + $('.invoice-title .enpty-input').addClass('hide');
  917 + $('.invoice-phone .enpty-input').addClass('hide');
916 receiptTitle = $('#input-organization-name').val(); 918 receiptTitle = $('#input-organization-name').val();
917 } 919 }
918 } 920 }
@@ -2,6 +2,9 @@ @@ -2,6 +2,9 @@
2 .none{ 2 .none{
3 display: none; 3 display: none;
4 } 4 }
  5 + .curser-button {
  6 + cursor: pointer;
  7 + }
5 .gift{ 8 .gift{
6 position: relative; 9 position: relative;
7 width: 988px; 10 width: 988px;
@@ -122,7 +125,7 @@ @@ -122,7 +125,7 @@
122 line-height: 18px; 125 line-height: 18px;
123 padding: 4px 5px 4px 10px; 126 padding: 4px 5px 4px 10px;
124 color: #666; 127 color: #666;
125 - background: resolve(/cart/cartnew_tipsbox.png) no-repeat; 128 + background: resolve(/cart/cartnew_tipsbox.png) no-repeat;
126 position: relative; 129 position: relative;
127 float: left; 130 float: left;
128 131
@@ -130,7 +133,7 @@ @@ -130,7 +133,7 @@
130 width: 17px; 133 width: 17px;
131 height: 17px; 134 height: 17px;
132 padding: 0px; 135 padding: 0px;
133 - background: url(/cart/i_close_f.png) no-repeat; 136 + background: url(/cart/i_close_f.png) no-repeat;
134 float: right; 137 float: right;
135 cursor: pointer; 138 cursor: pointer;
136 } 139 }
@@ -176,7 +179,7 @@ @@ -176,7 +179,7 @@
176 179
177 color: #c21250; 180 color: #c21250;
178 display: block; 181 display: block;
179 - } 182 + }
180 .giftInfo{ 183 .giftInfo{
181 margin-left: 30px; 184 margin-left: 30px;
182 } 185 }
@@ -317,10 +320,10 @@ @@ -317,10 +320,10 @@
317 font-size: 10px; 320 font-size: 10px;
318 } 321 }
319 .minus{ 322 .minus{
320 - background: url(/cart/ico_minus.png); 323 + background: url(/cart/ico_minus.png);
321 } 324 }
322 .plus{ 325 .plus{
323 - background: url(/cart/ico_plus.png); 326 + background: url(/cart/ico_plus.png);
324 } 327 }
325 } 328 }
326 .cart-add-btn{ 329 .cart-add-btn{
@@ -347,7 +350,7 @@ @@ -347,7 +350,7 @@
347 position: relative; 350 position: relative;
348 border: 1px solid #dcdcdc; 351 border: 1px solid #dcdcdc;
349 background: #ebebeb; 352 background: #ebebeb;
350 - border-radius: 3px; 353 + border-radius: 3px;
351 } 354 }
352 .cart-del-btn,.cart-remove-btn { 355 .cart-del-btn,.cart-remove-btn {
353 height: 22px; 356 height: 22px;