@ -6,7 +6,7 @@
< / div >
< / div >
< div class = "row" >
< div class = "row" >
<!-- 登录密码 -- >
<!-- 登录密码 -- >
< div class = "col-md-6 d-flex" >
< div class = "col-md-4 d-flex" >
< div class = "panel-box bg-panel shadow-sm mb-4 w-100 d-flex flex-column" >
< div class = "panel-box bg-panel shadow-sm mb-4 w-100 d-flex flex-column" >
< div class = "heading" style = "color: #f1f1f1;" > { { $t ( 'setting.loginPassword' ) } } < / div >
< div class = "heading" style = "color: #f1f1f1;" > { { $t ( 'setting.loginPassword' ) } } < / div >
< div class = "tab-content flex-fill d-flex align-items-center" >
< div class = "tab-content flex-fill d-flex align-items-center" >
@ -16,15 +16,24 @@
< / div >
< / div >
< / div >
< / div >
<!-- 提款密码 -- >
<!-- 提款密码 -- >
<!-- < div class = "col-md-6 d-flex" >
< div class = "col-md-4 d-flex" >
< div class = "panel-box bg-panel shadow-sm mb-4 w-100 d-flex flex-column" >
< div class = "panel-box bg-panel shadow-sm mb-4 w-100 d-flex flex-column" >
< div class = "heading" style = "color: #f1f1f1;" > { { $t ( 'common.c13' ) } } < / div >
< div class = "heading" style = "color: #f1f1f1;" > { { $t ( 'common.c13' ) } } < / div >
< div class = "tab-content flex-fill d-flex align-items-center" >
< div class = "tab-content flex-fill d-flex align-items-center" >
< div style = "color: #999;margin-right: 80px;" > { { $t ( 'common.c13' ) } } < / div >
< div style = "color: #999;margin-right: 80px;" > { { $t ( 'common.c13' ) } } < / div >
< button class = "btn btn-primary btn-sm" @click ="WithdrawalsShow=true" > {{ $ t ( ' common.c15 ' ) }} < / button >
< button class = "btn btn-primary btn-sm" @click ="WithdrawalsShow=true" > {{ $ t ( ' common.c30 ' ) }} < / button >
< / div >
< / div >
< / div >
< / div >
< / div > -- >
< / div >
< div class = "col-md-4 d-flex" >
< div class = "panel-box bg-panel shadow-sm mb-4 w-100 d-flex flex-column" >
< div class = "heading" style = "color: #f1f1f1;" > { { $t ( 'common.c13' ) } } < / div >
< div class = "tab-content flex-fill d-flex align-items-center" >
< div style = "color: #999;margin-right: 80px;" > { { $t ( 'common.c13' ) } } < / div >
< button class = "btn btn-primary btn-sm" @click ="changepassword" > {{ $ t ( ' common.c15 ' ) }} < / button >
< / div >
< / div >
< / div >
<!-- 交易密码 -- >
<!-- 交易密码 -- >
<!-- < div class = "col-md-6 d-flex" >
<!-- < div class = "col-md-6 d-flex" >
< div class = "panel-box bg-panel shadow-sm mb-4 w-100 d-flex flex-column" >
< div class = "panel-box bg-panel shadow-sm mb-4 w-100 d-flex flex-column" >
@ -131,6 +140,10 @@
< v -box v-model ="WithdrawalsShow" :title="$t('common.c13')" >
< v -box v-model ="WithdrawalsShow" :title="$t('common.c13')" >
< withdrawals -pwd @close ="WithdrawalsShow=false" @change ="getUserInfo" :detail ="detail" id = "" / >
< withdrawals -pwd @close ="WithdrawalsShow=false" @change ="getUserInfo" :detail ="detail" id = "" / >
< / v - b o x >
< / v - b o x >
< v -box v-model ="Changepassword" :title="$t('common.c15')" >
< change -password @close ="Changepassword=false" @change ="getUserInfo" :detail ="detail" id = "" / >
< / v - b o x >
<!-- 校验开关 -- >
<!-- 校验开关 -- >
< v -box v-model ="verification" :title="`${changeVerificationObj.status?$t('setting.open'):$t('setting.close')}${changeVerificationObj.name}`" >
< v -box v-model ="verification" :title="`${changeVerificationObj.status?$t('setting.open'):$t('setting.close')}${changeVerificationObj.name}`" >
@ -147,6 +160,7 @@ import WithdrawalsPwd from "./withdrawals-pwd";
import EmailVerify from "./email-verify" ;
import EmailVerify from "./email-verify" ;
import GoogleVerify from "./google-verify" ;
import GoogleVerify from "./google-verify" ;
import ChangeVerification from "./change-verification" ;
import ChangeVerification from "./change-verification" ;
import ChangePassword from "./change-password" ;
import Setting from "../../api/setting" ;
import Setting from "../../api/setting" ;
export default {
export default {
@ -157,7 +171,8 @@ export default {
GoogleVerify ,
GoogleVerify ,
LoginPwd ,
LoginPwd ,
ChangeVerification ,
ChangeVerification ,
WithdrawalsPwd
WithdrawalsPwd ,
ChangePassword
} ,
} ,
data ( ) {
data ( ) {
return {
return {
@ -169,6 +184,7 @@ export default {
emailShow : false ,
emailShow : false ,
googleShow : false ,
googleShow : false ,
verification : false ,
verification : false ,
Changepassword : false ,
/ / 变 更 校 验 开 关 的 对 象
/ / 变 更 校 验 开 关 的 对 象
changeVerificationObj : {
changeVerificationObj : {
status : '' ,
status : '' ,
@ -210,7 +226,13 @@ export default {
} ) ;
} ) ;
this . verification = true ;
this . verification = true ;
}
} ,
changepassword ( ) {
Setting . withdrawalReset ( ) . then ( res => {
console . log ( '已请求重置提款密码' ) ;
this . Changepassword = true
} ) ;
}
} ,
} ,
created ( ) {
created ( ) {
this . getUserInfo ( ) ;
this . getUserInfo ( ) ;