瀏覽代碼

修改 UI

jsonwang 3 年之前
父節點
當前提交
caec30b854
共有 1 個文件被更改,包括 5 次插入3 次删除
  1. 5 3
      Introduce/Record/INVideoExportController.swift

+ 5 - 3
Introduce/Record/INVideoExportController.swift

@@ -79,7 +79,8 @@ class INVideoExportController: BFBaseViewController {
     lazy var completeBtn: UIButton = {
         let btn = UIButton()
         btn.setTitle("回到首页", for: .normal)
-        btn.setTitleColor(UIColor.hexColor(hexadecimal: "#B1B1B1"), for: .normal)
+        btn.titleLabel?.font = UIFont.systemFont(ofSize: 14)
+        btn.setTitleColor(UIColor.hexColor(hexadecimal: "#6B6B6B"), for: .normal)
         btn.setTitleColor(.gray, for: .disabled)
         btn.addTarget(self, action: #selector(completeAction), for: .touchUpInside)
         return btn
@@ -90,6 +91,7 @@ class INVideoExportController: BFBaseViewController {
         btn.setTitle(" 保存到相册", for: .normal)
         btn.setTitleColor(.white, for: .normal)
         btn.setTitleColor(.lightGray, for: .disabled)
+        btn.titleLabel?.font = UIFont.boldSystemFont(ofSize: 16)
         btn.setImage(UIImage(named: "export_btn"), for: .normal)
         btn.adjustsImageWhenDisabled = true
         btn.backgroundColor = ThemeStyleColor
@@ -417,13 +419,13 @@ class INVideoExportController: BFBaseViewController {
         completeBtn.snp.makeConstraints { make in
             make.left.equalTo(16)
             make.right.equalTo(-16)
-            make.bottom.equalTo(-1 * cSafeAreaHeight - 3)
+            make.bottom.equalToSuperview().offset(-7)
             make.height.equalTo(20)
         }
 
         saveToPhotoBtn.snp.makeConstraints { make in
             make.left.right.equalTo(completeBtn)
-            make.height.equalTo(50)
+            make.height.equalTo(46)
             make.bottom.equalTo(completeBtn.snp.top).offset(-10)
         }