gjack
首先对text 设置监听事件
 <view bindtap="toast" class="usermotto">
    <text class="user-motto">{{motto}}</text>
  </view>
然后对该text 设置事件跳转。
  //事件处理函数 点击text
  toast: function() {
    wx.navigateTo({
      url: \'../blueberry/blueberry\'
    })
  }

分类:

技术点:

相关文章:

  • 2021-12-25
  • 2021-07-02
  • 2021-08-05
  • 2021-12-29
  • 2021-12-03
猜你喜欢
  • 2021-11-23
  • 2021-12-09
  • 2021-11-23
  • 2021-12-19
  • 2021-05-01
相关资源
相似解决方案