💄 feat: 移动端登录logo问题

This commit is contained in:
bunny 2025-05-06 16:25:57 +08:00
parent a0afbae690
commit 54362bb2fd
5 changed files with 17 additions and 11 deletions

View File

@ -25,5 +25,5 @@ export const deleteEmailTemplate = (data: any) => {
/** 邮件模板表---获取全部邮件类型列表 */ /** 邮件模板表---获取全部邮件类型列表 */
export const getEmailTypeList = () => { export const getEmailTypeList = () => {
return http.request<BaseResult<any>>('get', 'emailTemplate/public'); return http.request<BaseResult<any>>('get', 'emailTemplate/private');
}; };

View File

@ -47,10 +47,9 @@
text-transform: uppercase; text-transform: uppercase;
margin: 15px 0; margin: 15px 0;
color: #999; color: #999;
font: font: bold 200% Consolas,
bold 200% Consolas, Monaco,
Monaco, monospace;
monospace;
} }
@media screen and (max-width: 1180px) { @media screen and (max-width: 1180px) {
@ -72,7 +71,7 @@
} }
.avatar { .avatar {
width: 280px; width: 80px;
height: 80px; height: 80px;
} }
} }

View File

@ -80,7 +80,9 @@ onMounted(() => {
<span class="ml-2">{{ $t('upload_avatar') }}</span> <span class="ml-2">{{ $t('upload_avatar') }}</span>
</el-button> </el-button>
<template #tip> <template #tip>
<div class="el-upload__tip text-red-600">{{ $t('upload_user_avatar_tip') }}</div> <div class="el-upload__tip">
<el-text type="danger">{{ $t('upload_user_avatar_tip') }}</el-text>
</div>
</template> </template>
</el-upload> </el-upload>
</el-form-item> </el-form-item>

View File

@ -64,6 +64,13 @@ onMounted(() => {
@page-size-change="onPageSizeChange" @page-size-change="onPageSizeChange"
@page-current-change="onCurrentPageChange" @page-current-change="onCurrentPageChange"
> >
<!-- 用户性别 -->
<template #sex="{ row }">
<el-tag :type="row.sex === 0 ? 'danger' : null" effect="plain">
{{ row.sex === 1 ? $t('man') : $t('female') }}
</el-tag>
</template>
<template #username="{ row }"> <template #username="{ row }">
<el-button v-show="row.username" link type="primary" @click="selectUserinfo(row.createUser)"> <el-button v-show="row.username" link type="primary" @click="selectUserinfo(row.createUser)">
{{ row.username }} {{ row.username }}

View File

@ -11,11 +11,9 @@ export const columns: TableColumnList = [
{ label: $t('adminUser_username'), prop: 'username', slot: 'username', minWidth: 120 }, { label: $t('adminUser_username'), prop: 'username', slot: 'username', minWidth: 120 },
{ label: $t('adminUser_email'), prop: 'email', minWidth: 120 }, { label: $t('adminUser_email'), prop: 'email', minWidth: 120 },
{ label: $t('adminUser_phone'), prop: 'phone', minWidth: 120 }, { label: $t('adminUser_phone'), prop: 'phone', minWidth: 120 },
// 性别
{ label: $t('adminUser_sex'), prop: 'sex', slot: 'sex', width: 90 },
{ label: $t('adminUser_summary'), prop: 'personDescription', minWidth: 150 }, { label: $t('adminUser_summary'), prop: 'personDescription', minWidth: 150 },
{ label: $t('lastLoginIp'), prop: 'ipAddress', minWidth: 100 },
{ label: $t('lastLoginIpAddress'), prop: 'ipRegion', minWidth: 100 },
{ label: $t('expires'), prop: 'expires', minWidth: 120 },
{ label: $t('readMeDay'), prop: 'readMeDay', width: 100 },
{ {
label: $t('table.operation'), label: $t('table.operation'),
fixed: 'right', fixed: 'right',