From ebc96a1cf0424c04dceacbc42f9ad2a897223be9 Mon Sep 17 00:00:00 2001
From: liukangdong <898885815@qq.com>
Date: 星期二, 25 六月 2024 14:42:04 +0800
Subject: [PATCH] css
---
h5/pages/staff/task/index.vue | 41 ++++++++++++++++++++++++++++-------------
1 files changed, 28 insertions(+), 13 deletions(-)
diff --git a/h5/pages/staff/task/index.vue b/h5/pages/staff/task/index.vue
index 8410340..53620a6 100644
--- a/h5/pages/staff/task/index.vue
+++ b/h5/pages/staff/task/index.vue
@@ -21,25 +21,25 @@
@click="statusClick(0)"
:class="{ active: search.queryType === 0 }"
class="box_head_item"
- >寰呭鐞� {{ headData.noticeWaitNum }}</view
+ >寰呭鐞� {{ headData.noticeWaitNum || '' }}</view
>
<view
@click="statusClick(1)"
:class="{ active: search.queryType === 1 }"
class="box_head_item"
- >宸插鐞� {{ headData.noticeDealNum }}</view
+ >宸插鐞�</view
>
<view
@click="statusClick(2)"
:class="{ active: search.queryType === 2 }"
class="box_head_item"
- >鎴戝彂璧风殑 {{ headData.noticeCreateNum }}</view
+ >鎴戝彂璧风殑</view
>
<view
@click="statusClick(3)"
:class="{ active: search.queryType === 3 }"
class="box_head_item"
- >鎶勯�佹垜鐨� {{ headData.noticeCopyNum }}</view
+ >鎶勯�佹垜鐨� {{ headData.noticeCopyNum || '' }}</view
>
</view>
</scroll-view>
@@ -114,9 +114,22 @@
<view class="box_list_item_nr_x"></view>
<view class="box_list_item_nr_text">
<text class="time">{{ item.createDate }}鎻愪氦</text>
- <text 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 class="placeholder9 fs24">鏆傛棤鏁版嵁</view>
</view>
</view>
<!-- 绛涢�� -->
@@ -227,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 = []
@@ -279,7 +292,9 @@
}).then(res => {
this.dataList = [...this.dataList, ...res.data.records]
this.dataList.forEach(i => {
- i.param1 = JSON.parse(i.param1)
+ if (i.param1) {
+ i.param1 = JSON.parse(i.param1)
+ }
})
console.log('dataList', this.dataList)
})
@@ -476,7 +491,7 @@
}
.tt {
font-size: 32rpx;
- font-weight: 500;
+ font-weight: 600;
color: #222222;
}
.info {
@@ -546,7 +561,7 @@
width: 100%;
text-align: center;
font-size: 32rpx;
- font-weight: 500;
+ font-weight: 600;
color: #222222;
}
.search_list {
--
Gitblit v1.9.3