http://res.wx.qq.com/open/js/jweixin-1.0.0.js
“https”为什么不能加载外部的js"",提示“Mixed Content: The page at 'https://m.phzc.com/product/detail?id=5' was loaded over HTTPS, but requested an insecure script 'http://res.wx.qq.com/open/js/jweixin-1.0.0.js'. This request has been blocked; the content must be served over HTTPS.”这是为什么???
因为你加载了外部js,就被判断为不安全的了。
建议能直接复制远程的js,就复制下来吧。
外界js可以避免更新。 但是 会被https判断为不安全的。
HTML怎么学习?HTML怎么入门?HTML在哪学?HTML怎么学才快?不用担心,这里为大家提供了HTML速学教程(入门课程),有需要的小伙伴保存下载就能学习啦!
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号