diff --git a/pages/cart/cart2/cart2.js b/pages/cart/cart2/cart2.js index ff1e2ae..3096aca 100644 --- a/pages/cart/cart2/cart2.js +++ b/pages/cart/cart2/cart2.js @@ -1838,7 +1838,7 @@ Page({ 'twon': addr == null ? 0 : addr.twon, 'address': addr == null ? "" : addr.address, 'more_address': addr == null ? "" : addr.more_address, - 'mobile': th.data.userinfo.mobile, + 'mobile': addr == null ? th.data.userinfo.mobile : addr.mobile, 'email': '', 'shipping_code': th.data.is_all_zt == 1 ? 0 : th.data.wu_arr[t_item.wind].code, 'shipping_name': th.data.is_all_zt == 1 ? '' : th.data.wu_arr[t_item.wind].name, diff --git a/pages/cart/cart2_pt/cart2_pt.js b/pages/cart/cart2_pt/cart2_pt.js index 52adf3e..447c03e 100644 --- a/pages/cart/cart2_pt/cart2_pt.js +++ b/pages/cart/cart2_pt/cart2_pt.js @@ -488,7 +488,7 @@ Page({ 'twon': addr == null ? 0 : addr.twon, 'address': addr == null ? "": addr.address, 'more_address': addr == null ? "" : addr.more_address, - 'mobile': th.data.userinfo.mobile, + 'mobile': addr == null ? th.data.userinfo.mobile:addr.mobile, 'email':'', 'invoice_title':'', 'goods_price': th.data.formData.all_price, //商品总价