修改首页、引导页等样式问题;对接登录接口

This commit is contained in:
zhouyanli
2026-05-08 17:54:42 +08:00
parent 97f8973f39
commit c3edf615fc
18 changed files with 113 additions and 517 deletions

View File

@@ -50,7 +50,7 @@
<!-- 底部链接 -->
<view class="bottom-link">
<navigator class="link-item" url="/pageSubPack/loginSub/pwd-login">账号密码登录</navigator>
<navigator class="link-item" url="/pageSubPack/loginSub/register-new-user">注册新用户</navigator>
<!-- <navigator class="link-item" url="/pageSubPack/loginSub/register-new-user">注册新用户</navigator> -->
</view>
</view>
</template>
@@ -120,7 +120,7 @@
if (!canGetVerify.value) return;
let params = {
phone: phoneNumber.value,
scene: 'login'
scene: 'butler_login'
}
uni.showLoading({
title: '发送中...',
@@ -150,7 +150,7 @@
}
}).catch(err => {
uni.showToast({
title: '网络异常',
title: err.msg,
icon: 'error'
});
})
@@ -166,8 +166,8 @@
});
let params = {
phone: phoneNumber.value,
smsCode: '123456',
scene: 'login',
smsCode: verifyCode.value,
scene: 'butler_login',
}
getLoginBySms(params).then(res => {
if (res.code === 200) {
@@ -206,7 +206,7 @@
}).catch(err => {
uni.showToast({
title: '网络异常,请重试',
title: err.msg,
icon: 'error'
});
})
@@ -342,7 +342,7 @@
color: #fff;
border-radius: 8rpx;
font-size: 28rpx;
margin-bottom: 60rpx;
margin-bottom: 40rpx;
}
/* 登录按钮禁用状态 */
@@ -360,7 +360,7 @@
/* 底部链接 */
.bottom-link {
display: flex;
justify-content: space-between;
justify-content: center;
padding: 0 20rpx;
}