You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
540 B
35 lines
540 B
//index.js
|
|
//获取应用实例
|
|
const app = getApp()
|
|
|
|
Page({
|
|
data: {
|
|
tapCurrent:0,
|
|
},
|
|
|
|
onLoad: function () {
|
|
|
|
},
|
|
userInfo:function(){
|
|
wx.navigateTo({
|
|
url:'/pages/userInfo/userInfo'
|
|
})
|
|
},
|
|
bindDateChange: function(e) {
|
|
this.setData({
|
|
date: e.detail.value
|
|
})
|
|
},
|
|
discount:function(e){
|
|
var current=e.currentTarget.dataset.current;
|
|
this.setData({
|
|
tapCurrent:current
|
|
})
|
|
},
|
|
newAddress:function(){
|
|
wx.navigateTo({
|
|
url:'/pages/newAddress/newAddress'
|
|
})
|
|
}
|
|
})
|