南鑫林 před 5 roky
rodič
revize
02703495b4

+ 2 - 0
RainbowPlanet/RainbowPlanet/Macro/EnumMacro.swift

@@ -59,6 +59,7 @@ enum MessageType : Int {
 /// - postCollect: 收藏内容
 /// - postShare: 分享内容
 /// - follow: 关注
+/// - commentLike: 评论点赞
 enum MessageShowType : Int {
     case onlyShow = 0
     case user = 1
@@ -73,6 +74,7 @@ enum MessageShowType : Int {
     case postCollect = 10
     case postShare = 11
     case follow = 12
+    case commentLike = 14
 }
 
 

+ 1 - 2
RainbowPlanet/RainbowPlanet/Modules/MessageModule/MessageList/View/MessageListTableCell.swift

@@ -99,7 +99,6 @@ class MessageListTableCell: UITableViewCell {
     
     private lazy var contentLabel: UILabel = {
         let contentLabel = UILabel()
-        contentLabel.text = "”大师果然厉害,不愧是牛逼之人“"
         contentLabel.textColor = k999999Color
         contentLabel.font = kRegularFont13
         contentLabel.textAlignment = .left
@@ -197,7 +196,7 @@ class MessageListTableCell: UITableViewCell {
                 
             }
             //14攒内容消息
-            if MessageShowType.postLike == MessageShowType(rawValue: messageDataModel?.messageShowType ?? 9) {
+            if MessageShowType.commentLike == MessageShowType(rawValue: messageDataModel?.messageShowType ?? 14) {
                 typeImageView.image = kImage(name: "star_detail_like")
                 setTitleLabel(oneStr: (messageDataModel?.param?.userName ?? ""), twoStr: " 赞了 ", Three: "你的评论")