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

修改bug,添加注释以及规范化代码 #3

Merged
merged 1 commit into from
Dec 30, 2024

Conversation

paithfinder
Copy link
Contributor

@paithfinder paithfinder commented Dec 23, 2024

修改bug,添加注释以及规范化代码

  1. 修改bug:
  • 修改 Markdown 格式化函数,解决了>语法无法创建一个区块引用的问题;
  • 解决了获取安装镜像页面没有显示页脚问题;
  • 获取安装镜像中的单个下载方块实现容器大小自适应。
  1. 添加注释:为html,css,js文件增加更详细的注释。
  2. 规范化代码:
  • 格式化代码;
  • 语义化标签;
  • 移除无用的移动端适配代码;
  • 合并(删除)css文件中的重复类名,整合相关类名代码块;
  • 拆分mirror.css代码为三个:base.css(默认样式)、download.css(下载功能样式)
    以及mirrorList.css(镜像列表样式)。

@paithfinder paithfinder force-pushed the bug-fixed branch 3 times, most recently from 9128fc7 to 8574332 Compare December 24, 2024 01:05
@paithfinder paithfinder deleted the bug-fixed branch December 24, 2024 01:09
@paithfinder paithfinder restored the bug-fixed branch December 24, 2024 01:13
@TimePrinciple TimePrinciple reopened this Dec 24, 2024
1. 修改bug:
- 修改 Markdown 格式化函数,解决了>语法无法创建一个区块引用的问题;
- 解决了获取安装镜像页面没有显示页脚问题;
- 获取安装镜像中的单个下载方块实现容器大小自适应。
2. 添加注释:为html,css,js文件增加更详细的注释。
3. 规范化代码:
- 格式化代码;
- 语义化标签;
- 移除无用的移动端适配代码;
- 合并(删除)css文件中的重复类名,整合相关类名代码块;
- 拆分mirror.css代码为三个:base.css(默认样式)、download.css(下载功能样式)
    以及mirrorList.css(镜像列表样式)。

Signed-off-by: Mingle Tan <[email protected]>
@paithfinder
Copy link
Contributor Author

ubantu测试贴图(目前在谷歌浏览器中测试)
image
image

@TimePrinciple
Copy link
Member

LGTM - good work

@TimePrinciple TimePrinciple merged commit 66899fa into ISRC-CAS:main Dec 30, 2024
1 check passed
@paithfinder paithfinder deleted the bug-fixed branch February 16, 2025 09:10
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.

2 participants