南鑫林 преди 5 години
родител
ревизия
902f3a3833

+ 5 - 0
RainbowPlanet/RainbowPlanet/Modules/CommunityModule/Community/ViewController/Main/CommunityViewController.swift

@@ -399,12 +399,17 @@ extension CommunityViewController :JXSegmentedListContainerViewDataSource {
     func listContainerView(_ listContainerView: JXSegmentedListContainerView, initListAt index: Int) -> JXSegmentedListContainerViewListDelegate {
         if index == 0 {
             let vc = CommunityFollowViewController()
+            communityModuleTopType = .communityModuleFollowTop
+
             return vc
         }else if index == 1 {
             let vc = CommunityRecommnendViewController()
+            communityModuleTopType = .communityModuleRecommendTop
+
             return vc
         }else {
             let vc = CommunityPlanetViewController()
+            communityModuleTopType = .communityModulePlanetTop
             return vc
         }
     }

+ 7 - 0
RainbowPlanet/RainbowPlanet/Modules/MessageModule/MessageMain/View/MessageHomeTwoCollectionViewCell.swift

@@ -137,8 +137,15 @@ class MessageHomeTwoCollectionViewCell: UICollectionViewCell {
                     make.height.equalTo(23)
                 }
                 timeLabel.isHidden = true
+                subLabel.isHidden = true
+                dotLabel.snp.remakeConstraints { (make) in
+                    make.centerY.equalTo(titleLabel)
+                    make.right.equalTo(-17.5)
+                    make.size.equalTo(10)
+                }
             }else {
                 timeLabel.isHidden = false
+                subLabel.isHidden = false
                 titleLabel.snp.remakeConstraints { (make) in
                     make.top.equalTo(12)
                     make.left.equalTo(iconImageView.snp_right).offset(8)