Commit bcdcbf30 authored by David黄金龙's avatar David黄金龙

修改一处点击bug

parent 1a02861b
...@@ -177,7 +177,7 @@ extension YHHomeHoldViewPageViewController { ...@@ -177,7 +177,7 @@ extension YHHomeHoldViewPageViewController {
//跳转 正式批结果页面 //跳转 正式批结果页面
//正式批已获批~ //正式批已获批~
let vc = YHOfficialApprovalResultVC() let vc = YHOfficialApprovalResultVC()
vc.showGuildViewFlag = true vc.isFromHomeAlertViewFlag = true
self.navigationController?.pushViewController(vc) self.navigationController?.pushViewController(vc)
} }
} }
......
...@@ -146,8 +146,8 @@ class YHOfficialApprovalResultVC: YHBaseViewController { ...@@ -146,8 +146,8 @@ class YHOfficialApprovalResultVC: YHBaseViewController {
}() }()
// //是否来着首页的弹窗
var showGuildViewFlag : Bool = false var isFromHomeAlertViewFlag : Bool = false
lazy var previewFileTool:YHFilePreviewTool = { lazy var previewFileTool:YHFilePreviewTool = {
...@@ -163,9 +163,9 @@ class YHOfficialApprovalResultVC: YHBaseViewController { ...@@ -163,9 +163,9 @@ class YHOfficialApprovalResultVC: YHBaseViewController {
getApprovalLetter() getApprovalLetter()
if !showGuildViewFlag { // if !isFromHomeAlertViewFlag {
getAlertStatus() // getAlertStatus()
} // }
getOfficalGuildCheckStatus() getOfficalGuildCheckStatus()
} }
...@@ -218,7 +218,7 @@ private extension YHOfficialApprovalResultVC { ...@@ -218,7 +218,7 @@ private extension YHOfficialApprovalResultVC {
func getOfficalGuildCheckStatus() { func getOfficalGuildCheckStatus() {
princleVM.getOfficialCheckStatus { success, error in princleVM.getOfficialCheckStatus { success, error in
if success { if success {
if self.showGuildViewFlag { if self.isFromHomeAlertViewFlag {
self.clickRightItemBtn() self.clickRightItemBtn()
} }
} }
......
...@@ -15,8 +15,8 @@ class YHOffivialApprovalGuildLineCheckView: UIView { ...@@ -15,8 +15,8 @@ class YHOffivialApprovalGuildLineCheckView: UIView {
lazy var blackMaskView: UIView = { lazy var blackMaskView: UIView = {
let view = UIView() let view = UIView()
view.backgroundColor = UIColor(hex: 0x0F1214, alpha: 0.5) view.backgroundColor = UIColor(hex: 0x0F1214, alpha: 0.5)
let tap = UITapGestureRecognizer(target: self, action: #selector(dismiss)) // let tap = UITapGestureRecognizer(target: self, action: #selector(dismiss))
view.addGestureRecognizer(tap) // view.addGestureRecognizer(tap)
return view return view
}() }()
......
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