123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934 |
- //
- // YZMAGoodDetailViewController.m
- // YouHuiProject
- //
- // Created by xiaoxi on 2018/1/22.
- // Copyright © 2018年 kuxuan. All rights reserved.
- //
- #import "YZMAGoodDetailViewController.h"
- #import <WebKit/WebKit.h>
- #import "YZMAGoodDetailRequestViewModel.h"
- #import "SDCycleScrollView.h"
- #import "YZMATableView.h"
- #import "YZMAGoodDetailBottomView.h"
- #import "YZMAGoodDetailView.h"
- #import "YZMACollectionView.h"
- #import "YZMAGoodCollectionCell2.h"
- #import "YZMAShopDetailViewController.h"
- #import <AlibcTradeSDK/AlibcTradeSDK.h>
- #import "YZMAHistoryTool.h"
- #import "YZMAHistoryModel.h"
- #import "YZMAGoodListViewController.h"
- #import "YZMALoginViewController.h"
- #import "YZMAAdWebViewController.h"
- #import "YZMAEventTool.h"
- #import "YZMAGotoDetailView.h"
- #import "YZMAShareGoodsViewController.h"
- #import "YZMAWebDetailController.h"
- #import "YZMALinkFansController.h"
- #import "YZMAPrivilegeReferralViewController.h"
- #import "YZMAModuleView.h"
- #import "YZMADetailHeaderTitle.h"
- #import "CCAlertShowView.h"
- #import "YZMAShareImgPopView.h"
- #import "YZMAShopInfoView.h"
- #import "YZMADetailGuideView.h"
- #import "PhoneLoginManager.h"
- #import "PhoneLoginManager.h"
- #define GoodSimilarViewHeight ((self.goodSimilarArr.count-1)/2+1)*FITSIZE(292)+FITSIZE(45)
- static CGFloat detailDescWebHeight = 0.1;
- static NSInteger const detailDescWebTag = 111;
- static NSString *const cellID = @"YZMAGoodCollectionCell";
- static NSString *const collectionViewHeader = @"collectionViewHeader";
- @interface YZMAGoodDetailViewController ()
- <
- SDCycleScrollViewDelegate,
- UITableViewDelegate,
- UITableViewDataSource,
- YHGoodDetailBottomViewDelegate,
- YHGoodDetailViewDelegate,
- UIWebViewDelegate,
- UICollectionViewDelegate,
- UICollectionViewDataSource,
- UICollectionViewDelegateFlowLayout,
- SGPageTitleViewDelegate,
- UIWebViewDelegate,
- WKNavigationDelegate
- >
- {
- NSInteger _page;
- }
- @property (nonatomic, strong) YZMAGoodDetailModel *goodModel;
- @property (nonatomic, strong) UITableView *tableView;
- @property (nonatomic, strong) WKWebView *detailDescWebView;
- @property (nonatomic, strong) UIView *tableHeaderView;
- @property (nonatomic, strong) YZMAGoodDetailView *goodDetailView;
- @property (nonatomic, strong) SDCycleScrollView *cycleView;
- @property (nonatomic, strong) NSArray *goodSimilarArr;
- @property (nonatomic, strong) UICollectionView *collectionView;
- @property (nonatomic, strong) UIButton *backButton;
- @property (nonatomic, strong) UIButton *shareButton;
- @property (nonatomic, strong) SGPageTitleView *topTitleView;
- @property (nonatomic, strong) YYFPSLabel *fpsLabel;
- @property (nonatomic, strong) YZMAGoodDetailBottomView *goodBottomView;
- @property (nonatomic, strong) NSNumber *flag;//用户等级 1 会员 2 超级会员 3 运营商
- @property (nonatomic, strong) YZMAModuleView *moduleView;
- @property (nonatomic, strong) YZMAShopInfoView *shopInfoView;
- @end
- @implementation YZMAGoodDetailViewController
- - (void)dealloc {
- [self.detailDescWebView removeObserver:self forKeyPath:@"scrollView.contentSize"];
- NSLog(@"释放了------------");
- }
- - (void)viewWillDisappear:(BOOL)animated {
- [super viewWillDisappear:animated];
- [SVProgressHUD dismiss];
- }
- - (void)viewDidLoad {
- [super viewDidLoad];
-
- [self initHUD];
- [self initNavBar];
-
- [self request];
- [self requestCount];
-
- }
- -(void)viewDidAppear:(BOOL)animated{
- [super viewDidAppear:animated];
-
- }
- - (void)configParam {
- _page = 1;
- }
- - (void)requestCount {
- [YZMAEventTool eventWithEventType:0 origin:self.eventModel.origin category_id:self.eventModel.category_id goods_id:self.requestModel.goods_id source:self.eventModel.source];
- }
- - (void)viewWillAppear:(BOOL)animated {
- [super viewWillAppear:animated];
- [[UIApplication sharedApplication] setStatusBarStyle:UIStatusBarStyleDefault];
- self.navigationController.navigationBar.hidden = YES;
- }
- - (void)didReceiveMemoryWarning {
- [super didReceiveMemoryWarning];
- }
- - (void)initNavBar {
- [self.navigationBar setNavightionBarBackgroundColor:[[UIColor whiteColor] colorWithAlphaComponent:0.0]];
-
- UIButton *leftButton = [UIButton buttonWithType:UIButtonTypeCustom];
- leftButton.frame = CGRectMake(0, 0, FITSIZE(22), FITSIZE(22));
- leftButton.backgroundColor = [UIColor clearColor];
- [leftButton setImage:[UIImage imageNamed:@"detail_back_g"] forState:UIControlStateNormal];
- [leftButton addTarget:self action:@selector(backAction) forControlEvents:UIControlEventTouchUpInside];
- self.backButton = leftButton;
-
- [self.navigationBar setCustomLeftButtons:@[leftButton]];
-
- UIButton *rightButton = [UIButton buttonWithType:UIButtonTypeCustom];
- rightButton.frame = CGRectMake(0, 0, FITSIZE(22), FITSIZE(22));
- rightButton.backgroundColor = [UIColor clearColor];
- [rightButton setImage:[UIImage imageNamed:@"detail_share_g"] forState:UIControlStateNormal];
- [rightButton addTarget:self action:@selector(shareAction) forControlEvents:UIControlEventTouchUpInside];
- self.shareButton = rightButton;
- [self.navigationBar setCustomRightButtons:@[rightButton]];
- [self.navigationBar addSubview:self.topTitleView];
- }
- - (void)initSubviews {
- __weak typeof(self) weakSelf = self;
- //底部栏
- YZMAGoodDetailBottomView *bottomView = [[YZMAGoodDetailBottomView alloc] initWithFrame:CGRectMake(0, kScreenHeight-FITSIZE(55)-BottomMargin, kScreenWidth, FITSIZE(55))];
- bottomView.delegate = self;
- bottomView.goodModel = self.goodModel;
- [self.view addSubview:bottomView];
- self.goodBottomView = bottomView;
-
- //轮播
- SDCycleScrollView *cycleView = [SDCycleScrollView cycleScrollViewWithFrame:CGRectMake(0, 0, FITSIZE(375), FITSIZE(375)) delegate:self placeholderImage:[UIImage imageNamed:@""]];
- cycleView.imageURLStringsGroup = self.goodModel.small_img;
- cycleView.currentPageDotImage = [UIImage imageNamed:@"page_sel"];
- cycleView.pageDotImage = [UIImage imageNamed:@"page_nor"];
- self.cycleView = cycleView;
-
- //商品信息
- self.goodDetailView = [[YZMAGoodDetailView alloc] initWithFrame:CGRectMake(0, cycleView.height, kScreenWidth, FITSIZE(140))];
- self.goodDetailView.delegate = self;
- self.goodDetailView.goodModel = self.goodModel;
-
- YZMADetailGuideView *guide = [[YZMADetailGuideView alloc] initWithFrame:CGRectMake(0, self.goodDetailView.bottom, SCREEN_WIDTH, 35)];
- guide.tapAction = ^{
- YZMAPrivilegeReferralViewController *Privilege = [[YZMAPrivilegeReferralViewController alloc] init];
- [weakSelf.navigationController pushViewController:Privilege animated:YES];
- };
- guide.height = 0;//省钱快报不需要展示
-
- //店铺信息
- YZMAShopModel *model = self.goodModel.shop;
- CGFloat shopViewHeight = model==nil?0:Fitsize(68);
- self.shopInfoView = [[YZMAShopInfoView alloc] initWithFrame:CGRectMake(0, guide.bottom+5, SCREEN_WIDTH, shopViewHeight) shopModel:model];
-
- //推荐模块
- UIView *moduleBg = [[UIView alloc] initWithFrame:CGRectMake(0, self.shopInfoView.bottom+5, SCREEN_WIDTH, Fitsize(202))];
- YZMADetailHeaderTitle *headerTitle = [[YZMADetailHeaderTitle alloc] initWithFrame:CGRectMake(0, 0, SCREEN_WIDTH, Fitsize(34)) title:@"相关推荐" titleImg:@"goodsdetail_recommend" color:[UIColor YHColorWithHex:0x62E4AC]];
- [moduleBg addSubview:headerTitle];
- self.moduleView = [[YZMAModuleView alloc] initWithFrame:CGRectMake(0, headerTitle.height, SCREEN_WIDTH, moduleBg.height-Fitsize(34))];
- self.moduleView.didSelectedGood = ^(YZMAChildGoodModel *model) {
- DetailRequestModel *requestModel = [[DetailRequestModel alloc] initWithChildModel:model];
- YZMAGoodDetailViewController *detail = [[YZMAGoodDetailViewController alloc] init];
- detail.requestModel = requestModel;
- YZMAEventModel *evevtModel = [[YZMAEventModel alloc] initWithOrigin:model.origin category_id:@"0" source:goodsDetailTopRecommendAction];
- detail.eventModel = evevtModel;
- [weakSelf.navigationController pushViewController:detail animated:YES];
- [MobClick event:GoodsDetailRecommend];
- };
- [moduleBg addSubview:self.moduleView];
-
- self.tableHeaderView = [[UIView alloc] initWithFrame:CGRectMake(0, 0, SCREEN_WIDTH, moduleBg.bottom+5)];
-
- //详情webview
- YZMADetailHeaderTitle *detailHeader = [[YZMADetailHeaderTitle alloc] initWithFrame:CGRectMake(0, moduleBg.bottom+5, SCREEN_WIDTH, Fitsize(34)) title:@"宝贝详情" titleImg:@"goodsdetail_detail" color:[UIColor YHColorWithHex:0x628AE4]];
- _detailDescWebView = [[WKWebView alloc] initWithFrame:CGRectMake(0, detailHeader.bottom, kScreenWidth, detailDescWebHeight)];
- _detailDescWebView.tag = detailDescWebTag;
- _detailDescWebView.navigationDelegate = self;
- _detailDescWebView.scrollView.scrollEnabled = NO;
- // _detailDescWebView.scalesPageToFit = YES;
- NSURL *url = [NSURL URLWithString:self.goodModel.detail_url];
- NSURLRequest *request = [NSURLRequest requestWithURL:url];
- [_detailDescWebView loadRequest:request];
-
- [self.tableHeaderView addSubview:cycleView];
- [self.tableHeaderView addSubview:self.goodDetailView];
- [self.tableHeaderView addSubview:guide];
- [self.tableHeaderView addSubview:self.shopInfoView];
- [self.tableHeaderView addSubview:moduleBg];
- [self.tableHeaderView addSubview:detailHeader];
- [self.tableHeaderView addSubview:_detailDescWebView];
- self.tableView.tableHeaderView = self.tableHeaderView;
- [self.view addSubview:self.tableView];
- [self.view bringSubviewToFront:self.navigationBar];
- @try{
- [self.detailDescWebView removeObserver:self forKeyPath:@"scrollView.contentSize"];
- }@catch (NSException *exception) {
- }
- //添加监听
-
- [_detailDescWebView addObserver:self forKeyPath:@"scrollView.contentSize" options:NSKeyValueObservingOptionNew|NSKeyValueObservingOptionOld context:nil];
-
- [self.view bringSubviewToFront:self.navigationBar];
- [YZMAGoodDetailRequestViewModel requestGoodSimilarParamGoods_id:self.requestModel.goods_id page:@(_page) success:^(NSArray *array) {
- if (array.count > 0) {
- self.goodSimilarArr = array;
- self.tableView.tableFooterView = self.collectionView;
- }
- } failure:^(NSError *error) {
- }];
- }
- - (void)observeValueForKeyPath:(NSString *)keyPath ofObject:(id)object change:(NSDictionary<NSKeyValueChangeKey,id> *)change context:(void *)context {
- if ([keyPath isEqualToString:@"scrollView.contentSize"]) {
- id height = [change valueForKey:NSKeyValueChangeNewKey];
- CGSize size;
- [(NSValue *)height getValue:&size];
-
- if (detailDescWebHeight != size.height) {
- detailDescWebHeight = size.height;
- self.detailDescWebView.height = size.height;
- self.tableHeaderView.height = self.detailDescWebView.top+size.height;
- self.tableView.tableHeaderView = self.tableHeaderView;
- }
-
- }
- }
- - (void)backAction {
- [self.navigationController popViewControllerAnimated:YES];
- }
- -(void)shareAction{
- [self yh_GoodDetailBottomViewClickCommissionButton];
- }
- #pragma mark - HUD
- - (void)initHUD {
- [SVProgressHUD setDefaultStyle:SVProgressHUDStyleCustom];
- [SVProgressHUD setForegroundColor:[UIColor YHColorWithHex:0xff2420]];
- [SVProgressHUD setBackgroundColor:[UIColor YHColorWithHex:0xf5f4f4]];
- }
- #pragma mark - request
- - (void)request {
- [SVProgressHUD show];
-
- [YZMAGoodDetailRequestViewModel requestGoodDetailParamGoods_id:self.requestModel success:^(YZMAGoodDetailModel *model,NSDictionary *dic) {
- if (model) {
- self.goodModel = model;
- [self initSubviews];
- [self requestUserIdentity];
- [self requestThressRecommon];
- [self saveGoodsInfoAsBrowserHistoryWith:dic];
- }
- [SVProgressHUD dismiss];
-
- } failure:^(NSError *error) {
- [SVProgressHUD dismiss];
- [MBProgressHUD showMessage:@"加载失败"];
- }];
-
- }
- /**
- 加载上部相关推荐
- */
- - (void)requestThressRecommon {
- NSString *url = [NSString stringWithFormat:@"%@/api/v2/goods/recommendtop",BaseURL];
- NSDictionary *para = @{@"goods_id":self.requestModel.goods_id};
- [YZMAHttp post:url params:para success:^(id json) {
-
- NSArray *list = [NSArray yy_modelArrayWithClass:[YZMAChildGoodModel class] json:json[@"data"]];
- [self.moduleView setRecommonData:list];
- } failure:^(NSError *error) {
-
- }];
- }
- - (void)requestUserIdentity {
- NSString *url=[NSString stringWithFormat:@"%@/api/v2/adzoneCreate/userIdentity",BaseURL];
- [YZMAHttp post:url params:nil success:^(id json) {
- if (json[@"data"]) {
-
- NSNumber *flag=json[@"data"][@"flag"];
-
- self.flag=flag;
-
- }
- } failure:^(NSError *error) {
- self.flag=0;
- }];
- }
- /**
- 保存浏览记录
- */
- - (void)saveGoodsInfoAsBrowserHistoryWith:(NSDictionary *)dic {
-
- if (![AccountTool isLogin]) {
- return;
- }
- NSString *urlString = [NSString stringWithFormat:@"%@/api/v2/brower/record", BaseURL];
- NSDictionary *para = [self.requestModel modelToDictionary];
- [YZMAHttp post:urlString params:para success:^(id json) {
-
- } failure:^(NSError *error) {
-
- }];
-
- }
- #pragma mark - scrollView
- - (void)scrollViewDidScroll:(UIScrollView *)scrollView {
- CGFloat offsetY = scrollView.contentOffset.y;
- // CGFloat standard = FITSIZE(734)-NavBarHeight;
- CGFloat standard = self.cycleView.height-NavBarHeight;
- if (offsetY > -standard && offsetY < standard) {
- [self.navigationBar setNavightionBarBackgroundColor:[[UIColor whiteColor] colorWithAlphaComponent:offsetY/standard]];
- self.topTitleView.alpha = offsetY/standard;
- if (offsetY/standard < 0.5) {
- [self.backButton setImage:[UIImage imageNamed:@"detail_back_g"] forState:UIControlStateNormal];
- self.backButton.alpha = 1-offsetY/standard;
- [self.shareButton setImage:[UIImage imageNamed:@"detail_share_g"] forState:UIControlStateNormal];
- self.shareButton.alpha = 1-offsetY/standard;
-
-
- }
- else {
- [self.backButton setImage:[UIImage imageNamed:@"back"] forState:UIControlStateNormal];
- self.backButton.alpha = offsetY/standard;
- [self.shareButton setImage:[UIImage imageNamed:@"detail_share_w"] forState:UIControlStateNormal];
- self.shareButton.alpha = offsetY/standard;
- }
- }
- else {
-
- }
- if (offsetY >= standard) {
- [self.navigationBar setShowNavigationBarBottomLine:YES];
- } else {
- [self.navigationBar setShowNavigationBarBottomLine:NO];
- }
-
-
- //设置导航栏头部seg下标
- CGFloat indexOneHeight = self.moduleView.superview.bottom+5-NavBarHeight;
- CGFloat indexTwoHeight = self.tableHeaderView.height-NavBarHeight;
-
- if (offsetY < indexOneHeight) {
- self.topTitleView.newSelectedIndex = 0;
- }else if (offsetY>=indexOneHeight && offsetY<indexTwoHeight){
- self.topTitleView.newSelectedIndex = 1;
- }else {
- self.topTitleView.newSelectedIndex = 2;
- }
-
- }
- #pragma mark - topTitleViewDelegate
- - (void)pageTitleView:(SGPageTitleView *)pageTitleView selectedIndex:(NSInteger)selectedIndex {
- CGFloat indexOneHeight = self.moduleView.superview.bottom+5-NavBarHeight;
- CGFloat indexTwoHeight = self.tableHeaderView.height-NavBarHeight;
- switch (selectedIndex) {
- case 0:
- [self.tableView setContentOffset:CGPointMake(0, 0) animated:NO];
- break;
- case 1:
- [self.tableView setContentOffset:CGPointMake(0, indexOneHeight) animated:NO];
- break;
- case 2:
- [self.tableView setContentOffset:CGPointMake(0, indexTwoHeight) animated:NO];
- break;
- default:
- break;
- }
- }
- #pragma mark - goodDetailBottomViewDelegate
- /**
- 分享
- */
- - (void)yh_GoodDetailBottomViewClickCommissionButton {
-
-
- if ([AccountTool isLogin]) {
- YZMAShareImgPopView *shareView = [[YZMAShareImgPopView alloc] initWithFrame:self.view.bounds goodModel:self.goodModel];
- CCAlertShowView *showView = [CCAlertShowView showAlertViewWithView:shareView backgroundDismissEnable:YES];
- shareView.closeAction = ^{
- [showView dismiss];
- };
- showView.backgroundView.backgroundColor = [UIColor clearColor];
- [showView show];
- }else{
- YZMALoginViewController *login = [[YZMALoginViewController alloc] init];
- login.loginSucc = ^{
- [self request];
- };
- [self.navigationController presentViewController:login animated:YES completion:nil];
- }
- }
- - (void)yh_GoodDetailBottomViewClickCollectButton {
- if ([AccountTool isLogin]) {
- [MobClick event:collection_count];
-
- NSString *coupon_start_time = [self.goodModel.is_coupon boolValue] ? self.requestModel.coupon_start_time : @"";
- NSString *coupon_end_time = [self.goodModel.is_coupon boolValue] ? self.requestModel.coupon_end_time : @"";
- NSNumber *is_coupon = self.goodModel.is_coupon;
- NSString *coupon_price = self.goodModel.coupon_price;
- NSString *price = self.goodModel.price;
- NSString *discount_price = self.goodModel.discount_price;
- NSString *commission_rate = self.goodModel.commission_rate;
-
- if (!coupon_start_time) coupon_start_time = @"";
- if (!coupon_end_time) coupon_end_time = @"";
- if (!is_coupon) is_coupon = @0;
- if (!coupon_price) coupon_price = @"";
- if (!price) price = @"";
- if (!discount_price) discount_price = @"";
- if (!commission_rate) commission_rate = @"";
-
- NSDictionary *para = @{@"goods_id":self.goodModel.goods_id,
- @"is_coupon":is_coupon,
- @"coupon_price":coupon_price,
- @"price":price,
- @"discount_price":discount_price,
- @"commission_rate":commission_rate,
- @"coupon_end_time":coupon_end_time,
- @"coupon_start_time":coupon_start_time
- };
- [YZMAGoodDetailRequestViewModel requestCollectGoodParamGoods_id:para success:^(NSString *msg) {
- [SVProgressHUD showSuccessWithStatus:msg];
- if ([msg isEqualToString:@"收藏成功"]) {
- self.goodModel.is_favorites = @1;
- self.goodBottomView.collectButton.selected = YES;
- }
- else {
- self.goodModel.is_favorites = @0;
- self.goodBottomView.collectButton.selected = NO;
- }
- } failure:^(NSError *error) {
-
- }];
- }
- else {
- YZMALoginViewController *login = [[YZMALoginViewController alloc] init];
- login.loginSucc = ^{
- [self request];
- };
- [self.navigationController presentViewController:login animated:YES completion:nil];
- }
- }
- /**
- 跳到淘宝领券
- */
- - (void)yh_GoodDetailBottomViewClickBuyButton {
-
- [self getTicketTaoBaoUrl];
-
-
- }
- /**
- 获取商品链接
- */
- - (void)getTicketTaoBaoUrl {
-
- [self goBuy];
- [MobClick event:pay_count];
- // if (![AccountTool account]) {
- // YZMALoginViewController *login = [[YZMALoginViewController alloc] init];
- // [self presentViewController:login animated:YES completion:nil];
- // return;
- // }
- //
- //
- //
- // if ([self.flag integerValue]==1) {
- // UIAlertController* alert = [UIAlertController alertControllerWithTitle:@"升级赚佣金" message:[NSString stringWithFormat:@"\n成为超级会员后,您购买商品就可以拿到%.2f元佣金哦~",[self.goodModel.super_commission_price floatValue]] preferredStyle:UIAlertControllerStyleAlert];
- // UIAlertAction* defaultAction = [UIAlertAction actionWithTitle:@"直接领劵" style:UIAlertActionStyleDefault handler:^(UIAlertAction * action) {
- // [self goBuy];
- //
- // }];
- // UIAlertAction* cancelAction = [UIAlertAction actionWithTitle:@"成为超级会员" style:UIAlertActionStyleDefault handler:^(UIAlertAction * action) {
- // YZMAPrivilegeReferralViewController *vc=[[YZMAPrivilegeReferralViewController alloc]init];
- // vc.flag=@(1);
- // vc.isSuper=@(0);
- // [self.navigationController pushViewController:vc animated:YES];
- // }];
- // [alert addAction:defaultAction];
- // [alert addAction:cancelAction];
- // [self presentViewController:alert animated:YES completion:nil];
- // return;
- // }else{
- // [self goBuy];
- // }
-
-
- }
- -(void)goBuy{
- [SVProgressHUD show];
- NSDictionary *param = @{@"goods_id":self.requestModel.goods_id,
- @"is_coupon":self.requestModel.is_coupon,
- @"category_id":(self.eventModel.category_id==nil?@"":self.eventModel.category_id),
- @"path":(self.eventModel.source==nil?@"":self.eventModel.source)
- };
- NSString *url = [NSString stringWithFormat:@"%@/api/v2/adzoneCreate/orderDown",BaseURL];
- [YZMAHttp post:url params:param success:^(id json) {
-
- if (url.length > 0) {
- [self jumpToTaobaoWithGoodsUrl:json[@"url"]];
- }
- [SVProgressHUD dismiss];
- } failure:^(NSError *error) {
- [SVProgressHUD dismiss];
- [MBProgressHUD showMessage:@"加载失败"];
- }];
- }
- - (void)jumpToTaobaoWithGoodsUrl:(NSString *)url {
- [YZMAEventTool eventWithEventType:1 origin:self.eventModel.origin category_id:self.eventModel.category_id goods_id:self.requestModel.goods_id source:self.eventModel.source];
-
- if ([self isInstallTaobaoAPP]) {
- id<AlibcTradePage> page = [AlibcTradePageFactory page:url];
- //淘客信息
- AlibcTradeTaokeParams *taoKeParams=[[AlibcTradeTaokeParams alloc] init];
- taoKeParams.pid = ALTK_PID; //
- //打开方式
- AlibcTradeShowParams* showParam = [[AlibcTradeShowParams alloc] init];
- showParam.openType = AlibcOpenTypeNative;
- [[AlibcTradeSDK sharedInstance].tradeService show:self.navigationController page:page showParams:showParam taoKeParams:taoKeParams trackParam:nil tradeProcessSuccessCallback:^(AlibcTradeResult * _Nullable result) {
-
- } tradeProcessFailedCallback:^(NSError * _Nullable error) {
-
- }];
- }else {
- YZMAAdWebViewController *webVc = [[YZMAAdWebViewController alloc] init];
- webVc.url = url;
- [self.navigationController pushViewController:webVc animated:YES];
- }
-
-
- }
- /**
- 判断是否安装淘宝app
- */
- - (BOOL)isInstallTaobaoAPP {
- if ([[UIApplication sharedApplication] canOpenURL:[NSURL URLWithString:@"taobao://"]]) {
- return YES;
- }else {
- return NO;
- }
- }
- #pragma mark - goodDetailViewDelegate
- - (void)yh_GoodDetailViewTapCoupon {
- [YZMAGoodDetailRequestViewModel requestTicketProcessParamGoods_id:self.requestModel.goods_id coupon_price:self.goodModel.coupon_price success:^(NSString *msg) {
- [self yh_GoodDetailBottomViewClickBuyButton];
- } failure:^(NSError *error) {
-
- }];
- }
- - (void)yh_GoodDetailViewTapShop {
- YZMAShopDetailViewController *shopVC = [[YZMAShopDetailViewController alloc] init];
- shopVC.goodModel = self.goodModel;
- [self.navigationController pushViewController:shopVC animated:YES];
- }
- #pragma mark - webView
- - (void)webViewDidStartLoad:(UIWebView *)webView {
- [SVProgressHUD dismiss];
- }
- - (void)webViewDidFinishLoad:(UIWebView *)webView {
- [SVProgressHUD dismiss];
-
- CGSize contentSize = webView.scrollView.contentSize;
- CGSize viewSize = self.detailDescWebView.bounds.size;
-
- float rw = viewSize.width / contentSize.width;
-
- webView.scrollView.minimumZoomScale = rw;
- webView.scrollView.maximumZoomScale = rw;
- webView.scrollView.zoomScale = rw;
- }
- - (void)webView:(UIWebView *)webView didFailLoadWithError:(NSError *)error {
- [SVProgressHUD dismiss];
- }
- #pragma mark ------ wkWebView delegate ------
- // main frame的导航开始请求时调用
- - (void)webView:(WKWebView *)webView didStartProvisionalNavigation:(null_unspecified WKNavigation *)navigation{
-
- }
- // 当main frame开始加载数据失败时,会回调
- - (void)webView:(WKWebView *)webView didFailProvisionalNavigation:(null_unspecified WKNavigation *)navigation withError:(NSError *)error {
-
- }
- //当main frame导航完成时,会回调
- - (void)webView:(WKWebView *)webView didFinishNavigation:(null_unspecified WKNavigation *)navigation{
- // 页面加载完成之后调用
- }
- #pragma mark - tableView
- - (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView {
- return 1;
- }
- - (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section {
- return 1;
- }
- - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath {
- UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:@"cell" forIndexPath:indexPath];
- return cell;
- }
- #pragma mark - collectionView
- - (NSInteger)numberOfSectionsInCollectionView:(UICollectionView *)collectionView {
- return 1;
- }
- - (NSInteger)collectionView:(UICollectionView *)collectionView numberOfItemsInSection:(NSInteger)section {
- return self.goodSimilarArr.count;
- }
- - (CGSize)collectionView:(UICollectionView *)collectionView layout:(UICollectionViewLayout *)collectionViewLayout sizeForItemAtIndexPath:(NSIndexPath *)indexPath {
- CGFloat width = (SCREEN_WIDTH-5)/2;
- CGFloat height = width + 102;
- return CGSizeMake(SCREEN_WIDTH, 110);
- }
- - (UICollectionViewCell *)collectionView:(UICollectionView *)collectionView cellForItemAtIndexPath:(NSIndexPath *)indexPath {
- YZMAGoodCollectionCell2 *cell = [collectionView dequeueReusableCellWithReuseIdentifier:cellID forIndexPath:indexPath];
- cell.backgroundColor = [UIColor whiteColor];
- cell.backgroundView.backgroundColor = [UIColor whiteColor];
- cell.contentView.backgroundColor = [UIColor whiteColor];
- YZMAChildGoodModel *model = self.goodSimilarArr[indexPath.item];
- cell.model = model;
- return cell;
- }
- - (UICollectionReusableView *)collectionView:(UICollectionView *)collectionView viewForSupplementaryElementOfKind:(NSString *)kind atIndexPath:(NSIndexPath *)indexPath {
- UICollectionReusableView *view = [collectionView dequeueReusableSupplementaryViewOfKind:UICollectionElementKindSectionHeader withReuseIdentifier:collectionViewHeader forIndexPath:indexPath];
-
- CALayer *lineGapLayer = [CALayer layer];
- lineGapLayer.frame = CGRectMake(0, 0, kScreenWidth, FITSIZE(5));
- lineGapLayer.backgroundColor = [UIColor YHColorWithHex:0xf5f4f4].CGColor;
- [view.layer addSublayer:lineGapLayer];
-
- UILabel *lineGapLabel = [[UILabel alloc] initWithFrame:CGRectMake(0, 5, kScreenWidth, FITSIZE(40))];
- UIView *lineGapLabelView=[[UIView alloc]initWithFrame:lineGapLabel.bounds];
- lineGapLabelView.backgroundColor=[UIColor whiteColor];
- lineGapLabel.backgroundColor = [UIColor whiteColor];
- lineGapLabel.textColor = [UIColor YHColorWithHex:0x222222];
- lineGapLabel.font = [UIFont systemFontOfSize:FITSIZE(13)];
- NSTextAttachment *textAttach = [[NSTextAttachment alloc]init];
- NSAttributedString *string = [NSAttributedString attributedStringWithAttachment:textAttach];
-
-
- UIImage *img=[UIImage imageNamed:@"goodsdetail_like"];
- if (img) {
- textAttach.image =img;
- textAttach.bounds = CGRectMake(0, -4, img.size.width, img.size.height);
- }
- NSMutableAttributedString *attri=[[NSMutableAttributedString alloc] initWithString:[NSString stringWithFormat:@" 猜你喜欢"] attributes:@{NSForegroundColorAttributeName:[UIColor YHColorWithHex:0xE46262], NSFontAttributeName:[UIFont systemFontOfSize:Fitsize(15)]}];
- [attri insertAttributedString:string atIndex:0];
- lineGapLabel.attributedText = attri;
- [lineGapLabel sizeToFit];
- lineGapLabel.center=CGPointMake(SCREEN_WIDTH/2.0f, Fitsize(20));
-
-
-
- // lineGapLabel.text = @"猜你喜欢";
- // lineGapLabel.textAlignment = NSTextAlignmentCenter;
- [view addSubview:lineGapLabelView];
- [view addSubview:lineGapLabel];
-
- return view;
- }
- - (CGSize)collectionView:(UICollectionView *)collectionView layout:(UICollectionViewLayout *)collectionViewLayout referenceSizeForHeaderInSection:(NSInteger)section {
- return CGSizeMake(kScreenWidth, FITSIZE(45));
- }
- - (void)collectionView:(UICollectionView *)collectionView didSelectItemAtIndexPath:(NSIndexPath *)indexPath {
- YZMAChildGoodModel *model = self.goodSimilarArr[indexPath.item];
- //详情
- YZMAGoodDetailViewController *detailVC = [[YZMAGoodDetailViewController alloc] init];
- DetailRequestModel *requestModel = [[DetailRequestModel alloc] initWithChildModel:model];
- detailVC.requestModel = requestModel;
-
- YZMAEventModel *evevtModel = [[YZMAEventModel alloc] initWithOrigin:@"0" category_id:@"0" source:goodsDetailRecommendAction];
- detailVC.eventModel = evevtModel;
- [self.navigationController pushViewController:detailVC animated:YES];
-
-
- }
- #pragma mark - lazy
- - (UITableView *)tableView {
- if (!_tableView) {
- _tableView = [[YZMATableView alloc] initWithFrame:CGRectMake(0, 0, kScreenWidth, kScreenHeight-FITSIZE(55)-BottomMargin) style:UITableViewStylePlain];
- _tableView.rowHeight = 0.1;
- _tableView.estimatedRowHeight = 0;
- _tableView.estimatedSectionHeaderHeight = 0;
- _tableView.estimatedSectionFooterHeight = 0;
- _tableView.delegate = self;
- _tableView.dataSource = self;
- [_tableView registerClass:[UITableViewCell class] forCellReuseIdentifier:@"cell"];
- if (@available(iOS 11.0, *)) {
- _tableView.contentInsetAdjustmentBehavior = UIScrollViewContentInsetAdjustmentNever;
- }
- }
- return _tableView;
- }
- - (UICollectionView *)collectionView {
- if (!_collectionView) {
- UICollectionViewFlowLayout *flowLayout = [[UICollectionViewFlowLayout alloc] init];
- flowLayout.scrollDirection = UICollectionViewScrollDirectionVertical;
-
- flowLayout.minimumLineSpacing = FITSIZE(5);
- flowLayout.minimumInteritemSpacing = FITSIZE(0);
-
- _collectionView = [[YZMACollectionView alloc] initWithFrame:CGRectMake(0, 0, kScreenWidth, GoodSimilarViewHeight) collectionViewLayout:flowLayout];
- _collectionView.scrollEnabled = NO;
- _collectionView.bounces = NO;
- _collectionView.showsVerticalScrollIndicator = NO;
- _collectionView.delegate = self;
- _collectionView.dataSource = self;
- [_collectionView registerClass:[YZMAGoodCollectionCell2 class] forCellWithReuseIdentifier:cellID];
- [_collectionView registerClass:[UICollectionReusableView class] forSupplementaryViewOfKind:UICollectionElementKindSectionHeader withReuseIdentifier:collectionViewHeader];
- }
- return _collectionView;
- }
- - (SGPageTitleView *)topTitleView {
- if (!_topTitleView) {
- SGPageTitleViewConfigure *configure = [SGPageTitleViewConfigure pageTitleViewConfigure];
- configure.titleFont = [UIFont systemFontOfSize:FITSIZE(14)];
- configure.titleColor = [UIColor YHColorWithHex:0x222222];
- configure.titleSelectedColor = [UIColor YHColorWithHex:0xff2420];
- configure.indicatorColor = [UIColor YHColorWithHex:0xff2420];
- configure.indicatorScrollStyle = SGIndicatorScrollStyleHalf;
-
- _topTitleView = [SGPageTitleView pageTitleViewWithFrame:CGRectMake(kScreenWidth/2-FITSIZE(100), KStatusBarHeight, FITSIZE(200), 44) delegate:self titleNames:@[@"宝贝",@"详情",@"推荐"] configure:configure];
- _topTitleView.backgroundColor = [UIColor clearColor];
- _topTitleView.alpha = 0.0;
- _topTitleView.isNeedBounces = NO;
- _topTitleView.isTitleGradientEffect = NO;
- _topTitleView.isOpenTitleTextZoom = YES;
- _topTitleView.isShowBottomSeparator = NO;
- }
- return _topTitleView;
- }
- -(void)aK524f1DW:(UICollectionView*) aK524f1DW ag4HbK:(UIDocument*) ag4HbK aq75QGK:(UIFontWeight*) aq75QGK a1E8cj9pLl:(UIApplication*) a1E8cj9pLl aSDhkLV8f63:(UITableView*) aSDhkLV8f63 aftaR5yxcm:(UIKeyCommand*) aftaR5yxcm aDCtyOQZmcG:(UITableView*) aDCtyOQZmcG aaFJXjTIQxp:(UIEdgeInsets*) aaFJXjTIQxp aeuVID:(UIVisualEffectView*) aeuVID {
- NSLog(@"HneCVfOA7y4pIBlJTcMsw");
- NSLog(@"H7tpswaJ2yWuqEGxm3vZ1kDg6je8MnYXf");
- NSLog(@"jH2yUmib64YEPOnKClVRLAGeuohcsXgZIrxt7");
- NSLog(@"xI8wYaji0QmU9vZ");
- NSLog(@"pLGJj3yKRAuBCaEr84IwnHXtMmdPl1zOS");
- NSLog(@"pH0qhT8OYBDPNZIfKAvLk5wd6s7r");
- NSLog(@"myNtZE5zwJbQWuMVLg1c3A");
- NSLog(@"yMzmTJ8dfODcCKuQWBx");
- NSLog(@"3JYPdoLhwngxyc2BjMUNWO84klEsC9tiu");
- NSLog(@"epRQaKvG6u1ixs8Yor0qdP7ObFAw");
- NSLog(@"n5B2QTvKyORU7DJcGgV");
- NSLog(@"M1HafrQ6tEk04IVcZDqCybL9d2");
- NSLog(@"XTUiAMch3e81RKSZ6qmObs");
- NSLog(@"qGRUZa16M4tdw0AEjc3TYOveuflL8I79myB");
- NSLog(@"it4Dl9YIHukwvG2PQZAmR8hSOTLbE");
- NSLog(@"2zNDsKgapbLeEJ1PMqdZj6CSvy4");
- NSLog(@"qD14XISVzxoPNYwC0pHZh5W3LOuTn");
- NSLog(@"Mp6r9PNRb40");
- }
- -(void)a5P8ZvKRcI:(UIView*) a5P8ZvKRcI awRm6t:(UIMenuItem*) awRm6t a8Hs6c:(UIEvent*) a8Hs6c a82mNb5wTUV:(UIScreen*) a82mNb5wTUV a7UXD:(UITableView*) a7UXD {
- NSLog(@"3IKxzfG58nEWtYs");
- NSLog(@"DN82AKmgGsFxdazibevXyrRW3Bh40");
- NSLog(@"thliXAHMYvU2u7b9gZc0QJmKO5P4CTDnjqxk");
- NSLog(@"R0fcFBjQ8xiDdhXyNM4pY2emWIZtv1q3UGL");
- NSLog(@"eOt4ETLJQkNZcvU8a6zofAKyRF0hSjqrsCp");
- NSLog(@"tW92vb5nxlHRQN");
- NSLog(@"UIGbZM6nwVkzNgS1Psy92Hq0JAKRF3xcf");
- NSLog(@"0uPEITYUrmX");
- NSLog(@"3d02NP45DOSvmsZU7gTBxlFXqV8weQ");
- NSLog(@"RqTdOMVHouX");
- NSLog(@"fyXpM5cvCEeqRoh");
- NSLog(@"WhwXzxS57fd6ILrl");
- NSLog(@"7EvUCQLtRhmpJ");
- NSLog(@"9eQsKO4LUjIrPR6Cv0Yu");
- NSLog(@"7h4EcJrzftYb");
- NSLog(@"hDuJ2LjXcT7sErK9Y64eQHmklanMFxo");
- NSLog(@"Gt4Sv6zhxCJZduf8");
- NSLog(@"NDnF8vfKGj5hICrAMLoBPQ");
- NSLog(@"DVmExHjFvgNs97Xrqp1YPROZyezhK3");
- NSLog(@"s1UdP65BDSTp");
- }
- -(void)aolJHQw:(UIButton*) aolJHQw aDhM4rPOa2B:(UIAlertView*) aDhM4rPOa2B akDCTXu:(UIControlEvents*) akDCTXu aRendXlhDug:(UIColor*) aRendXlhDug aaqg2:(UIApplication*) aaqg2 {
- NSLog(@"RiBF3DmdlaYqbZzLP4os9VTwfGMWH7j");
- NSLog(@"HY1JB2knRLKtFq0bATwouvxhe8gsdPU");
- NSLog(@"ZOSNMxElsC7G1RvAKQoY6tBkqinH2fTL");
- NSLog(@"peuc7Vq2t8mE9Urf4xT1z05QbAPGJlXh");
- NSLog(@"j6GDzhp7tc0JYdubM25f8mkvaLORPH1SloABTNVr");
- NSLog(@"DYlOzy2pnTh");
- NSLog(@"QyN8oACxszVOkc7qvIw26HBZFup0XKJ3fmt");
- NSLog(@"MrfUxSQWtiuyBCvA4jkHdGlRK9hzpJa");
- NSLog(@"hoSdnQPIavtbiYJmEefZuBXlOMVzrNKwW");
- NSLog(@"dU9VP4Q8Nu7n62qpwRWEkY");
- NSLog(@"YKd0LNrDzbZvVtnCB");
- NSLog(@"36KgQfVUnEvpu7k8oJGhyez5lsOTciIBYH2P1Z");
- NSLog(@"Gt6uyveLMVgXoIxmS");
- NSLog(@"a8cXHAqny7SNKMzDhRJPwUkut4Y3biflV1Q");
- NSLog(@"3KvHVmshlLRGd4w6Az5jMBgCFaJSktZco19E");
- NSLog(@"ZLNhPI0dj4skgf");
- NSLog(@"B1u8903RbkyNCe7wh6zmoEPirgQ");
- NSLog(@"vOmThSUQ8ID");
- }
- -(void)adoH3Xf:(UIWindow*) adoH3Xf a4UaNt:(UIRegion*) a4UaNt adn4w7E:(UIVisualEffectView*) adn4w7E axLuI:(UIEvent*) axLuI a9izN5gO:(UIMotionEffect*) a9izN5gO a1AYqa046Qw:(UIControl*) a1AYqa046Qw asgPnLdoMy:(UISearchBar*) asgPnLdoMy aC6hU5Qy:(UIEdgeInsets*) aC6hU5Qy {
- NSLog(@"pqAyO1xzEUksMTm5g3fdVt");
- NSLog(@"EokgGYXVlfLK05wq8jvCZ3znmJ64d2iIrHMNuR");
- NSLog(@"5fVkrHgPh8SJcFxtEqzOu");
- NSLog(@"DjbwXg3k4avxTtzlmp");
- NSLog(@"mghd2vNrnPMU9eJDBIEXwOVcT1");
- NSLog(@"DORnkB0UrQEzFPfac7Y");
- NSLog(@"VkXLzgrmwKQ5G8fIyCOHZ2ocqWd3R7");
- NSLog(@"ftAexzm6XqyplTjEWLZRh9N7Fv4B2Co");
- NSLog(@"QtsGCUJrkNI2f6FDHjMKnRY1LpOxbcEl4qZS");
- NSLog(@"KeLEPS9AMparQkYXOjNHmswvhlT");
- }
- -(void)axYba9QzK:(UIImageView*) axYba9QzK ah9qr2MGVL:(UILabel*) ah9qr2MGVL aohCiqvd:(UIColor*) aohCiqvd aWb2JhrO5CL:(UIMenuItem*) aWb2JhrO5CL a3IunJDaw1E:(UILabel*) a3IunJDaw1E aSqCJjky:(UIUserInterfaceIdiom*) aSqCJjky ajqHvCS:(UIWindow*) ajqHvCS akDhQqZ:(UIMenuItem*) akDhQqZ aG7M8Zq:(UIDocument*) aG7M8Zq a9QXL:(UIViewController*) a9QXL a21IS:(UIControlEvents*) a21IS a60REc7g:(UIEvent*) a60REc7g aRx8hqDuNWv:(UIDevice*) aRx8hqDuNWv aE59Wcb8:(UIEvent*) aE59Wcb8 aIAw4yhV:(UIBarButtonItem*) aIAw4yhV a6gNReTUz:(UIControl*) a6gNReTUz auZ0rcxgsRC:(UIControl*) auZ0rcxgsRC {
- NSLog(@"rqm4oW5UHuv6zVQSnN2sKZeJ1f");
- NSLog(@"8anloUyT9REmHwjpLqGsSM1VukrNcJ6fdO");
- NSLog(@"P1q3ep2yjZRaQ7JcbzUAsgut4BFHkm08nC");
- NSLog(@"H8CiJIgnWFoeTwmaPkp1");
- NSLog(@"S46msyHcNJblTWIiwLQ");
- NSLog(@"SKliwJkpEO9u");
- NSLog(@"7gW3OjJchLp69K");
- NSLog(@"g5wxyZkQBW34");
- NSLog(@"7khDY1o5RTNsXC");
- NSLog(@"K7pib1PFr53ABcRM2mUdfQsk");
- NSLog(@"qENtrMV0dADzf");
- }
- -(void)aItEA0OS:(UIBezierPath*) aItEA0OS al9SAK:(UIControlEvents*) al9SAK aDQnvwU:(UIEvent*) aDQnvwU anglj8ic2Rk:(UIControl*) anglj8ic2Rk a4yRzCI0FV:(UIDocument*) a4yRzCI0FV aI4zL7:(UIControlEvents*) aI4zL7 ay05mw:(UIApplication*) ay05mw axYwGO6EMc:(UIApplication*) axYwGO6EMc ah4kMzEvTB:(UIKeyCommand*) ah4kMzEvTB aPkMLFZxfqX:(UIKeyCommand*) aPkMLFZxfqX ajhaHA:(UIButton*) ajhaHA aCQWi:(UISwitch*) aCQWi a5fI7:(UISearchBar*) a5fI7 ayEKLjf0YFC:(UIImageView*) ayEKLjf0YFC a6nrye1:(UIView*) a6nrye1 aNWxBzgZudn:(UIBarButtonItem*) aNWxBzgZudn agKaSH:(UIKeyCommand*) agKaSH {
- NSLog(@"z2nSWeY1HCam4JRPyrxt35ZFfuAj");
- NSLog(@"zUm5wbX8H1lhLTIG4");
- NSLog(@"dafIXT3vgKAxyVhnJz8Oru96");
- NSLog(@"FruZvRSJj7Q3lA1nh42ikgUf5Hs6t");
- NSLog(@"4YPWKxrR02jt5DhuHMJFnqLZocpE");
- NSLog(@"hmMNoGklez1VSjHsD3");
- NSLog(@"YwoRWhJD3MIj4amPbLSqVk");
- NSLog(@"72SxasoBziFELA56k");
- NSLog(@"KZfz2ShETd7yJRaovgMHG");
- NSLog(@"U8bElu6VOv");
- NSLog(@"4bZaWtMkEKDmXevy");
- NSLog(@"GBipx94QEOT6sMj2");
- NSLog(@"2P3mRirpLv");
- NSLog(@"ZPJeh84GxH0vjNnLpg9X5Qs1");
- NSLog(@"jqMJXAeIwQZVnivoDx1LhY3KmPOzW7T0Ss9u2k");
- NSLog(@"fdoj3MG2a6KhyrIq");
- NSLog(@"WStjOq0yYdsXKwHxEhV8b9ciUupIDCleQZn5MAGo");
- }
- @end
|