                 self.enterpasswordview?.removeFromSuperview()
             }
         }
+        
+        
         
         
         

            return
        }
        
        EUNetworkManager.shared.getVerificationCode(phone: phonenumber, isRegister: false) { (isSuccess, code) in
            if !isSuccess{
                SwiftyProgressHUD.showFaildHUD(text: "网络异常", duration: 1)
                return
            }
            self.verifycode = code
            
            self.codeview = self.setupCodeUI(orgin: CGPoint(x: UIScreen.main.bounds.width, y: 0))
            UIView.animate(withDuration: 0.5, animations: {
                self.codeview?.frame.origin = CGPoint.zero

    
    fileprivate func setupCodeUI(orgin:CGPoint)->UIView{
        
        if resendtimer == nil{
            resendtimer = Timer.scheduledTimer(timeInterval: 1, target: self, selector: #selector(updateResendTime), userInfo: nil, repeats: true)
        }
        
        let codeview = UIView(frame: CGRect(origin: orgin, size: view.frame.size))
        codeview.backgroundColor = UIColor.white
