Commit c772e303dba7a6f40890d27a25055e042cc29cc0

Authored by “张旭”
1 parent fe01c489

修复点播详情页商品点击购买按钮没有反应问题

修复首页顶部频道名称显示问题
metaCode/Classes/Main/HuBiLieHomePage/Controller/CNLiveTVHomeViewController.swift
... ... @@ -449,22 +449,22 @@ class CNLiveTVHomeViewController:CNLiveBaseViewController, UITableViewDataSource
449 449 self.homePageStyleListMdls = homePageListMdls
450 450 for (idx,mdl) in homePageListMdls.enumerated() {
451 451 if idx == 0{
452   - self.pageStyleBtn1.setTitle(mdl.name, for: .normal)
  452 + self.pageStyleBtn1.setTitle(mdl.showName, for: .normal)
453 453 self.changeBtn(btn: self.pageStyleBtn1, isHighLight: true)
454 454 self.pageStyleBtn1.isHidden = false
455 455 // self.group.enter()
456 456 self.getPageApi(pageID: mdl.pageId)
457 457  
458 458 }else if idx == 1{
459   - self.pageStyleBtn2.setTitle(mdl.name, for: .normal)
  459 + self.pageStyleBtn2.setTitle(mdl.showName, for: .normal)
460 460 self.changeBtn(btn: self.pageStyleBtn2, isHighLight: false)
461 461 self.pageStyleBtn2.isHidden = false
462 462 }else if idx == 2{
463   - self.pageStyleBtn3.setTitle(mdl.name, for: .normal)
  463 + self.pageStyleBtn3.setTitle(mdl.showName, for: .normal)
464 464 self.changeBtn(btn: self.pageStyleBtn3, isHighLight: false)
465 465 self.pageStyleBtn3.isHidden = false
466 466 }else if idx == 3{
467   - self.pageStyleBtn4.setTitle(mdl.name, for: .normal)
  467 + self.pageStyleBtn4.setTitle(mdl.showName, for: .normal)
468 468 self.changeBtn(btn: self.pageStyleBtn4, isHighLight: false)
469 469 self.pageStyleBtn4.isHidden = false
470 470 }else{
... ...
metaCode/Classes/Main/HuBiLieHomePage/View/VodDetail/CNLiveVodPlayShopCollectionCell.swift
... ... @@ -76,7 +76,8 @@ class CNLiveVodPlayShopCollectionCell: UICollectionViewCell {
76 76 expandBtn.setImage(UIImage(named: "home_player_shoppingCart"), for: .selected)
77 77 expandBtn.titleLabel?.font = Font_12
78 78 expandBtn.setupButtonImageAndTitlePossitionWith(padding: 6, style: .left)
79   - expandBtn.addTarget(self, action: #selector(payBtnAction), for: .touchUpInside)
  79 + expandBtn.isUserInteractionEnabled = false
  80 +// expandBtn.addTarget(self, action: #selector(payBtnAction), for: .touchUpInside)
80 81 return expandBtn
81 82 }()
82 83  
... ...