南鑫林 5 years ago
parent
commit
dfd44ef493

+ 4 - 1
RainbowPlanet/RainbowPlanet/Modules/CommunityModule/Community/ViewController/Main/CommunityViewController.swift

@@ -71,7 +71,10 @@ class CommunityViewController: BaseViewController {
         }
         //彩虹豆
         communityNavigationBarView.rightButton.rx.tap.subscribe(onNext: { (data) in
-            
+            self.segmentedView.selectItemAt(index: 2)
+            self.segmentedView.defaultSelectedIndex = 2
+            self.listContainerView.defaultSelectedIndex = 2
+            self.segmentedDataSource.reloadData(selectedIndex: 2)
         }).disposed(by: disposeBag)
         
         // 找朋友 查看全部推荐关注

+ 1 - 1
RainbowPlanet/RainbowPlanet/Modules/CommunityModule/CommunityVideoContent/View/CommunityVideoCoverCollectionCell.swift

@@ -48,7 +48,7 @@ class CommunityVideoCoverCollectionCell: UICollectionViewCell {
     //MARK: - 初始化
     override init(frame: CGRect) {
         super.init(frame: frame)
-        backgroundColor = UIColor.white
+        backgroundColor = UIColor.black
         setupViews()
         setupLayouts()
     }