From 5392dc649209ff372ec276aa6cbf86b16b12a375 Mon Sep 17 00:00:00 2001
From: 周宾 <2802492122@qq.com>
Date: 星期五, 26 十二月 2025 16:41:16 +0800
Subject: [PATCH] 天津双奇点-仓储物流板块开发
---
src/pages/common/webview/index.vue | 34 ++++++++++++++++++++++++++++++++++
1 files changed, 34 insertions(+), 0 deletions(-)
diff --git a/src/pages/common/webview/index.vue b/src/pages/common/webview/index.vue
new file mode 100644
index 0000000..8388c76
--- /dev/null
+++ b/src/pages/common/webview/index.vue
@@ -0,0 +1,34 @@
+<template>
+ <view v-if="params.url">
+ <web-view :webview-styles="webviewStyles" :src="`${params.url}`"></web-view>
+ </view>
+</template>
+
+<script>
+ export default {
+ data() {
+ return {
+ params: {},
+ webviewStyles: {
+ progress: {
+ color: "#FF3333"
+ }
+ }
+ }
+ },
+ props: {
+ src: {
+ type: [String],
+ default: null
+ }
+ },
+ onLoad(event) {
+ this.params = event
+ if (event.title) {
+ uni.setNavigationBarTitle({
+ title: event.title
+ })
+ }
+ }
+ }
+</script>
--
Gitblit v1.9.3