Commit 9b129b67e21eb4f21278ac61a7a349053c1d183c

Authored by “张旭”
1 parent 65164108

付费后已购内容跳转不了 , 选集付费icon

metaCode/Classes/Main/HomePage/Controller/WebController/CNWebView.swift
... ... @@ -537,7 +537,7 @@ class CNWebView:UIView,WKNavigationDelegate, WKScriptMessageHandler,WKUIDelegate
537 537 if let dic = tempDic{
538 538 if let aidStr = dic.object(forKey: "aid") as? String{
539 539 //跳转点播专辑
540   - CNLiveDownSlideTool.pushVodController(contentId: aidStr, navigationVC: navigationViewController(), isAblumVideo: true)
  540 + CNLiveDownSlideTool.pushVodController(albumId: aidStr, navigationVC: navigationViewController())
541 541 }
542 542 }
543 543  
... ...
metaCode/Classes/Main/HomePages/View/PlayletHomePage/CNLivePlayletHomePageCell.swift
... ... @@ -76,7 +76,7 @@ class CNLivePlayletHomePageCell:UITableViewCell{
76 76 self.timeLabel.text = model.duration
77 77 self.iconImgView.kf.setImage(with: URL(string: model.poster))
78 78  
79   - let isPaid = CNLivePlayerTool.isPaid(product: model.product)
  79 + let isPaid = CNLivePlayerTool.isShowPaidIcon(product: model.product)
80 80 if isPaid{
81 81 self.payIconImgView.isHidden = false
82 82 self.payIconImgView.image = UIImage(named: "homePage_payed")
... ...
metaCode/Classes/Main/HuBiLieHomePage/Util/CNLiveDownSlideTool.swift
... ... @@ -500,7 +500,6 @@ CNLiveDownSlideTool.getVodPlayApi(contentId: contentId){ result, status in
500 500 })
501 501 navigationVC?.viewControllers = tempArray as! [UIViewController]
502 502  
503   -
504 503 let vc = CNLiveTVPlayerViewController()
505 504 let url = result as! String
506 505 vc.url = URL(string: url)
... ...
metaCode/Classes/Main/HuBiLieHomePage/View/VodDetail/HengPing/CNLiveVodLandscapeXuanjiView.swift
... ... @@ -273,7 +273,7 @@ class CNLiveVodLandscapeXuanjiView:UIView, UITableViewDataSource, UITableViewDel
273 273 layerView.frame = CGRect(x: 0, y: 0, width: 26, height: 15)
274 274 expandBtn.addSubview(layerView)
275 275  
276   - let isPaid = CNLivePlayerTool.isPaid(product: listMdl?.product)
  276 + let isPaid = CNLivePlayerTool.isShowPaidIcon(product: listMdl?.product)
277 277 if isPaid{
278 278 layerView.isHidden = false
279 279 }else{
... ...