user.js 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. // pages/user/user.js
  2. Page({
  3. /**
  4. * 页面的初始数据
  5. */
  6. data: {
  7. avatarUrl:"https://img.js.design/assets/smartFill/img313164da746310.jpg",
  8. nickName:"Username",
  9. userWxID:"UserWxID",
  10. personalSignatrue:"编辑个性签名,展示我的独特态度"
  11. },
  12. /**
  13. * 生命周期函数--监听页面加载
  14. */
  15. onLoad(options) {
  16. },
  17. /**
  18. * 生命周期函数--监听页面初次渲染完成
  19. */
  20. onReady() {
  21. },
  22. /**
  23. * 生命周期函数--监听页面显示
  24. */
  25. onShow() {
  26. },
  27. /**
  28. * 生命周期函数--监听页面隐藏
  29. */
  30. onHide() {
  31. },
  32. /**
  33. * 生命周期函数--监听页面卸载
  34. */
  35. onUnload() {
  36. },
  37. /**
  38. * 页面相关事件处理函数--监听用户下拉动作
  39. */
  40. onPullDownRefresh() {
  41. },
  42. /**
  43. * 页面上拉触底事件的处理函数
  44. */
  45. onReachBottom() {
  46. },
  47. /**
  48. * 用户点击右上角分享
  49. */
  50. onShareAppMessage() {
  51. },
  52. changeBtn:function(){
  53. wx.navigateTo({
  54. url: '/pages/userchange/userchange',
  55. })
  56. },
  57. })