Page jump in micro-channel frame applet wepy

Copyright notice: reproduced please indicate the source https://blog.csdn.net/qq_41155191/article/details/90240601

Add an event in view of the

<view class="item-video" @tap="goNext">
      <button>点击跳转</button>
</view>

Set up 


methods = {
      goNext: function () {
        wx.navigateTo({
          url: '../myindex/myindex'  //跳转地址
        })
      }
}

 

Guess you like

Origin blog.csdn.net/qq_41155191/article/details/90240601