Commit bff1c36f by Tianqing Liu

feat: 增加分值

1 parent 9d133b15
......@@ -6,6 +6,7 @@
width="90%"
height='90%'
centered
destroyOnClose
class="detail-modal"
>
<div class="person-group">
......@@ -55,7 +56,7 @@
<template v-if="groupList.length > 0">
<div class="classBox" v-for="row in groupList" :key="row.person_unid">
<el-row>
<el-col :span="3" v-for="item in row.personList" :key="item.id">
<el-col class="itemBox" :span="3" v-for="item in row.personList" :key="item.id">
<div
style="margin: 0 5px"
:class="isSelectedImg(item) ? 'actived' : ''"
......@@ -68,6 +69,7 @@
class="single-image">
</el-image>
<p class="featureNum">{{(item.featureNum).toFixed(2)}}</p>
<div>时间:{{ item.counttime }}</div>
<!--<div>人员类型:{{ item.person_type==1?'店员':(item.person_type==0?'顾客':'未知') }}({{ item.childAdult==1?'成人':(item.childAdult==0?'儿童':'未知') }})</div>-->
<!--<div>性别:{{ formatGender(item.gender) }}({{item.age}})</div>-->
......@@ -123,6 +125,7 @@ export default {
const initDialog = (data) => {
console.log('initDialog', data)
formData.value = getInitialFormData()
groupList.value = []
isVisible.value = true;
......@@ -201,6 +204,7 @@ export default {
images: url,
});
}
const onCancel = () => {
isVisible.value = false;
groupList.value = []
......@@ -296,4 +300,16 @@ export default {
height: auto;
margin-bottom: 10px;
}
.itemBox {
position: relative;
.featureNum {
position: absolute;
top: 0;
left: 15px;
color: red;
font-weight: 900;
font-size: 16px;
}
}
</style>
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!