收藏
回答

微信小程序点击navigator页面不跳转,页面不包含tabbar

框架类型 问题类型 操作系统 工具版本
小程序 Bug Windows 1.03.2012120

<!--index.wxml-->

<view class="container">

  <block wx:for="{{items}}" wx:for-item="item" wx:key="index">

    <view class="checkpoint">

      <navigator url="{{item.url}}"  open-type="navigateTo" hover-class="navigator-hover" class="jump">

        {{item.name}}

      </navigator>

    </view>

  </block>

</view>

//app.json

{

  "pages": [

    "pages/index/index",

    "pages/checkpoint1/checkpoint1",

    "pages/checkpoint2/checkpoint2",

    "pages/checkpoint3/checkpoint3",

    "pages/checkpoint4/checkpoint4",

    "pages/checkpoint5/checkpoint5",

    "pages/checkpoint6/checkpoint6",

    "pages/checkpoint7/checkpoint7",

    "pages/checkpoint8/checkpoint8",

    "pages/checkpoint9/checkpoint9",

    "pages/checkpoint10/checkpoint10",

    "pages/checkpoint11/checkpoint10",

    "pages/checkpoint12/checkpoint12"

  ],

  "window": {

    "backgroundTextStyle": "light",

    "navigationBarBackgroundColor": "#fff",

    "navigationBarTitleText": "wx",

    "navigationBarTextStyle": "black"

  },

  "style": "v2",

  "sitemapLocation": "sitemap.json"

}


回答关注问题邀请回答
收藏

1 个回答

  • 落崖惊风
    落崖惊风
    01-15

    已经知道原因了,不用解答了,谢谢!

    01-15
    有用
    回复
登录 后发表内容
问题标签