Pārlūkot izejas kodu

样式处理

master
suyanyan pirms 4 mēnešiem
vecāks
revīzija
db94efe5b5
1 mainītis faili ar 2 papildinājumiem un 10 dzēšanām
  1. +2
    -10
      SafeCampus.WEB/src/views/userManage/personnel/index.vue

+ 2
- 10
SafeCampus.WEB/src/views/userManage/personnel/index.vue Parādīt failu

@@ -27,9 +27,6 @@
<a style="margin-left: 8px" @click="addDelete(row.node.data.personSetId, '删除班级')">
<el-icon><Delete /></el-icon>
</a>
<a style="margin-left: 8px">
<el-icon><Setting /></el-icon>
</a>
</span>
</span>
</template>
@@ -91,14 +88,9 @@
<FormClass ref="formRefC" />
<!-- 预览头像 -->
<el-dialog v-model="visible" title="查看头像" width="830px" :before-close="handleClose">
<div>
<div style="display: flex; align-items: center; justify-content: center">
<img class="detailpic" :src="faceUrl" alt="" />
</div>
<template #footer>
<div class="dialog-footer">
<el-button @click="visible = false">关闭</el-button>
</div>
</template>
</el-dialog>
</div>
</template>
@@ -129,7 +121,7 @@ const columns: ColumnProps<SysUserPersonnel.SysUserPerInfo>[] = [
label: "人脸",
render: scope => {
return (
<img src={scope.row.faces.length > 0 ? scope.row.faces[0].faceUrl : ''} onClick={() => viewHeadImage(scope)} style='width:50px;height:50px' alt=''/>
<img src={scope.row.faces.length > 0 ? scope.row.faces[0].faceUrl : ''} onClick={() => viewHeadImage(scope)} style='width:50px;height:50px;' alt=''/>
);
}
},


Notiek ielāde…
Atcelt
Saglabāt