首页 > TAG信息列表 > currentWebview

uniapp里使用web-view遮挡导航顶部问题

<template> <view class="page-web"> <uni-nav-bar left-icon="back" :title="title" left-text="返回" @clickLeft="navigateBack" statusBar="true"></uni-nav-bar> <vi

uniapp动态禁止下拉刷新

// 禁止下拉刷新 isPullDown(isPull) { //获取当前 Webview 窗口对象 const pages = getCurrentPages(); const page = pages[pages.length - 1]; const currentWebview = page.$getAppWebview();

小程序页面嵌入H5

<template> <view class="content"> <web-view id="tq-view" src="https://widget-page.qweather.net/h5/index.html?md=012346&bg=1&lc=accu&key=7b9bf0a2b0064edbb77ecf758c8034f3&v=_1650194718744">&

uniapp webview监听页面加载后回调

在android 或者flutter 中使用webview的时候,通常都是能获取到页面加载前和加载后,通过此事件来做一些拦截控制 伪代码 var currentWebview = this.$scope.$getAppWebview(); let wv = currentWebview.children()[0] wv.addEventListener('loaded',function() { console.log

【UNI-APP】跳转外部链接 保留顶部

<template> <view class=""> <HeadBar title="标题" background_b="#f3212a" color="black" leftbtnclass="gc-000"></HeadBar> <web-view src="外部链接"></we

[绍棠] uni-app打包APP如何让<web-view>腾出statusBar高度

问题 <web-view>如果设了"navigationStyle" : "custom"会自动充满全部屏幕,现在,如果想在页面上面腾出statusBar高度,该怎么做? 不可行方案 CSS方案全部不可行。 可行方案一 <template> <view class="container"> <web-view :src="href"></web-view> &