lxf
2025-07-16 8588fe30f17d0d28190a279aab8675de0dbf1a5b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
<template>
  <div id="cryptos">
    <div class="resetSuccess">
      <assets-head :title="title" :clickFunc="clickFunc" />
      <div class="content">
        <div class="imgBox"><img src="@/assets/image/success.png" alt=""></div>
        <div class="text-dark-black mt-32 font-700 font-48 textColor">{{ $t('购买成功') }}</div>
        <div class="text-grey mt-40">{{ $t('即日起可获得收益分成') }}!</div>
        <div class="btn mt-142 btnMain" @click="$router.push({
          path: '/cryptos/funds',
          query: {
            tab: 3,
            index: index // 0: 查看理财订单 1: 矿机
          }
        })">{{ $t('查看订单') }}</div>
        <div class="mt-40 font-36 textColor" @click="$router.go(-3)">{{ $t('返回交易') }}</div>
      </div>
    </div>
  </div>
</template>
 
<script>
import assetsHead from '@/components/Transform/assets-head/index.vue';
export default {
  props: {
 
  },
  components: {
    assetsHead
  },
  data() {
    return {
      title: ''
    }
  },
  created() {
    if (this.$route.query) {
      this.index = this.$route.query.type
    }
  },
  methods: {
    clickFunc() {
      this.$router.push('/')
    }
  }
}
</script>
 
<style lang="scss" >
@import "@/assets/init.scss";
 
#cryptos {
  .resetSuccess {
    width: 100%;
    box-sizing: border-box;
  }
 
  .content {
    font-size: 24px;
    padding: 32px;
    text-align: center;
  }
 
  .imgBox {
    width: 122px;
    height: 122px;
    margin: auto;
 
    img {
      width: 100%;
      height: 100%;
    }
  }
 
  .btn {
    color: $text_color;
    height: 88px;
    line-height: 88px;
    text-align: center;
    font-size: 32px;
    border-radius: 10px;
  }
}
</style>