$.cookie('killPhone', inputPhone, {expires:7,path:'/HCS'});在我的例子中是:path:'/HCS',即项目名,而不是:path:'/seckill'. 如果写成path:'/seckill',无法在cookie中保存killPhone。
2016-05-26