Add missed css file all.min.css. DaiZerong 201732120115 #27
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
http://118.25.96.118/nor/ 的第三方库中,暂时没找到all.min.css文件,但是在运行的网站中对它是有需求的,且Header.php中也未对其引用,现将其另存为本地文件放入LRR仓库中。
另外三个字体文件是因为all.min.css中使用相对地址引用了它们,结构如下
../webfonts/fa-solid-900.eot
也就是说webfonts文件夹要与all.min.css的上一级目录同级,为了方便将all.min.css放入webfonts文件夹中。也可以另建一个文件夹与webfonts同级并在其中放入all.min.css文件,以确保能引用到webfonts中的字体文件。
@dzr201732120115
我理解了。就是
Header.php
第 33 行 用到了all.min.css
, 然后all.min.css
又依赖于../webfonts/fa-solid-900.eot
,所以你要包括这个eot
文件。总的来说,如果要用
all.min.css
, 那么一定要下载eot
文件。 个人感觉这个依赖关系有点严重。如果不用
all.min.css
, 也就是把Header.php
第 33 行 删除, 网页显示效果会怎么样?我现在觉得,登录LRR时, 课程列表加载缓慢,就是因为这个
all.min.css
导致的。蓝珲