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.

69 lines
1022 B

  1. // pages/accountManagement/result/success.js
  2. Page({
  3. /**
  4. * 页面的初始数据
  5. */
  6. data: {
  7. type:null
  8. },
  9. // 返回上一级页面
  10. goback(){
  11. wx.switchTab({
  12. url: '/pages/mine/mine',
  13. })
  14. },
  15. /**
  16. * 生命周期函数--监听页面加载
  17. */
  18. onLoad: function (options) {
  19. if(options&&options.type=='delete'){
  20. this.setData({
  21. type:"delete",
  22. message:"删除成功"
  23. })
  24. }
  25. },
  26. /**
  27. * 生命周期函数--监听页面初次渲染完成
  28. */
  29. onReady: function () {
  30. },
  31. /**
  32. * 生命周期函数--监听页面显示
  33. */
  34. onShow: function () {
  35. },
  36. /**
  37. * 生命周期函数--监听页面隐藏
  38. */
  39. onHide: function () {
  40. },
  41. /**
  42. * 生命周期函数--监听页面卸载
  43. */
  44. onUnload: function () {
  45. },
  46. /**
  47. * 页面相关事件处理函数--监听用户下拉动作
  48. */
  49. onPullDownRefresh: function () {
  50. },
  51. /**
  52. * 页面上拉触底事件的处理函数
  53. */
  54. onReachBottom: function () {
  55. }
  56. })