zhouwenxuan
2023-11-15 f5d67b69142c78be1ee996f53b6bb8e4c954761c
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>
@@ -80,9 +80,17 @@
      },
      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'){
               uni.navigateTo({
                 url: '/pages/tabBar/responsivity/countyResponsivity'
               })
            }
         },
         //预览图片
         previewSqs(item,index) {
@@ -109,7 +117,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);
}