|
@@ -14,6 +14,10 @@ import Kingfisher
|
|
|
import BFCommonKit
|
|
|
import Alamofire
|
|
|
|
|
|
+
|
|
|
+
|
|
|
+public let bottomOprationBgViewHeight:CGFloat = 322.0
|
|
|
+
|
|
|
class PQStuckPointPublicController: PQBaseViewController {
|
|
|
private var isShared: Bool = false
|
|
|
private var isExportSuccess: Bool = false
|
|
@@ -36,10 +40,11 @@ class PQStuckPointPublicController: PQBaseViewController {
|
|
|
var selectedDataCount: Int = 0
|
|
|
|
|
|
var selectedImageDataCount: Int = 0
|
|
|
+
|
|
|
|
|
|
private var maxWidth: CGFloat = cScreenWidth
|
|
|
|
|
|
- private var maxHeight: CGFloat = cScreenHeigth > 568 ? 385 : 385*cScreenHeigth/818
|
|
|
+ private var maxHeight: CGFloat = cScreenHeigth - bottomOprationBgViewHeight - cDevice_iPhoneNavBarAndStatusBarHei
|
|
|
|
|
|
private let startExportDate: Float64 = Date().timeIntervalSince1970
|
|
|
|
|
@@ -414,7 +419,7 @@ class PQStuckPointPublicController: PQBaseViewController {
|
|
|
|
|
|
|
|
|
lazy var bottomOprationBgView: UIView = {
|
|
|
- let bottomOprationBgView = UIView(frame: CGRect(x: 0, y: cDevice_iPhoneNavBarAndStatusBarHei + maxHeight, width: cScreenWidth, height: view.frame.height - cDevice_iPhoneNavBarAndStatusBarHei - maxHeight))
|
|
|
+ let bottomOprationBgView = UIView(frame: CGRect(x: 0, y: cDevice_iPhoneNavBarAndStatusBarHei + maxHeight, width: cScreenWidth, height: bottomOprationBgViewHeight))
|
|
|
bottomOprationBgView.backgroundColor = .clear
|
|
|
bottomOprationBgView.isHidden = true
|
|
|
return bottomOprationBgView
|