2019-12-14 10:02:03 +08:00
|
|
|
// pages/chooseaddr/chooseaddr.js
|
|
|
|
Page({
|
|
|
|
|
2019-12-16 18:26:28 +08:00
|
|
|
/**
|
|
|
|
* 页面的初始数据
|
|
|
|
*/
|
|
|
|
data: {
|
2019-12-14 10:02:03 +08:00
|
|
|
|
2019-12-16 18:26:28 +08:00
|
|
|
},
|
2019-12-14 10:02:03 +08:00
|
|
|
|
2019-12-16 18:26:28 +08:00
|
|
|
/**
|
|
|
|
* 生命周期函数--监听页面加载
|
|
|
|
*/
|
|
|
|
onLoad: function(options) {
|
2019-12-14 10:02:03 +08:00
|
|
|
|
2019-12-16 18:26:28 +08:00
|
|
|
},
|
|
|
|
add() {
|
|
|
|
wx.navigateTo({
|
|
|
|
url: "/pages/addaddress/addaddress"
|
|
|
|
})
|
|
|
|
},
|
|
|
|
/**
|
|
|
|
* 生命周期函数--监听页面初次渲染完成
|
|
|
|
*/
|
|
|
|
onReady: function() {
|
2019-12-14 10:02:03 +08:00
|
|
|
|
2019-12-16 18:26:28 +08:00
|
|
|
},
|
2019-12-14 10:02:03 +08:00
|
|
|
|
2019-12-16 18:26:28 +08:00
|
|
|
/**
|
|
|
|
* 生命周期函数--监听页面显示
|
|
|
|
*/
|
|
|
|
onShow: function() {
|
2019-12-14 10:02:03 +08:00
|
|
|
|
2019-12-16 18:26:28 +08:00
|
|
|
},
|
2019-12-14 10:02:03 +08:00
|
|
|
|
2019-12-16 18:26:28 +08:00
|
|
|
/**
|
|
|
|
* 生命周期函数--监听页面隐藏
|
|
|
|
*/
|
|
|
|
onHide: function() {
|
2019-12-14 10:02:03 +08:00
|
|
|
|
2019-12-16 18:26:28 +08:00
|
|
|
},
|
2019-12-14 10:02:03 +08:00
|
|
|
|
2019-12-16 18:26:28 +08:00
|
|
|
/**
|
|
|
|
* 生命周期函数--监听页面卸载
|
|
|
|
*/
|
|
|
|
onUnload: function() {
|
2019-12-14 10:02:03 +08:00
|
|
|
|
2019-12-16 18:26:28 +08:00
|
|
|
},
|
2019-12-14 10:02:03 +08:00
|
|
|
|
2019-12-16 18:26:28 +08:00
|
|
|
/**
|
|
|
|
* 页面相关事件处理函数--监听用户下拉动作
|
|
|
|
*/
|
|
|
|
onPullDownRefresh: function() {
|
2019-12-14 10:02:03 +08:00
|
|
|
|
2019-12-16 18:26:28 +08:00
|
|
|
},
|
2019-12-14 10:02:03 +08:00
|
|
|
|
2019-12-16 18:26:28 +08:00
|
|
|
/**
|
|
|
|
* 页面上拉触底事件的处理函数
|
|
|
|
*/
|
|
|
|
onReachBottom: function() {
|
2019-12-14 10:02:03 +08:00
|
|
|
|
2019-12-16 18:26:28 +08:00
|
|
|
},
|
2019-12-14 10:02:03 +08:00
|
|
|
|
2019-12-16 18:26:28 +08:00
|
|
|
/**
|
|
|
|
* 用户点击右上角分享
|
|
|
|
*/
|
|
|
|
onShareAppMessage: function() {
|
2019-12-14 10:02:03 +08:00
|
|
|
|
2019-12-16 18:26:28 +08:00
|
|
|
}
|
2019-12-14 10:02:03 +08:00
|
|
|
})
|