瀏覽代碼

[edit][css]

zhangwei 2 年之前
父節點
當前提交
a991a0a1ac
共有 2 個文件被更改,包括 3 次插入1 次删除
  1. 2 0
      src/view/iframe/red-packet/red-packet.vue
  2. 1 1
      src/view/popup/popup.vue

+ 2 - 0
src/view/iframe/red-packet/red-packet.vue

@@ -280,6 +280,7 @@
     </div>
 
   </div>
+  <div style="width: 100%; height: 30px; position: fixed; color: red;">{{state.detail.validity}}</div>
 </template>
 
 <script>
@@ -642,6 +643,7 @@ const handleStatusPage = () => {
     if (state.detail.myReceived.taskFinishStatus == 0) {
       // 显示任务未完成页面
       showOpenedPage()
+      getValidity()
       //如果 任务完成状态 = 已经完成
     } else if (state.detail.myReceived.taskFinishStatus == 1) {
       // 领取到空红包

+ 1 - 1
src/view/popup/popup.vue

@@ -592,7 +592,7 @@ const modalConfirm = () => {
 
 </script>
 
-<style lang="scss">
+<style lang="scss" scoped>
 html,
 body {
     padding: 0 !important;