全景页面删除重资产,显示人民币转换以及密码设置去掉验证码

master
huan.xu 4 years ago
parent 4fd6b74d55
commit 908a2f7504
  1. 877
      src/pages/entry.vue
  2. 4
      src/views/personal/profile.vue
  3. 9
      src/views/personal/setPayPassword.vue

@ -14,7 +14,7 @@
<a href="javascript:;">
<p>初始资金{{ userTimeMoneyDto.wxPayInit }} CNY</p>
<p>可用资金{{ userTimeMoneyDto.wxPay }} CNY</p>
<p>全部资金{{ tatolPrice }} CNY</p>
<!--<p>全部资金{{ tatolPrice }} CNY</p>-->
</a>
</div>
<div class="usdItem alipay">
@ -22,7 +22,7 @@
<a href="javascript:;">
<p>初始资金{{ userTimeMoneyDto.aliPayInit }} CNY</p>
<p>可用资金{{ userTimeMoneyDto.aliPay }} CNY</p>
<p>全部资金{{ tatolPrice }} CNY</p>
<!-- <p>全部资金{{ tatolPrice }} CNY</p>-->
</a>
</div>
<div class="usdItem bank">
@ -30,7 +30,7 @@
<a href="javascript:;">
<p>初始资金{{ userTimeMoneyDto.bankCardInit }}CNY</p>
<p>可用资金{{ userTimeMoneyDto.bankCard }} CNY</p>
<p>全部资金{{ tatolPrice }} CNY</p>
<!--<p>全部资金{{ tatolPrice }} CNY</p>-->
</a>
</div>
</div>
@ -40,7 +40,7 @@
<div class="tabs-flex">
<div class="flex-1">
<p>总资产: {{ userTimeMoneyDto.btc }}</p>
<!-- <p>0 CNY</p>-->
<p>{{btcRMBCount}} CNY</p>
</div>
<!-- <div class="flex-1">
<p>总资产: 0</p>
@ -60,7 +60,7 @@
<div class="tabs-flex">
<div class="flex-1">
<p>总资产: {{ userTimeMoneyDto.usdt }}</p>
<!-- <p>0 CNY</p>-->
<p>{{usdtRMBCount}} CNY</p>
</div>
<!-- <div class="flex-1">
<p>总资产: 0</p>
@ -80,7 +80,7 @@
<div class="tabs-flex">
<div class="flex-1">
<p>总资产: {{ userTimeMoneyDto.eos }}</p>
<!--<p>0 CNY</p>-->
<p>{{eosRMBCount}} CNY</p>
</div>
<!-- <div class="flex-1">
<p>总资产: 0</p>
@ -100,7 +100,7 @@
<div class="tabs-flex">
<div class="flex-1">
<p>总资产: {{ userTimeMoneyDto.eth }}</p>
<!-- <p>0 CNY</p>-->
<p>{{ethRMBCount}} CNY</p>
</div>
<!-- <div class="flex-1">
<p>总资产: 0</p>
@ -119,7 +119,7 @@
</el-tabs>
</div>
<a href="javascript:;" class="entry-btn" @click="goIndex">
<img src="../images/entry/btn.png" />
<img src="../images/entry/btn.png"/>
</a>
<!-- <div class="usdList">
<div class="usdItem" element-loading-background="rgba(0, 0, 0, 0.2)">
@ -169,489 +169,500 @@
</template>
<script>
import NavHeader from '@/components/common/header';
import Footer from '@/components/common/footer';
import {getUserTimeMoneyDto} from '@/api/yyyf';
import {getLeftPrice} from '@/api/currency.js';
import {submit, reStart} from '@/api/yyyf';
import {logOut} from '@/api/user';
import {signUp, signIn} from '@/api/user';
import {yyyfUrl} from '@/api/app.js';
export default {
name: 'entry',
data() {
return {
activeName: 'BTC',
userTimeMoneyDto: {},
tatolPrice: 0,
//0 1 2
reqType: 2,
//
remainingTime: 0,
//
isSubmit: false,
newwin: undefined,
};
},
components: {
NavHeader,
Footer,
},
methods: {
getUserTimeMoneyDtoMethod() {
let ths = this;
getUserTimeMoneyDto().then(res => {
if (res.data.code === 200) {
ths.userTimeMoneyDto = res.data.data;
this.getUSDTPrie();
} else {
ths.$message.warning({
message: res.data.msg,
onClose: function() {
ths.closeWindow();
},
});
}
});
import NavHeader from '@/components/common/header';
import Footer from '@/components/common/footer';
import {getUserTimeMoneyDto} from '@/api/yyyf';
import {getLeftPrice} from '@/api/currency.js';
import {submit, reStart} from '@/api/yyyf';
import {logOut} from '@/api/user';
import {signUp, signIn} from '@/api/user';
import {yyyfUrl} from '@/api/app.js';
export default {
name: 'entry',
data() {
return {
activeName: 'BTC',
userTimeMoneyDto: {},
tatolPrice: 0,
//0 1 2
reqType: 2,
//
remainingTime: 0,
//
isSubmit: false,
newwin: undefined,
btcRMBCount: 0,
usdtRMBCount: 0,
eosRMBCount: 0,
ethRMBCount: 0
};
},
login(params) {
signIn(params).then(res => {
// console.log(res);
if (res.data.code === 200) {
//
// if( this.checked === true ){
// Cookie.set('phoneNum',num)
// Cookie.set('password',pass)
// }
//tokencookie
// Cookie.set('token', res.data.data.token);
localStorage.setItem('token', res.data.data.token);
//
localStorage.setItem('isSubmit', JSON.stringify(false));
//cookie
// Cookie.set('userData', res.data.data);
localStorage.setItem('userData', JSON.stringify(res.data.data));
// console.log(JSON.parse(localStorage.getItem('userData')));
// userIDcookie
// Cookie.set('userID', res.data.data.id);
localStorage.setItem('userID', res.data.data.id);
//
localStorage.setItem('invitationCode', res.data.data.invitationCode);
this.isSubmit = false;
location.href = '/entry';
} else {
this.$message.warning(res.data.msg);
this.isSubmit = false;
}
});
components: {
NavHeader,
Footer,
},
winOpen: function() {
if (this.newwin != undefined) {
methods: {
getUserTimeMoneyDtoMethod() {
let ths = this;
getUserTimeMoneyDto().then(res => {
if (res.data.code === 200) {
ths.userTimeMoneyDto = res.data.data;
this.getUSDTPrie();
} else {
ths.$message.warning({
message: res.data.msg,
onClose: function () {
ths.closeWindow();
},
});
}
});
},
login(params) {
signIn(params).then(res => {
// console.log(res);
if (res.data.code === 200) {
//
// if( this.checked === true ){
// Cookie.set('phoneNum',num)
// Cookie.set('password',pass)
// }
//tokencookie
// Cookie.set('token', res.data.data.token);
localStorage.setItem('token', res.data.data.token);
//
localStorage.setItem('isSubmit', JSON.stringify(false));
//cookie
// Cookie.set('userData', res.data.data);
localStorage.setItem('userData', JSON.stringify(res.data.data));
// console.log(JSON.parse(localStorage.getItem('userData')));
// userIDcookie
// Cookie.set('userID', res.data.data.id);
localStorage.setItem('userID', res.data.data.id);
//
localStorage.setItem('invitationCode', res.data.data.invitationCode);
this.isSubmit = false;
location.href = '/entry';
} else {
this.$message.warning(res.data.msg);
this.isSubmit = false;
}
});
},
winOpen: function () {
if (this.newwin != undefined) {
if (
navigator.userAgent.indexOf('Firefox') != -1 ||
navigator.userAgent.indexOf('Chrome') != -1
) {
this.newwin.location.href = 'about:blank';
this.newwin.close();
} else {
this.newwin.opener = null;
this.newwin.open('', '_self');
this.newwin.close();
}
}
this.newwin = window.open(
'/',
'onlywin',
'toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=yes, resizable=yes, copyhistory=yes, height=600,width=1100,left=180,top=100'
);
},
closeWindow: function () {
if (
navigator.userAgent.indexOf('Firefox') != -1 ||
navigator.userAgent.indexOf('Chrome') != -1
) {
this.newwin.location.href = 'about:blank';
this.newwin.close();
} else {
this.newwin.opener = null;
this.newwin.open('', '_self');
this.newwin.close();
}
}
this.newwin = window.open(
'/',
'onlywin',
'toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=yes, resizable=yes, copyhistory=yes, height=600,width=1100,left=180,top=100'
);
},
closeWindow: function() {
if (
navigator.userAgent.indexOf('Firefox') != -1 ||
navigator.userAgent.indexOf('Chrome') != -1
) {
window.location.href = 'about:blank';
window.close();
} else {
window.opener = null;
window.open('', '_self');
window.close();
}
},
sign(params) {
signUp(params).then(res => {
if (res.data.code === 200) {
this.login({
tel: params.tel,
password: params.password,
});
window.location.href = 'about:blank';
window.close();
} else {
this.$message.warning(res.data.msg);
this.isSubmit = false;
window.opener = null;
window.open('', '_self');
window.close();
}
});
},
exit(params) {
logOut().then(res => {
if (res.data.code === 200 || res.data.code === 202) {
// Cookie.set('userData', '');
localStorage.setItem('userData', '');
localStorage.removeItem('userpass');
localStorage.removeItem('userdate');
localStorage.removeItem('nowPassNOValue');
if (params == undefined) {
//window.location.href = '/';
this.closeWindow();
},
sign(params) {
signUp(params).then(res => {
if (res.data.code === 200) {
this.login({
tel: params.tel,
password: params.password,
});
} else {
this.$message.warning(res.data.msg);
this.isSubmit = false;
}
// let pathName = window.location.pathname.split('/')[1];
// console.log(pathName);
//退
// if (pathName === 'personal') {
// window.location.href = '/login';
// } else {
// window.location.href = this.perUrl;
// }
});
},
exit(params) {
logOut().then(res => {
if (res.data.code === 200 || res.data.code === 202) {
// Cookie.set('userData', '');
localStorage.setItem('userData', '');
localStorage.removeItem('userpass');
localStorage.removeItem('userdate');
localStorage.removeItem('nowPassNOValue');
if (params == undefined) {
//window.location.href = '/';
this.closeWindow();
}
// let pathName = window.location.pathname.split('/')[1];
// console.log(pathName);
//退
// if (pathName === 'personal') {
// window.location.href = '/login';
// } else {
// window.location.href = this.perUrl;
// }
} else {
this.$message.warning(res.data.msg);
}
});
},
goIndex() {
this.winOpen();
},
submitExam: function () {
let self = this;
//
if (!self.isSubmit) {
self.isSubmit = true;
} else {
this.$message.warning(res.data.msg);
return false;
}
});
},
goIndex() {
this.winOpen();
},
submitExam: function() {
let self = this;
//
if (!self.isSubmit) {
self.isSubmit = true;
} else {
return false;
}
submit().then(res => {
if (res.data.code === 200) {
this.$message.success({
message: '提交成功',
onClose: function() {
if (self.reqType == 0) {
submit().then(res => {
if (res.data.code === 200) {
this.$message.success({
message: '提交成功',
onClose: function () {
if (self.reqType == 0) {
self.closeWindow();
} else {
localStorage.setItem('isSubmit', JSON.stringify(true));
self.isSubmit = false;
}
self.getUserTimeMoneyDtoMethod();
},
});
} else {
this.$message.warning({
message: res.data.msg,
onClose: function () {
self.closeWindow();
} else {
localStorage.setItem('isSubmit', JSON.stringify(true));
self.isSubmit = false;
}
self.getUserTimeMoneyDtoMethod();
},
});
} else {
this.$message.warning({
message: res.data.msg,
onClose: function() {
self.closeWindow();
},
});
}
});
},
reStartTest: function() {
let self = this;
//
if (!self.isSubmit) {
this.isSubmit = true;
} else {
return false;
}
//退
this.exit(1);
reStart().then(res => {
if (res.data.code === 200) {
this.$message.success({
message: '重新开始成功',
onClose: function() {
let signParams = {
tel: res.data.data.tel,
nickName: res.data.data.nickName,
code: res.data.data.code,
password: res.data.data.password,
internationalCode: null,
invitationCode: '',
};
self.sign(signParams);
},
});
},
});
}
});
},
reStartTest: function () {
let self = this;
//
if (!self.isSubmit) {
this.isSubmit = true;
} else {
this.$message.warning({
message: res.data.msg,
onClose: function() {
self.closeWindow();
},
});
return false;
}
});
},
getUSDTPrie() {
getLeftPrice().then(res => {
this.USDTPrie = res.data.data;
// console.log(this.USDTPrie);
//
let cnyAmount = this.USDTPrie[0].cnyAmount;
let btcCount = 0;
let usdtCount = this.userTimeMoneyDto.usdt;
let eosCount = 0;
let ethCount = 0;
for (let i = 0; i < this.USDTPrie.length; i++) {
// btcusdt
if (this.USDTPrie[i].currencyPair == 'BTC-USDT') {
// console.log(this.USDTPrie[i].amount);
//
btcCount = this.userTimeMoneyDto.btc * this.USDTPrie[i].amount;
// console.log('btc'+this.btcPrice);
//退
this.exit(1);
reStart().then(res => {
if (res.data.code === 200) {
this.$message.success({
message: '重新开始成功',
onClose: function () {
let signParams = {
tel: res.data.data.tel,
nickName: res.data.data.nickName,
code: res.data.data.code,
password: res.data.data.password,
internationalCode: null,
invitationCode: '',
};
self.sign(signParams);
},
});
} else {
this.$message.warning({
message: res.data.msg,
onClose: function () {
self.closeWindow();
},
});
}
// return this.btcPrice;
}
for (let i = 0; i < this.USDTPrie.length; i++) {
// btcusdt
if (this.USDTPrie[i].currencyPair == 'EOS-USDT') {
// console.log(this.USDTPrie[i].amount);
//
eosCount = this.userTimeMoneyDto.eos * this.USDTPrie[i].amount;
// console.log('btc'+this.btcPrice);
});
},
getUSDTPrie() {
let ths = this;
getLeftPrice().then(res => {
ths.USDTPrie = res.data.data;
// console.log(this.USDTPrie);
//
let cnyAmount = this.USDTPrie[0].cnyAmount;
let btcCount = 0;
let usdtCount = this.userTimeMoneyDto.usdt;
let eosCount = 0;
let ethCount = 0;
for (let i = 0; i < this.USDTPrie.length; i++) {
// btcusdt
if (ths.USDTPrie[i].currencyPair == 'BTC-USDT') {
// console.log(this.USDTPrie[i].amount);
//
btcCount = ths.userTimeMoneyDto.btc * ths.USDTPrie[i].amount;
// console.log('btc'+this.btcPrice);
}
// return this.btcPrice;
}
// return this.btcPrice;
}
for (let i = 0; i < this.USDTPrie.length; i++) {
// btcusdt
if (this.USDTPrie[i].currencyPair == 'ETH-USDT') {
// console.log(this.USDTPrie[i].amount);
//
ethCount = this.userTimeMoneyDto.eth * this.USDTPrie[i].amount;
// console.log('btc'+this.btcPrice);
for (let i = 0; i < this.USDTPrie.length; i++) {
// btcusdt
if (ths.USDTPrie[i].currencyPair == 'EOS-USDT') {
// console.log(this.USDTPrie[i].amount);
//
eosCount = ths.userTimeMoneyDto.eos * ths.USDTPrie[i].amount;
// console.log('btc'+this.btcPrice);
}
// return this.btcPrice;
}
// return this.btcPrice;
}
let digitWallet =
(btcCount + usdtCount + eosCount + ethCount) * cnyAmount;
let total =
digitWallet +
this.userTimeMoneyDto.aliPay +
this.userTimeMoneyDto.wxPay +
this.userTimeMoneyDto.bankCard;
//
this.tatolPrice = Math.floor(total * 10) / 10;
for (let i = 0; i < this.USDTPrie.length; i++) {
// btcusdt
if (ths.USDTPrie[i].currencyPair == 'ETH-USDT') {
// console.log(this.USDTPrie[i].amount);
//
ethCount = ths.userTimeMoneyDto.eth * ths.USDTPrie[i].amount;
// console.log('btc'+this.btcPrice);
}
// return this.btcPrice;
}
// console.log(this.tatolPrice);
});
ths.btcRMBCount = btcCount * cnyAmount;
ths.usdtRMBCount = usdtCount * cnyAmount;
ths.eosRMBCount = eosCount * cnyAmount;
ths.ethRMBCount = ethCount * cnyAmount;
let digitWallet =
ths.btcRMBCount + ths.usdtRMBCount + ths.eosRMBCount + ths.ethRMBCount;
let total =
digitWallet +
ths.userTimeMoneyDto.aliPay +
ths.userTimeMoneyDto.wxPay +
ths.userTimeMoneyDto.bankCard;
//
ths.tatolPrice = Math.floor(total * 10) / 10;
// console.log(this.tatolPrice);
});
},
},
},
created() {
let ths = this;
ths.getUserTimeMoneyDtoMethod();
let yyyfToken = localStorage.getItem('yyyfToken');
this.isSubmit = localStorage.getItem('isSubmit') == 'true' ? true : false;
if (yyyfToken == '' || yyyfToken == undefined) {
this.$alert('未从以渔有方登录,点击确定返回登录', '提示', {
type: 'error',
showClose: false,
confirmButtonText: '确定',
confirmButtonClass: 'btn-self-style',
callback: () => {
window.location.href = yyyfUrl;
},
});
} else {
ths.reqType = localStorage.getItem('reqType');
}
},
};
created() {
let ths = this;
ths.getUserTimeMoneyDtoMethod();
let yyyfToken = localStorage.getItem('yyyfToken');
this.isSubmit = localStorage.getItem('isSubmit') == 'true' ? true : false;
if (yyyfToken == '' || yyyfToken == undefined) {
this.$alert('未从以渔有方登录,点击确定返回登录', '提示', {
type: 'error',
showClose: false,
confirmButtonText: '确定',
confirmButtonClass: 'btn-self-style',
callback: () => {
window.location.href = yyyfUrl;
},
});
} else {
ths.reqType = localStorage.getItem('reqType');
}
},
};
</script>
<style scoped lang="scss">
.entry-wrapper {
.entry-content {
background: url(../images/entry/bg.jpg);
background-size: cover;
.enrty-content__header {
display: flex;
justify-content: space-between;
align-items: center;
.centerNav {
margin-right: 24px;
.entry-wrapper {
.entry-content {
background: url(../images/entry/bg.jpg);
background-size: cover;
.enrty-content__header {
display: flex;
justify-content: space-between;
align-items: center;
.centerNav {
margin-right: 24px;
}
}
}
.entry-btn {
width: 265px;
height: 30px;
display: block;
padding-bottom: 32px;
margin: 0 auto 0 auto;
cursor: pointer;
img {
width: 100%;
height: 100%;
.entry-btn {
width: 265px;
height: 30px;
display: block;
padding-bottom: 32px;
margin: 0 auto 0 auto;
cursor: pointer;
img {
width: 100%;
height: 100%;
display: block;
cursor: pointer;
}
}
}
}
.entry-title {
font-family: NotoSansHans-Regular;
font-size: 20px;
font-weight: normal;
font-stretch: normal;
line-height: 21px;
letter-spacing: 0px;
color: #00f5ff;
padding: 24px;
margin: 0;
}
}
.paylist {
position: relative;
&::before {
content: '';
display: block;
background-image: url(../images/entry/line1.png);
width: 730px;
position: absolute;
height: 105px;
top: -118px;
left: 40px;
background-size: cover;
.entry-title {
font-family: NotoSansHans-Regular;
font-size: 20px;
font-weight: normal;
font-stretch: normal;
line-height: 21px;
letter-spacing: 0px;
color: #00f5ff;
padding: 24px;
margin: 0;
}
}
}
.usdList {
margin: 0 auto;
width: 815px;
margin-top: 110px;
display: flex;
justify-content: space-between;
.usdItem {
width: 166px;
height: 158px;
.paylist {
position: relative;
background-size: cover;
&.wechat {
background-image: url(../images/entry/wechat.png);
&::before {
content: '';
display: block;
background-image: url(../images/entry/line1.png);
width: 730px;
position: absolute;
height: 105px;
top: -118px;
left: 40px;
background-size: cover;
}
}
&.bank {
background-image: url(../images/entry/bank.png);
}
.usdList {
margin: 0 auto;
width: 815px;
margin-top: 110px;
display: flex;
justify-content: space-between;
&.alipay {
background-image: url(../images/entry/alipay.png);
}
.usdItem {
width: 166px;
height: 158px;
position: relative;
background-size: cover;
a {
display: block;
margin-top: 85px;
}
&.wechat {
background-image: url(../images/entry/wechat.png);
}
p {
font-family: NotoSansHans-DemiLight;
font-size: 10px;
font-weight: normal;
font-stretch: normal;
letter-spacing: 0px;
color: #08c7cf;
margin: 6px 8px;
&.bank {
background-image: url(../images/entry/bank.png);
}
&:first-child {
margin-top: 58px;
&.alipay {
background-image: url(../images/entry/alipay.png);
}
}
}
&.tabs {
color: #fff;
background: url(../images/entry/wallet1.png);
background-size: cover;
margin-top: -85px;
height: 315px;
width: 965px;
padding-top: 145px;
.el-tabs {
width: 755px;
margin: 60px auto 14px auto;
/deep/ .el-tabs__header {
margin-bottom: 8px;
a {
display: block;
margin-top: 85px;
}
}
/DEEP/ .el-tabs__nav {
/DEEP/ .el-tabs__item {
font-family: NotoSansHans-Regular;
font-size: 15px;
p {
font-family: NotoSansHans-DemiLight;
font-size: 10px;
font-weight: normal;
font-stretch: normal;
line-height: 40px;
letter-spacing: 0px;
color: #00f5ff;
color: #08c7cf;
margin: 6px 8px;
&.is-active {
color: #00f5ff;
font-size: 20px;
font-weight: bold;
&:first-child {
margin-top: 88px;
}
}
}
/DEEP/ .el-tabs__active-bar {
width: 0 !important;
height: 0 !important;
border-left: 8px solid transparent;
border-right: 8px solid transparent;
border-bottom: 6px solid #00f5ff;
background: none;
margin-left: 5%;
&.tabs {
color: #fff;
background: url(../images/entry/wallet1.png);
background-size: cover;
margin-top: -85px;
height: 315px;
width: 965px;
padding-top: 145px;
.el-tabs {
width: 755px;
margin: 60px auto 14px auto;
/deep/ .el-tabs__header {
margin-bottom: 8px;
}
}
}
/DEEP/ .el-tabs__nav-wrap::after {
background-color: #00f5ff;
}
/DEEP/ .el-tabs__nav {
/DEEP/ .el-tabs__item {
font-family: NotoSansHans-Regular;
font-size: 15px;
font-weight: normal;
font-stretch: normal;
line-height: 40px;
letter-spacing: 0px;
color: #00f5ff;
.el-tab-pane {
width: 100%;
}
}
&.is-active {
color: #00f5ff;
font-size: 20px;
font-weight: bold;
}
}
.tabs-flex {
display: flex;
justify-content: space-between;
/DEEP/ .el-tabs__active-bar {
width: 0 !important;
height: 0 !important;
border-left: 8px solid transparent;
border-right: 8px solid transparent;
border-bottom: 6px solid #00f5ff;
background: none;
margin-left: 5%;
}
}
.flex-1 {
flex: 1;
/DEEP/ .el-tabs__nav-wrap::after {
background-color: #00f5ff;
}
p {
font-family: NotoSansHans-DemiLight;
font-size: 10px;
font-weight: normal;
font-stretch: normal;
line-height: 15px;
letter-spacing: 0px;
color: #08c7cf;
.el-tab-pane {
width: 100%;
}
}
.tabs-flex {
display: flex;
justify-content: space-between;
.flex-1 {
flex: 1;
p {
font-family: NotoSansHans-DemiLight;
font-size: 10px;
font-weight: normal;
font-stretch: normal;
line-height: 15px;
letter-spacing: 0px;
color: #08c7cf;
}
}
}
}
}
</style>

@ -46,11 +46,11 @@
>{{ $t('personal.profile.basicInfo.loginPasswrod') }}</span
>
<span class="secondaryCont">*********</span>
<router-link to="/profile/change-password">
<!-- <router-link to="/profile/change-password">
<div class="btnRemake">
{{ $t('personal.profile.basicInfo.changePasswordBtn') }}
</div>
</router-link>
</router-link>-->
</div>
</div>
</div>

@ -16,7 +16,7 @@
</div>
</div>
<div class="secondaryBox majorBoxStyle">
<!-- <div class="secondaryBox majorBoxStyle">
<div class="setBox">
<span class="setItem"
>{{ $t('personal.security.setMoneyPassword.code') }}</span
@ -32,7 +32,7 @@
{{ $t('personal.security.resend') }}{{ timerNum }}s
</p>
</div>
</div>
</div>-->
<div class="secondaryBox majorBoxStyle majorBoxStyleBc">
<div class="setBox">
@ -100,9 +100,10 @@ export default {
},
methods: {
submit() {
if (this.code === '') {
/* if (this.code === '') {
this.$message.warning(this.$t('personal.security.code_p'));
} else if (this.moneyPassword === '') {
} else */
if (this.moneyPassword === '') {
this.$message.warning(
this.$t('personal.security.setMoneyPassword.fund_p')
);

Loading…
Cancel
Save