|
@@ -1,20 +1,22 @@
|
|
<template>
|
|
<template>
|
|
- <div class="layer">
|
|
|
|
- <div>
|
|
|
|
|
|
+ <div class="layer" :class="{ 'down': state.page_status == '显示开奖' }">
|
|
|
|
+ <div v-if="Number(state.start_task.amountValue) > 0">
|
|
<div class="n1">
|
|
<div class="n1">
|
|
- You Win <span>$0.02 !</span>
|
|
|
|
|
|
+ You Win <span>${{ state.start_task.usdAmountValue }} !</span>
|
|
</div>
|
|
</div>
|
|
<div class="n2">Invite Friends to Open the Chest!</div>
|
|
<div class="n2">Invite Friends to Open the Chest!</div>
|
|
</div>
|
|
</div>
|
|
- <!-- <div>
|
|
|
|
|
|
+ <div v-else>
|
|
<div class="n1">
|
|
<div class="n1">
|
|
You are not <span>Real New follower</span>
|
|
You are not <span>Real New follower</span>
|
|
</div>
|
|
</div>
|
|
<div class="n2">Invite Friends to Open the Chest!</div>
|
|
<div class="n2">Invite Friends to Open the Chest!</div>
|
|
- </div> -->
|
|
|
|
|
|
+ </div>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
-<script>
|
|
|
|
|
|
+<script setup>
|
|
|
|
+import { inject } from 'vue'
|
|
|
|
+let state = inject('state')
|
|
|
|
|
|
</script>
|
|
</script>
|
|
<style scoped lang="scss">
|
|
<style scoped lang="scss">
|
|
@@ -52,14 +54,13 @@
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
-.up {
|
|
|
|
- animation: frame_up 0.5s linear;
|
|
|
|
- animation-fill-mode: forwards;
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
.down {
|
|
.down {
|
|
- animation: frame_down 0.5s linear;
|
|
|
|
- animation-fill-mode: forwards;
|
|
|
|
|
|
+ animation-name: frame_down, frame_up;
|
|
|
|
+ animation-duration: 0.5s, 0.5s;
|
|
|
|
+ animation-timing-function: ease, ease;
|
|
|
|
+ animation-delay: 0s, 5s;
|
|
|
|
+ animation-iteration-count: 1, 1;
|
|
|
|
+ animation-fill-mode: forwards, forwards;
|
|
}
|
|
}
|
|
|
|
|
|
@keyframes frame_down {
|
|
@keyframes frame_down {
|