zhouwenxuan
2023-11-15 f5d67b69142c78be1ee996f53b6bb8e4c954761c
pages/tabBar/examine/examine.vue
@@ -7,8 +7,11 @@
         <!-- 真正的导航栏内容 -->
         <view style="display: flex; flex-direction: column;" >
            <view class="navBar">
               <u-icon style=" margin-left: -25px;" name="arrow-left" color="black" size="17" @click="goBack" />
               <u-icon style=" margin-left: 13px;" name="arrow-left" color="black" size="17" @click="goBack" />
               <view class="barText">工作通知审核</view>
               <view >
                  <u-button type="text" @click="loginOut" style="color: blue;margin-right: 5px;">退出</u-button>
               </view>
            </view>
         </view>
      </view>
@@ -134,6 +137,13 @@
         this.getExanineList();
      },
      methods: {
         loginOut() {
            uni.clearStorageSync();
            uni.clearStorage();
            uni.navigateTo({
               url: '/pages/index/index'
            })
         },
         goBack() {
            console.log("1111")
            uni.switchTab({
@@ -186,6 +196,8 @@
         },
         toDetail(item) {
            console.log("item",item)
            uni.setStorageSync('backFlag','examine');
            console.log("uunget",uni.getStorageSync('backFlag'))
            uni.navigateTo({
              url: `/pages/tabBar/notice/detail?data=` + encodeURIComponent(JSON.stringify(item))
            })