inleft
2024-05-18 57e3bead08715d72efaeffe90fafa179b8366473
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
<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>