Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

新增字数和预计阅读时间、文档两端对齐,优化作者信息显示逻辑 #411

Merged
merged 9 commits into from
Sep 12, 2024

Conversation

Leetfs
Copy link
Member

@Leetfs Leetfs commented Sep 11, 2024

Preview URL: https://8f990c19.rle-wiki-7lk.pages.dev

测试效果:

image image

image

为项目添加ReadingTime组件,用于计算文章的字数和预计阅读时间。
更新PageInfo.vue组件以添加ReadingTime组件,并优化作者信息的显示方式。
@Leetfs Leetfs linked an issue Sep 11, 2024 that may be closed by this pull request
调整样式表以实现文档两端对齐效果。
@Leetfs Leetfs changed the title 新增字数和预计阅读时间,优化作者信息显示逻辑 新增字数和预计阅读时间、文档两端对齐,优化作者信息显示逻辑 Sep 11, 2024
优化ReadingTime组件的字数统计算法,使用一个误差值来准确计算中文字符数,并计算预计阅读时间。
优化ReadingTime组件的字数统计算法,修复了一个计算中文字符数的偏移量错误。
@BeiyanYunyi BeiyanYunyi marked this pull request as draft September 11, 2024 15:07
@BeiyanYunyi BeiyanYunyi marked this pull request as ready for review September 11, 2024 15:39
@Cryolitia Cryolitia merged commit b634077 into project-trans:main Sep 12, 2024
@Leetfs Leetfs deleted the add4 branch September 12, 2024 12:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

一点小建议
3 participants