1
PC-20250623MANY\Administrator
2025-07-22 9ec3bd6e8d7357927533d8966f882cb5d28b3e0f
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
<template>
    <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: '/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>
</template>
 
<script>
import assetsHead from "@/components/assets-head";
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" scoped>
 
.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: #fff;
    height: 88px;
    line-height: 88px;
    text-align: center;
    font-size: 32px;
    border-radius: 10px;
}
</style>