|
@@ -49,8 +49,7 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
<div
|
|
|
- :class="['package-btn', { end: +type === 7 }]"
|
|
|
- :style="!+type ? 'margin-bottom: 24px;' : ''"
|
|
|
+ :class="['package-btn', { end: +type === 7, 'mb-24': !+type }]"
|
|
|
@click="btnFun"
|
|
|
>
|
|
|
{{ btnName }}
|
|
@@ -165,20 +164,13 @@
|
|
|
<img
|
|
|
src="@/assets/image/claimCloudPhone/red-packet-title.png"
|
|
|
alt=""
|
|
|
- style="
|
|
|
- width: 90%;
|
|
|
- height: 146px;
|
|
|
- position: absolute;
|
|
|
- top: 0;
|
|
|
- left: 50%;
|
|
|
- transform: translateX(-50%);
|
|
|
- "
|
|
|
+ class="red-packet-title"
|
|
|
/>
|
|
|
- <lottie class="glory" :data="glory" key="'glory'" />
|
|
|
+ <lottie class="glory" :data="glory" :key="'glory'" />
|
|
|
<lottie
|
|
|
:key="'red-packet'"
|
|
|
class="red-packet"
|
|
|
- :data="!bargainingTipsBool ? redPacket : {}"
|
|
|
+ :data="redPacket"
|
|
|
@click.native="bargainingFun(true)"
|
|
|
/>
|
|
|
</div>
|
|
@@ -188,7 +180,12 @@
|
|
|
<div class="bargaining-amount-text">
|
|
|
恭喜您,砍价成功<span>{{ bargainingAmount }}元</span>
|
|
|
</div>
|
|
|
- <lottie class="species" :data="species" :key="'species'" />
|
|
|
+ <lottie
|
|
|
+ class="species"
|
|
|
+ :data="species"
|
|
|
+ v-if="species"
|
|
|
+ :key="'species'"
|
|
|
+ />
|
|
|
</div>
|
|
|
</template>
|
|
|
</van-dialog>
|
|
@@ -304,8 +301,7 @@
|
|
|
<img
|
|
|
src="@/assets/image/claimCloudPhone/end-visible-img.png"
|
|
|
@click="endConfirm"
|
|
|
- t=""
|
|
|
- style="width: 289px; height: 264px; margin: 0 auto; display: block"
|
|
|
+ class="end-visible-img"
|
|
|
/>
|
|
|
<!-- <div style="text-align: center; padding: 10px; color: #999">
|
|
|
感谢您对我们应用的支持和参与。<br />
|
|
@@ -325,6 +321,9 @@
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
|
+import * as species from '@/assets/lottie/species/data.json';
|
|
|
+import * as redPacket from '@/assets/lottie/redPacket/data.json';
|
|
|
+import * as glory from '@/assets/lottie/glory/data.json';
|
|
|
import { sha256 } from 'js-sha256';
|
|
|
import customProgress from './customProgress.vue';
|
|
|
import loadList from '@/components/loadList';
|
|
@@ -332,10 +331,6 @@ import { fileKeyToUrl } from '@/plugins/file-center.js';
|
|
|
import Verify from '@/components/verifition/Verify';
|
|
|
import { writeToClipboard } from '@/plugins/plugins.js';
|
|
|
import lottie from '@/components/lottie';
|
|
|
-import * as species from '@/assets/lottie/species/data.json';
|
|
|
-import * as redPacket from '@/assets/lottie/redPacket/data.json';
|
|
|
-import * as glory from '@/assets/lottie/glory/data.json';
|
|
|
-
|
|
|
export default {
|
|
|
props: {
|
|
|
operateActivityId: {
|
|
@@ -1658,4 +1653,24 @@ export default {
|
|
|
height: 318px !important;
|
|
|
transform: translate(-50%, -90%);
|
|
|
}
|
|
|
+
|
|
|
+.red-packet-title {
|
|
|
+ width: 90%;
|
|
|
+ height: 146px;
|
|
|
+ position: absolute;
|
|
|
+ top: 0;
|
|
|
+ left: 50%;
|
|
|
+ transform: translateX(-50%);
|
|
|
+}
|
|
|
+
|
|
|
+.end-visible-img {
|
|
|
+ width: 289px;
|
|
|
+ height: 264px;
|
|
|
+ margin: 0 auto;
|
|
|
+ display: block;
|
|
|
+}
|
|
|
+
|
|
|
+.mb-24 {
|
|
|
+ margin-bottom: 24px !important;
|
|
|
+}
|
|
|
</style>
|