File tree Expand file tree Collapse file tree 2 files changed +26
-13
lines changed Expand file tree Collapse file tree 2 files changed +26
-13
lines changed Original file line number Diff line number Diff line change 15
15
<!-- built files will be auto injected -->
16
16
</ body >
17
17
</ html >
18
+
18
19
< style >
19
20
body {
20
21
height : 100% ;
21
22
margin : 0 ;
23
+ background : # f0f2f5 ;
22
24
}
23
-
24
25
</ style >
Original file line number Diff line number Diff line change 38
38
39
39
40
40
<el-col class =" article-right-sidebar" :span =" 4" >
41
- <div >
42
- <!-- <el-card class="bg-purple-dark">-->
43
- <div v-html =" articleDetail.toc" />
44
- <!-- </el-card>-->
45
- </div >
41
+ <el-scrollbar always =" true" >
42
+ <div class =" article-toc-card" >
43
+ <el-card :body-style =" tocBodyStyle" shadow =" hover" >
44
+ <div v-html =" articleDetail.toc" />
45
+ </el-card >
46
+ </div >
47
+ </el-scrollbar >
46
48
</el-col >
47
49
</el-row >
48
50
</template >
62
64
return {
63
65
articleDetail: {},
64
66
tempRoute: {},
67
+ tocBodyStyle: {padding: ' 5px 20px 10px 0px' }
65
68
}
66
69
},
67
70
124
127
border-right-style : solid ;
125
128
border-width : 1px ;
126
129
border-color : rgba (0 , 0 , 0 , 0.125 );
130
+ background-color : white ;
127
131
}
128
132
129
133
130
134
.article-left-sidebar {
131
- background : #99a9bf ;
132
135
text-align : left ;
133
136
height : 100% ;
134
137
border-radius : 4px ;
143
146
}
144
147
145
148
.article-right-sidebar {
146
- background : #99a9bf ;
147
149
text-align : left ;
148
- height : 100% ;
149
150
border-radius : 4px ;
150
151
}
152
+
153
+ .article-toc-card {
154
+
155
+ }
156
+
157
+
151
158
</style >
152
159
<style >
153
- .article-toc {
160
+ .article-toc {
154
161
list-style-type : none ;
155
162
padding-inline-start : 20px ;
156
163
157
164
}
165
+
158
166
a {
159
167
color : blue ;
160
168
}
161
169
162
- .article-toc a :link {
170
+ .article-toc a :link {
163
171
color : black ;
164
172
}
173
+
165
174
.article-toc a :visited {
166
175
color : gray ;
167
176
}
168
- .article-toc a :hover {
177
+
178
+ .article-toc a :hover {
169
179
color : blue ;
170
180
}
171
- .article-toc a :active {
181
+
182
+ .article-toc a :active {
172
183
color : red ;
173
184
}
185
+
174
186
.article-content a {
175
187
color : blue ;
176
188
}
You can’t perform that action at this time.
0 commit comments