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,7 +537,7 @@ class CNWebView:UIView,WKNavigationDelegate, WKScriptMessageHandler,WKUIDelegate
537 if let dic = tempDic{ 537 if let dic = tempDic{
538 if let aidStr = dic.object(forKey: "aid") as? String{ 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,7 +76,7 @@ class CNLivePlayletHomePageCell:UITableViewCell{
76 self.timeLabel.text = model.duration 76 self.timeLabel.text = model.duration
77 self.iconImgView.kf.setImage(with: URL(string: model.poster)) 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 if isPaid{ 80 if isPaid{
81 self.payIconImgView.isHidden = false 81 self.payIconImgView.isHidden = false
82 self.payIconImgView.image = UIImage(named: "homePage_payed") 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,7 +500,6 @@ CNLiveDownSlideTool.getVodPlayApi(contentId: contentId){ result, status in
500 }) 500 })
501 navigationVC?.viewControllers = tempArray as! [UIViewController] 501 navigationVC?.viewControllers = tempArray as! [UIViewController]
502 502
503 -  
504 let vc = CNLiveTVPlayerViewController() 503 let vc = CNLiveTVPlayerViewController()
505 let url = result as! String 504 let url = result as! String
506 vc.url = URL(string: url) 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,7 +273,7 @@ class CNLiveVodLandscapeXuanjiView:UIView, UITableViewDataSource, UITableViewDel
273 layerView.frame = CGRect(x: 0, y: 0, width: 26, height: 15) 273 layerView.frame = CGRect(x: 0, y: 0, width: 26, height: 15)
274 expandBtn.addSubview(layerView) 274 expandBtn.addSubview(layerView)
275 275
276 - let isPaid = CNLivePlayerTool.isPaid(product: listMdl?.product) 276 + let isPaid = CNLivePlayerTool.isShowPaidIcon(product: listMdl?.product)
277 if isPaid{ 277 if isPaid{
278 layerView.isHidden = false 278 layerView.isHidden = false
279 }else{ 279 }else{