         messageLabel.text = "等待起飞"
         return messageLabel
     }()
+    
+    //菊花转
+    lazy var indicatorView :UIActivityIndicatorView = {
+        
+        let indicatorView = UIActivityIndicatorView()
+        indicatorView.color = UIColor.black
+        indicatorView.isHidden = true
+        return indicatorView
+    }()
+
 
 }

        //添加下拉刷新的控件
        addSubview(arrowIcon)
        addSubview(messageLabel)
        
        //约束
        arrowIcon.snp_makeConstraints { (make ) in

            make.leading.equalTo(arrowIcon.snp_trailing)
            make.centerY.equalTo(arrowIcon)
        }
        indicatorView.snp_makeConstraints { (make ) in
            make.center.equalTo(arrowIcon)
        }
        
    }
    
