马宇豪
2024-07-16 aaae9c0a6ecda07e3a1494d9dff124df97e062ce
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: #1890ff;margin-right: 5px;width: 65px;">退出</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))
            })
@@ -196,7 +208,7 @@
            setTimeout(() => {
               uni.stopPullDownRefresh();
               this.getExanineList();
            }, 1000);
            }, 2000);
         },
         clickSwitch(e) {
            this.getExanineList();
@@ -249,6 +261,7 @@
      box-shadow: 0 3px 12px rgba(0,0,0,0.05);
}
.barText{
   margin-left: 20px;
   text-align: center;
   width: 85%;
   font-size: 16px;