Commit 035c48b8 authored by xinzhedeai's avatar xinzhedeai

feature: 隐患审核与商家隐患主页同步

No related merge requests found
......@@ -54,6 +54,9 @@
}
.van-tab {
color: #000;
}
/* 添加以下样式 */
.van-tabs__line {
background-color: #1989fa;
......@@ -92,6 +95,14 @@
.van-field__control {
color: #737373;
}
.navToBtn {
color: #5B5B5B;
font-size: .36rem;
margin-top: .04rem;
position: absolute;
right: 0;
}
</style>
</head>
......@@ -138,12 +149,13 @@
">{{ item.description }}</div>
<!-- 第二行:状态和时间 -->
<div style="display: flex; justify-content: space-between; margin: 8px 0;">
<div style="display: flex; justify-content: start; gap: .34rem; margin: 8px 0;">
<van-tag :type="statusTagType(item.status)">
{{ item.status }}
</van-tag>
<span style="color: #737373; font-size: 0.28rem;margin-left: -1.4rem;">检查时间:{{ item.date }}</span>
<van-icon name="arrow" style="color: #1081E3;" @click="viewDetail(item.id)" />
<span
style="color: #737373; font-size: 0.28rem;margin-left: -1.6rem;">检查时间:{{ item.date }}</span>
<van-icon name="arrow" class="navToBtn" @click="viewDetail(item.id)" />
</div>
<!-- 第三行:商家和箭头 -->
......@@ -166,7 +178,7 @@
subActiveTab: 0,
hazardList: [{
id: 1,
description: '消防通道被货物堵塞,存在严重安全隐患需要立即整改',
description: '消防通道被货物堵塞,存在严重安全隐患',
status: '待审核',
date: '2024-03-15',
shop: 'XX餐饮店',
......@@ -174,7 +186,7 @@
},
{
id: 2,
description: '消防通道被货物堵塞,存在严重安全隐患需要立即整改',
description: '消防通道被货物堵塞,存在严重安全隐患',
status: '待整改',
date: '2024-03-15',
shop: 'XX餐饮店',
......
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