Skip to content

更新评分项权重 #1019

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
更新评分项权重
  • Loading branch information
wanghongliang02 committed Mar 12, 2020
commit c28605583ce7e66c544eb4752991bba12b689281
8 changes: 4 additions & 4 deletions source/_posts/develop/devtools/audits_score.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,14 @@ sidebar: audits_score
| 避免使用 :active 伪类来实现点击态 | 8 |
| 保持图片大小比例 | 4 |
| 可点击元素的响应区域 | 7 |
| 合理的颜色搭配 | 3 |
| 合理的颜色搭配 | 0 |

## 最佳实践
| 评分规则 | 权重 |
| ---- | ---- |
| 避免JS异常 | 3 |
| 避免网络请求异常 | 3 |
| 使用HTTPS | 1 |
| 移除不可访问到的 template | 2 |
| CSS 使用率 | 2 |
| 及时回收定时器 | 1 |
| 移除不可访问到的 template | 0 |
| CSS 使用率 | 0 |
| 及时回收定时器 | 0 |