From b1fc04036f964163c128586810fec8b5e9da7e2c Mon Sep 17 00:00:00 2001
From: 马宇豪 <978517621@qq.com>
Date: 星期一, 24 七月 2023 09:58:10 +0800
Subject: [PATCH] 样式修改

---
 pages/tabBar/notice/measures.vue |   53 ++++++++++++++++++++++++++++++++++++++++++++++-------
 1 files changed, 46 insertions(+), 7 deletions(-)

diff --git a/pages/tabBar/notice/measures.vue b/pages/tabBar/notice/measures.vue
index 4723e25..b83563c 100644
--- a/pages/tabBar/notice/measures.vue
+++ b/pages/tabBar/notice/measures.vue
@@ -6,10 +6,11 @@
 			<view class="statusBar" :style="{ paddingTop: statusBarHeight + 'px' }"></view>
 			<!-- 真正的导航栏内容 -->
 			<view class="navBar">
+				<u-icon name="arrow-left" color="black" size="17" @click="goBack" />
 				<view class="barText">响应措施反馈</view>
 			</view>
 		</view>
-		<view style="display: flex;flex-direction: column; padding: 10px 15px;">
+		<view class="measureCard">
 			<view class="first">
 				<text style="font-size: 16px;margin-bottom: 20px;">基础措施</text>
 				 <u-checkbox-group
@@ -46,7 +47,9 @@
 						{{item.name}}
 					</view>
 			</view>
-			<u-button class="btn" type="success">提交</u-button>
+		</view>
+		<view class="measures">
+		<u-button class="measureBtn" type="success">提交</u-button>
 		</view>
 	</view>
 </template>
@@ -89,6 +92,12 @@
 			uni.hideTabBar();
 		},
 		methods: {
+			goBack() {
+				uni.navigateBack({
+				    url:'./detail/detail'
+				});
+			},
+			
 			checkboxChange(n) {
 				console.log('change', n);
 			},
@@ -148,12 +157,31 @@
 
 <style lang='scss' scoped>
 .navBarBox .navBar {
-	background-color:lightgrey;
-	height: 25px;
+  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{
+  /* margin-left: 20px; */
+  text-align: center;
+  width: 85%;
+  font-size: 16px;
+  /* text-align: center; */
+  font-weight: 600;
+}
+
+.measureCard{
 	display: flex;
-	flex-direction: row;
-	justify-content: center;
-	align-items: center;
+	flex-direction: column;
+	background: #fff;
+	box-shadow: 0 3px 12px rgba(0,0,0,0.05);
+	margin: 12px 12px 20px;
+	border-radius: 5px;
+	padding: 30px 12px;
 }
 .fix{
 	position: sticky;
@@ -191,6 +219,17 @@
 	margin-top: 5px;
 	font-size: 14px;
 }
+
+.measures{
+	margin-top: 50px 12px 0;
+	padding: 0 12px;
+	
+	.measureBtn{
+		border-radius: 5px;
+		box-shadow: 0 3px 12px rgba(33,239,102,0.4);
+	}
+}
+
 /* .btn{
 	position: fixed;
 	bottom: var(--window-bottom, 1);

--
Gitblit v1.9.2