1.0版本重新提审

This commit is contained in:
zeng 2025-08-01 17:57:14 +08:00
parent 33d7c2a59a
commit a22254bc39
8 changed files with 163 additions and 47 deletions

View File

@ -2646,7 +2646,7 @@
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
CODE_SIGN_ENTITLEMENTS = beereel/beereel.entitlements;
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 2;
CURRENT_PROJECT_VERSION = 3;
DEVELOPMENT_TEAM = 8NNUR9HPV3;
ENABLE_USER_SCRIPT_SANDBOXING = NO;
GENERATE_INFOPLIST_FILE = YES;
@ -2752,7 +2752,7 @@
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor;
CODE_SIGN_ENTITLEMENTS = beereel/beereel.entitlements;
CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 2;
CURRENT_PROJECT_VERSION = 3;
DEVELOPMENT_TEAM = 8NNUR9HPV3;
ENABLE_USER_SCRIPT_SANDBOXING = NO;
GENERATE_INFOPLIST_FILE = YES;

View File

@ -38,13 +38,3 @@ let kBRFeedBackDetailWebUrl = BRCampaignWebURL + "/pages/leave/detail"
///
let kBRRewardsWebUrl = BRCampaignWebURL + "/pages/reward/theme4"
/*
https://www.breeltv.com/
https://www.breeltv.com/xxxxx
https://campaign.breeltv.com/pages/leave/index {theme:theme_1} {theme:theme_2}
......
https://admin-beereel.guyantv.com/
w2ahttps://w2a.breeltv.com/
w2a联调地址https://w2a.breeltv.com/?short_play_id=8&type=fb&id=168&pixel_id=123&adj_campaign={{campaign.name}}%20({{campaign.id}})&adj_adgroup={{adset.name}}%20({{adset.id}})&adj_creative={{ad.name}}%20({{ad.id}})
*/

View File

@ -162,14 +162,68 @@ class BRVideoRechargeView: BRPanModalContentView {
label.textColor = .colorD3D3D3()
label.numberOfLines = 0
label.text = "kStoreTipText".localized
let text1 = "beereel_terms_of_service".localized
let text2 = "Privacy Policy".localized
let text3 = "Renewal Agreement".localized
let text = "\(text1) | \(text2)\n\(text3)"
let range1 = (text as NSString).range(of: text1)
let range2 = (text as NSString).range(of: text2)
let range3 = (text as NSString).range(of: text3)
let string = NSMutableAttributedString(string: text)
string.yy_color = .colorFFFFFF()
string.yy_font = label.font
string.yy_setTextHighlight(range1, color: nil, backgroundColor: nil) { [weak self] _, _, _, _ in
guard let self = self else { return }
self.dismiss(animated: true) { [weak self] in
let vc = BRWebViewController()
vc.webUrl = kSBUserAgreementWebUrl
BRAppTool.topViewController?.navigationController?.pushViewController(vc, animated: true)
}
}
string.yy_setTextHighlight(range2, color: nil, backgroundColor: nil) { [weak self] _, _, _, _ in
guard let self = self else { return }
self.dismiss(animated: true) { [weak self] in
let vc = BRWebViewController()
vc.webUrl = kSBPrivacyPolicyWebUrl
BRAppTool.topViewController?.navigationController?.pushViewController(vc, animated: true)
}
}
string.yy_setTextHighlight(range3, color: nil, backgroundColor: nil) { [weak self] _, _, _, _ in
guard let self = self else { return }
self.dismiss(animated: true) { [weak self] in
let vc = BRWebViewController()
vc.webUrl = kSBMemberShipAgreement
BRAppTool.topViewController?.navigationController?.pushViewController(vc, animated: true)
}
}
let agreementLabel = YYLabel()
agreementLabel.numberOfLines = 0
agreementLabel.attributedText = string
view.addSubview(label)
view.addSubview(agreementLabel)
label.snp.makeConstraints { make in
make.left.equalToSuperview().offset(15)
make.top.bottom.equalToSuperview()
make.top.equalToSuperview()
make.right.lessThanOrEqualToSuperview().offset(-15)
}
agreementLabel.snp.makeConstraints { make in
make.left.equalToSuperview().offset(15)
make.top.equalTo(label.snp.bottom).offset(15)
make.bottom.equalToSuperview()
}
return view
}()

View File

