diff --git a/src/views/Jyh/Home/index.vue b/src/views/Jyh/Home/index.vue
index b102c3c..19f600a 100644
--- a/src/views/Jyh/Home/index.vue
+++ b/src/views/Jyh/Home/index.vue
@@ -71,7 +71,7 @@
{{ item.subject }}
- {{ item.importance }}
+ {{ tagMap[item.importance].text }}
@@ -124,9 +124,22 @@ const homeSearch = ref(null);
const dropdownWidth = ref(0);
const selectedCate = ref('软件');
const tagMap = {
- '高': '#f66f6a',
- '中': '#fac20a',
- '低': '#5e7ce0'
+ 'Critical': {
+ text: '致命',
+ color: '#c7000b'
+ },
+ 'High': {
+ text: '高',
+ color: '#f66f6a'
+ },
+ 'Medium': {
+ text: '中',
+ color: '#fac20a'
+ },
+ 'Low': {
+ text: '低',
+ color: '#5e7ce0'
+ }
}
const searchInput = ref(null);
@@ -238,7 +251,6 @@ getNoticeList();
.home-content {
font-size: 14px;
- height: 50%;
width: 50%;
display: flex;
flex-direction: column;