问题截图
解决之后
解决过程
-
在查看了页面细节后发现报下面这些错误
-
在网上查询报错原因
原因是在引入bootstrap文件的时候没有将fonts文件夹一起引入 -
解决方式
方法一:直接通链接引入bootstrap文件<link rel="stylesheet" href="http://cdn.static.runoob.com/libs/bootstrap/3.3.7/css/bootstrap.min.css">
方法二:通过链接下载对应的文件
我需要下的是
glyphicons-halflings-regular.woff
glyphicons-halflings-regular.woff2
glyphicons-halflings-regular.ttf可以直接通过这个网址去下载文件
http://cdn.bootcss.com/bootstrap/3.3.6/fonts/这里加上你所缺少的文件就可以下载了比如,你缺少
glyphicons-halflings-regular.woff2
网址就是
http://cdn.bootcss.com/bootstrap/3.3.6/fonts/glyphicons-halflings-regular.woff2然后新建一个fonts文件夹将下好的文件放进去,将fonts文件夹放置在项目静态文件夹下与css文件平级
问题成功解决