     
     @IBAction func userLogin() {
         UserLogin.showUserLoginView(presentNavigator: nil)
+        //隐藏菜单
+        self.sideMenuViewController.hideMenuViewController()
+    }
+    
+    @IBAction func showSearch() {
+        UIAlertView(title: "", message: "搜索", delegate: self, cancelButtonTitle: "确定").show()
         //隐藏菜单
         self.sideMenuViewController.hideMenuViewController()
     }

        btnLogin.layer.cornerRadius = 8
        btnLogin.addTarget(self, action: "userLogin", forControlEvents: UIControlEvents.TouchUpInside)
        header.addSubview(btnLogin)
        
        header.backgroundColor = UIColor.clearColor()
        tableView.tableHeaderView = header

        var header = UIView(frame: CGRectMake(0, 0, self.view.frame.size.width, headerHeight))
        Avatar = UIImageView(frame: CGRectMake(15, 5, 40, 40))
        Avatar.sd_setImageWithURL(NSURL(string: appUserPic), placeholderImage: UIImage(named: "Avatar"))
        Avatar.layer.borderWidth = 1
        Avatar.layer.borderColor = UIColor.whiteColor().CGColor
        Avatar.layer.masksToBounds = true
        Avatar.layer.cornerRadius = 20
        header.addSubview(Avatar)
