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.
55 lines
908 B
55 lines
908 B
// pages/shdz/shdz.js
|
|
//获取应用实例
|
|
const app = getApp()
|
|
|
|
Page({
|
|
data: {
|
|
tapCurrent: 0,
|
|
},
|
|
|
|
onLoad: function () {
|
|
|
|
},
|
|
userInfo: function () {
|
|
wx.navigateTo({
|
|
url: '/pages/userInfo/userInfo'
|
|
})
|
|
},
|
|
towode: function () {
|
|
wx.switchTab
|
|
({
|
|
url: "/pages/wode/wode"
|
|
})
|
|
},
|
|
bindDateChange: function (e) {
|
|
this.setData({
|
|
date: e.detail.value
|
|
})
|
|
},
|
|
discount: function (e) {
|
|
var current = e.currentTarget.dataset.current;
|
|
this.setData({
|
|
tapCurrent: current
|
|
})
|
|
<<<<<<< HEAD
|
|
}
|
|
=======
|
|
},
|
|
toWode: function () {
|
|
wx.showToast({
|
|
title: '保存成功!',
|
|
icon: 'success',
|
|
duration: 2000
|
|
})
|
|
|
|
setTimeout(function () {
|
|
//要延时执行的代码
|
|
wx.switchTab({
|
|
url: "/pages/wode/wode"
|
|
})
|
|
}, 2000)
|
|
|
|
},
|
|
>>>>>>> f23362a433f70f1876587a01c643e157b7e8b3ae
|
|
})
|