From f5d67b69142c78be1ee996f53b6bb8e4c954761c Mon Sep 17 00:00:00 2001
From: zhouwenxuan <1175765986@qq.com>
Date: Wed, 15 Nov 2023 10:06:38 +0800
Subject: [PATCH] 页面跳转修改
---
pages/tabBar/notice/measures.vue | 15 ++++++++-------
1 files changed, 8 insertions(+), 7 deletions(-)
diff --git a/pages/tabBar/notice/measures.vue b/pages/tabBar/notice/measures.vue
index b12f0ba..9ed6f14 100644
--- a/pages/tabBar/notice/measures.vue
+++ b/pages/tabBar/notice/measures.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" size="17" style="margin-left: 10px;" @click="goBack" />
<view class="barText">响应措施反馈</view>
</view>
</view>
@@ -105,9 +105,9 @@
}).catch(err=>{})
},
goBack() {
- uni.navigateBack({
- url:'./detail/detail'
- });
+ uni.navigateTo({
+ url: `/pages/tabBar/notice/detail?data=` + encodeURIComponent(JSON.stringify(uni.getStorageSync("fdetailData")))
+ })
},
checkboxChange(n) {
@@ -136,12 +136,13 @@
icon: "none",
title: '提交成功'
});
- this.goBack();
+ uni.navigateTo({
+ url: `/pages/tabBar/notice/detail?data=` + encodeURIComponent(JSON.stringify(this.detailData))
+ })
}else{
uni.$u.toast(res.msg)
}
})
-
},
// 删除图片
deletePic(event) {
@@ -208,7 +209,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