Authored by Rock Zhang

Merge branch 'feature/order' of git.dev.yoho.cn:web/yohobuy into feature/order

@@ -165,10 +165,6 @@ function submitOrder() { @@ -165,10 +165,6 @@ function submitOrder() {
165 var invoiceText = $invoice.find('[name="invoice-title"]').val() || orderInfo('invoiceText'), 165 var invoiceText = $invoice.find('[name="invoice-title"]').val() || orderInfo('invoiceText'),
166 msg = $('#msg').find('input').val() || orderInfo('msg'); 166 msg = $('#msg').find('input').val() || orderInfo('msg');
167 167
168 - if (orderInfo('deliveryId') === 2 && !$addressWrap.data('support')) {  
169 - tip.show('当前地址不支持顺丰快递');  
170 - return;  
171 - }  
172 if (isSubmiting) { 168 if (isSubmiting) {
173 return false; 169 return false;
174 } 170 }
@@ -14,7 +14,7 @@ @@ -14,7 +14,7 @@
14 {{^}} 14 {{^}}
15 <div class="address block address-wrap not-address"> 15 <div class="address block address-wrap not-address">
16 <i class="iconfont">&#xe637;</i> 16 <i class="iconfont">&#xe637;</i>
17 - <a class="choose" href="/cart/index/selectAddress">请选择收地址<span class="iconfont">&#xe614;</span></a> 17 + <a class="choose" href="/cart/index/selectAddress">请选择收地址<span class="iconfont">&#xe614;</span></a>
18 </div> 18 </div>
19 {{/if}} 19 {{/if}}
20 <section class="dispatch block"> 20 <section class="dispatch block">
@@ -27,10 +27,12 @@ @@ -27,10 +27,12 @@
27 </h3> 27 </h3>
28 <ul> 28 <ul>
29 {{#each paymentWay}} 29 {{#each paymentWay}}
30 - <li {{#if isSelected}}class="chosed"{{/if}}> 30 + {{#if isSupport}}
  31 + <li {{#if recommend}}class="chosed"{{/if}}>
31 <span>{{name}}</span> 32 <span>{{name}}</span>
32 <i class="right iconfont {{#if recommend}}icon-cb-radio{{else}}icon-radio{{/if}}" data-id="{{paymentType}}"></i> 33 <i class="right iconfont {{#if recommend}}icon-cb-radio{{else}}icon-radio{{/if}}" data-id="{{paymentType}}"></i>
33 </li> 34 </li>
  35 + {{/if}}
34 {{/each}} 36 {{/each}}
35 </ul> 37 </ul>
36 </div> 38 </div>