<template>
|
<div class="blog-container ">
|
<div class="blog-avatar">
|
<router-link to="/tagInfo">
|
<img :src="avatar"></img>
|
</router-link>
|
</div>
|
<div class="blog-user-message">
|
<span>{{name}}</span>
|
<span>{{sentence}}</span>
|
<span>
|
<router-link to="/findMe">
|
<a-icon type="environment" />{{location}}
|
</router-link>
|
<a :href="feed" target="_blank" class="no-underline">
|
<a-icon type="customer-service" />RSS
|
<!-- <a-icon type="customer-service" theme="twoTone" two-tone-color="#ffaa00"/>RSS -->
|
</a>
|
</span>
|
|
</div>
|
</div>
|
|
</template>
|
|
<script>
|
import {
|
getAppPage
|
} from '../../api/appManage.js'
|
export default {
|
name: "box",
|
data() {
|
return {
|
avatar: "http://t.inleft.com/share/media_photo/xigong.png",
|
name: "inleft",
|
sentence: "十里寒塘路,烟花一半醒",
|
location: "广州",
|
feed: "/api/feed"
|
}
|
},
|
created() {
|
// console.log(getAppPage().then((res) => {
|
// console.log(res);
|
// return res
|
// }));
|
}
|
}
|
</script>
|
|
</script>
|
|
<style lang="less">
|
/*头像部分*/
|
.blog-avatar {
|
img {
|
width: 60px;
|
height: auto;
|
border-radius: 50%;
|
display: block;
|
margin: 10px auto 10px;
|
padding-top: 10px;
|
}
|
}
|
|
/* 一言 */
|
.blog-user-message {
|
a {
|
color: #555;
|
}
|
|
text-align: center;
|
font-size: 15px;
|
color: #555;
|
padding-top: 10px;
|
padding-bottom: 10px;
|
|
span {
|
display: block;
|
padding-bottom: 5px;
|
}
|
}
|
</style>
|
<style lang="less" scoped>
|
.blog-avatar a:hover::after {
|
left: -50%;
|
}
|
</style>
|