From 0b2357a173a2bc52f3532bfcf93ff31daf226231 Mon Sep 17 00:00:00 2001 From: zhouwenxuan <1175765986@qq.com> Date: 星期三, 06 九月 2023 14:44:23 +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..2cac95d 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: 83%;"> + <!-- <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