1234567891011121314151617181920212223242526272829 |
- //
- // IntegralManagerHeaderView.swift
- // xingchuangke
- //
- // Created by Virgil on 2019/4/28.
- // Copyright © 2019 Virgil. All rights reserved.
- //
- import UIKit
- class IntegralManagerHeaderView: UIView {
- @IBOutlet weak var view1: UIView!
- @IBOutlet weak var view2: UIView!
- @IBOutlet weak var view3: UIView!
- @IBOutlet weak var btnCopy: UIButton!
- @IBOutlet weak var lblContent: UILabel!
- func initView() {
- self.setSizeWidth(width: ScreenWidth)
- view1.setSizeHeight(height: ScreenWidth / 375 * 147)
- view2.marginTop(top: 0, view: view1)
- view3.marginTop(top: 0, view: view2)
- self.setSizeHeight(height: view3.bottom())
- lblContent.setCornerRadius(size: 4)
- btnCopy.setCornerRadius(size: 4)
- }
- }
|