Ver código fonte

综合-注册登录适配低版本

tangchao 1 ano atrás
pai
commit
8472273a59

BIN
PDF Office/PDF Office.xcodeproj/project.xcworkspace/xcuserdata/kdanmobile.xcuserdatad/UserInterfaceState.xcuserstate


+ 2 - 0
PDF Office/PDF Office/Class/KMLightMember/Controller/Login&Register/View/KMLoginView.swift

@@ -45,6 +45,8 @@ class KMLoginView: KMBaseXibView {
         
         self.registerTextView.delegate = self
         self.registerTextView.isEditable = false
+        self.registerTextView.frame = (self.registerTextView.enclosingScrollView?.contentView.bounds)!
+        self.registerTextView.autoresizingMask = [.width, .height]
     }
     
     override func updateUI() {

+ 4 - 0
PDF Office/PDF Office/Class/KMLightMember/Controller/Login&Register/View/KMRegisterView.swift

@@ -47,11 +47,15 @@ class KMRegisterView: KMBaseXibView {
         //初始化数据
         self.signInTextView.delegate = self
         self.signInTextView.isEditable = false
+        self.signInTextView.frame = (self.signInTextView.enclosingScrollView?.contentView.bounds)!
+        self.signInTextView.autoresizingMask = [.width, .height]
         
         self.passwordSecureTextField.isHidden = true
     
         self.privacyPolicyTextView.delegate = self
         self.privacyPolicyTextView.isEditable = false
+        self.privacyPolicyTextView.frame = (self.privacyPolicyTextView.enclosingScrollView?.contentView.bounds)!
+        self.privacyPolicyTextView.autoresizingMask = [.width, .height]
         
         self.emailTextField.delegate = self
         self.emailTextField.onFocus = {

+ 1 - 1
PDF Office/PDF Office/Class/KMLightMember/Model/KMLightMemberUserInfo.swift

@@ -11,7 +11,7 @@ class KMLightMemberUserInfo: NSObject, Codable {
     var id: String = ""
     var appId: String = ""
     var freeDate: String = ""
-    var isInFreeUseTime: Bool = true //是否免费使用
+    var isInFreeUseTime: Bool = false //是否免费使用
     var email: String = ""
     var platformType: Int = 0
     var accountType: Int = 0