..
This commit is contained in:
@@ -109,11 +109,11 @@
|
||||
立即登录
|
||||
</view>
|
||||
|
||||
<!-- <!– 注册链接 –>-->
|
||||
<!-- <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 {
|
||||
|
||||
Reference in New Issue
Block a user