|
|
@@ -39,7 +39,7 @@ class QSLActivityVipVC: QSLBaseController {
|
|
|
let vc = QSLWebViewController()
|
|
|
vc.webUrl = QSLConfig.AppPrivacyAgreementLink
|
|
|
vc.title = "隐私政策"
|
|
|
- self.navigationController?.pushViewController(vc, animated: true)
|
|
|
+ self.present(vc, animated: true)
|
|
|
}
|
|
|
|
|
|
@objc func serviceAction() {
|
|
|
@@ -47,7 +47,7 @@ class QSLActivityVipVC: QSLBaseController {
|
|
|
let vc = QSLWebViewController()
|
|
|
vc.webUrl = QSLConfig.AppServiceAgreementLink
|
|
|
vc.title = "服务协议"
|
|
|
- self.navigationController?.pushViewController(vc, animated: true)
|
|
|
+ self.present(vc, animated: true)
|
|
|
}
|
|
|
|
|
|
@objc func subscibeAction() {
|
|
|
@@ -55,7 +55,7 @@ class QSLActivityVipVC: QSLBaseController {
|
|
|
let vc = QSLWebViewController()
|
|
|
vc.webUrl = QSLConfig.AppSubscibeAgreementLink
|
|
|
vc.title = "续订说明"
|
|
|
- self.navigationController?.pushViewController(vc, animated: true)
|
|
|
+ self.present(vc, animated: true)
|
|
|
}
|
|
|
|
|
|
@objc func payBtnAction() {
|
|
|
@@ -117,11 +117,13 @@ class QSLActivityVipVC: QSLBaseController {
|
|
|
gravityInstance?.track(QSLGravityConst.activity_vip_result, properties: ["purchase_result": "success","pay_amount":Int32(selectGood.amount)])
|
|
|
|
|
|
DispatchQueue.main.asyncAfter(deadline: .now() + 3) {
|
|
|
- self.navigationController?.popViewController(animated: true)
|
|
|
+ self.dismiss(animated: false)
|
|
|
NotificationCenter.default.post(name: QSLNotification.QSLRefreshMember, object: nil)
|
|
|
-
|
|
|
- if(!QSLBaseManager.shared.isLogin()){
|
|
|
- QSLJumpManager.shared.pushToLogin(type: .member)
|
|
|
+
|
|
|
+ DispatchQueue.main.asyncAfter(deadline: .now() + 0.2) {
|
|
|
+ if(!QSLBaseManager.shared.isLogin()){
|
|
|
+ QSLJumpManager.shared.pushToLogin(type: .member)
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
|