From aaae9c0a6ecda07e3a1494d9dff124df97e062ce Mon Sep 17 00:00:00 2001
From: 马宇豪 <978517621@qq.com>
Date: 星期二, 16 七月 2024 16:33:58 +0800
Subject: [PATCH] 提交

---
 pages/tabBar/responsivity/showMeasures.vue |   21 +++++++++++++++------
 1 files changed, 15 insertions(+), 6 deletions(-)

diff --git a/pages/tabBar/responsivity/showMeasures.vue b/pages/tabBar/responsivity/showMeasures.vue
index bf5eb51..59211e8 100644
--- a/pages/tabBar/responsivity/showMeasures.vue
+++ b/pages/tabBar/responsivity/showMeasures.vue
@@ -6,7 +6,7 @@
 			<view class="statusBar" :style="{ paddingTop: statusBarHeight + 'px' }"></view>
 			<!-- 真正的导航栏内容 -->
 			<view class="navBar">
-				<u-icon name="arrow-left" color="black" size="17" @click="goBack" />
+				<u-icon name="arrow-left" color="black" style="margin-left: 10px;" size="17" @click="goBack" />
 				<view class="barText">响应措施反馈</view>
 			</view>
 		</view>
@@ -25,7 +25,7 @@
 					<text style="margin-top: 15px;">{{item}}</text>
 				</view>
 			</view>
-			<view class="second"  v-if="measures!=null">
+			<view class="second"  v-if="measures" >
 				<text style="font-size: 18px;margin-bottom: 20px;font-weight: 600;">补充措施</text>
 				<u--textarea style="margin-top: -5px;" v-model="measures" disabled placeholder="请输入内容" ></u--textarea>
 			</view>
@@ -80,9 +80,18 @@
 		},
 		methods: {
 			goBack() {
-				uni.navigateBack({
-				    url:'/pages/tabBar/responsivity/villageResponsivity'
-				});
+				console.log(uni.getStorageSync('backMeasures'),'222222')
+				if(uni.getStorageSync('backMeasures') == 'detail'){
+					uni.navigateTo({
+					  url: `/pages/tabBar/notice/detail?data=` + encodeURIComponent(JSON.stringify(uni.getStorageSync("fdetailData")))
+					})
+				}else if (uni.getStorageSync('backMeasures') == 'county'){
+					console.log("countyDetail",uni.getStorageSync('countyDetail'))
+					uni.navigateTo({
+					  url: `/pages/tabBar/responsivity/countyResponsivity?data=` + encodeURIComponent(JSON.stringify(uni.getStorageSync("countyDetail")))
+					})
+				}
+
 			},
 			//预览图片
 			previewSqs(item,index) {
@@ -109,7 +118,7 @@
   height: 50px;
   display: flex;
   flex-direction: row;
-  justify-content: center;
+  /* justify-content: center; */
   align-items: center;
   box-shadow: 0 3px 12px rgba(0,0,0,0.05);
 }

--
Gitblit v1.9.2