|
@ -271,9 +271,11 @@ Page({ |
|
|
}, |
|
|
}, |
|
|
// 返回结算页面
|
|
|
// 返回结算页面
|
|
|
chooseBack: function (e) { |
|
|
chooseBack: function (e) { |
|
|
wx.navigateBack() |
|
|
if (this.data.productStr) { |
|
|
var addressId = e.currentTarget.dataset.id |
|
|
wx.navigateBack() |
|
|
wx.setStorageSync('addressId', addressId); |
|
|
var addressId = e.currentTarget.dataset.id |
|
|
|
|
|
wx.setStorageSync('addressId', addressId); |
|
|
|
|
|
} |
|
|
}, |
|
|
}, |
|
|
// 数据加载
|
|
|
// 数据加载
|
|
|
DataonLoad: function () { |
|
|
DataonLoad: function () { |
|
@ -287,7 +289,7 @@ Page({ |
|
|
if (res.code == 200) { |
|
|
if (res.code == 200) { |
|
|
var data = res.data; |
|
|
var data = res.data; |
|
|
var address = data.adds; |
|
|
var address = data.adds; |
|
|
that.numbers = data.adds; |
|
|
// that.numbers = data.adds;
|
|
|
if (address == '') { |
|
|
if (address == '') { |
|
|
var address = [] |
|
|
var address = [] |
|
|
} |
|
|
} |
|
|