From 06296781dbf64e0b8ca08e3a07c5efe1cdd99fc5 Mon Sep 17 00:00:00 2001 From: liushilong <2224574157@qq.com> Date: Thu, 11 Apr 2024 18:45:56 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E9=80=82=E9=85=8D=E5=90=8E=E7=AB=AF?= =?UTF-8?q?=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/task/content/Content.vue | 640 ++++++++++++----------------- 1 file changed, 253 insertions(+), 387 deletions(-) diff --git a/src/views/task/content/Content.vue b/src/views/task/content/Content.vue index a03961b..60cebe5 100644 --- a/src/views/task/content/Content.vue +++ b/src/views/task/content/Content.vue @@ -1,13 +1,5 @@ @@ -540,18 +518,8 @@ function closePassno(){
任务ID:{{ taskDetailInfo.fromtaskname }}
@@ -694,18 +662,10 @@ function closePassno(){ />
- +
- +
@@ -715,11 +675,7 @@ function closePassno(){ - + @@ -738,41 +694,21 @@ function closePassno(){ - {{ totalCount }} - + {{ totalCount }} 相似匹配
- - {{ - taskDetailInfo?.ocrPicture?.photoDateTimestamp - ? formatToDateHMS( - Number(taskDetailInfo.ocrPicture.photoDateTimestamp) - ) - : "-" - }} + + {{ taskDetailInfo?.ocrPicture?.photoDateTimestamp ?? "-" }}
- + {{ taskDetailInfo?.ocrPicture?.submitDateTimestamp - ? formatToDateHMS( - Number(taskDetailInfo.ocrPicture.submitDateTimestamp) - ) + ? formatToDateHMS(Number(taskDetailInfo.ocrPicture.submitDateTimestamp)) : "-" }}
@@ -840,12 +776,7 @@ function closePassno(){ />
- + {{ item.photoDateTimestamp ? formatToDateHMS(Number(item.photoDateTimestamp)) @@ -853,12 +784,7 @@ function closePassno(){ }}
- + {{ item.submitDateTimestamp ? formatToDateHMS(Number(item.submitDateTimestamp)) @@ -927,16 +853,10 @@ function closePassno(){ {{ item[0].value }}
-
+
{{ item[0].label }}
-
+
{{ item[0].value }}
-
+
时间排序 - - + +
-
+
相似度排序 - - + +
-
+
+
+
-
- -
- - -
-
-
-
- -
- - - -
-
- - {{ - item.photoDateTimestamp - ? formatToDateHMS(Number(item.photoDateTimestamp)) - : "-" - }} -
-
- - {{ - item.submitDateTimestamp - ? formatToDateHMS(Number(item.submitDateTimestamp)) - : "-" - }} -
-
-
- {{ item.similarityScore }}% -
-
-
-
- - + +
@@ -1882,145 +1752,141 @@ function closePassno(){ margin: 3px 0 10px 0; max-width: 650px; } - .allview { - flex: 0.5; - background: #f6f9fd; - border-radius: 8px; - // margin-left: 20px; - padding-top: 24px; - .action { - position: absolute; - z-index: 10; - width: 100%; - height: 100%; - display: flex; - border-radius: 8px; - align-items: center; - justify-content: center; - background-color: rgba(0, 0, 0, 0.5); - } - .right-card { - padding: 3px; - } - - .header { - display: flex; - justify-content: space-between; - font-size: 17px; - font-weight: bold; - color: #333333; - margin-bottom: 16px; - } - - .list { - display: flex; - flex-wrap: wrap; - flex-direction: row; - justify-content: flex-start; - flex-shrink: 0; - } - - .item { - // flex-basis: calc((100% - 48px) / 3); - box-sizing: border-box; - border-radius: 8px; - position: relative; - // overflow: hidden; - margin: 0px 16px 27px 0px; - - .small-mark { - width: 100%; - height: 53px; - background: linear-gradient( - 180deg, - rgba(0, 0, 0, 0.01), - rgba(0, 0, 0, 0.44) 88% - ); - border-radius: 0px 8px 8px 8px; - position: absolute; - left: 0; - bottom: 0; - z-index: 0; - } - - .tag-status { - width: 46px; - height: 22px; - position: absolute; - left: -4px; - top: 4px; - } - - .time { - position: absolute; - z-index: 3; - left: 3px; - bottom: 3px; +.allview { + flex: 0.5; + background: #f6f9fd; + border-radius: 8px; + // margin-left: 20px; + padding-top: 24px; + .action { + position: absolute; + z-index: 10; + width: 100%; + height: 100%; + display: flex; + border-radius: 8px; + align-items: center; + justify-content: center; + background-color: rgba(0, 0, 0, 0.5); + } + .right-card { + padding: 3px; + } - .time-item { - display: flex; - align-items: center; - font-size: 16px; - font-family: PingFang SC, PingFang SC-Medium; - font-weight: 500; - color: #ffffff; - margin-bottom: 2px; - line-height: 12px; - } + .header { + display: flex; + justify-content: space-between; + font-size: 17px; + font-weight: bold; + color: #333333; + margin-bottom: 16px; + } - .time-item2 { - margin-bottom: 0; - } + .list { + display: flex; + flex-wrap: wrap; + flex-direction: row; + justify-content: flex-start; + flex-shrink: 0; + } - .svg-time { - margin-right: 5px; - } - } + .item { + // flex-basis: calc((100% - 48px) / 3); + box-sizing: border-box; + border-radius: 8px; + position: relative; + // overflow: hidden; + margin: 0px 16px 27px 0px; + + .small-mark { + width: 100%; + height: 53px; + background: linear-gradient(180deg, rgba(0, 0, 0, 0.01), rgba(0, 0, 0, 0.44) 88%); + border-radius: 0px 8px 8px 8px; + position: absolute; + left: 0; + bottom: 0; + z-index: 0; + } - .img-wrapper { - position: relative; - width: 230px; - height: 130px; - overflow: hidden; - background-size: cover; - background-position: center; - background-repeat: no-repeat; - border-radius: 8px; - cursor: n-resize; - } + .tag-status { + width: 46px; + height: 22px; + position: absolute; + left: -4px; + top: 4px; + } - .check { - position: absolute; - z-index: 5; - left: 6px; - top: 4px; - } - } + .time { + position: absolute; + z-index: 3; + left: 3px; + bottom: 3px; - .percent { - position: absolute; + .time-item { display: flex; align-items: center; - justify-content: center; - width: 35px; - height: 18px; - opacity: 0.9; - background: #6f92fd; - border-radius: 6px 0px 6px 0px; - z-index: 5; - right: 12px; - top: 2px; - color: #fff; - font-size: 14px; + font-size: 16px; + font-family: PingFang SC, PingFang SC-Medium; + font-weight: 500; + color: #ffffff; + margin-bottom: 2px; + line-height: 12px; } - .percent-unit { - font-size: 8px; - margin-top: 4px; + .time-item2 { + margin-bottom: 0; } - .percent-red { - background: #ff4e4f; + .svg-time { + margin-right: 5px; } } + + .img-wrapper { + position: relative; + width: 230px; + height: 130px; + overflow: hidden; + background-size: cover; + background-position: center; + background-repeat: no-repeat; + border-radius: 8px; + cursor: n-resize; + } + + .check { + position: absolute; + z-index: 5; + left: 6px; + top: 4px; + } + } + + .percent { + position: absolute; + display: flex; + align-items: center; + justify-content: center; + width: 35px; + height: 18px; + opacity: 0.9; + background: #6f92fd; + border-radius: 6px 0px 6px 0px; + z-index: 5; + right: 12px; + top: 2px; + color: #fff; + font-size: 14px; + } + + .percent-unit { + font-size: 8px; + margin-top: 4px; + } + + .percent-red { + background: #ff4e4f; + } +} -- 2.39.3