在小程序中webview 是不支持在手机本地调试的,可以把地址先发布成线上地址,然后再本地看。 url 上带参数时 配合:encodeURIComponent 和decodeURIComponent 使用 使用encodeURIComponent(要传的URL地址) 使用 decodeURIComponent(拿到的URL地址)