     
     @objc private func close(sender: UIButton) {
         //添加扭动动画
+        fadeAnime()
         closeAnime { (_) in
             self.removeFromSuperview()
         }

        UIView.animate(withDuration: animationDuration) {
            self.addButton.transform = CGAffineTransform(rotationAngle: CGFloat.pi / 4)
        }
    }
    
    private func closeAnime(completion: ((Bool) -> Void)?) {

    public var callBack: ((Int)-> Void)? = nil
    
    /// 动画的基准时间
    private let animationDuration = 0.5
    
    private lazy var backgroundView: UIScrollView = {
        let s = UIScrollView()
