Commit c772e303dba7a6f40890d27a25055e042cc29cc0
1 parent
fe01c489
修复点播详情页商品点击购买按钮没有反应问题
修复首页顶部频道名称显示问题
Showing
2 changed files
with
6 additions
and
5 deletions
metaCode/Classes/Main/HuBiLieHomePage/Controller/CNLiveTVHomeViewController.swift
| @@ -449,22 +449,22 @@ class CNLiveTVHomeViewController:CNLiveBaseViewController, UITableViewDataSource | @@ -449,22 +449,22 @@ class CNLiveTVHomeViewController:CNLiveBaseViewController, UITableViewDataSource | ||
| 449 | self.homePageStyleListMdls = homePageListMdls | 449 | self.homePageStyleListMdls = homePageListMdls |
| 450 | for (idx,mdl) in homePageListMdls.enumerated() { | 450 | for (idx,mdl) in homePageListMdls.enumerated() { |
| 451 | if idx == 0{ | 451 | if idx == 0{ |
| 452 | - self.pageStyleBtn1.setTitle(mdl.name, for: .normal) | 452 | + self.pageStyleBtn1.setTitle(mdl.showName, for: .normal) |
| 453 | self.changeBtn(btn: self.pageStyleBtn1, isHighLight: true) | 453 | self.changeBtn(btn: self.pageStyleBtn1, isHighLight: true) |
| 454 | self.pageStyleBtn1.isHidden = false | 454 | self.pageStyleBtn1.isHidden = false |
| 455 | // self.group.enter() | 455 | // self.group.enter() |
| 456 | self.getPageApi(pageID: mdl.pageId) | 456 | self.getPageApi(pageID: mdl.pageId) |
| 457 | 457 | ||
| 458 | }else if idx == 1{ | 458 | }else if idx == 1{ |
| 459 | - self.pageStyleBtn2.setTitle(mdl.name, for: .normal) | 459 | + self.pageStyleBtn2.setTitle(mdl.showName, for: .normal) |
| 460 | self.changeBtn(btn: self.pageStyleBtn2, isHighLight: false) | 460 | self.changeBtn(btn: self.pageStyleBtn2, isHighLight: false) |
| 461 | self.pageStyleBtn2.isHidden = false | 461 | self.pageStyleBtn2.isHidden = false |
| 462 | }else if idx == 2{ | 462 | }else if idx == 2{ |
| 463 | - self.pageStyleBtn3.setTitle(mdl.name, for: .normal) | 463 | + self.pageStyleBtn3.setTitle(mdl.showName, for: .normal) |
| 464 | self.changeBtn(btn: self.pageStyleBtn3, isHighLight: false) | 464 | self.changeBtn(btn: self.pageStyleBtn3, isHighLight: false) |
| 465 | self.pageStyleBtn3.isHidden = false | 465 | self.pageStyleBtn3.isHidden = false |
| 466 | }else if idx == 3{ | 466 | }else if idx == 3{ |
| 467 | - self.pageStyleBtn4.setTitle(mdl.name, for: .normal) | 467 | + self.pageStyleBtn4.setTitle(mdl.showName, for: .normal) |
| 468 | self.changeBtn(btn: self.pageStyleBtn4, isHighLight: false) | 468 | self.changeBtn(btn: self.pageStyleBtn4, isHighLight: false) |
| 469 | self.pageStyleBtn4.isHidden = false | 469 | self.pageStyleBtn4.isHidden = false |
| 470 | }else{ | 470 | }else{ |
metaCode/Classes/Main/HuBiLieHomePage/View/VodDetail/CNLiveVodPlayShopCollectionCell.swift
| @@ -76,7 +76,8 @@ class CNLiveVodPlayShopCollectionCell: UICollectionViewCell { | @@ -76,7 +76,8 @@ class CNLiveVodPlayShopCollectionCell: UICollectionViewCell { | ||
| 76 | expandBtn.setImage(UIImage(named: "home_player_shoppingCart"), for: .selected) | 76 | expandBtn.setImage(UIImage(named: "home_player_shoppingCart"), for: .selected) |
| 77 | expandBtn.titleLabel?.font = Font_12 | 77 | expandBtn.titleLabel?.font = Font_12 |
| 78 | expandBtn.setupButtonImageAndTitlePossitionWith(padding: 6, style: .left) | 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 | return expandBtn | 81 | return expandBtn |
| 81 | }() | 82 | }() |
| 82 | 83 |