html52.com
我爱小程序-开发者交流社区

tabBar+web-view浏览页面没有返回键

问题模块 框架类型 API/组件名称 终端类型 微信版本 基础库版本
API和组件 小程序 web-view 工具 6.6.2.1240 1.9.9

1、 app.json中tabBar

"tabBar": {

    "color": "#a9b7b7",

    "selectedColor": "#fc5558",

    "borderStyle": "black",

    "list": [

        {

        "selectedIconPath": "pages/image/home_selected.png",

        "iconPath": "pages/image/home.png",

        "pagePath": "pages/home/home",

        "text": "首页"

        }

    ]

}

2、pages/home/home

<web-view src="https://shzx.360tax.net/wap/mobileindex"></web-view>


3、在web-view中浏览页面,但左上角没有返回键。导致web-view中的页面没法返回上一级。


4、是否是bug?会优化吗?



评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

真正的个人免签约支付接口

云免签H5支付