item.selected = dIndex == self.selectedIndex;
- (void)setShowDot:(BOOL)showDot
{
_showDot = showDot;
self.dotImageView.hidden = !showDot;
}