浏览代码

【会员系统】Lite、Pro用户中心问题

dinglingui 1 周之前
父节点
当前提交
167da6205a
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4 0
      PDF Office/PDF Master/MemberCenter/ViewController/KMUserInfoViewController.swift

+ 4 - 0
PDF Office/PDF Master/MemberCenter/ViewController/KMUserInfoViewController.swift

@@ -630,6 +630,10 @@ class KMUserInfoViewController: NSViewController {
             number4_1Label.textColor = NSColor(hex: "FFFFFF")
             number5Label.textColor = NSColor(hex: "FFFFFF")
             membershipLabel.textColor = NSColor(hex: "FFFFFF")
+            
+            buyNow2Box.isHidden = true
+            buyNow1BoxLeftConst.constant = (CGRectGetWidth(view.bounds) - CGRectGetWidth(buyNow1Box.frame))/2
+
         } else if(KMMemberInfo.shared.userScenarioType == .lite_type9 ||
                   KMMemberInfo.shared.userScenarioType == .pro_type1) {
             if(KMMemberInfo.shared.vip_paymentModel == "2" && KMMemberInfo.shared.vip_levels != "1") { //永久