inleft
2022-01-21 f9c38ed1b72fc96b96c1d3ffdcc1a66b03bd3b73
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
88
89
90
<template>
    <div class="blog-container ">
        <div>
            <span class="blog-right-side-portion-title " v-bind:class="{'title-remark':isShowRemark}">
                <router-link :to="link">
                    {{title}}
                </router-link>
            </span>
        </div>
        <div class="blog-scroll show-line ">
            <div class="blog-right-side-meta " v-for="item in list">
                <div>
                    <router-link to="/box1">
                        <span class="blog-display-hide-content">{{item.name}}</span>
                    </router-link>
                </div>
            </div>
        </div>
    </div>
 
</template>
 
<script>
    export default {
        props: {
            link: {
                default:"#"
            },
            title: "",
            list: "",
            isShowRemark: false
        },
        data() {
            return {
 
            }
        }
    }
</script>
 
</script>
 
<style lang="less">
    /*右边的部分*/
 
    .blog-right-side-portion-title {
        a {
            color: black;
        }
 
        display: block;
        font-size: 15px;
        padding-bottom: 8px;
    }
 
    span.title-remark::after {
        content: "(按字母索引)";
        color: #999;
        font-size: 10px;
    }
 
    .blog-right-side-meta span {
        /*word-break: keep-all;*/
        /*word-wrap: break-word;*/
        color: #999;
        font-size: 13px;
        line-height: 17px;
        display: block;
        overflow: hidden;
        text-overflow: ellipsis;
 
        white-space: nowrap;
        /* normal文本换行*/
 
        word-break: keep-all;
        // transition-property: background-color;
        // transition-duration: .2s;
        // transition-timing-function: ease-in-out;
        // transition-delay: 0s;
    }
 
    div .blog-right-side-meta a span:hover {
        background: #262a30;
        color: #fff;
        // white-space: normal;
        // word-break: break-word;
        /*可以换行 white-space CSS 属性是用来设置如何处理元素中的空白。*/
        height: 20%;
    }
</style>