在 https 的网站中引用 http 路径的 js 或 CSS 会导致不起作用,其形如:
<script src="https://code.jquery.com/jquery-1.11.0.min.js"></script>
解决办法:
将 http: 去掉,改为
<script src="//code.jquery.com/jquery-1.11.0.min.js"></script>
来源: https://www.2cto.com/kf/201801/710700.html