修复nth-child和nth-last-child的BUG，完善文档

Signed-off-by: Gaubee <Gaubeebangeel@gmail.com>