Procházet zdrojové kódy

样式处理

master
suyanyan před 4 měsíci
rodič
revize
db94efe5b5
1 změnil soubory, kde provedl 2 přidání a 10 odebrání
  1. +2
    -10
      SafeCampus.WEB/src/views/userManage/personnel/index.vue

+ 2
- 10
SafeCampus.WEB/src/views/userManage/personnel/index.vue Zobrazit soubor

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


Načítá se…
Zrušit
Uložit