Bonus-AI-LargeScreen/src/views/updateFace/faceListResultCount.vue

132 lines
2.6 KiB
Vue
Raw Normal View History

2024-07-31 17:09:32 +08:00
<template>
2024-08-26 10:15:17 +08:00
<div class="body-container">
<table class="mian">
<thead>
<tr class="faceListRecoResultRow">
<th class="faceListRecoResultColume faceListRecoResultColumeSort">序号</th>
<th class="faceListRecoResultColume faceListRecoResultColumeIPAddr">访问地址</th>
<th class="faceListRecoResultColume faceListRecoResultColumeDate">访问时间</th>
<th class="faceListRecoResultColume faceListRecoResultColumeTime">响应时长</th>
</tr>
</thead>
<tbody>
<tr v-for="(item, index) in faceRecognition" :key="index"
:class="{ 'faceContentRowEven': index % 2 === 0, 'faceContentRowPrime': index % 2 !== 0 }">
<td class="faceListRecoResultColume faceListRecoResultColumeSort">{{ index + 1 }}</td>
<td class="faceListRecoResultColume faceListRecoResultColumeIPAddr">{{ item.ip }}</td>
<td class="faceListRecoResultColume faceListRecoResultColumeDate">{{ item.returnTime }}</td>
<td class="faceListRecoResultColume faceListRecoResultColumeTime">{{ item.responseTime }}</td>
</tr>
</tbody>
</table>
</div>
2024-07-31 17:09:32 +08:00
</template>
<script>
export default {
2024-08-26 10:15:17 +08:00
name: 'faceListResultCount',
data() {
return {
faceRecognition: [1, 1, 1, 1, 1, 1, 1, 1, 1, 1],
2024-07-31 17:09:32 +08:00
}
2024-08-26 10:15:17 +08:00
}
2024-07-31 17:09:32 +08:00
}
</script>
<style scoped>
::-webkit-scrollbar {
2024-08-26 10:15:17 +08:00
display: none;
}
.mian {
width: 100%;
height: 100%;
display: flex;
flex-direction: column
2024-07-31 17:09:32 +08:00
}
/* Firefox */
html {
2024-08-26 10:15:17 +08:00
scrollbar-width: none;
-ms-overflow-style: none;
2024-07-31 17:09:32 +08:00
}
/* IE 10+ */
* {
2024-08-26 10:15:17 +08:00
-ms-overflow-style: none;
2024-07-31 17:09:32 +08:00
}
.faceListRecoResultBox {
2024-08-26 10:15:17 +08:00
padding-left: 1.25rem;
padding-right: 1.25rem;
position: relative;
2024-07-31 17:09:32 +08:00
}
.faceListRecoResultPic {
2024-08-26 10:15:17 +08:00
width: 100%;
height: 3.0625rem;
2024-07-31 17:09:32 +08:00
}
.faceListRecoResultTable {
2024-08-26 10:15:17 +08:00
width: 100%;
2024-07-31 17:09:32 +08:00
}
tbody {
2024-08-26 10:15:17 +08:00
height: 100%;
overflow: auto;
display: block;
scroll-behavior: smooth;
2024-07-31 17:09:32 +08:00
}
.faceListRecoResultRow {
2024-08-26 10:15:17 +08:00
width: 100%;
background: linear-gradient(to bottom, rgba(47, 47, 214, .6), rgba(255, 255, 255, .7));
display: flex;
height: 2.1rem;
/* 底部边框为2像素宽的黑色边框 */
2024-07-31 17:09:32 +08:00
}
.faceListRecoResultColume {
2024-08-26 10:15:17 +08:00
font-size: 1rem;
padding-top: .3rem;
padding-bottom: .4rem;
text-align: center;
height: 2rem;
color: #FFFFFF;
2024-07-31 17:09:32 +08:00
}
.faceContentRowPrime {
2024-08-26 10:15:17 +08:00
background-color: RGBA(13, 31, 75, .8);
display: flex;
2024-07-31 17:09:32 +08:00
}
.faceContentRowEven {
2024-08-26 10:15:17 +08:00
background-color: RGBA(6, 19, 48, .9);
display: flex;
2024-07-31 17:09:32 +08:00
}
.faceListRecoResultColumeSort {
2024-08-26 10:15:17 +08:00
flex: 1
2024-07-31 17:09:32 +08:00
}
.faceListRecoResultColumeIPAddr {
2024-08-26 10:15:17 +08:00
text-align: center;
flex: 2
2024-07-31 17:09:32 +08:00
}
.faceListRecoResultColumeDate {
2024-08-26 10:15:17 +08:00
flex: 2
2024-07-31 17:09:32 +08:00
}
.faceListRecoResultColumeTime {
2024-08-26 10:15:17 +08:00
flex: 1
2024-07-31 17:09:32 +08:00
}
2024-08-26 10:15:17 +08:00
</style>