Skip to content

Commit de7097b

Browse files
committed
修改样式
1 parent f5aa842 commit de7097b

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

src/components/front/article.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,8 @@ export default {
6161
this.getArticle(this.$route.params.id)
6262
this.initPage()
6363
},
64-
beforeRouteUpdate (to, from, next) { // 从foo/1跳到foo/2组件会复用,不会再执行created钩子函数,可以在这里执行
64+
beforeRouteUpdate (to, from, next) {
65+
// 从foo/1跳到foo/2组件会复用,不会再执行created钩子函数,可以在这里执行
6566
this.getArticle(to.params.id)
6667
if (to.params.index === 0) {
6768
this.prePage = -1

src/components/front/component/ArticleList.vue

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,11 +67,13 @@ export default {
6767

6868
<style lang="scss" rel="stylesheet/scss" scoped>
6969
#list {
70+
color: #F0F0F0;
7071
left: 0.3125rem;
7172
top: 2.5rem;
7273
text-align: left;
7374
position: absolute;
7475
max-width: 13.75rem;
76+
7577
i.icon-mulu {
7678
position: absolute;
7779
left: 1.25rem;

0 commit comments

Comments
 (0)