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.
44 lines
728 B
44 lines
728 B
//index.js
|
|
//获取应用实例
|
|
const app = getApp()
|
|
|
|
Page({
|
|
data: {
|
|
tapCurrent:0,
|
|
region: ['广东省', '广州市', '海珠区'],
|
|
},
|
|
|
|
onLoad: function () {
|
|
|
|
},
|
|
userInfo:function(){
|
|
wx.navigateTo({
|
|
url:'/pages/userInfo/userInfo'
|
|
})
|
|
},
|
|
backAddress:function(){
|
|
wx.navigateTo({
|
|
url:'/pages/manageAddress/manageAddress'
|
|
})
|
|
},
|
|
bindDateChange: function(e) {
|
|
this.setData({
|
|
date: e.detail.value
|
|
})
|
|
},
|
|
discount:function(e){
|
|
var current=e.currentTarget.dataset.current;
|
|
this.setData({
|
|
tapCurrent:current
|
|
})
|
|
},
|
|
bindDateChange: function(e) {
|
|
this.setData({
|
|
region: e.detail.value
|
|
})
|
|
},
|
|
switch2Change: function (e){
|
|
|
|
},
|
|
})
|