From dbccfc04eb5a927d690bb75277f614e63d4544c9 Mon Sep 17 00:00:00 2001
From: zhouwx <1175765986@qq.com>
Date: Wed, 21 Jan 2026 15:54:13 +0800
Subject: [PATCH] 适配64位
---
pages/tabBar/notice/measures.vue | 24 +++++++++++++-----------
1 files changed, 13 insertions(+), 11 deletions(-)
diff --git a/pages/tabBar/notice/measures.vue b/pages/tabBar/notice/measures.vue
index b12f0ba..5963dcd 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>
@@ -43,12 +43,12 @@
:maxCount="10"
style="margin-top: -10px;"
></u-upload>
- <view :class="{pic: nameList.length>0}">
+ <!-- <view :class="{pic: nameList.length>0}">
<view class="picItem" v-for="(item,index) in nameList" :key="index">
<image src="../../../static/pic.png">
{{item.name}}
</view>
- </view>
+ </view> -->
</view>
</view>
<view class="measures">
@@ -105,9 +105,10 @@
}).catch(err=>{})
},
goBack() {
- uni.navigateBack({
- url:'./detail/detail'
- });
+ console.log("fdetailData",uni.getStorageSync("fdetailData"))
+ uni.navigateTo({
+ url: `/pages/tabBar/notice/detail?data=` + encodeURIComponent(JSON.stringify(uni.getStorageSync("fdetailData")))
+ })
},
checkboxChange(n) {
@@ -118,7 +119,7 @@
console.log('change', this.measureIds);
},
submit() {
- if(this.measureIds.length <0) {
+ if(this.measureIds.length <= 0) {
uni.showToast({
icon: "none",
title: '请勾选基础措施'
@@ -136,12 +137,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 +210,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);
}
@@ -256,7 +258,7 @@
margin-top: 30px;
margin-bottom: 50px;
}
-/deep/ .u-upload__button{
+::v-deep .u-upload__button{
background-color: white;
}
.pic{
--
Gitblit v1.9.2