@@ -73,7 +73,6 @@
"path": "pages/webview/index",
"style": {
"navigationBarTitleText": "网页",
- "navigationBarTextStyle": "white",
"navigationStyle": "custom", // 隐藏系统导航栏
"app-plus": {
"titleNView": false, //禁用原生导航栏
@@ -0,0 +1,31 @@
+<template>
+ <view class="webview">
+ <web-view :webview-styles="webviewStyles" :src="url"></web-view>
+ </view>
+</template>
+
+<script>
+export default {
+ components: {},
+ data() {
+ return {
+ url:'',
+ webviewStyles: {
+ progress: {
+ color: '#007AFF'
+ }
+ };
+ },
+ onLoad(option) {
+ this.url = decodeURIComponent(option.url);
+ methods: {
+};
+</script>
+<style lang="scss" scoped>
+</style>