From e1e51991ad91c14fa00c5cf46f95e514f676ac4d Mon Sep 17 00:00:00 2001
From: 李凌 <344137771@qq.com>
Date: Fri, 19 Sep 2025 18:58:56 +0800
Subject: [PATCH] 1
---
src/components/application/application.vue | 141 +++++++++++++++++++++++++----------------------
1 files changed, 75 insertions(+), 66 deletions(-)
diff --git a/src/components/application/application.vue b/src/components/application/application.vue
index a6e52cf..d175e46 100644
--- a/src/components/application/application.vue
+++ b/src/components/application/application.vue
@@ -6,7 +6,7 @@
<div class="content-box">
<div class="flex flex-col items-center justify-center mt96">
<van-image width="162" height="142" src="'../../assets/image/assets-center/success.png'" />
- <div class="font-45 font-700 success-title textColor">{{ title }} {{$t('申请已提交')}}</div>
+ <div class="font-45 font-700 success-title textColor">{{ title }} {{ $t('申请已提交') }}</div>
</div>
<div class="mb87">
<div class="font-35 textColor">{{ title }} {{ $t('申请已提交') }}</div>
@@ -25,7 +25,8 @@
<!-- </div>-->
</div>
<div class="btn-wrap">
- <button class="btnMain text-white next-btn font-35" @click="goRouter('/cryptos/assetsCenter/rechargeWithdrawRecord')">
+ <button class="btnMain text-white next-btn font-35"
+ @click="goRouter('/cryptos/assetsCenter/rechargeWithdrawRecord')">
{{ $t('查看') }} {{ title }} {{ $t('历史') }}</button>
</div>
</div>
@@ -35,86 +36,94 @@
<script>
import { Image as VanImage } from 'vant';
import assetsHead from "@/components/Transform/assets-head/index.vue";
+import { customerServiceUrl } from "@/config";
import { dataTimeEx } from '@/utils/utis'
export default {
- name:'rechargeSubmit',
- components:{
- assetsHead,
- [VanImage.name]:VanImage
+ name: 'rechargeSubmit',
+ components: {
+ assetsHead,
+ [VanImage.name]: VanImage
+ },
+ props: {
+ title: {
+ type: String,
+ default: ""
+ }
+ },
+ data() {
+ return {
+ time: ''
+ }
+ },
+ created() {
+ this.getTime()
+ },
+ methods: {
+ onClickLeft() {
+ this.$router.go(-1);
},
- props:{
- title:{
- type:String,
- default:""
- }
+ goRouter(params) {
+ this.$router.push({
+ path: params
+ });
},
- data() {
- return {
- time:''
- }
+ getTime() {
+ this.time = dataTimeEx(Date.parse(new Date()), true);
},
- created() {
- this.getTime()
- },
- methods:{
- onClickLeft() {
- this.$router.go(-1);
- },
- goRouter(params) {
- this.$router.push({
- path:params
- });
- },
- getTime(){
- this.time = dataTimeEx(Date.parse(new Date()),true);
- },
- tokefu() {
+ tokefu() {
+ if (customerServiceUrl) {
+ window.location.href = customerServiceUrl;
+ } else {
this.$router.push('/customerService')
}
}
+ }
}
</script>
<style lang="scss" scoped>
@import "@/assets/init.scss";
-#cryptos{
+
+#cryptos {
.page-box {
- box-sizing: border-box;
-}
-.btn-wrap {
- position: fixed;
- left: 0;
- bottom: 86px;
- width: 100%;
- padding: 0 30px;
- box-sizing: border-box;
-}
-.mt96 {
- margin-top:114px;
-}
-.success-title{
- margin-top:70px;
- margin-bottom:115px;
-}
+ box-sizing: border-box;
+ }
-.mt14{
- margin-top:14px;
-}
+ .btn-wrap {
+ position: fixed;
+ left: 0;
+ bottom: 86px;
+ width: 100%;
+ padding: 0 30px;
+ box-sizing: border-box;
+ }
-.mb87{
- margin-bottom:87px;
-}
+ .mt96 {
+ margin-top: 114px;
+ }
-.service-text{
- text-decoration:underline;
-}
-.next-btn{
- width:100%;
- height:96px;
- border:none;
- outline:none;
- border-radius: 8px;
-}
-}
+ .success-title {
+ margin-top: 70px;
+ margin-bottom: 115px;
+ }
+ .mt14 {
+ margin-top: 14px;
+ }
+ .mb87 {
+ margin-bottom: 87px;
+ }
+
+ .service-text {
+ text-decoration: underline;
+ }
+
+ .next-btn {
+ width: 100%;
+ height: 96px;
+ border: none;
+ outline: none;
+ border-radius: 8px;
+ }
+}
</style>
--
Gitblit v1.9.3