|
@@ -248,6 +248,51 @@ extension JDFuncLimitResultPopView {
|
|
|
iconIv.image = _image("jd_func_limit&jd_func_limit")
|
|
|
titleLabel.text = switchLanguage("功能受限")
|
|
|
|
|
|
+
|
|
|
+ if model.status == "3" {
|
|
|
+
|
|
|
+ type = 1
|
|
|
+
|
|
|
+ let formatString = switchLanguage("您的账号存在异常,暂时无法使用该功能,您已提交编号为%@的验证资料申请解除账号限制,相关信息正在审核中,请耐心等待,谢谢!")
|
|
|
+
|
|
|
+ detailLabel.text = String(format: formatString, model.ordernum ?? "")
|
|
|
+ self.detailButton.setTitle(switchLanguage("知道了"), for: .normal)
|
|
|
+
|
|
|
+ } else if model.status == "6" {
|
|
|
+
|
|
|
+ if model.handleList?.count ?? 0 > 0 {
|
|
|
+ type = 2
|
|
|
+
|
|
|
+ let dict = model.handleList?[0]
|
|
|
+ let reason = dict?["content"] as? String
|
|
|
+
|
|
|
+ let formatString = switchLanguage("您的账号存在异常,暂时无法使用该功能,您已提交编号为%@的验证资料,因“%@”的原因未能通过审核,请通过以下链接重新提交资料,谢谢!")
|
|
|
+
|
|
|
+ detailLabel.text = String(format: formatString, model.ordernum ?? "", reason ?? "")
|
|
|
+ self.detailButton.setTitle(switchLanguage("重新提交资料"), for: .normal)
|
|
|
+ }else {
|
|
|
+ type = 2
|
|
|
+
|
|
|
+// let dict = model.handleList?[0]
|
|
|
+ let reason = ""//dict?["content"] as? String
|
|
|
+
|
|
|
+ let formatString = switchLanguage("您的账号存在异常,暂时无法使用该功能,您已提交编号为%@的验证资料,因“%@”的原因未能通过审核,请通过以下链接重新提交资料,谢谢!")
|
|
|
+
|
|
|
+ detailLabel.text = String(format: formatString, model.ordernum ?? "", reason ?? "")
|
|
|
+ self.detailButton.setTitle(switchLanguage("重新提交资料"), for: .normal)
|
|
|
+ }
|
|
|
+
|
|
|
+ }else {
|
|
|
+
|
|
|
+ type = 1
|
|
|
+
|
|
|
+ let formatString = switchLanguage("您的账号存在异常,暂时无法使用该功能,您已提交编号为%@的验证资料申请解除账号限制,相关信息正在审核中,请耐心等待,谢谢!")
|
|
|
+
|
|
|
+ detailLabel.text = String(format: formatString, model.ordernum ?? "")
|
|
|
+ self.detailButton.setTitle(switchLanguage("知道了"), for: .normal)
|
|
|
+ }
|
|
|
+
|
|
|
+ /*
|
|
|
if model.handleList?.count ?? 0 > 0 {
|
|
|
type = 2
|
|
|
|
|
@@ -266,7 +311,7 @@ extension JDFuncLimitResultPopView {
|
|
|
detailLabel.text = String(format: formatString, model.ordernum ?? "")
|
|
|
self.detailButton.setTitle(switchLanguage("知道了"), for: .normal)
|
|
|
}
|
|
|
-
|
|
|
+ */
|
|
|
|
|
|
|
|
|
|