优化:酒道馆登录优化

This commit is contained in:
wuhui_zzw 2024-03-03 18:38:14 +08:00
parent 251c8d5cb6
commit f1100b9bab
1 changed files with 7 additions and 4 deletions

View File

@ -304,6 +304,7 @@ export default {
clickLogin(){ clickLogin(){
let _this = this; let _this = this;
let params = _this.loginInfo || {}; let params = _this.loginInfo || {};
uni.showLoading({title: '登录中...', mask: true})
storeLogin(params).then(res => { storeLogin(params).then(res => {
if (res.status == 200) { if (res.status == 200) {
let data = res.data || {}; let data = res.data || {};
@ -316,7 +317,9 @@ export default {
}); });
this.getStoreList({is_sys: this.is_sys, appoint_mer_id: data.mer_id || ''}); this.getStoreList({is_sys: this.is_sys, appoint_mer_id: data.mer_id || ''});
} }
uni.hideLoading();
}).catch(err => { }).catch(err => {
uni.hideLoading();
this.$util.Tips({ title: err }); this.$util.Tips({ title: err });
}); });
} }
@ -470,12 +473,12 @@ export default {
} }
} }
.login-btn{ .login-btn{
width: 70%; width: 90%;
background: #8e1318; background: #8e1318;
color: #f4dede; color: #f4dede;
height: 60rpx; height: 80rpx;
font-size: 30rpx; font-size: 35rpx;
line-height: 60rpx; line-height: 80rpx;
text-align: center; text-align: center;
border-radius: 100rpx; border-radius: 100rpx;
margin: 130rpx auto 0 auto; margin: 130rpx auto 0 auto;