UITapGestureRecognizer *tapGesture=[[UITapGestureRecognizer alloc]initWithTarget:self action:@selector(productClick)];
[self addGestureRecognizer:tapGesture];
//添加手势识别
UISwipeGestureRecognizer *swipeReco=[[UISwipeGestureRecognizer alloc]initWithTarget:self action:@selector(jumpToRegister)];
swipeReco.direction=UISwipeGestureRecognizerDirectionLeft;
[loginView addGestureRecognizer:swipeReco];
UISwipeGestureRecognizer *swipeRecoDown=[[UISwipeGestureRecognizer alloc]initWithTarget:self action:@selector(closeKeyboard)];
swipeRecoDown.direction=UISwipeGestureRecognizerDirectionDown;
[loginView addGestureRecognizer:swipeRecoDown];