Commit def2d4db61194deefa5f15d29d82983e4247afea

Authored by liushiyu
2 parents b25a90f2 5601f31b
metaCode.xcodeproj/project.pbxproj
@@ -2078,7 +2078,7 @@ @@ -2078,7 +2078,7 @@
2078 CODE_SIGN_ENTITLEMENTS = metaCode/metaCode.entitlements; 2078 CODE_SIGN_ENTITLEMENTS = metaCode/metaCode.entitlements;
2079 CODE_SIGN_IDENTITY = "Apple Development"; 2079 CODE_SIGN_IDENTITY = "Apple Development";
2080 CODE_SIGN_STYLE = Automatic; 2080 CODE_SIGN_STYLE = Automatic;
2081 - CURRENT_PROJECT_VERSION = 1.0.7.24.03.01.16; 2081 + CURRENT_PROJECT_VERSION = 1.0.8.24.03.07.16;
2082 DEVELOPMENT_TEAM = 94X49GG3ZW; 2082 DEVELOPMENT_TEAM = 94X49GG3ZW;
2083 ENABLE_BITCODE = NO; 2083 ENABLE_BITCODE = NO;
2084 ENABLE_MODULE_VERIFIER = NO; 2084 ENABLE_MODULE_VERIFIER = NO;
@@ -2150,7 +2150,7 @@ @@ -2150,7 +2150,7 @@
2150 "$(inherited)", 2150 "$(inherited)",
2151 "@executable_path/Frameworks", 2151 "@executable_path/Frameworks",
2152 ); 2152 );
2153 - MARKETING_VERSION = 1.0.7; 2153 + MARKETING_VERSION = 1.0.8;
2154 OTHER_LDFLAGS = ( 2154 OTHER_LDFLAGS = (
2155 "$(inherited)", 2155 "$(inherited)",
2156 "-all_load", 2156 "-all_load",
@@ -2332,7 +2332,7 @@ @@ -2332,7 +2332,7 @@
2332 CODE_SIGN_ENTITLEMENTS = metaCode/metaCode.entitlements; 2332 CODE_SIGN_ENTITLEMENTS = metaCode/metaCode.entitlements;
2333 CODE_SIGN_IDENTITY = "Apple Development"; 2333 CODE_SIGN_IDENTITY = "Apple Development";
2334 CODE_SIGN_STYLE = Automatic; 2334 CODE_SIGN_STYLE = Automatic;
2335 - CURRENT_PROJECT_VERSION = 1.0.7.24.03.01.16; 2335 + CURRENT_PROJECT_VERSION = 1.0.8.24.03.07.16;
2336 DEVELOPMENT_TEAM = 94X49GG3ZW; 2336 DEVELOPMENT_TEAM = 94X49GG3ZW;
2337 ENABLE_BITCODE = NO; 2337 ENABLE_BITCODE = NO;
2338 ENABLE_MODULE_VERIFIER = NO; 2338 ENABLE_MODULE_VERIFIER = NO;
@@ -2404,7 +2404,7 @@ @@ -2404,7 +2404,7 @@
2404 "$(inherited)", 2404 "$(inherited)",
2405 "@executable_path/Frameworks", 2405 "@executable_path/Frameworks",
2406 ); 2406 );
2407 - MARKETING_VERSION = 1.0.7; 2407 + MARKETING_VERSION = 1.0.8;
2408 OTHER_LDFLAGS = ( 2408 OTHER_LDFLAGS = (
2409 "$(inherited)", 2409 "$(inherited)",
2410 "-all_load", 2410 "-all_load",
metaCode/Classes/Main/HomePage/View/VerticalViews/DownSlide/CNDownSlideSingleCourseCell.swift
@@ -136,7 +136,7 @@ class CNDownSlideSingleCourseCell: UITableViewCell { @@ -136,7 +136,7 @@ class CNDownSlideSingleCourseCell: UITableViewCell {
136 136
137 //小icon 137 //小icon
138 let imageView = UIImageView(frame: CGRectMake(DownSlideRecommendLeftGap, titleLbl.bottom+DownSlideRecommendLeftGap+CGFloat(i)*(DownSlideAllCourseRowTopYGap+DownSlideAllCourseRowImageWH+DownSlideAllCourseRowBottomYGap), CGFloat(DownSlideAllCourseRowImageWH), CGFloat(DownSlideAllCourseRowImageWH))) 138 let imageView = UIImageView(frame: CGRectMake(DownSlideRecommendLeftGap, titleLbl.bottom+DownSlideRecommendLeftGap+CGFloat(i)*(DownSlideAllCourseRowTopYGap+DownSlideAllCourseRowImageWH+DownSlideAllCourseRowBottomYGap), CGFloat(DownSlideAllCourseRowImageWH), CGFloat(DownSlideAllCourseRowImageWH)))
139 - imageView.kf.setImage(with: URL(string:contentMdl.poster!)) 139 + imageView.kf.setImage(with: URL(string:contentMdl.poster ?? ""))
140 imageView.layer.cornerRadius = 12 140 imageView.layer.cornerRadius = 12
141 imageView.clipsToBounds = true 141 imageView.clipsToBounds = true
142 imageView.contentMode = .scaleAspectFill 142 imageView.contentMode = .scaleAspectFill
metaCode/Classes/Main/Util/CNLiveDownSlideTool.swift
@@ -3,7 +3,7 @@ @@ -3,7 +3,7 @@
3 // metaCode 3 // metaCode
4 // 4 //
5 // Created by zx on 2023/10/25. 5 // Created by zx on 2023/10/25.
6 -// 6 +// 跳转
7 7
8 import Foundation 8 import Foundation
9 9
@@ -96,7 +96,7 @@ class CNLiveDownSlideTool:NSObject{ @@ -96,7 +96,7 @@ class CNLiveDownSlideTool:NSObject{
96 let webVC = CNWebViewController() 96 let webVC = CNWebViewController()
97 webVC.url = URL(string: (contentMdl.thirdUrl)!) 97 webVC.url = URL(string: (contentMdl.thirdUrl)!)
98 viewController.navigationController?.pushViewController(webVC, animated: true) 98 viewController.navigationController?.pushViewController(webVC, animated: true)
99 - }else if (contentMdl.model == kCNDownSlideContentsModelModelAlbum) || (contentMdl.model == kCNDownSlideContentsModelModelAlbum_ugc) || (contentMdl.model == kCNDownSlideContentsModelModelAlbum_video){ 99 + }else if (contentMdl.model == kCNDownSlideContentsModelModelAlbum) || (contentMdl.model == kCNDownSlideContentsModelModelAlbum_video){
100 100
101 let urlString = "http://wjjh5.cnlive.com/cnYmAlbumVideoList.html" 101 let urlString = "http://wjjh5.cnlive.com/cnYmAlbumVideoList.html"
102 let queryItem = URLQueryItem(name: "aid", value: contentMdl.contentId) 102 let queryItem = URLQueryItem(name: "aid", value: contentMdl.contentId)
@@ -107,6 +107,9 @@ class CNLiveDownSlideTool:NSObject{ @@ -107,6 +107,9 @@ class CNLiveDownSlideTool:NSObject{
107 let webVC = CNWebViewController() 107 let webVC = CNWebViewController()
108 webVC.url = regURL 108 webVC.url = regURL
109 viewController.navigationController?.pushViewController(webVC, animated: true) 109 viewController.navigationController?.pushViewController(webVC, animated: true)
  110 + }else if (contentMdl.model == kCNDownSlideContentsModelModelAlbum_ugc){
  111 + //短剧-跳转短剧播放页
  112 + navigationViewController().visibleViewController?.navigationController?.pushViewController(CNLiveShortVideoViewController(aid: contentMdl.contentId!), animated: pushAnimated)
110 }else{ 113 }else{
111 return 114 return
112 } 115 }