mirror of https://github.com/halo-dev/halo-admin
样式修改
parent
89ebc62aee
commit
a2a93c933c
|
@ -47,12 +47,12 @@ export default {
|
|||
data() {
|
||||
return {
|
||||
optionVisible: false,
|
||||
avatar: 'https://gravatar.loli.net/avatar/7cc7f29278071bd4dce995612d428834?s=256&d=mm'
|
||||
avatar: 'https://gravatar.loli.net/avatar/?s=256&d=mm'
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
...mapActions(['Logout']),
|
||||
...mapGetters(['nickname', 'avatar']),
|
||||
...mapGetters(['nickname']),
|
||||
handleLogout() {
|
||||
const that = this
|
||||
|
||||
|
|
|
@ -1,5 +1,15 @@
|
|||
<template>
|
||||
<div class="page-header-index-wide"> Attachment List </div>
|
||||
<div class="page-header-index-wide">
|
||||
<a-card title="Card Title">
|
||||
<a-card-grid style="width:25%;textAlign:'center'">Content</a-card-grid>
|
||||
<a-card-grid style="width:25%;textAlign:'center'">Content</a-card-grid>
|
||||
<a-card-grid style="width:25%;textAlign:'center'">Content</a-card-grid>
|
||||
<a-card-grid style="width:25%;textAlign:'center'">Content</a-card-grid>
|
||||
<a-card-grid style="width:25%;textAlign:'center'">Content</a-card-grid>
|
||||
<a-card-grid style="width:25%;textAlign:'center'">Content</a-card-grid>
|
||||
<a-card-grid style="width:25%;textAlign:'center'">Content</a-card-grid>
|
||||
</a-card>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
<a-card :bordered="false">
|
||||
<div class="profile-center-avatarHolder">
|
||||
<div class="avatar">
|
||||
<img :src="user.avatar" />
|
||||
<img :src="user.avatar || 'https://gravatar.loli.net/avatar/?s=256&d=mm'" />
|
||||
</div>
|
||||
<div class="username"> {{ user.nickname }} </div>
|
||||
<div class="bio"> {{ user.description }} </div>
|
||||
|
@ -38,7 +38,7 @@
|
|||
</a-card>
|
||||
</a-col>
|
||||
<a-col :md="24" :lg="14">
|
||||
<a-card :bordered="false" title="个人资料" :loading="profileLoading">
|
||||
<a-card :bordered="false" title="个人资料" :bodyStyle="{ padding: '0' }">
|
||||
<div class="card-container">
|
||||
<a-tabs type="card">
|
||||
<a-tab-pane tab="基本资料" key="1">
|
||||
|
@ -92,10 +92,8 @@ export default {
|
|||
data() {
|
||||
return {
|
||||
countsLoading: true,
|
||||
profileLoading: true,
|
||||
user: [],
|
||||
counts: [],
|
||||
avatar: 'https://gravatar.loli.net/avatar/7cc7f29278071bd4dce995612d428834?s=256&d=mm'
|
||||
counts: []
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
|
|
Loading…
Reference in New Issue