参考:https://blog.csdn.net/qq_39025670/article/details/85121178 http://www.php.cn/js-tutorial-16130.html