diff --git a/src/views/oneMap/FloodStuationReview/xqRightBox.vue b/src/views/oneMap/FloodStuationReview/xqRightBox.vue index e5ececd..6e52623 100644 --- a/src/views/oneMap/FloodStuationReview/xqRightBox.vue +++ b/src/views/oneMap/FloodStuationReview/xqRightBox.vue @@ -144,7 +144,22 @@ -
+
+
+
{{ item.scale }}
+
+
+
{{ item.remark }}
+
{{ item.address }}
+
{{ item.person }}{{ ' ' }}{{ item.phone }}
+
+
+
上报:{{ item.startTime }}
+
截止:{{ item.endTime }}
+
+
+
+
@@ -178,6 +193,38 @@ status: 1, }, ]; +const problemList = ref([ + { + scale: 'Ⅳ', + remark: '污水井盖丢失', + address: '小河沟', + person: '张三', + phone: '13277980987', + startTime: '2022-02-27 10:00', + endTime: '2022-02-28 10:00', + class: 'highProblem', + }, + { + scale: 'Ⅲ', + remark: '污水井盖丢失', + address: '小河沟', + person: '张三', + phone: '13277980987', + startTime: '2022-02-27 10:00', + endTime: '2022-02-28 10:00', + class: 'middleProblem', + }, + { + scale: 'Ⅱ', + remark: '污水井盖丢失', + address: '小河沟', + person: '张三', + phone: '13277980987', + startTime: '2022-02-27 10:00', + endTime: '2022-02-28 10:00', + class: 'lowProblem', + }, +]); const ListBox = ref([ { name: '水雨情', value: 1 }, { name: '险情', value: 2 }, @@ -468,7 +515,6 @@ .table_content { width: 430px; height: calc(100% - 43px); - .tableHeader { width: 100%; height: 34px; @@ -620,9 +666,79 @@ } .problem { height: calc(100% - 45px); + height: 50px; + margin-bottom: 5px; + margin-left: 10px; + .problemItem { + display: flex; + .highProblem { + text-align: center; + font-weight: 400; + font-size: 16px; + color: #d3f6ff; + height: 35px; + width: 12%; + background: linear-gradient(0deg, #8e1e1e 0%, #420606 100%); + border-image: linear-gradient(0deg, #fd4d62, #ac241a) 10 10; + border: rgb(141, 28, 21) 1px solid; + border-radius: 10%; + } + .middleProblem { + text-align: center; + font-weight: 400; + font-size: 16px; + color: #d3f6ff; + height: 35px; + width: 12%; + background: linear-gradient(0deg, #f1b500 0%, #331e02 100%); + border-image: linear-gradient(0deg, #ffb61a, #f5a100) 10 10; + border: rgb(193, 133, 4) 1px solid; + border-radius: 10%; + } + .lowProblem { + text-align: center; + font-weight: 400; + font-size: 16px; + color: #d3f6ff; + height: 35px; + width: 12%; + background: linear-gradient(0deg, #97990e 0%, #3e3f0c 100%); + border-image: linear-gradient(0deg, #97990e, #97990e) 10 10; + border: rgb(202, 199, 6) 1px solid; + border-radius: 10%; + } + .problemText { + width: 88%; + margin-left: 20px; + display: flex; + flex-direction: column; + .problemTextTop { + display: flex; + height: 50%; + .problemContent { + margin-right: 35px; + margin-bottom: 5px; + text-align: center; + font-weight: 600; + font-size: 14px; + color: #d3f6ff; + } + } + .problemTextBottom { + display: flex; + text-align: center; + font-weight: 400; + font-size: 10px; + color: #d3f6ff; + .problemContent { + margin-right: 50px; + } + } + } + } // background: yellow; - background: url('@/assets/images/fhpl/normsadal.png') no-repeat; - background-size: 100% 100%; + // background: url('@/assets/images/fhpl/normsadal.png') no-repeat; + // background-size: 100% 100%; } } }