1
李凌
2025-09-19 e1e51991ad91c14fa00c5cf46f95e514f676ac4d
src/views/cryptos/Recharge/rechargeSubmit.vue
@@ -1,88 +1,96 @@
<template>
    <!-- 充值或提现申请提交页面 -->
    <div id="cryptos">
      <assets-head title="" :goHome="true" />
      <div class="pl-47 pr-47 page-box relative">
        <div class="content-box">
          <div class="flex flex-col items-center justify-center mt96">
            <img width="162" height="142" src="@/assets/image/assets-center/success.png" />
            <div class="font-45 font-700 success-title textColor">{{ title }} {{$t('申请已提交')}}</div>
          </div>
          <div class="mb87">
            <div class="font-35 textColor">{{ title }} {{ $t('申请已提交') }}</div>
            <div class="text-grey font-30 mt14">{{ time }}</div>
          </div>
          <div class="mb87">
            <div class="font-35 textColor">{{ title }} {{ $t('申请已提交') }}</div>
            <div class="flex mt14">
              <div class="text-grey font-30">{{ $t('如果') }} {{ title }} {{ $t('未到账') }}?</div>
              <div class="service-text font-30 text-blue" @click="tokefu">{{ $t('联系客服') }}</div>
            </div>
          </div>
          <!--         <div class="mb87">-->
          <!--           <div class="font-35">{{ title }} {{ $t('已成功') }}</div>-->
          <!--           <div class="text-grey font-30 mt14">{{ $t('您会收到邮箱提醒') }}</div>-->
          <!--         </div>-->
  <!-- 充值或提现申请提交页面 -->
  <div id="cryptos">
    <assets-head title="" :goHome="true" />
    <div class="pl-47 pr-47 page-box relative">
      <div class="content-box">
        <div class="flex flex-col items-center justify-center mt96">
          <img width="162" height="142" src="@/assets/image/assets-center/success.png" />
          <div class="font-45 font-700 success-title textColor">{{ title }} {{ $t('申请已提交') }}</div>
        </div>
        <div class="btn-wrap">
          <button class="btnMain text-white next-btn font-35" @click="goRouter('/cryptos/assetsCenter/rechargeWithdrawRecord')">
            {{ $t('查看') }} {{ title }} {{ $t('历史') }}</button>
        <div class="mb87">
          <div class="font-35 textColor">{{ title }} {{ $t('申请已提交') }}</div>
          <div class="text-grey font-30 mt14">{{ time }}</div>
        </div>
        <div class="mb87">
          <div class="font-35 textColor">{{ title }} {{ $t('申请已提交') }}</div>
          <div class="flex mt14">
            <div class="text-grey font-30">{{ $t('如果') }} {{ title }} {{ $t('未到账') }}?</div>
            <div class="service-text font-30 text-blue" @click="tokefu">{{ $t('联系客服') }}</div>
          </div>
        </div>
        <!--         <div class="mb87">-->
        <!--           <div class="font-35">{{ title }} {{ $t('已成功') }}</div>-->
        <!--           <div class="text-grey font-30 mt14">{{ $t('您会收到邮箱提醒') }}</div>-->
        <!--         </div>-->
      </div>
      <div class="btn-wrap">
        <button class="btnMain text-white next-btn font-35"
          @click="goRouter('/cryptos/assetsCenter/rechargeWithdrawRecord')">
          {{ $t('查看') }} {{ title }} {{ $t('历史') }}</button>
      </div>
    </div>
  </template>
  <script>
  import { Image as VanImage } from 'vant';
  import assetsHead from "@/components/Transform/assets-head/index.vue";
  import { dataTimeEx } from '@/utils/utis'
  export default {
      name:'rechargeSubmit',
      components:{
          assetsHead,
          [VanImage.name]:VanImage
      },
      props:{
          title:{
              type:String,
              default:""
          }
      },
      data() {
          return {
            time:''
          }
      },
      created() {
        this.getTime()
      },
      methods:{
          onClickLeft() {
              this.$router.go(-1);
          },
          goRouter(params) {
              this.$router.push({
                  path:params,
                  query: {
                    back: 1
                  }
              });
          },
          getTime(){
            this.time = dataTimeEx(Date.parse(new Date()),true);
          },
        tokefu() {
          this.$router.push('/customerService')
  </div>
</template>
<script>
import { Image as VanImage } from 'vant';
import assetsHead from "@/components/Transform/assets-head/index.vue";
import { dataTimeEx } from '@/utils/utis'
import { customerServiceUrl } from "@/config";
export default {
  name: 'rechargeSubmit',
  components: {
    assetsHead,
    [VanImage.name]: VanImage
  },
  props: {
    title: {
      type: String,
      default: ""
    }
  },
  data() {
    return {
      time: ''
    }
  },
  created() {
    this.getTime()
  },
  methods: {
    onClickLeft() {
      this.$router.go(-1);
    },
    goRouter(params) {
      this.$router.push({
        path: params,
        query: {
          back: 1
        }
      });
    },
    getTime() {
      this.time = dataTimeEx(Date.parse(new Date()), true);
    },
    tokefu() {
      if (customerServiceUrl) {
        window.location.href = customerServiceUrl;
      } else {
        this.$router.push('/customerService')
      }
    }
  }
  </script>
  <style lang="scss" scoped>
  @import "@/assets/init.scss";
  #cryptos{
    .page-box {
}
</script>
<style lang="scss" scoped>
@import "@/assets/init.scss";
#cryptos {
  .page-box {
    box-sizing: border-box;
  }
  .btn-wrap {
    position: fixed;
    left: 0;
@@ -91,34 +99,34 @@
    padding: 0 30px;
    box-sizing: border-box;
  }
  .mt96 {
      margin-top:114px;
    margin-top: 114px;
  }
  .success-title{
      margin-top:70px;
      margin-bottom:115px;
  .success-title {
    margin-top: 70px;
    margin-bottom: 115px;
  }
  .mt14{
      margin-top:14px;
  .mt14 {
    margin-top: 14px;
  }
  .mb87{
       margin-bottom:87px;
  .mb87 {
    margin-bottom: 87px;
  }
  .service-text{
      text-decoration:underline;
  .service-text {
    text-decoration: underline;
  }
  .next-btn{
    width:100%;
    height:96px;
    border:none;
    outline:none;
  .next-btn {
    width: 100%;
    height: 96px;
    border: none;
    outline: none;
    border-radius: 8px;
  }
  }
  </style>
}
</style>