diff --git a/yjyf-app/pages/login/login.vue b/yjyf-app/pages/login/login.vue index 15c69e8..161dc38 100644 --- a/yjyf-app/pages/login/login.vue +++ b/yjyf-app/pages/login/login.vue @@ -30,18 +30,16 @@ - + @@ -304,12 +302,12 @@ return '隐私保护指引尚未生效,请稍后重试或联系客服'; } if (msg.includes('no permission') || msg.includes('unauthorized')) { - return '当前暂不支持微信手机号快捷登录,请联系客服'; + return '当前暂不支持手机号快捷登录,请联系客服'; } if (msg.includes('quota') || msg.includes('limit')) { return '手机号验证次数已达上限,请稍后再试'; } - return '获取微信手机号失败,请重试'; + return '获取手机号失败,请重试'; } function formatLoginError(err, fallback) { @@ -592,7 +590,7 @@ }, 600); } catch (err) { loading.value = false; - toast(formatLoginError(err, '微信手机号登录失败,请重试')); + toast(formatLoginError(err, '手机号登录失败,请重试')); } } @@ -871,13 +869,13 @@ opacity: 0.65; } - /* 微信手机号授权大胶囊按钮 */ - .btn-wx-primary { + /* 手机号快捷登录大胶囊按钮 */ + .btn-phone-primary { width: 100%; height: 100rpx; border-radius: 50rpx; - background: linear-gradient(135deg, #07C160 0%, #05A351 100%); - box-shadow: 0 12rpx 28rpx rgba(7, 193, 96, 0.28); + background: linear-gradient(135deg, #FFA93F 0%, #F0710D 100%); + box-shadow: 0 12rpx 28rpx rgba(240, 113, 13, 0.28); display: flex; align-items: center; justify-content: center; @@ -888,27 +886,18 @@ line-height: normal; transition: opacity 0.2s ease, transform 0.15s ease; } - .btn-wx-primary::after { + .btn-phone-primary::after { border: none; } - .btn-wx-primary.disabled { + .btn-phone-primary.disabled { opacity: 0.65; } - .wx-icon-wrap { - width: 50rpx; - height: 50rpx; - border-radius: 50%; - background: #FFFFFF; - display: flex; - align-items: center; - justify-content: center; - margin-right: 18rpx; - box-shadow: 0 4rpx 10rpx rgba(0, 0, 0, 0.08); - } - .wx-svg-icon { - width: 34rpx; - height: 34rpx; + .phone-svg-icon { + width: 38rpx; + height: 38rpx; + margin-right: 14rpx; + flex-shrink: 0; } .btn-text { font-size: 32rpx; diff --git a/yjyf-app/static/icons/login-phone-white.svg b/yjyf-app/static/icons/login-phone-white.svg new file mode 100644 index 0000000..16cecb1 --- /dev/null +++ b/yjyf-app/static/icons/login-phone-white.svg @@ -0,0 +1,5 @@ + + + + +