css
liukangdong
2024-06-25 ebc96a1cf0424c04dceacbc42f9ad2a897223be9
h5/pages/staff/task/index.vue
@@ -21,7 +21,7 @@
          @click="statusClick(0)"
          :class="{ active: search.queryType === 0 }"
          class="box_head_item"
          >待处理 {{ headData.noticeWaitNum }}</view
          >待处理 {{ headData.noticeWaitNum || '' }}</view
        >
        <view
          @click="statusClick(1)"
@@ -39,7 +39,7 @@
          @click="statusClick(3)"
          :class="{ active: search.queryType === 3 }"
          class="box_head_item"
          >抄送我的 {{ headData.noticeCopyNum }}</view
          >抄送我的 {{ headData.noticeCopyNum || '' }}</view
        >
      </view>
    </scroll-view>
@@ -114,12 +114,21 @@
          <view class="box_list_item_nr_x"></view>
          <view class="box_list_item_nr_text">
            <text class="time">{{ item.createDate }}提交</text>
            <text v-if="item.status == '0'" class="btn" @click="handleAppr(item)">去处理</text>
            <text
              v-if="item.status == '0'"
              class="btn"
              @click="handleAppr(item)"
              >去处理</text
            >
          </view>
        </view>
      </view>
      <view v-if="dataList.length === 0"  style="text-align: center;">
        <image src="@/static/empty.png" style="width: 320rpx;margin: 120px auto 0" mode="widthFix" />
      <view v-if="dataList.length === 0" style="text-align: center">
        <image
          src="@/static/empty.png"
          style="width: 320rpx; margin: 120px auto 0"
          mode="widthFix"
        />
        <view class="placeholder9 fs24">暂无数据</view>
      </view>
    </view>
@@ -231,11 +240,11 @@
      ]
    }
  },
  onLoad() {
    this.getHeadList()
    this.pagination.page = 0
    this.getList()
  },
  // onLoad() {
  //   this.getHeadList()
  //   this.pagination.page = 0
  //   this.getList()
  // },
  onReachBottom() {
    // this.pagination.page = 0
    // this.dataList = []
@@ -283,7 +292,7 @@
      }).then(res => {
        this.dataList = [...this.dataList, ...res.data.records]
        this.dataList.forEach(i => {
          if(i.param1){
          if (i.param1) {
            i.param1 = JSON.parse(i.param1)
          }
        })
@@ -482,7 +491,7 @@
        }
        .tt {
          font-size: 32rpx;
          font-weight: 500;
          font-weight: 600;
          color: #222222;
        }
        .info {
@@ -552,7 +561,7 @@
      width: 100%;
      text-align: center;
      font-size: 32rpx;
      font-weight: 500;
      font-weight: 600;
      color: #222222;
    }
    .search_list {