Authored by Rock Zhang

修复结算页选择地址时is_support属性不能传递过去的bug

Code Review By Rock Zhang
@@ -19,7 +19,8 @@ $('.address-item').on('touchend', function() { @@ -19,7 +19,8 @@ $('.address-item').on('touchend', function() {
19 address_id: $this.data('address-id'), 19 address_id: $this.data('address-id'),
20 consignee: $this.find('.name').text(), 20 consignee: $this.find('.name').text(),
21 mobile: $this.find('.tel').text(), 21 mobile: $this.find('.tel').text(),
22 - address_info: $this.find('.address-info').text() 22 + address_info: $this.find('.address-info').text(),
  23 + is_support: $this.data('is-support')
23 }; 24 };
24 25
25 orderInfo('addressId', addressId); 26 orderInfo('addressId', addressId);
@@ -2,7 +2,7 @@ @@ -2,7 +2,7 @@
2 <div class="my-address-page select-address-page yoho-page"> 2 <div class="my-address-page select-address-page yoho-page">
3 <div class="page-wrap"> 3 <div class="page-wrap">
4 {{# address}} 4 {{# address}}
5 - <a class="address-item" data-address-id="{{address_id}}" href="/cart/index/orderEnsure"> 5 + <a class="address-item" data-address-id="{{address_id}}" data-is-support="{{is_support}}" href="/cart/index/orderEnsure">
6 <span class="name">{{consignee}}</span> 6 <span class="name">{{consignee}}</span>
7 <span class="tel">{{mobile}}</span> 7 <span class="tel">{{mobile}}</span>
8 <p class="address-info">{{area}} {{address}}</p> 8 <p class="address-info">{{area}} {{address}}</p>