From ddbefed51c276144db790185d54bdb7ea34a1af7 Mon Sep 17 00:00:00 2001
From: zhangwencui <1064582902@qq.com>
Date: 星期二, 03 二月 2026 16:21:30 +0800
Subject: [PATCH] 危险源台账,标注重大风险
---
src/pages/safeProduction/hazardSourceLedger/index.vue | 41 ++++++++++++++++++++++++++++++++++++++++-
1 files changed, 40 insertions(+), 1 deletions(-)
diff --git a/src/pages/safeProduction/hazardSourceLedger/index.vue b/src/pages/safeProduction/hazardSourceLedger/index.vue
index 494e3b4..bddfeda 100644
--- a/src/pages/safeProduction/hazardSourceLedger/index.vue
+++ b/src/pages/safeProduction/hazardSourceLedger/index.vue
@@ -26,7 +26,8 @@
v-if="visitList.length > 0">
<view v-for="(item, index) in visitList"
:key="index">
- <view class="ledger-item">
+ <view class="ledger-item"
+ :class="{ 'high-risk': item.riskLevel === '閲嶅ぇ椋庨櫓' }">
<view class="item-header">
<view class="item-left">
<view class="document-icon">
@@ -287,5 +288,43 @@
background: #667eea; // 淇濇寔椤甸潰鐗规湁鐨勮儗鏅壊
box-shadow: 0 4px 16px rgba(102, 126, 234, 0.3); // 淇濇寔椤甸潰鐗规湁鐨勯槾褰辨晥鏋�
}
+
+ // 閲嶅ぇ椋庨櫓鐐圭殑閱掔洰璀︾ず鏍囪瘑
+ .high-risk {
+ border-left: 8rpx solid #ff4d4f;
+ box-shadow: 0 2rpx 12rpx rgba(255, 77, 79, 0.2);
+ position: relative;
+ background-color: rgba(255, 77, 79, 0.02);
+ }
+
+ .high-risk .item-header {
+ position: relative;
+ padding-left: 20rpx;
+ }
+
+ .high-risk .item-header::after {
+ // content: "閲嶅ぇ椋庨櫓";
+ position: absolute;
+ top: 16rpx;
+ right: 20rpx;
+ font-size: 24rpx;
+ font-weight: 500;
+ color: #ff4d4f;
+ background-color: rgba(255, 77, 79, 0.1);
+ padding: 4rpx 16rpx;
+ border-radius: 16rpx;
+ border: 1rpx solid rgba(255, 77, 79, 0.3);
+ }
+
+ .high-risk .detail-row:nth-child(3) .u-tag {
+ font-size: 26rpx;
+ padding: 6rpx 16rpx;
+ border-radius: 16rpx;
+ font-weight: 500;
+ }
+
+ .high-risk .detail-row {
+ padding-left: 20rpx;
+ }
</style>
--
Gitblit v1.9.3