From bba77182f3f07fc6faa9a6ab1df7efb2b649b995 Mon Sep 17 00:00:00 2001
From: k94314517 <8417338+k94314517@user.noreply.gitee.com>
Date: 星期五, 12 四月 2024 18:38:08 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/1.0.1' into 1.0.1
---
wx/pages/dispatch_unit_records/dispatch_unit_records.vue | 18 +++++++++++++++++-
1 files changed, 17 insertions(+), 1 deletions(-)
diff --git a/wx/pages/dispatch_unit_records/dispatch_unit_records.vue b/wx/pages/dispatch_unit_records/dispatch_unit_records.vue
index d070953..7823b8b 100644
--- a/wx/pages/dispatch_unit_records/dispatch_unit_records.vue
+++ b/wx/pages/dispatch_unit_records/dispatch_unit_records.vue
@@ -1,7 +1,7 @@
<template>
<view class="policy">
<Search :list="cate" @search="getValue" label="鎵瑰崟鐢熸晥鏈�" />
- <view class="policy_list">
+ <view class="policy_list" v-if="list.length > 0">
<view class="policy_list_item" v-for="(item, index) in list" :key="index" @click="jump(item.id)">
<view class="item_top" :style="{ background: returnStyle(item.status) }">
<view class="item_top_info">
@@ -32,6 +32,11 @@
<view class="item_list_item_val">{{item.applyStartTime}}</view>
</view>
</view>
+ </view>
+ </view>
+ <view class="policy_list" v-else>
+ <view class="policy_list_image">
+ <image src="@/static/icon/default_nodata@2x.png" mode="widthFix"></image>
</view>
</view>
</view>
@@ -132,6 +137,17 @@
width: 100%;
padding: 20rpx 30rpx;
box-sizing: border-box;
+ .policy_list_image {
+ width: 100%;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ margin-top: 300rpx;
+ image {
+ width: 272rpx;
+ height: 272rpx;
+ }
+ }
.policy_list_item {
margin-top: 20rpx;
width: 100%;
--
Gitblit v1.9.3