Commit be82de57 authored by pete谢兆麟's avatar pete谢兆麟

挽留弹窗文案修改

parent 11bdc86d
...@@ -180,7 +180,7 @@ class YHEditBaseUserInfoViewController: YHBaseViewController { ...@@ -180,7 +180,7 @@ class YHEditBaseUserInfoViewController: YHBaseViewController {
override func backItemClick(_ sender: Any) { override func backItemClick(_ sender: Any) {
if viewModel.didChange { if viewModel.didChange {
YHCommonAlertView.show("", "您尚未保存修改,确定关闭吗?", "关闭", "保存", fullGuestureEnable: false) { YHCommonAlertView.show("", "您尚未保存修改,确定关闭吗?", "仍然关闭", "继续编辑", fullGuestureEnable: false) {
self.navigationController?.popViewController() self.navigationController?.popViewController()
} callBack: { } callBack: {
} }
...@@ -194,7 +194,7 @@ class YHEditBaseUserInfoViewController: YHBaseViewController { ...@@ -194,7 +194,7 @@ class YHEditBaseUserInfoViewController: YHBaseViewController {
/// 是否可以返回,包括点击返回和手势返回,默认YES /// 是否可以返回,包括点击返回和手势返回,默认YES
override func navigationShouldPop() -> Bool { override func navigationShouldPop() -> Bool {
if viewModel.didChange { if viewModel.didChange {
YHCommonAlertView.show("", "您尚未保存修改,确定关闭吗?", "关闭", "保存", fullGuestureEnable: false) { YHCommonAlertView.show("", "您尚未保存修改,确定关闭吗?", "仍然关闭", "继续编辑", fullGuestureEnable: false) {
self.navigationController?.popViewController() self.navigationController?.popViewController()
} callBack: { } callBack: {
} }
......
...@@ -128,7 +128,7 @@ class YHEditHonorViewController: YHBaseViewController { ...@@ -128,7 +128,7 @@ class YHEditHonorViewController: YHBaseViewController {
override func backItemClick(_ sender: Any) { override func backItemClick(_ sender: Any) {
if viewModel.didChange { if viewModel.didChange {
YHCommonAlertView.show("", "您尚未保存修改,确定关闭吗?", "关闭", "保存", fullGuestureEnable: false) { YHCommonAlertView.show("", "您尚未保存修改,确定关闭吗?", "仍然关闭", "继续编辑", fullGuestureEnable: false) {
self.navigationController?.popViewController() self.navigationController?.popViewController()
} callBack: { } callBack: {
} }
...@@ -140,7 +140,7 @@ class YHEditHonorViewController: YHBaseViewController { ...@@ -140,7 +140,7 @@ class YHEditHonorViewController: YHBaseViewController {
/// 是否可以返回,包括点击返回和手势返回,默认YES /// 是否可以返回,包括点击返回和手势返回,默认YES
override func navigationShouldPop() -> Bool { override func navigationShouldPop() -> Bool {
if viewModel.didChange { if viewModel.didChange {
YHCommonAlertView.show("", "您尚未保存修改,确定关闭吗?", "关闭", "保存", fullGuestureEnable: false) { YHCommonAlertView.show("", "您尚未保存修改,确定关闭吗?", "仍然关闭", "继续编辑", fullGuestureEnable: false) {
self.navigationController?.popViewController() self.navigationController?.popViewController()
} callBack: { } callBack: {
} }
......
...@@ -171,7 +171,7 @@ class YHEditInterestViewController: YHBaseViewController { ...@@ -171,7 +171,7 @@ class YHEditInterestViewController: YHBaseViewController {
override func backItemClick(_ sender: Any) { override func backItemClick(_ sender: Any) {
if viewModel.didChange { if viewModel.didChange {
YHCommonAlertView.show("", "您尚未保存修改,确定关闭吗?", "关闭", "保存", fullGuestureEnable: false) { YHCommonAlertView.show("", "您尚未保存修改,确定关闭吗?", "仍然关闭", "继续编辑", fullGuestureEnable: false) {
self.navigationController?.popViewController() self.navigationController?.popViewController()
} callBack: { } callBack: {
} }
...@@ -183,7 +183,7 @@ class YHEditInterestViewController: YHBaseViewController { ...@@ -183,7 +183,7 @@ class YHEditInterestViewController: YHBaseViewController {
/// 是否可以返回,包括点击返回和手势返回,默认YES /// 是否可以返回,包括点击返回和手势返回,默认YES
override func navigationShouldPop() -> Bool { override func navigationShouldPop() -> Bool {
if viewModel.didChange { if viewModel.didChange {
YHCommonAlertView.show("", "您尚未保存修改,确定关闭吗?", "关闭", "保存", fullGuestureEnable: false) { YHCommonAlertView.show("", "您尚未保存修改,确定关闭吗?", "仍然关闭", "继续编辑", fullGuestureEnable: false) {
self.navigationController?.popViewController() self.navigationController?.popViewController()
} callBack: { } callBack: {
} }
......
...@@ -128,7 +128,7 @@ class YHEditPersonalProfileViewController: YHBaseViewController { ...@@ -128,7 +128,7 @@ class YHEditPersonalProfileViewController: YHBaseViewController {
override func backItemClick(_ sender: Any) { override func backItemClick(_ sender: Any) {
if viewModel.didChange { if viewModel.didChange {
YHCommonAlertView.show("", "您尚未保存修改,确定关闭吗?", "关闭", "保存", fullGuestureEnable: false) { YHCommonAlertView.show("", "您尚未保存修改,确定关闭吗?", "仍然关闭", "继续编辑", fullGuestureEnable: false) {
self.navigationController?.popViewController() self.navigationController?.popViewController()
} callBack: { } callBack: {
} }
...@@ -142,7 +142,7 @@ class YHEditPersonalProfileViewController: YHBaseViewController { ...@@ -142,7 +142,7 @@ class YHEditPersonalProfileViewController: YHBaseViewController {
/// 是否可以返回,包括点击返回和手势返回,默认YES /// 是否可以返回,包括点击返回和手势返回,默认YES
override func navigationShouldPop() -> Bool { override func navigationShouldPop() -> Bool {
if viewModel.didChange { if viewModel.didChange {
YHCommonAlertView.show("", "您尚未保存修改,确定关闭吗?", "关闭", "保存", fullGuestureEnable: false) { YHCommonAlertView.show("", "您尚未保存修改,确定关闭吗?", "仍然关闭", "继续编辑", fullGuestureEnable: false) {
self.navigationController?.popViewController() self.navigationController?.popViewController()
} callBack: { } callBack: {
} }
......
...@@ -90,7 +90,7 @@ class YHEditSchoolViewController: YHBaseViewController { ...@@ -90,7 +90,7 @@ class YHEditSchoolViewController: YHBaseViewController {
override func backItemClick(_ sender: Any) { override func backItemClick(_ sender: Any) {
if viewModel.didChange { if viewModel.didChange {
YHCommonAlertView.show("", "您尚未保存修改,确定关闭吗?", "关闭", "保存", fullGuestureEnable: false) { YHCommonAlertView.show("", "您尚未保存修改,确定关闭吗?", "仍然关闭", "继续编辑", fullGuestureEnable: false) {
self.navigationController?.popViewController() self.navigationController?.popViewController()
} callBack: { } callBack: {
} }
...@@ -102,7 +102,7 @@ class YHEditSchoolViewController: YHBaseViewController { ...@@ -102,7 +102,7 @@ class YHEditSchoolViewController: YHBaseViewController {
/// 是否可以返回,包括点击返回和手势返回,默认YES /// 是否可以返回,包括点击返回和手势返回,默认YES
override func navigationShouldPop() -> Bool { override func navigationShouldPop() -> Bool {
if viewModel.didChange { if viewModel.didChange {
YHCommonAlertView.show("", "您尚未保存修改,确定关闭吗?", "关闭", "保存", fullGuestureEnable: false) { YHCommonAlertView.show("", "您尚未保存修改,确定关闭吗?", "仍然关闭", "继续编辑", fullGuestureEnable: false) {
self.navigationController?.popViewController() self.navigationController?.popViewController()
} callBack: { } callBack: {
} }
......
...@@ -90,7 +90,7 @@ class YHEditWorkViewController: YHBaseViewController { ...@@ -90,7 +90,7 @@ class YHEditWorkViewController: YHBaseViewController {
override func backItemClick(_ sender: Any) { override func backItemClick(_ sender: Any) {
if viewModel.didChange { if viewModel.didChange {
YHCommonAlertView.show("", "您尚未保存修改,确定关闭吗?", "关闭", "保存", fullGuestureEnable: false) { YHCommonAlertView.show("", "您尚未保存修改,确定关闭吗?", "仍然关闭", "继续编辑", fullGuestureEnable: false) {
self.navigationController?.popViewController() self.navigationController?.popViewController()
} callBack: { } callBack: {
} }
...@@ -102,7 +102,7 @@ class YHEditWorkViewController: YHBaseViewController { ...@@ -102,7 +102,7 @@ class YHEditWorkViewController: YHBaseViewController {
/// 是否可以返回,包括点击返回和手势返回,默认YES /// 是否可以返回,包括点击返回和手势返回,默认YES
override func navigationShouldPop() -> Bool { override func navigationShouldPop() -> Bool {
if viewModel.didChange { if viewModel.didChange {
YHCommonAlertView.show("", "您尚未保存修改,确定关闭吗?", "关闭", "保存", fullGuestureEnable: false) { YHCommonAlertView.show("", "您尚未保存修改,确定关闭吗?", "仍然关闭", "继续编辑", fullGuestureEnable: false) {
self.navigationController?.popViewController() self.navigationController?.popViewController()
} callBack: { } callBack: {
} }
......
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