         }
     }
     
-    func layoutBottom(_ superView: UIView) {
-        superView.addSubview(bottom);
+    func addBottomBorder() {
+        view.addSubview(bottom);
         bottom.snp.makeConstraints { (make) in
             make.left.equalToSuperview()
             make.right.equalToSuperview()

        }
    }
    
    func layoutRight(_ superView: UIView) {
        superView.addSubview(right);
        right.snp.makeConstraints { (make) in
            make.top.equalToSuperview()
            make.right.equalToSuperview()

        }
        
        // after
        self.addSubview(after.view)
        after.addTopBorder()
        after.addLeftBorder()
        after.addRightBorder()
        
        after.view.snp.makeConstraints { (make) in
            make.centerX.equalToSuperview()
            make.bottom.equalTo(main.view)
            make.width.equalToSuperview().multipliedBy(8 / 34.0)
            make.height.equalToSuperview().multipliedBy(13 / 34.0)
        }
        
        setLine(.white)
        self.backgroundColor = UIColor.red
    }
    
    func setLine(_ color: UIColor) {
        before.set(color: color)
        main.set(color: color)
        after.set(color: color)
    }
}
