nieyuge 2 年之前
父節點
當前提交
0df3704373
共有 1 個文件被更改,包括 14 次插入4 次删除
  1. 14 4
      pages/luckdraw.vue

+ 14 - 4
pages/luckdraw.vue

@@ -37,8 +37,9 @@
                                 <p class="tips">Good Luck Next Time!</p>
                             </template>
                             <template v-else-if="status === 'expire'">
-                                <img class="img" :src=" require('../static/svg/icon-luck-complete.svg') " />
-                                <p class="tips">This Draw is Complete</p>
+                                <!-- <img class="img" :src=" require('../static/svg/icon-luck-complete.svg') " />
+                                <p class="tips">This Draw is Complete</p> -->
+                                <p class="expire">This Giveaways<br/>expired on {{ formatTime(detail.postBizData.endTimestamp, 'MM-DD') }}</p>
                             </template>
                             <template v-else>
                                 <p class="win">🎉 Awesome! You are Winner!</p>
@@ -137,8 +138,9 @@
                                         <p class="tips">Good Luck Next Time!</p>
                                     </template>
                                     <template v-else-if="status === 'expire'">
-                                        <img class="img" :src=" require('../static/svg/icon-luck-complete.svg') " />
-                                        <p class="tips">This Draw is Complete</p>
+                                        <!-- <img class="img" :src=" require('../static/svg/icon-luck-complete.svg') " />
+                                        <p class="tips">This Draw is Complete</p> -->
+                                        <p class="expire">This Giveaways<br/>expired on {{ formatTime(detail.postBizData.endTimestamp, 'MM-DD') }}</p>
                                     </template>
                                     <template v-else>
                                         <p class="win">🎉 Awesome! You are Winner!</p>
@@ -1019,6 +1021,14 @@ body,
     .img {
         height: 62px;
     }
+    .expire {
+        color: #FFFFFF;
+        font-size: 22px;
+        font-weight: 800;
+        line-height: 36px;
+        margin-top: 15px;
+        text-align: center;
+    }
     .tips {
         color: #FFFFFF;
         font-size: 22px;