         base.layer.cornerRadius = cornerRadius
         base.layer.borderColor = color.cgColor
     }
-    
+
     // MARK: Interaction
     /// 设置视图交互状态
     ///

        base.isUserInteractionEnabled = status
        base.isMultipleTouchEnabled = status
    }
    
    // MARK: Rect
    /// 视图尺寸
    var size: CGSize { return base.bounds.size }
    
    /// 视图横坐标最小值
    var minX: CGFloat { return base.frame.minX }
    /// 视图中心横坐标值
    var midX: CGFloat { return base.frame.midX }
    /// 视图横坐标最大值
    var maxX: CGFloat { return base.frame.maxX }
    
    /// 视图纵坐标最小值
    var minY: CGFloat { return base.frame.minY }
    /// 视图中心纵坐标值

            self.frame = frame
        }
    }

    /// 视图高度
    var rat_height: CGFloat {
        get {
