Commit 3d7e44bf authored by David黄金龙's avatar David黄金龙

1、文件命名错误

2、几个bug修改
parent 0d5f02a7
......@@ -417,7 +417,7 @@
A5D5ADEF2BB90FBC0039FA6B /* YHCheckEamilAlertView.swift in Sources */ = {isa = PBXBuildFile; fileRef = A5D5ADEE2BB90FBB0039FA6B /* YHCheckEamilAlertView.swift */; };
A5DE0D3C2BB9016200976FE1 /* YHEmailInputAlertView.swift in Sources */ = {isa = PBXBuildFile; fileRef = A5DE0D3B2BB9016200976FE1 /* YHEmailInputAlertView.swift */; };
A5DF3D462BF72BA1003D5F03 /* YHTestViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = A5DF3D452BF72BA0003D5F03 /* YHTestViewController.swift */; };
A5DF3D482BF9A1D0003D5F03 /* YHPhoneLiginWithVideoBkgViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = A5DF3D472BF9A1D0003D5F03 /* YHPhoneLiginWithVideoBkgViewController.swift */; };
A5DF3D482BF9A1D0003D5F03 /* YHPhoneLoginWithVideoBkgViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = A5DF3D472BF9A1D0003D5F03 /* YHPhoneLoginWithVideoBkgViewController.swift */; };
A5DF3D4E2BF9FDAC003D5F03 /* YHCodeSueecssWithVideoBkgViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = A5DF3D4D2BF9FDAC003D5F03 /* YHCodeSueecssWithVideoBkgViewController.swift */; };
A5E69D512BA304D400411932 /* DIN Alternate Bold.ttf in Resources */ = {isa = PBXBuildFile; fileRef = A5E69D502BA304D400411932 /* DIN Alternate Bold.ttf */; };
A5EF21312BA6DF94005027E6 /* YHMineSchemeViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = A5EF21302BA6DF94005027E6 /* YHMineSchemeViewController.swift */; };
......@@ -887,7 +887,7 @@
A5D5ADEE2BB90FBB0039FA6B /* YHCheckEamilAlertView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = YHCheckEamilAlertView.swift; sourceTree = "<group>"; };
A5DE0D3B2BB9016200976FE1 /* YHEmailInputAlertView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = YHEmailInputAlertView.swift; sourceTree = "<group>"; };
A5DF3D452BF72BA0003D5F03 /* YHTestViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = YHTestViewController.swift; sourceTree = "<group>"; };
A5DF3D472BF9A1D0003D5F03 /* YHPhoneLiginWithVideoBkgViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = YHPhoneLiginWithVideoBkgViewController.swift; sourceTree = "<group>"; };
A5DF3D472BF9A1D0003D5F03 /* YHPhoneLoginWithVideoBkgViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = YHPhoneLoginWithVideoBkgViewController.swift; sourceTree = "<group>"; };
A5DF3D4D2BF9FDAC003D5F03 /* YHCodeSueecssWithVideoBkgViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = YHCodeSueecssWithVideoBkgViewController.swift; sourceTree = "<group>"; };
A5E69D502BA304D400411932 /* DIN Alternate Bold.ttf */ = {isa = PBXFileReference; lastKnownFileType = file; path = "DIN Alternate Bold.ttf"; sourceTree = "<group>"; };
A5EF21302BA6DF94005027E6 /* YHMineSchemeViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = YHMineSchemeViewController.swift; sourceTree = "<group>"; };
......@@ -2078,7 +2078,7 @@
0468D4252B495A5400CFB916 /* YHPickPhoneAddressViewController.swift */,
04E86E0A2B70C13300A35F4B /* YHCodeSueecssViewController.swift */,
04E86E0C2B70D51D00A35F4B /* YHWebViewViewController.swift */,
A5DF3D472BF9A1D0003D5F03 /* YHPhoneLiginWithVideoBkgViewController.swift */,
A5DF3D472BF9A1D0003D5F03 /* YHPhoneLoginWithVideoBkgViewController.swift */,
A5DF3D4D2BF9FDAC003D5F03 /* YHCodeSueecssWithVideoBkgViewController.swift */,
);
path = C;
......@@ -2945,7 +2945,7 @@
045EEE822B9F171A0022A143 /* YHPersonInfoIdentityCardModel.swift in Sources */,
045EEE952B9F171A0022A143 /* YHPreviewInfoCertificateInformationItemsView.swift in Sources */,
044413FD2BC386DA00784A14 /* YHServiceViewController.swift in Sources */,
A5DF3D482BF9A1D0003D5F03 /* YHPhoneLiginWithVideoBkgViewController.swift in Sources */,
A5DF3D482BF9A1D0003D5F03 /* YHPhoneLoginWithVideoBkgViewController.swift in Sources */,
045EEEBB2B9F171A0022A143 /* YHWorkIntroductionTableViewCell.swift in Sources */,
045EEEED2B9F171A0022A143 /* YHParentInfoVC.swift in Sources */,
04A7BC912B6B7B89000E8D47 /* YHTwoOptionAlertView.swift in Sources */,
......
......@@ -140,7 +140,7 @@ extension YHHKEventViewController {
YHShareManager.shared.sendLinkContent("一图看清香港办事", "", UIImage(named: "AppIcon") ?? UIImage(), link: urlString)
}
} else {
let vc = UINavigationController(rootVC: YHPhoneLiginWithVideoBkgViewController())
let vc = UINavigationController(rootVC: YHPhoneLoginWithVideoBkgViewController())
vc.modalPresentationStyle = .custom
self.navigationController?.present(vc, animated: true)
}
......
......@@ -254,7 +254,7 @@ extension YHHomePageViewController : UITabBarControllerDelegate {
if YHLoginManager.shared.isLogin() {
return true
} else {
let vc = UINavigationController(rootVC: YHPhoneLiginWithVideoBkgViewController())
let vc = UINavigationController(rootVC: YHPhoneLoginWithVideoBkgViewController())
vc.modalPresentationStyle = .custom
UIViewController.current?.navigationController?.present(vc, animated: true)
YHLoginManager.shared.loginSuccessActionBlock = {[weak self] in
......
......@@ -80,7 +80,7 @@ class YHHomeWebViewController: YHBaseViewController, WKUIDelegate, WKNavigationD
view.likeBlock = { [weak self] flag in
guard let self = self else { return }
if YHLoginManager.shared.isLogin() == false {
let vc = UINavigationController(rootVC: YHPhoneLiginWithVideoBkgViewController())
let vc = UINavigationController(rootVC: YHPhoneLoginWithVideoBkgViewController())
vc.modalPresentationStyle = .custom
self.navigationController?.present(vc, animated: true)
return
......@@ -111,7 +111,7 @@ class YHHomeWebViewController: YHBaseViewController, WKUIDelegate, WKNavigationD
view.starBlock = { [weak self] flag in
guard let self = self else { return }
if YHLoginManager.shared.isLogin() == false {
let vc = UINavigationController(rootVC: YHPhoneLiginWithVideoBkgViewController())
let vc = UINavigationController(rootVC: YHPhoneLoginWithVideoBkgViewController())
vc.modalPresentationStyle = .custom
self.navigationController?.present(vc, animated: true)
return
......@@ -244,7 +244,7 @@ class YHHomeWebViewController: YHBaseViewController, WKUIDelegate, WKNavigationD
task.resume()
}
} else {
let vc = UINavigationController(rootVC: YHPhoneLiginWithVideoBkgViewController())
let vc = UINavigationController(rootVC: YHPhoneLoginWithVideoBkgViewController())
vc.modalPresentationStyle = .custom
self.navigationController?.present(vc, animated: true)
}
......
......@@ -239,7 +239,7 @@ extension YHHomeCollectionViewCell {
}
}
} else {
let vc = UINavigationController(rootVC: YHPhoneLiginWithVideoBkgViewController())
let vc = UINavigationController(rootVC: YHPhoneLoginWithVideoBkgViewController())
vc.modalPresentationStyle = .custom
self.parentViewController?.navigationController?.present(vc, animated: true)
}
......
......@@ -10,7 +10,7 @@ import UIKit
import IQKeyboardManagerSwift
import AVFoundation
class YHPhoneLiginWithVideoBkgViewController: YHBaseViewController {
class YHPhoneLoginWithVideoBkgViewController: YHBaseViewController {
var bgImageView: UIImageView!
var closeButton: UIButton!
......@@ -76,7 +76,7 @@ class YHPhoneLiginWithVideoBkgViewController: YHBaseViewController {
}
extension YHPhoneLiginWithVideoBkgViewController {
extension YHPhoneLoginWithVideoBkgViewController {
@objc func keyboardWillShow(notification: NSNotification) {
if ((notification.userInfo?[UIResponder.keyboardFrameEndUserInfoKey] as? NSValue)?.cgRectValue) != nil {
......@@ -207,6 +207,14 @@ extension YHPhoneLiginWithVideoBkgViewController {
}
return view
}()
let attributes : [NSAttributedString.Key: Any] = [
.foregroundColor : UIColor(hex: 0xffffff, alpha: 0.5),
.font : UIFont(name: "DINAlternate-Bold", size: 18) as Any
]
phoneMessageView.phoneTextField.attributedPlaceholder = NSAttributedString(string: "请输入签约手机号",attributes: attributes)
contentHoldView.addSubview(phoneMessageView)
phoneMessageView.snp.makeConstraints { make in
make.left.equalTo(20)
......@@ -303,7 +311,7 @@ extension YHPhoneLiginWithVideoBkgViewController {
}
extension YHPhoneLiginWithVideoBkgViewController {
extension YHPhoneLoginWithVideoBkgViewController {
private func setupBackgroundVideo() {
guard let videoURL = Bundle.main.url(forResource: "loginBkg", withExtension: "mov") else { return }
player = AVPlayer(url: videoURL)
......
......@@ -28,7 +28,7 @@ class YHPhoneMessageView: UIView {
func setView() {
messageButton = {
let button = UIButton(type: .custom)
button.titleLabel?.font = UIFont(name: "DINAlternate-Bold", size: 18)//UIFont.PFSC_M(ofSize: 18)
button.titleLabel?.font = UIFont(name: "DINAlternate-Bold", size: 18)
button.setTitle("+86", for: .normal)
button.setTitleColor( UIColor(hex:0xffffff), for: .normal)
button.addTarget(self, action: #selector(messageClick), for: .touchUpInside)
......
......@@ -50,7 +50,7 @@ class YHPrivacyAlertView: UIView {
messageLabel = {
let label = UILabel()
label.textAlignment = .center
// label.textAlignment = .center
label.numberOfLines = 0
return label
}()
......
......@@ -144,7 +144,7 @@ class YHMySettingViewController: YHBaseViewController, ConstraintRelatableTarget
@objc func didLogoutBtnClicked() {
YHCommonAlertView.show("", "退出登录", "取消", "确定",fullGuestureEnable: false) {
YHCommonAlertView.show("", "您确定要退出登录吗?", "取消", "确定",fullGuestureEnable: false) {
} callBack: {
self.logout()
......
......@@ -154,7 +154,7 @@ class YHMyViewController: YHBaseViewController, ConstraintRelatableTarget {
func checkLogin()->Bool {
if YHLoginManager.shared.isLogin() == false {
let vc = UINavigationController(rootVC: YHPhoneLiginWithVideoBkgViewController())
let vc = UINavigationController(rootVC: YHPhoneLoginWithVideoBkgViewController())
vc.modalPresentationStyle = .custom
self.navigationController?.present(vc, animated: true)
return false
......@@ -276,7 +276,7 @@ extension YHMyViewController : UITableViewDelegate, UITableViewDataSource {
//#endif
if !checkLogin() {
let vc = UINavigationController(rootVC: YHPhoneLiginWithVideoBkgViewController())
let vc = UINavigationController(rootVC: YHPhoneLoginWithVideoBkgViewController())
vc.modalPresentationStyle = .custom
self.navigationController?.present(vc, animated: true)
return
......
......@@ -139,7 +139,7 @@ class YHVideoPlayerVC: YHBaseViewController {
guard let self = self else { return }
if YHLoginManager.shared.isLogin() == false {
self.player.pause()
let vc = UINavigationController(rootVC: YHPhoneLiginWithVideoBkgViewController())
let vc = UINavigationController(rootVC: YHPhoneLoginWithVideoBkgViewController())
vc.modalPresentationStyle = .custom
self.navigationController?.present(vc, animated: true)
return
......@@ -171,7 +171,7 @@ class YHVideoPlayerVC: YHBaseViewController {
guard let self = self else { return }
if YHLoginManager.shared.isLogin() == false {
self.player.pause()
let vc = UINavigationController(rootVC: YHPhoneLiginWithVideoBkgViewController())
let vc = UINavigationController(rootVC: YHPhoneLoginWithVideoBkgViewController())
vc.modalPresentationStyle = .custom
self.navigationController?.present(vc, animated: true)
return
......@@ -266,7 +266,7 @@ extension YHVideoPlayerVC {
if YHLoginManager.shared.isLogin() == false {
self.player.pause()
let vc = UINavigationController(rootVC: YHPhoneLiginWithVideoBkgViewController())
let vc = UINavigationController(rootVC: YHPhoneLoginWithVideoBkgViewController())
vc.modalPresentationStyle = .custom
self.navigationController?.present(vc, animated: true)
return
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment