Commit cc7ae3b341819e6acb9bbadfcf32924418a84b56
1 parent
937546d8
有几集免费试听的判断
Showing
2 changed files
with
2 additions
and
2 deletions
metaCode/Classes/Main/HomePages/View/PlayletHomePage/CNLivePlayletHomePageCell.swift
| ... | ... | @@ -95,7 +95,7 @@ class CNLivePlayletHomePageCell:UITableViewCell{ |
| 95 | 95 | } |
| 96 | 96 | }else{ |
| 97 | 97 | //需要付费 |
| 98 | - if model.product?.productType == "0"{ | |
| 98 | + if model.product?.productType == "0" || model.product?.productType == "4"{ | |
| 99 | 99 | //免费 |
| 100 | 100 | self.payIconImgView.isHidden = true |
| 101 | 101 | }else if model.product?.productType == "1"{ | ... | ... |
metaCode/Classes/Main/HomePages/View/PlayletHomePage/CNLivePlayletHomePageHeaderCell.swift
| ... | ... | @@ -242,7 +242,7 @@ class CNLivePlayletHomePageHeaderCell:UITableViewCell{ |
| 242 | 242 | //需要付费 |
| 243 | 243 | self.paymentBtn.isUserInteractionEnabled = true |
| 244 | 244 | self.paymentChangeStatus(isPayed: false) |
| 245 | - if model.product?.albumProductType == "0"{ | |
| 245 | + if model.product?.albumProductType == "0" || model.product?.albumProductType == "4"{ | |
| 246 | 246 | //免费 |
| 247 | 247 | self.payIconImgView.isHidden = true |
| 248 | 248 | }else if model.product?.albumProductType == "1"{ | ... | ... |