nieyuge 2 years ago
parent
commit
da89f79e85
1 changed files with 11 additions and 8 deletions
  1. 11 8
      src/view/popup/tabbar-page/message/index.vue

+ 11 - 8
src/view/popup/tabbar-page/message/index.vue

@@ -145,14 +145,17 @@
                         }}
                       </template>
                       <!-- 2:已结束; 3:提前终止-->
-                      <template
-                        v-else-if="item.status == 2 || item.status == 3"
-                      >
-                        ({{
-                          item.status == 2 ? "Time expired" : "Termination"
-                        }}) {{ item.postTaskLuckdrop.receivedCount }}/{{
-                          item.postTaskLuckdrop.totalCount
-                        }}
+                      <template v-else-if="item.status == 2 || item.status == 3">
+                        <template v-if="item.postTaskLuckdrop && item.postTaskLuckdrop.luckdropType == 1">
+                            ({{
+                            item.status == 2 ? "Time expired" : "Termination"
+                            }}) {{ item.postTaskLuckdrop.receivedCount }}/{{
+                            item.postTaskLuckdrop.totalCount
+                            }}
+                        </template>
+                        <template v-else>
+                            Termination
+                        </template>
                       </template>
                       <!-- 红包提前终止/退款(进行中)显示-->
                       <template v-if="item.status == 4">