杨锴
2024-11-07 62a24b3c7cf92919a93ee575e9460037e1a53816
XQMuse/Root/Home/TCell/Home_Style_3_TCell.swift
@@ -51,9 +51,9 @@
            func collectionView(_ collectionView: UICollectionView, didSelectItemAt indexPath: IndexPath) {
                        let m = meditationModels[indexPath.row]
        let isVip = UserViewModel.getAvatarInfo().isVip
        let isVip = UserViewModel.getAvatarInfo().checkVip()
        if m.chargeType == .free || (isVip == .yes && m.chargeType == .vipFree) || (m.chargeType == .payment && m.isBuy == .yes){
        if m.chargeType == .free || (isVip && m.chargeType == .vipFree) || (m.chargeType == .payment && m.isBuy == .yes){
                                    let vc = HomeItemDetailVC(id: m.id)
                                    JQ_currentViewController().jq_push(vc: vc)
                                    return