先留几个参考网站 1、http://www.cnblogs.com/xia520pi/p/4825326.html 2、这个参考网站一定要看 http://www.cnblogs.com/swanspouse/p/5135679.html