                 
             })
         }
+    }
+    
+    private func setupTextFields() {
+        
+        // 绑定输入事件
+        self.telField.rac_textSignal() ~> RAC(registerViewModel, "telephone")
+        
+        // 绑定手机号输入框背景色
+        RACObserve(self.registerViewModel, "isValidTelephone").skip(1).mapAs({ (enabled:NSNumber) -> UIColor in
+            
+            return enabled.boolValue ? UIColor.clearColor() : UITextField.warningBackgroundColor
+        }) ~> RAC(self.telField,"backgroundColor")
     }
     
     // MARK: - UITableViewDataSource

            
            return enabled.boolValue ? UIButton.defaultBackgroundColor : UIButton.enabledBackgroundColor
        } ~> RAC(btn,"backgroundColor")
        
        // 绑定输入事件
        self.telField.rac_textSignal() ~> RAC(registerViewModel, "telephone")
    }
    
    /**

        setupMessages()
        setupBindViewModel()
        setupGetVerityCode()
        setupTextFields()
    }
    
    /**
