Commit 05fc4f27 authored by xinzhedeai's avatar xinzhedeai

add: 隐患时间添加

parent afdd37f1
......@@ -48,22 +48,44 @@
<div style="width: 100%;">
<!-- 第一行:隐患描述 -->
<div style="
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
color: #333;
font-size: 0.3rem;
font-weight: bold;
font-family: PingFang SC;
">{{ item.description }}</div>
position: relative; /* 新增:相对定位容器 */
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
color: #333;
font-size: 0.3rem;
font-weight: bold;
font-family: PingFang SC;
">
{{ item.description }}
<!-- 新增:未读标记 -->
<span
v-show="!item.msgFlag"
style="
position: absolute;
top: 50%;
right: 0.15rem;
transform: translateY(-50%);
width: 0.1rem;
height: 0.1rem;
background: #FF4D4F;
border-radius: 50%;
"
></span>
</div>
<!-- 第二行:状态和时间 -->
<div style="display: flex; justify-content: start; gap: .34rem; margin: 8px 0;">
<van-tag :type="statusTagType(item.rectificationStatusName)">
{{ item.rectificationStatusName }}
</van-tag>
<span
style="color: #737373; font-size: 0.28rem;margin-left: -1.6rem;">检查时间:{{ item.checkDate }}</span>
<span v-show="item.rectificationStatus == 2"
style="color: #737373; font-size: 0.28rem;">整改时间:{{ item.rectificationDate || '-' }}</span>
<span v-show="item.rectificationStatus == 0 || item.rectificationStatus == 3"
style="color: #737373; font-size: 0.28rem;">整改截止时间:{{ item.rectificationDeadline || '-'}}</span>
<span v-show="item.rectificationStatus == 1"
style="color: #737373; font-size: 0.28rem;">检查时间:{{ item.checkDate || '-' }}</span>
<van-icon name="arrow" class="navToBtn" @click="viewDetail(item)" />
</div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment