|
@@ -14,11 +14,10 @@ import TYAttributedLabel
|
|
|
import BFCommonKit
|
|
|
import BFAnalyzeKit
|
|
|
|
|
|
-public let cUserProtocol = "https://weapppiccdn.yishihui.com/resources/agreements/shishuo/videoservice.html?type=20"
|
|
|
-/** 隐私政策 */
|
|
|
-public let cPrivacy = "https://weapppiccdn.yishihui.com/resources/agreements/shishuo/videoagreement.html?type=20"
|
|
|
-
|
|
|
class INRecorderController: BFBaseViewController {
|
|
|
+ var cUserProtocol:String = ""
|
|
|
+ var cPrivacy:String = ""
|
|
|
+
|
|
|
lazy var addVideoBtn: UIButton = {
|
|
|
let btn = UIButton(type: .custom)
|
|
|
// btn.setTitle("Add", for: .normal)
|
|
@@ -79,6 +78,11 @@ class INRecorderController: BFBaseViewController {
|
|
|
}()
|
|
|
|
|
|
lazy var protocolLab: TYAttributedLabel = {
|
|
|
+
|
|
|
+ //根据当前系统语言设置不同的地址
|
|
|
+ cUserProtocol = "https://weapppiccdn.yishihui.com/resources/agreements/shishuo/videoservice_\( BFLocalizedUtil.currentLanguage()).html"
|
|
|
+ cPrivacy = "https://weapppiccdn.yishihui.com/resources/agreements/shishuo/videoagreement_\( BFLocalizedUtil.currentLanguage()).html"
|
|
|
+
|
|
|
let protocolLab = TYAttributedLabel()
|
|
|
protocolLab.highlightedLinkBackgroundColor = UIColor.clear
|
|
|
protocolLab.backgroundColor = UIColor.clear
|