Skip to content

Commit 715fca7

Browse files
committed
chore(theme): 开启阅读时间
1 parent b7e420b commit 715fca7

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

docs/.vuepress/theme.ts

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,15 @@ export const themeOptions: ThemeOptions = {
2828
docsDir: 'docs',
2929

3030
// pageInfo: ['Author', 'Original', 'Date', 'Category', 'Tag', 'ReadingTime'],
31-
pageInfo: ['Author', 'Original', 'PageView', 'Date', 'Category', 'Tag'],
31+
pageInfo: [
32+
'Author',
33+
'Original',
34+
'PageView',
35+
'Date',
36+
'Category',
37+
'Tag',
38+
'ReadingTime',
39+
],
3240

3341
blog: {
3442
medias: {

docs/.vuepress/theme/components/hanzi/Hanzi2.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ function handleRead() {
200200
:height="32"
201201
/>
202202
<div class="hanzi-container">
203-
<div ref="printRef" class="hanzi-card print" />
203+
<div ref="printRef" class="print hanzi-card" />
204204
<div ref="aniRef" class="hanzi-card animation" />
205205
<div class="hanzi-controls">
206206
<button class="btn-voice btn" title="发音" @click="handleVoice" />

0 commit comments

Comments
 (0)