From 22f0e04d34f19aac857e25627343dff9a2542057 Mon Sep 17 00:00:00 2001
From: zhouwenxuan <1175765986@qq.com>
Date: 星期二, 25 七月 2023 15:12:42 +0800
Subject: [PATCH] 新增页面
---
pages/tabBar/weather/weather.vue | 26 ++++++++++++--------------
1 files changed, 12 insertions(+), 14 deletions(-)
diff --git a/pages/tabBar/weather/weather.vue b/pages/tabBar/weather/weather.vue
index 6eb220b..0ad52a8 100644
--- a/pages/tabBar/weather/weather.vue
+++ b/pages/tabBar/weather/weather.vue
@@ -1,5 +1,5 @@
<template>
- <view>
+ <view style="height: 100%;">
<!-- 自定义导航栏 -->
<view class="navBarBox fix">
<!-- 状态栏占位 -->
@@ -12,8 +12,9 @@
</view>
</view>
</view>
- <view style="margin-bottom: 50px;">
- <web-view :src="webViewUrl"></web-view>
+ <view style="height: 85%;">
+ <!-- <web-view :src="webViewUrl"></web-view> -->
+ <iframe :src="webViewUrl" width="100%" height="100%"> </iframe>
</view>
<tabBar :currentPagePath="page"></tabBar>
</view>
@@ -40,7 +41,6 @@
},
methods: {
goBack() {
- console.log("1111")
uni.switchTab({
url:'/pages/tabBar/firstPage/firstPage'
});
@@ -66,12 +66,14 @@
z-index: 1;
}
.navBarBox .navBar {
- background-color:lightgrey;
- height: 45px;
- display: flex;
- flex-direction: row;
- justify-content: center;
- align-items: center;
+ background-color:#fff;
+ height: 50px;
+ display: flex;
+ flex-direction: row;
+ justify-content: center;
+ align-items: center;
+ box-shadow: 0 3px 12px rgba(0,0,0,0.05);
+
}
.barText{
text-align: center;
@@ -81,9 +83,5 @@
}
.statusBar{
background-color:lightgrey;
-}
-/deep/ .embed-map #detail .table-wrapper {
- background-color: #f8f8f8;
- margin-bottom: 50px;
}
</style>
\ No newline at end of file
--
Gitblit v1.9.2