|
|
@ -3,7 +3,7 @@
|
|
|
|
<!-- 组件的内容 -->
|
|
|
|
<!-- 组件的内容 -->
|
|
|
|
<!-- 网站信息 -->
|
|
|
|
<!-- 网站信息 -->
|
|
|
|
<div class="card-content1 shadow-box background-opacity">
|
|
|
|
<div class="card-content1 shadow-box background-opacity">
|
|
|
|
<el-avatar style="margin-top: 20px" class="user-avatar" :size="120" :src="webInfo.avatar"></el-avatar>
|
|
|
|
<el-avatar style="margin-top: 20px" class="user-avatar" :size="120" :src="currentUser.avatar"></el-avatar>
|
|
|
|
<div class="web-name">{{webInfo.webName}}</div>
|
|
|
|
<div class="web-name">{{webInfo.webName}}</div>
|
|
|
|
<div class="web-info">
|
|
|
|
<div class="web-info">
|
|
|
|
<div class="blog-info-box">
|
|
|
|
<div class="blog-info-box">
|
|
|
@ -86,6 +86,9 @@
|
|
|
|
import axios from "axios";
|
|
|
|
import axios from "axios";
|
|
|
|
import * as events from "events";
|
|
|
|
import * as events from "events";
|
|
|
|
export default {
|
|
|
|
export default {
|
|
|
|
|
|
|
|
avatar: {
|
|
|
|
|
|
|
|
type: String
|
|
|
|
|
|
|
|
},
|
|
|
|
// 组件的逻辑和配置
|
|
|
|
// 组件的逻辑和配置
|
|
|
|
data() {
|
|
|
|
data() {
|
|
|
|
return {
|
|
|
|
return {
|
|
|
@ -94,6 +97,7 @@ export default {
|
|
|
|
size: 5,
|
|
|
|
size: 5,
|
|
|
|
recommendStatus: true
|
|
|
|
recommendStatus: true
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
currentUser: this.$store.state.currentUser,
|
|
|
|
recommendArticles: [],
|
|
|
|
recommendArticles: [],
|
|
|
|
admires: [],
|
|
|
|
admires: [],
|
|
|
|
showAdmireDialog: false,
|
|
|
|
showAdmireDialog: false,
|
|
|
|