Commit c1467e66 by GiottoMaster

update

parent e6b1f576
......@@ -249,7 +249,7 @@ export default {
if (res.code == 200) {
let userInfo = JSON.parse(localStorage.getItem('userInfo'));
userInfo.balance = res.data.balance;
userInfo.usdtBalance = res.data.usd_balance;
userInfo.usd_balance = res.data.usd_balance;
localStorage.setItem('userInfo', JSON.stringify(userInfo));
that.$store.commit('changUserInfo');
}
......
......@@ -9,7 +9,7 @@
<div data-v-a12ec382="" class="van-cell-group van-hairline--top-bottom">
<div data-v-a12ec382="" class="van-cell van-field">
<div class="van-cell__value van-cell__value--alone van-field__value">
<div class="van-field__body"><input type="text" readonly onfocus="this.removeAttribute('readonly');" auto-complete="off" onblur="this.setAttribute('readonly',true);" v-model="cardInfo.bank_owner" :placeholder="$t('main.addBankCard.placeholder1')" class="van-field__control" /></div>
<div class="van-field__body"><input type="text" auto-complete="off" v-model="cardInfo.bank_owner" :placeholder="$t('main.addBankCard.placeholder1')" class="van-field__control" /></div>
</div>
</div>
</div>
......@@ -24,7 +24,10 @@
<div data-v-a12ec382="" class="van-cell-group van-hairline--top-bottom">
<div data-v-a12ec382="" class="van-cell van-field">
<div class="van-cell__value van-cell__value--alone van-field__value">
<div class="van-field__body"><input type="text" readonly onfocus="this.removeAttribute('readonly');" auto-complete="off" onblur="this.setAttribute('readonly',true);" v-model="cardInfo.bank" disabled :placeholder="$t('main.addBankCard.placeholder2')" class="van-field__control" /></div>
<div class="van-field__body">
<input type="text" auto-complete="off" v-model="cardInfo.bank" readonly :placeholder="$t('main.addBankCard.placeholder2')" class="van-field__control" />
<van-icon name="arrow" color="#999"> </van-icon>
</div>
</div>
</div>
</div>
......@@ -36,7 +39,7 @@
<div data-v-a12ec382="" class="van-cell-group van-hairline--top-bottom">
<div data-v-a12ec382="" class="van-cell van-field">
<div class="van-cell__value van-cell__value--alone van-field__value">
<div class="van-field__body"><input type="text" readonly onfocus="this.removeAttribute('readonly');" auto-complete="off" onblur="this.setAttribute('readonly',true);" v-model="cardInfo.bank_no" :placeholder="$t('main.addBankCard.placeholder3')" class="van-field__control" /></div>
<div class="van-field__body"><input type="text" auto-complete="off" v-model="cardInfo.bank_no" :placeholder="$t('main.addBankCard.placeholder3')" class="van-field__control" /></div>
</div>
</div>
</div>
......@@ -48,7 +51,7 @@
<div data-v-a12ec382="" class="van-cell-group van-hairline--top-bottom">
<div data-v-a12ec382="" class="van-cell van-field">
<div class="van-cell__value van-cell__value--alone van-field__value">
<div class="van-field__body"><input type="text" readonly onfocus="this.removeAttribute('readonly');" auto-complete="off" onblur="this.setAttribute('readonly',true);" v-model="cardInfo.bank_address" :placeholder="$t('main.addBankCard.placeholder4')" class="van-field__control" /></div>
<div class="van-field__body"><input type="text" auto-complete="off" v-model="cardInfo.bank_address" :placeholder="$t('main.addBankCard.placeholder4')" class="van-field__control" /></div>
</div>
</div>
</div>
......
......@@ -11,7 +11,7 @@
<div class="row">
<div>KRW{{ $t('main.lottery.label1') }}{{ $store.state.userInfo.balance }}</div>
<div>USDT{{ $t('main.lottery.label1') }}{{ $store.state.userInfo.usdtBalance }}</div>
<div>USDT{{ $t('main.lottery.label1') }}{{ $store.state.userInfo.usd_balance }}</div>
</div>
......
......@@ -100,13 +100,13 @@
<div style="border-bottom: 1px solid #f2f2f2"></div>
</div>
<div style="height: 0.2rem; background: #f8f8f8; width: 100wh"></div>
<div class="hgs" @click="changShow2">
<div class="hgs">
<div class="nams sc">
{{ $t('main.recharge.other1') }}
<div :class="meyXi == 'TRC20' ? ' ssa acti' : 'ssa'" @click="changXiyi('TRC20')">TRC20</div>
<div :class="meyXi == 'ERC20' ? ' ssa acti' : 'ssa'" style="margin-left: 0.5rem" @click="changXiyi('ERC20')">ERC20</div>
<!-- <div :class="meyXi == 'ERC20' ? ' ssa acti' : 'ssa'" style="margin-left: 0.5rem" @click="changXiyi('ERC20')">ERC20</div> -->
</div>
<div style="border-bottom: 1px solid #f2f2f2">
<div style="border-bottom: 1px solid #f2f2f2" @click="changShow2">
<van-cell-group style="display: flex; align-items: center">
<van-field :value="usdtList[usdtIndex] && usdtList[usdtIndex].mch_id" type="text" readonly> </van-field>
<span class="copy" style="width: 40px; color: #069b71" @click.stop="doCopy(usdtList[usdtIndex].mch_id)"> {{ $t('main.recharge.label5') }} </span>
......@@ -402,8 +402,6 @@ export default {
// usdt 情况下 catepay 必填
// 支付的金额判断
console.log(info.amount < that.min_price, info.amount > that.max_price)
console.log(info.amount, that.min_price, that.max_price)
if (info.amount < that.min_price || info.amount > that.max_price) {
that.showTost(0, `${that.$t('main.recharge.label34')}${that.min_price}-${that.max_price}${that.$t('main.recharge.label35')}`);
return;
......
......@@ -10,28 +10,28 @@
<div class="hgs" @click="$parent.goNav('/userInfo')">
<div class="lfs">
<div class="topas">{{ $t('main.userCent.label2') }}</div>
<div class="tisg">{{ $t('main.userCent.label3') }}</div>
<!-- <div class="tisg">{{ $t('main.userCent.label3') }}</div> -->
</div>
<div class="rigs">{{ $t('main.userCent.label4') }} <img src="/static/image/right.b9a9c7c64558347505384ad01922580c.png" alt="" /></div>
</div>
<div class="hgs" @click="$parent.goNav('/wallet')">
<div class="lfs">
<div class="topas">{{ $t('main.userCent.label5') }}</div>
<div class="tisg">{{ $t('main.userCent.label6') }}</div>
<!-- <div class="tisg">{{ $t('main.userCent.label6') }}</div> -->
</div>
<div class="rigs"><img src="/static/image/right.b9a9c7c64558347505384ad01922580c.png" alt="" /></div>
</div>
<div class="hgs" @click="$parent.goNav('/password?type=1')">
<div class="lfs">
<div class="topas">{{ $t('main.userCent.label7') }}</div>
<div class="tisg">{{ $t('main.userCent.label8') }}</div>
<!-- <div class="tisg">{{ $t('main.userCent.label8') }}</div> -->
</div>
<div class="rigs"><img src="/static/image/right.b9a9c7c64558347505384ad01922580c.png" alt="" /></div>
</div>
<div class="hgs" @click="$parent.goNav('/password?type=2')">
<div class="lfs">
<div class="topas">{{ $t('main.userCent.label9') }}</div>
<div class="tisg">{{ $t('main.userCent.label10') }}</div>
<!-- <div class="tisg">{{ $t('main.userCent.label10') }}</div> -->
</div>
<div class="rigs"><img src="/static/image/right.b9a9c7c64558347505384ad01922580c.png" alt="" /></div>
</div>
......@@ -101,7 +101,8 @@ export default {
.lfs {
flex: 1;
.topas {
font-size: 0.3rem;
font-size: 0.35rem;
font-weight: 500;
}
.tisg {
margin-top: 4px;
......
......@@ -17,7 +17,8 @@
<div class="mesg">
<div class="bosgf">
<div class="top"><img src="/static/image/qianbao123.png" alt="" />{{ $t('main.withdrawal.label5') }}</div>
<div class="bots"><span></span>{{ $store.state.userInfo.balance }}</div>
<div class="bots" v-if="activeName ===2"><span></span>{{ $store.state.userInfo.balance }}</div>
<div class="bots" v-if="activeName ===1"><span></span>{{ $store.state.userInfo.usd_balance }}</div>
</div>
<div class="bosgf">
<div class="top"><img src="/static/image/qianbao123.png" alt="" />{{ $t('main.withdrawal.label6') }}</div>
......@@ -69,7 +70,7 @@
<div>
<van-cell-group>
<van-field v-model="amount" type="text" :placeholder="$t('main.withdrawal.placeholder2')">
<template #button> <van-button size="mini" @click="bigMey($store.state.userInfo.balance)" type="info">{{ $t('main.withdrawal.label13') }}</van-button> </template>
<template #button> <van-button size="mini" @click="bigMey($store.state.userInfo.usd_balance)" type="info">{{ $t('main.withdrawal.label13') }}</van-button> </template>
</van-field>
</van-cell-group>
</div>
......@@ -92,14 +93,14 @@
</div>
<div v-if="chanmeyXi" style="height: 0.2rem; background: #f8f8f8; width: 100wh"></div>
<div class="hgs">
<!-- <div class="hgs">
<div class="nams">{{ $t('main.withdrawal.label16') }}</div>
<div style="padding: 5px 0">
<span style="color: rgb(240, 80, 80)">≈ </span>{{ amount ? Math.floor((amount / $store.state.userInfo.withdrawusdtrate) * 100) / 100 : '0.00' }} USDT
</div>
<div style="padding: 5px 0">{{ $t('main.withdrawal.label17') }}{{ $store.state.userInfo.withdrawusdtrate }} ({{ $t('main.withdrawal.label18') }})</div>
<div class="lasthg" style="padding: 5px 0">{{ $t('main.withdrawal.label19') }}{{ amount ? Math.floor((amount / $store.state.userInfo.withdrawusdtrate) * 100) / 100 - (chanmeyXi == 'ERC20' ? $store.state.userInfo.withdrawcashfee * 1 : $store.state.userInfo.withdrawfeeusdttrc * 1) : '0.00' }}USDT</div>
</div>
</div> -->
<div style="height: 0.2rem; background: #f8f8f8; width: 100wh"></div>
</div>
......@@ -478,7 +479,7 @@ export default {
that.$parent.showTost(0, that.$t('main.withdrawal.toast5'));
return;
}
if (amount < 100) {
if (amount < 10) {
that.$parent.showTost(0, that.$t('main.withdrawal.toast6'));
return;
}
......
......@@ -689,7 +689,7 @@ export const main = {
toast3: '请输入您的支付密码',
toast4: '提交成功,等待后台审核',
toast5: '请选择USDT地址',
toast6: '单笔取款不能低于100元',
toast6: '单笔取款不能低于10usdt',
toast7: '请输入您的支付密码',
toast8: '提交成功,等待后台审核',
},
......
......@@ -689,7 +689,7 @@ export const main = {
toast3: 'Please enter your payment password',
toast4: 'Submit successfully, waiting for background review',
toast5: 'Please select USDT address',
toast6: 'Single withdrawal cannot be less than 100 yuan',
toast6: 'Single withdrawal cannot be less than 10 usdt',
toast7: 'Please enter your payment password',
toast8: 'Submit successfully, waiting for background review',
},
......
......@@ -692,7 +692,7 @@ export const main = {
toast3: '결제 비밀번호를 입력하세요',
toast4: '제출 완료! 관리자 검토를 기다려 주세요',
toast5: 'USDT 주소를 선택하세요',
toast6: '한 번에 출금할 수 있는 최소 금액은 100원입니다',
toast6: '한 번에 출금할 수 있는 최소 금액은 10 USDT',
toast7: '결제 비밀번호를 입력하세요',
toast8: '제출 완료! 관리자 검토를 기다려 주세요',
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment