马宇豪
2024-07-16 f591c27b57e2418c9495bc02ae8cfff84d35bc18
pages/tabBar/response/response.vue
@@ -8,7 +8,7 @@
         <view class="navBar">
            <view class="barText">叫应记录</view>
            <view >
               <u-button type="text" @click="loginOut" style="color: blue;margin-right: 5px;">退出</u-button>
               <u-button type="text" @click="loginOut" style="color: #1890ff;margin-right: 5px;width: 65px;">退出</u-button>
            </view>
         </view>
      </view>
@@ -82,6 +82,8 @@
         },
         getResponseList() {
        this.loading = true
            getResponse(this.data).then(res => {
               if (res.code === 100) {
                  let list = res.data ? res.data : [];
@@ -110,6 +112,8 @@
            getDetail({id: item.id}).then(res => {
          console.log("response",res)
               if(res.code == 100) {
                  uni.setStorageSync('fdetailData', res.data);
                  uni.setStorageSync('backFlag','response');
                  uni.navigateTo({
                    url: `/pages/tabBar/notice/detail?data=` + encodeURIComponent(JSON.stringify(res.data))
                  })
@@ -122,7 +126,7 @@
            setTimeout(() => {
               uni.stopPullDownRefresh();
               this.getResponseList();
            }, 1000);
            }, 2000);
         },
      upper: function(e) {
@@ -156,7 +160,7 @@
  box-shadow: 0 3px 12px rgba(0,0,0,0.05);
}
.barText{
  /* margin-left: 20px; */
  margin-left: 55px;
  text-align: center;
  width: 85%;
  font-size: 16px;