马宇豪
2024-07-16 f591c27b57e2418c9495bc02ae8cfff84d35bc18
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);
}