Commit 035c48b8 authored by xinzhedeai's avatar xinzhedeai

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

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