Commit 5dada5ef authored by David黄金龙's avatar David黄金龙

1、删除不使用代码

2、处理一处 UI布局bug
parent 9b951ab1
...@@ -78,7 +78,6 @@ extension YHFileListViewController { ...@@ -78,7 +78,6 @@ extension YHFileListViewController {
func loadData() { func loadData() {
if let orderID = UserDefaults.standard.value(forKey: "orderIdForPreview") { if let orderID = UserDefaults.standard.value(forKey: "orderIdForPreview") {
let param = ["order_id":orderID,"node":"1","state":"1"] let param = ["order_id":orderID,"node":"1","state":"1"]
// let param = ["order_id":"11758","node":"1","state":"1"] //for test hjl
certificateReqVM.getCertificateFileListData(params: param) { success, error in certificateReqVM.getCertificateFileListData(params: param) { success, error in
if success == true { if success == true {
self.myContentView.dataModel = self.certificateReqVM.arrFileListData self.myContentView.dataModel = self.certificateReqVM.arrFileListData
......
...@@ -98,6 +98,7 @@ extension YHPreviewInfoCell { ...@@ -98,6 +98,7 @@ extension YHPreviewInfoCell {
view.snp.makeConstraints { make in view.snp.makeConstraints { make in
make.edges.equalTo(0) make.edges.equalTo(0)
} }
} }
else { else {
......
...@@ -84,8 +84,8 @@ private extension YHPreviewInfoWorkExpView { ...@@ -84,8 +84,8 @@ private extension YHPreviewInfoWorkExpView {
addSubview(view) addSubview(view)
view.snp.makeConstraints { make in view.snp.makeConstraints { make in
make.top.equalTo(lastTagView.snp.bottom).offset(18) make.top.equalTo(lastTagView.snp.bottom).offset(18)
make.left.equalToSuperview().offset(kMargin) make.left.equalToSuperview()
make.right.equalToSuperview().offset(-kMargin) make.right.equalToSuperview()
} }
lastTagView = view lastTagView = view
} }
......
...@@ -103,8 +103,6 @@ class YHInformationFillTipsAlertView: UIView { ...@@ -103,8 +103,6 @@ class YHInformationFillTipsAlertView: UIView {
make.height.equalTo(96) make.height.equalTo(96)
} }
// bottomView.backgroundColor = .red //for test hjl
let checkBtn = UIButton(type: .custom) let checkBtn = UIButton(type: .custom)
checkBtn.addTarget(self, action: #selector(onClickReadyBtn), for: .touchUpInside) checkBtn.addTarget(self, action: #selector(onClickReadyBtn), for: .touchUpInside)
checkBtn.setTitle("准备完毕", for: .normal) checkBtn.setTitle("准备完毕", for: .normal)
......
...@@ -28,8 +28,6 @@ class YHWebViewViewController: YHBaseViewController, WKUIDelegate, WKNavigationD ...@@ -28,8 +28,6 @@ class YHWebViewViewController: YHBaseViewController, WKUIDelegate, WKNavigationD
// 创建wkwebview // 创建wkwebview
webview = WKWebView(frame: CGRect(x: 0, y: statusHeight + navHeight!, width: self.view.frame.width, height: self.view.frame.height - k_Height_NavigationtBarAndStatuBar)) webview = WKWebView(frame: CGRect(x: 0, y: statusHeight + navHeight!, width: self.view.frame.width, height: self.view.frame.height - k_Height_NavigationtBarAndStatuBar))
// webview.backgroundColor = .white//for test hjl
webview.navigationDelegate = self webview.navigationDelegate = self
// 创建网址 // 创建网址
let url = NSURL(string: url) let url = NSURL(string: url)
......
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