Commit f59a7b3f authored by Steven杜宇's avatar Steven杜宇

// 递交提示

parent b3e20e2e
...@@ -461,6 +461,7 @@ ...@@ -461,6 +461,7 @@
04912F602CB6697300CC3105 /* YHResignRiskWarningAlertView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 04912F5F2CB6697300CC3105 /* YHResignRiskWarningAlertView.swift */; }; 04912F602CB6697300CC3105 /* YHResignRiskWarningAlertView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 04912F5F2CB6697300CC3105 /* YHResignRiskWarningAlertView.swift */; };
04912F622CB66E6300CC3105 /* YHResignInfoConfirmViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 04912F612CB66E6300CC3105 /* YHResignInfoConfirmViewController.swift */; }; 04912F622CB66E6300CC3105 /* YHResignInfoConfirmViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 04912F612CB66E6300CC3105 /* YHResignInfoConfirmViewController.swift */; };
04912F642CB6885D00CC3105 /* YHResignFamilyMemberInfoCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 04912F632CB6885D00CC3105 /* YHResignFamilyMemberInfoCell.swift */; }; 04912F642CB6885D00CC3105 /* YHResignFamilyMemberInfoCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 04912F632CB6885D00CC3105 /* YHResignFamilyMemberInfoCell.swift */; };
04912F6E2CB6A64700CC3105 /* YHResignAppointTipsView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 04912F6D2CB6A64700CC3105 /* YHResignAppointTipsView.swift */; };
0493B3DC2BA7EFE600AF9393 /* YHCertificateSearchViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0493B3DB2BA7EFE600AF9393 /* YHCertificateSearchViewController.swift */; }; 0493B3DC2BA7EFE600AF9393 /* YHCertificateSearchViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0493B3DB2BA7EFE600AF9393 /* YHCertificateSearchViewController.swift */; };
0493B3DE2BA80C2300AF9393 /* YHCertificateFilterButton.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0493B3DD2BA80C2300AF9393 /* YHCertificateFilterButton.swift */; }; 0493B3DE2BA80C2300AF9393 /* YHCertificateFilterButton.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0493B3DD2BA80C2300AF9393 /* YHCertificateFilterButton.swift */; };
049537852BA9B28500AF7E59 /* YHCertificateTemplateCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 049537842BA9B28500AF7E59 /* YHCertificateTemplateCell.swift */; }; 049537852BA9B28500AF7E59 /* YHCertificateTemplateCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 049537842BA9B28500AF7E59 /* YHCertificateTemplateCell.swift */; };
...@@ -1323,6 +1324,7 @@ ...@@ -1323,6 +1324,7 @@
04912F5F2CB6697300CC3105 /* YHResignRiskWarningAlertView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = YHResignRiskWarningAlertView.swift; sourceTree = "<group>"; }; 04912F5F2CB6697300CC3105 /* YHResignRiskWarningAlertView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = YHResignRiskWarningAlertView.swift; sourceTree = "<group>"; };
04912F612CB66E6300CC3105 /* YHResignInfoConfirmViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = YHResignInfoConfirmViewController.swift; sourceTree = "<group>"; }; 04912F612CB66E6300CC3105 /* YHResignInfoConfirmViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = YHResignInfoConfirmViewController.swift; sourceTree = "<group>"; };
04912F632CB6885D00CC3105 /* YHResignFamilyMemberInfoCell.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = YHResignFamilyMemberInfoCell.swift; sourceTree = "<group>"; }; 04912F632CB6885D00CC3105 /* YHResignFamilyMemberInfoCell.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = YHResignFamilyMemberInfoCell.swift; sourceTree = "<group>"; };
04912F6D2CB6A64700CC3105 /* YHResignAppointTipsView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = YHResignAppointTipsView.swift; sourceTree = "<group>"; };
0493B3DB2BA7EFE600AF9393 /* YHCertificateSearchViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = YHCertificateSearchViewController.swift; sourceTree = "<group>"; }; 0493B3DB2BA7EFE600AF9393 /* YHCertificateSearchViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = YHCertificateSearchViewController.swift; sourceTree = "<group>"; };
0493B3DD2BA80C2300AF9393 /* YHCertificateFilterButton.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = YHCertificateFilterButton.swift; sourceTree = "<group>"; }; 0493B3DD2BA80C2300AF9393 /* YHCertificateFilterButton.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = YHCertificateFilterButton.swift; sourceTree = "<group>"; };
049537842BA9B28500AF7E59 /* YHCertificateTemplateCell.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = YHCertificateTemplateCell.swift; sourceTree = "<group>"; }; 049537842BA9B28500AF7E59 /* YHCertificateTemplateCell.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = YHCertificateTemplateCell.swift; sourceTree = "<group>"; };
...@@ -2158,6 +2160,7 @@ ...@@ -2158,6 +2160,7 @@
0449EEE52C8EE99000A397FD /* Resign(续签) */ = { 0449EEE52C8EE99000A397FD /* Resign(续签) */ = {
isa = PBXGroup; isa = PBXGroup;
children = ( children = (
04912F652CB6A56900CC3105 /* ResignHKAppoint(在港递交预约) */,
04912F562CB6675D00CC3105 /* ResignInfoConfirm(续签信息确认) */, 04912F562CB6675D00CC3105 /* ResignInfoConfirm(续签信息确认) */,
044F39272CB54BB3007CA277 /* HongKongVisaRenewalPayment(续签在港缴费) */, 044F39272CB54BB3007CA277 /* HongKongVisaRenewalPayment(续签在港缴费) */,
04F243322C957ED600DF2C74 /* HongKongImmigrationRecords(在港记录管理) */, 04F243322C957ED600DF2C74 /* HongKongImmigrationRecords(在港记录管理) */,
...@@ -3353,6 +3356,46 @@ ...@@ -3353,6 +3356,46 @@
path = VM; path = VM;
sourceTree = "<group>"; sourceTree = "<group>";
}; };
04912F652CB6A56900CC3105 /* ResignHKAppoint(在港递交预约) */ = {
isa = PBXGroup;
children = (
04912F6B2CB6A5DE00CC3105 /* VM */,
04912F6A2CB6A5D800CC3105 /* M */,
04912F672CB6A59C00CC3105 /* V */,
04912F662CB6A59500CC3105 /* C */,
);
path = "ResignHKAppoint(在港递交预约)";
sourceTree = "<group>";
};
04912F662CB6A59500CC3105 /* C */ = {
isa = PBXGroup;
children = (
);
path = C;
sourceTree = "<group>";
};
04912F672CB6A59C00CC3105 /* V */ = {
isa = PBXGroup;
children = (
04912F6D2CB6A64700CC3105 /* YHResignAppointTipsView.swift */,
);
path = V;
sourceTree = "<group>";
};
04912F6A2CB6A5D800CC3105 /* M */ = {
isa = PBXGroup;
children = (
);
path = M;
sourceTree = "<group>";
};
04912F6B2CB6A5DE00CC3105 /* VM */ = {
isa = PBXGroup;
children = (
);
path = VM;
sourceTree = "<group>";
};
049663B62BF60BB7003C8295 /* CustomRefreshHeader */ = { 049663B62BF60BB7003C8295 /* CustomRefreshHeader */ = {
isa = PBXGroup; isa = PBXGroup;
children = ( children = (
...@@ -5169,6 +5212,7 @@ ...@@ -5169,6 +5212,7 @@
04F2432F2C94704200DF2C74 /* YHPaddedLabel.swift in Sources */, 04F2432F2C94704200DF2C74 /* YHPaddedLabel.swift in Sources */,
A5ACE9342B4564F7002C94D2 /* YHAllApiName.swift in Sources */, A5ACE9342B4564F7002C94D2 /* YHAllApiName.swift in Sources */,
04AF82D62C25542D0028CE2A /* YHInterestTopicLayout.swift in Sources */, 04AF82D62C25542D0028CE2A /* YHInterestTopicLayout.swift in Sources */,
04912F6E2CB6A64700CC3105 /* YHResignAppointTipsView.swift in Sources */,
045EEE902B9F171A0022A143 /* YHPreviewInfoNameAndSubNameItemsView.swift in Sources */, 045EEE902B9F171A0022A143 /* YHPreviewInfoNameAndSubNameItemsView.swift in Sources */,
A5ACE9502B4564F7002C94D2 /* YhCacheTool.swift in Sources */, A5ACE9502B4564F7002C94D2 /* YhCacheTool.swift in Sources */,
04F957452C1FEC4A003C631C /* YHMessageBellView.swift in Sources */, 04F957452C1FEC4A003C631C /* YHMessageBellView.swift in Sources */,
......
//
// YHResignAppointTipsView.swift
// galaxy
//
// Created by edy on 2024/10/9.
// Copyright © 2024 https://www.galaxy-immi.com. All rights reserved.
//
import UIKit
class YHResignAppointTipsView: UIView {
var confirmBlock:(()->())?
lazy var blackMaskView: UIView = {
let view = UIView()
view.backgroundColor = UIColor.init(hex: 0x000000, alpha: 0.68)
return view
}()
lazy var whiteContentView: UIView = {
let view = UIView()
view.backgroundColor = .white
view.layer.cornerRadius = kCornerRadius6
return view
}()
lazy var titleLabel: UILabel = {
let label = UILabel()
label.textAlignment = .center
label.font = UIFont.PFSC_M(ofSize: 17)
label.textColor = UIColor.mainTextColor
label.text = "递交提示"
return label
}()
lazy var lineView: UIView = {
let view = UIView()
view.backgroundColor = UIColor(hex: 0x94A3B8, alpha: 0.14)
return view
}()
lazy var textImgView: UIImageView = {
let imgView = UIImageView(image: UIImage(named: "resign_appoint_tips"))
return imgView
}()
lazy var confirmBtn: UIButton = {
let button = UIButton()
button.titleLabel?.font = UIFont.PFSC_R(ofSize: 14)
button.setTitle("我知道了", for: .normal)
button.setTitleColor(UIColor.white, for: .normal)
button.backgroundColor = .brandMainColor
button.addTarget(self, action: #selector(didConfirmBtnClicked), for: .touchUpInside)
button.layer.cornerRadius = kCornerRadius3
return button
}()
static func alertView() -> YHResignAppointTipsView {
let view = YHResignAppointTipsView(frame: UIScreen.main.bounds)
return view
}
@objc func show() {
UIApplication.shared.yhKeyWindow()?.addSubview(self)
}
@objc func dismiss() {
self.removeFromSuperview()
}
@objc func didConfirmBtnClicked() {
confirmBlock?()
self.dismiss()
}
required init?(coder: NSCoder) {
fatalError("init(coder:) has not been implemented")
}
override init(frame: CGRect) {
super.init(frame: frame)
createUI()
}
func createUI() {
self.addSubview(blackMaskView)
self.addSubview(whiteContentView)
whiteContentView.addSubview(titleLabel)
whiteContentView.addSubview(lineView)
whiteContentView.addSubview(textImgView)
whiteContentView.addSubview(confirmBtn)
blackMaskView.snp.makeConstraints { make in
make.edges.equalToSuperview()
}
whiteContentView.snp.makeConstraints { make in
make.left.equalTo(38)
make.right.equalTo(-38)
make.centerY.equalToSuperview()
}
titleLabel.snp.makeConstraints { make in
make.top.equalTo(16)
make.height.equalTo(24)
make.left.equalTo(21)
make.right.equalTo(-21)
}
lineView.snp.makeConstraints { make in
make.left.right.equalTo(0)
make.height.equalTo(1)
make.top.equalTo(titleLabel.snp.bottom).offset(12)
}
textImgView.snp.makeConstraints { make in
make.left.equalTo(21)
make.right.equalTo(-21)
make.height.equalTo(textImgView.snp.width).multipliedBy(260.0/257.0)
make.top.equalTo(lineView.snp.bottom).offset(18)
}
confirmBtn.snp.makeConstraints { make in
make.top.equalTo(textImgView.snp.bottom).offset(32)
make.left.equalTo(21)
make.right.equalTo(-21)
make.bottom.equalTo(-16)
make.height.equalTo(45)
}
}
}
...@@ -341,6 +341,15 @@ extension YHMyViewController : UITableViewDelegate, UITableViewDataSource { ...@@ -341,6 +341,15 @@ extension YHMyViewController : UITableViewDelegate, UITableViewDataSource {
return return
} }
if true {
YHResignAppointTipsView.alertView().show()
// let vc = YHResignInfoConfirmViewController()
// self.navigationController?.pushViewController(vc)
return
}
let item: PersonalModuleItem = items[indexPath.row] let item: PersonalModuleItem = items[indexPath.row]
switch item.type { switch item.type {
case .myCard://我的名片 case .myCard://我的名片
......
{
"images" : [
{
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "info_location copy@2x.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "info_location copy@3x.png",
"idiom" : "universal",
"scale" : "3x"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
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