index.js 418 B

123456789101112131415161718192021222324252627
  1. const app = getApp()
  2. Page({
  3. data: {
  4. value: '',
  5. isIos: app.globalData.isIOS
  6. },
  7. onLoad(options) {
  8. },
  9. sendReply() {
  10. if (!this.data.value) {
  11. return
  12. }
  13. },
  14. bindKeyInput(e) {
  15. this.setData({
  16. value: e.detail.value
  17. })
  18. },
  19. jumpUserInfo({
  20. currentTarget
  21. }) {
  22. wx.navigateTo({
  23. url: `/pages/personal/index?uid=${currentTarget.dataset.uid}&type=user`,
  24. })
  25. },
  26. })