@ -42,14 +42,62 @@ class BRStoreViewController: BRViewController {
label.textColor = .colorD3D3D3()
label.numberOfLines = 0
label.text = "kStoreTipText".localized
let text1 = "beereel_terms_of_service".localized
let text2 = "Privacy Policy".localized
let text3 = "Renewal Agreement".localized
let text = "\(text1) | \(text2)\n\(text3)"
let range1 = (text as NSString).range(of: text1)
let range2 = (text as NSString).range(of: text2)
let range3 = (text as NSString).range(of: text3)
let string = NSMutableAttributedString(string: text)
string.yy_color = .colorFFFFFF()
string.yy_font = label.font
string.yy_setTextHighlight(range1, color: nil, backgroundColor: nil) { [weak self] _, _, _, _ in
guard let self = self else { return }
let vc = BRWebViewController()
vc.webUrl = kSBUserAgreementWebUrl
self.navigationController?.pushViewController(vc, animated: true)
}
string.yy_setTextHighlight(range2, color: nil, backgroundColor: nil) { [weak self] _, _, _, _ in
guard let self = self else { return }
let vc = BRWebViewController()
vc.webUrl = kSBPrivacyPolicyWebUrl
self.navigationController?.pushViewController(vc, animated: true)
}
string.yy_setTextHighlight(range3, color: nil, backgroundColor: nil) { [weak self] _, _, _, _ in
guard let self = self else { return }
let vc = BRWebViewController()
vc.webUrl = kSBMemberShipAgreement
self.navigationController?.pushViewController(vc, animated: true)
}
let agreementLabel = YYLabel()
agreementLabel.numberOfLines = 0
agreementLabel.attributedText = string
view.addSubview(label)
view.addSubview(agreementLabel)
label.snp.makeConstraints { make in
make.left.equalToSuperview().offset(15)
make.top.bottom.equalToSuperview()
make.top.equalToSuperview()
make.right.lessThanOrEqualToSuperview().offset(-15)
}
agreementLabel.snp.makeConstraints { make in
make.left.equalToSuperview().offset(15)
make.top.equalTo(label.snp.bottom).offset(15)
make.bottom.equalToSuperview()
}
return view
}()

View File

@ -34,44 +34,44 @@ class BRPayDataRequest: NSObject {
BRHUD.show()
}
BRStoreAPI.requestPayTemplate(isToast: isToast) { [weak self] model in
if isLoding {
BRHUD.dismiss()
}
guard let self = self else { return }
guard let model = model else {
self.completerBlock?(nil)
return
}
self.newTemplateModel = model
completer?(model)
}
// BRStoreAPI.requestPayTemplate(isToast: isToast) { [weak self] model in
// if isLoding {
// BRHUD.dismiss()
// }
// guard let self = self else { return }
// guard let model = model else {
// if isLoding {
// BRHUD.dismiss()
// }
// self.completerBlock?(nil)
// return
// }
// self.oldTemplateModel = model
//
// var productIdArr: [String] = []
// model.list_sub_vip?.forEach { item in
// productIdArr.append(BRIAP.manager.getProductId(templateId: item.ios_template_id) ?? "")
// }
// model.list_coins?.forEach { item in
// productIdArr.append(BRIAP.manager.getProductId(templateId: item.ios_template_id) ?? "")
// }
//
// let set = Set(productIdArr)
// let productsRequest = SKProductsRequest(productIdentifiers: set)
// productsRequest.delegate = self
// productsRequest.start()
//
// self.newTemplateModel = model
// completer?(model)
// }
BRStoreAPI.requestPayTemplate(isToast: isToast) { [weak self] model in
guard let self = self else { return }
guard let model = model else {
if isLoding {
BRHUD.dismiss()
}
self.completerBlock?(nil)
return
}
self.oldTemplateModel = model
var productIdArr: [String] = []
model.list_sub_vip?.forEach { item in
productIdArr.append(BRIAP.manager.getProductId(templateId: item.ios_template_id) ?? "")
}
model.list_coins?.forEach { item in
productIdArr.append(BRIAP.manager.getProductId(templateId: item.ios_template_id) ?? "")
}
let set = Set(productIdArr)
let productsRequest = SKProductsRequest(productIdentifiers: set)
productsRequest.delegate = self
productsRequest.start()
}
}
}

View File

@ -38,7 +38,7 @@ class SceneDelegate: UIResponder, UIWindowSceneDelegate {
}
func sceneDidBecomeActive(_ scene: UIScene) {
BRStatAPI.requestStatOnLine()
self.handleOnLine()
BRStatAPI.requestEnterApp()
}

View File

@ -159,6 +159,17 @@
}
}
},
"beereel_terms_of_service" : {
"extractionState" : "manual",
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "translated",
"value" : "Terms of Service"
}
}
}
},
"beereel_video_lock_tip_text" : {
"comment" : "请解锁上一集",
"extractionState" : "manual",
@ -810,6 +821,17 @@
}
}
},
"Renewal Agreement" : {
"extractionState" : "manual",
"localizations" : {
"en" : {
"stringUnit" : {
"state" : "translated",
"value" : "Renewal Agreement"
}
}
}
},
"Restore" : {
"extractionState" : "manual",
"localizations" : {

View File

@ -15,5 +15,7 @@ appleId cs.hongyao.developer@icloud.com
沙盒
luyiyy@gmail.com
Vion@123456
Vion@123456
beereel@test.com
Discover2024