diff --git a/src/pages-system/user/detail/index.vue b/src/pages-system/user/detail/index.vue index ab9c182..0b1d2ac 100644 --- a/src/pages-system/user/detail/index.vue +++ b/src/pages-system/user/detail/index.vue @@ -8,8 +8,8 @@ /> - - + + @@ -35,7 +35,7 @@ - + { diff --git a/src/pages-system/user/form/index.vue b/src/pages-system/user/form/index.vue index 29a954d..0bab712 100644 --- a/src/pages-system/user/form/index.vue +++ b/src/pages-system/user/form/index.vue @@ -8,9 +8,9 @@ /> - + - + - + { diff --git a/src/pages-system/user/index.vue b/src/pages-system/user/index.vue index db63610..4642025 100644 --- a/src/pages-system/user/index.vue +++ b/src/pages-system/user/index.vue @@ -20,7 +20,7 @@ @@ -28,17 +28,19 @@ - - - + :src="item.avatar" + :width="40" + :height="40" + mode="aspectFill" + round + /> - {{ item.nickname?.charAt(0) || item.username?.charAt(0) }} + {{ (item.nickname || item.username)?.charAt(0) }} @@ -49,6 +51,9 @@ + + 登录时间:{{ formatDate(item.loginDate) }} + @@ -63,16 +68,14 @@ /> - - - - - + /> @@ -84,9 +87,10 @@ import { onReachBottom } from '@dcloudio/uni-app' import { onMounted, reactive, ref } from 'vue' import { getUserPage } from '@/api/system/user' import { useAccess } from '@/hooks/useAccess' +import { navigateBackPlus } from '@/utils' import { DICT_TYPE } from '@/utils/constants' import SearchForm from './components/search-form.vue' -import { navigateBackPlus } from '@/utils'; +import { formatDate } from '@/utils/date'; definePage({ style: {