Commit 6e729272 by 李伟康

修改登录样式&增加非服务商拦截

1 parent be9d0268
/* login/index/components/Agree/Agree.wxss */
.agree {
margin-top: 274rpx;
position: fixed;
left: 0;
bottom: 100rpx;
width: 100%;
text {
color: #5092FF;
}
......
/* login/index/components/LoginBox.wxss */
.box {
height: 800rpx;
// height: 800rpx;
height: 750rpx;
.opacity-view {
animation: opacity-view .5s forwards;
......@@ -11,12 +12,14 @@
height: 458rpx;
position: absolute;
left: 151rpx;
top: 264rpx;
// top: 264rpx;
top: 214rpx;
}
.input-box {
width: 540rpx;
padding-top: 352rpx;
// padding-top: 352rpx;
padding-top: 302rpx;
margin: 0 auto;
.title {
......
/* login/index/components/TypeList.wxss */
.tips {
padding-top: 120rpx;
padding-top: 100rpx;
text-align: center;
margin-bottom: 40rpx;
}
......
......@@ -28,6 +28,10 @@ const selectAccountLogin = ({ id, sessionId }) => {
}
/**设置登录信息 */
const setLoginInfo = (userInfo, sessionId) => {
if(!userInfo) {
wx.$api.showToast('仅支持服务商类型账户登录')
return
}
setUserInfo(userInfo)
setSessionId(sessionId)
loginSuccess()
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!