453530270@qq.com 3 years ago
parent
commit
99011a644d
  1. 2
      pages/home.vue
  2. 24
      pages/login/smscode.vue

2
pages/home.vue

@ -205,7 +205,7 @@
},
gotologin(){
this.$navTo("pages/login/index")
this.$navTo("pages/login/loginsms")
},
// 退
handleLogout() {

24
pages/login/smscode.vue

@ -33,11 +33,12 @@ data() {
newPhone: "13800138000", //
isReget: false, //
timer: null, //
count: 60, //
count: 20, //
code:"", //
focus:true, //
//
isLoading: false,
//
isLoading: false,
isParty: false,
isCode:true //
}
},
@ -123,18 +124,19 @@ methods: {
const app = this
app.isLoading = true
store.dispatch('Login', {
smsCode: app.smsCode,
mobile: app.mobile,
isParty: app.isParty,
partyData: app.partyData
smsCode: app.code,
mobile: app.newPhone
// isParty: false,
// partyData: ""
})
.then(result => {
//
app.$toast(result.message)
// :
uni.$emit('syncRefresh', true)
this.$navTo("pages/home")
//
setTimeout(() => app.onNavigateBack(1), 2000)
//setTimeout(() => app.onNavigateBack(1), 2000)
})
.catch(err => {
//
@ -235,7 +237,7 @@ methods: {
}
}
.btn{
background-color: #FEF2F2;
}
// .btn{
// background-color: #FEF2F2;
// }
</style>
Loading…
Cancel
Save