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

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

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

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

Loading…
Cancel
Save