This commit is contained in:
那些花儿
2025-05-06 14:53:56 +08:00
parent 693c9ccef7
commit 7038cc8eb4
16 changed files with 936 additions and 33 deletions
+13 -6
View File
@@ -109,11 +109,11 @@
立即登录
</view>
<!-- &lt;!&ndash; 注册链接 &ndash;&gt;-->
<!-- <view class="register-link">-->
<!-- <text>没有账号?</text>-->
<!-- <text class="link">去注册</text>-->
<!-- </view>-->
<!-- 注册链接 -->
<view class="register-link" @click="navigateToRegister">
<text>没有账号?</text>
<text class="link">去注册</text>
</view>
</view>
</view>
</view>
@@ -317,6 +317,13 @@ async function handleLogin() {
Toast({message: e.message, theme: 'error'})
}
}
function navigateToRegister(){
uni.redirectTo({
url: '/pages/login/register'
})
}
</script>
<style lang="less" scoped>
@@ -500,7 +507,7 @@ body {
.register-link {
margin-top: 16px;
text-align: center;
font-size: 14px;
font-size: 28rpx;
color: #666;
.link {