Browse Source

充值提示

xiaomei 5 months ago
parent
commit
cbbe95b634
3 changed files with 4 additions and 4 deletions
  1. 1 1
      src/language/en.json
  2. 1 1
      src/language/zh.json
  3. 2 2
      src/views/mine/recharge.vue

+ 1 - 1
src/language/en.json

@@ -157,7 +157,7 @@
   "lang156": "Shipped",
   "lang157": "Fill in delivery information",
   "lang158": "Binding successful",
-  "lang159": "Your USDT balance is less than XX, only CC",
+  "lang159": "Your USDT quantity is less than XX, only CC",
   "lang160": "Please enter the recharge amount",
   "lang161": "Balance",
   "lang162": "1. After the withdrawal, it will be reviewed by the platform administrator. If there is no abnormality, the review will be completed within 48 hours and the withdrawal address will be transferred. You can check the order progress in the details in the upper right corner.",

+ 1 - 1
src/language/zh.json

@@ -157,7 +157,7 @@
   "lang156": "已发货",
   "lang157": "填写收货信息",
   "lang158": "绑定成功",
-  "lang159": "您的USDT余额不足XX,只有CC",
+  "lang159": "您的USDT数量不足 XX,只有 CC",
   "lang160": "请输入充值数量",
   "lang161": "余额",
   "lang162": "1.提现后由平台管理员审核,如无异常将于48小时之内完成审核并转入提现地址,您可在右上角明细中查看订单进度。",

+ 2 - 2
src/views/mine/recharge.vue

@@ -28,7 +28,7 @@
             </div>
             <div class="box_item">
               <span class="left">{{ $t('lang477') }}</span>
-              <span class="walletbalance">{{ walletBalance }}</span>
+              <span class="walletbalance">{{ Number(walletBalance).toString() }}</span>
             </div>
             <div class="box_item">
               <span class="left">{{ $t('lang148') }}</span>
@@ -126,7 +126,7 @@ export default {
         return this.$toast(this.$t('lang160'));
       }
       if (Number(this.walletBalance) < Number(this.amount)) {
-        return this.$toast(this.$t('lang159').replace('XX', this.amount).replace('CC', this.walletBalance));
+        return this.$toast(this.$t('lang159').replace('XX', this.amount).replace('CC', Number(this.walletBalance).toString()));
       }
       this.show = true;
       usdt