Skip to content

Commit

Permalink
fix: book
Browse files Browse the repository at this point in the history
  • Loading branch information
zixuan1986 committed Dec 20, 2023
1 parent 6c318c7 commit e428afa
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
9 changes: 8 additions & 1 deletion src/assets/css/book/home.less
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@
.mb(20px);
justify-content: space-between;
align-items: flex-end;
&.reading {
.mb(0);
}
.u-all {
cursor: pointer;
color: #a5a5a5;
Expand All @@ -38,6 +41,10 @@
.bold(700);
color: #24292e;
}
.list {
margin: 10px 0 0 -10px;
padding: 10px;
}
}
.m-operate {
.flex;
Expand Down Expand Up @@ -73,7 +80,7 @@
.flex;
align-items: center;
overflow: auto;
gap:20px;
gap: 20px;
.m-book-card {
flex-shrink: 0;
}
Expand Down
2 changes: 1 addition & 1 deletion src/views/book/Index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
<template v-if="active === 0">
<div v-for="(item, i) in list" :key="i" class="m-book-list">
<template v-if="item.list.length">
<div class="u-type">
<div class="u-type" :class="{ reading: item.id === 8 }">
<div class="u-title">
【{{ item.label }}】
<span
Expand Down

0 comments on commit e428afa

Please sign in to comment.