解决方式:使用js的encodeURIComponent和decodeURIComponent函数.html
当传递参数前,使用encodeURIComponent进行编码,将特殊符号进行编码.函数
使用url的时候,再用decodeURIComponent,获得原始的url地址.编码